├── README.md ├── dep-vis ├── amdatu │ ├── README.md │ ├── cnf │ │ ├── .classpath │ │ ├── .gitignore │ │ ├── .project │ │ ├── build-template.xml │ │ ├── build.bnd │ │ ├── build.properties │ │ ├── build.xml │ │ ├── buildrepo │ │ │ ├── README.txt │ │ │ ├── biz.aQute.junit │ │ │ │ └── biz.aQute.junit-latest.jar │ │ │ ├── biz.aQute.launcher │ │ │ │ └── biz.aQute.launcher-latest.jar │ │ │ ├── ee.foundation │ │ │ │ └── ee.foundation-1.1.0.jar │ │ │ ├── ee.minimum │ │ │ │ └── ee.minimum-1.2.0.jar │ │ │ ├── junit.osgi │ │ │ │ └── junit.osgi-3.8.2.jar │ │ │ ├── org.osgi.ee.foundation │ │ │ │ ├── org.osgi.ee.foundation-1.0.0.jar │ │ │ │ └── org.osgi.ee.foundation-1.0.1.jar │ │ │ ├── org.osgi.ee.minimum │ │ │ │ ├── org.osgi.ee.minimum-1.1.0.jar │ │ │ │ ├── org.osgi.ee.minimum-1.1.1.jar │ │ │ │ └── org.osgi.ee.minimum-1.1.3.jar │ │ │ └── osgi.core │ │ │ │ ├── osgi.core-4.0.1.jar │ │ │ │ ├── osgi.core-4.1.0.jar │ │ │ │ ├── osgi.core-4.2.0.jar │ │ │ │ ├── osgi.core-4.3.0.jar │ │ │ │ └── osgi.core-5.0.0.jar │ │ ├── ext │ │ │ ├── pluginpaths.bnd │ │ │ └── repositories.bnd │ │ ├── localrepo │ │ │ └── index.xml │ │ ├── plugins │ │ │ ├── biz.aQute.bnd │ │ │ │ └── biz.aQute.bnd-2.2.0.jar │ │ │ └── biz.aQute.repository │ │ │ │ └── biz.aQute.repository-2.1.0.jar │ │ ├── releaserepo │ │ │ ├── index.xml │ │ │ ├── index.xml.sha │ │ │ ├── org.amdatu.dependencygraph.rest │ │ │ │ └── org.amdatu.dependencygraph.rest-0.0.0.jar │ │ │ └── org.amdatu.dependencygraph.ui │ │ │ │ └── org.amdatu.dependencygraph.ui-0.0.0.jar │ │ └── src │ │ │ └── .gitignore │ └── org.amdatu.dependencygraph │ │ ├── .classpath │ │ ├── .gitignore │ │ ├── .project │ │ ├── bnd.bnd │ │ ├── build.xml │ │ ├── demo.bndrun │ │ ├── rest.bnd │ │ ├── src │ │ └── org │ │ │ └── amdatu │ │ │ └── dependencygraph │ │ │ ├── Activator.java │ │ │ ├── DependenciesResource.java │ │ │ └── json │ │ │ └── ComponentDescription.java │ │ ├── static │ │ ├── index.html │ │ ├── js │ │ │ ├── dependencygraph.app.js │ │ │ ├── dependencygraph.controllers.js │ │ │ └── lib │ │ │ │ └── angular.min.js │ │ └── partials │ │ │ └── dependencies.html │ │ ├── test │ │ ├── .gitignore │ │ └── test.json │ │ └── ui.bnd └── dependency-graph-rest │ └── dependency-graph-rest │ ├── .classpath │ ├── .project │ ├── bin │ └── com │ │ └── liferay │ │ └── dependency │ │ └── graph │ │ └── rest │ │ ├── Dependencies.class │ │ └── json │ │ └── ComponentDescription.class │ ├── bnd.bnd │ ├── build.gradle │ ├── build.xml │ ├── build │ └── tmp │ │ └── jar │ │ └── MANIFEST.MF │ ├── classes │ ├── com │ │ └── liferay │ │ │ └── dependency │ │ │ └── graph │ │ │ └── rest │ │ │ ├── Dependencies.class │ │ │ └── json │ │ │ └── DependentDescription.class │ └── test.json │ ├── lib │ ├── org.osgi.compendium.jar │ ├── org.osgi.core.jar │ └── portal-service.jar │ └── src │ ├── com │ └── liferay │ │ └── dependency │ │ └── graph │ │ └── rest │ │ ├── Dependencies.java │ │ └── json │ │ └── DependentDescription.java │ └── test.json ├── fmconsole ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── liferay │ │ └── devhacks │ │ ├── JournalHackPortlet.java │ │ ├── JournalHacksUtil.java │ │ ├── LiferayObjectConstructorHack.java │ │ ├── NoSuchNoteException.java │ │ ├── ServiceLocatorHack.java │ │ ├── UtilLocatorHack.java │ │ ├── model │ │ ├── Note.java │ │ ├── NoteClp.java │ │ ├── NoteModel.java │ │ ├── NoteSoap.java │ │ ├── NoteWrapper.java │ │ └── impl │ │ │ ├── NoteBaseImpl.java │ │ │ ├── NoteCacheModel.java │ │ │ ├── NoteImpl.java │ │ │ └── NoteModelImpl.java │ │ └── service │ │ ├── ClpSerializer.java │ │ ├── NoteService.java │ │ ├── NoteServiceClp.java │ │ ├── NoteServiceUtil.java │ │ ├── NoteServiceWrapper.java │ │ ├── base │ │ ├── NoteServiceBaseImpl.java │ │ └── NoteServiceClpInvoker.java │ │ ├── http │ │ └── NoteServiceSoap.java │ │ ├── impl │ │ └── NoteServiceImpl.java │ │ ├── messaging │ │ └── ClpMessageListener.java │ │ └── persistence │ │ ├── NotePersistence.java │ │ ├── NotePersistenceImpl.java │ │ └── NoteUtil.java │ ├── resources │ ├── META-INF │ │ ├── base-spring.xml │ │ ├── cluster-spring.xml │ │ ├── hibernate-spring.xml │ │ ├── infrastructure-spring.xml │ │ ├── portlet-hbm.xml │ │ ├── portlet-model-hints.xml │ │ ├── portlet-orm.xml │ │ ├── portlet-spring.xml │ │ └── shard-data-source-spring.xml │ ├── portlet.properties │ └── service.properties │ └── webapp │ ├── WEB-INF │ ├── liferay-display.xml │ ├── liferay-hook.xml │ ├── liferay-plugin-package.properties │ ├── liferay-portlet.xml │ ├── portlet.xml │ ├── service.xml │ ├── sql │ │ ├── indexes.properties │ │ ├── indexes.sql │ │ ├── sequences.sql │ │ └── tables.sql │ └── web.xml │ ├── css │ └── main.css │ ├── icon.png │ ├── js │ ├── ace-editor │ │ ├── ace.js │ │ ├── ext-beautify.js │ │ ├── ext-chromevox.js │ │ ├── ext-elastic_tabstops_lite.js │ │ ├── ext-emmet.js │ │ ├── ext-error_marker.js │ │ ├── ext-keybinding_menu.js │ │ ├── ext-language_tools.js │ │ ├── ext-linking.js │ │ ├── ext-modelist.js │ │ ├── ext-old_ie.js │ │ ├── ext-searchbox.js │ │ ├── ext-settings_menu.js │ │ ├── ext-spellcheck.js │ │ ├── ext-split.js │ │ ├── ext-static_highlight.js │ │ ├── ext-statusbar.js │ │ ├── ext-textarea.js │ │ ├── ext-themelist.js │ │ ├── ext-whitespace.js │ │ ├── keybinding-emacs.js │ │ ├── keybinding-vim.js │ │ ├── mode-abap.js │ │ ├── mode-abc.js │ │ ├── mode-actionscript.js │ │ ├── mode-ada.js │ │ ├── mode-apache_conf.js │ │ ├── mode-applescript.js │ │ ├── mode-asciidoc.js │ │ ├── mode-assembly_x86.js │ │ ├── mode-autohotkey.js │ │ ├── mode-batchfile.js │ │ ├── mode-c9search.js │ │ ├── mode-c_cpp.js │ │ ├── mode-cirru.js │ │ ├── mode-clojure.js │ │ ├── mode-cobol.js │ │ ├── mode-coffee.js │ │ ├── mode-coldfusion.js │ │ ├── mode-csharp.js │ │ ├── mode-css.js │ │ ├── mode-curly.js │ │ ├── mode-d.js │ │ ├── mode-dart.js │ │ ├── mode-diff.js │ │ ├── mode-django.js │ │ ├── mode-dockerfile.js │ │ ├── mode-dot.js │ │ ├── mode-eiffel.js │ │ ├── mode-ejs.js │ │ ├── mode-elixir.js │ │ ├── mode-elm.js │ │ ├── mode-erlang.js │ │ ├── mode-forth.js │ │ ├── mode-ftl.js │ │ ├── mode-gcode.js │ │ ├── mode-gherkin.js │ │ ├── mode-gitignore.js │ │ ├── mode-glsl.js │ │ ├── mode-golang.js │ │ ├── mode-groovy.js │ │ ├── mode-haml.js │ │ ├── mode-handlebars.js │ │ ├── mode-haskell.js │ │ ├── mode-haxe.js │ │ ├── mode-html.js │ │ ├── mode-html_elixir.js │ │ ├── mode-html_ruby.js │ │ ├── mode-ini.js │ │ ├── mode-io.js │ │ ├── mode-jack.js │ │ ├── mode-jade.js │ │ ├── mode-java.js │ │ ├── mode-javascript.js │ │ ├── mode-json.js │ │ ├── mode-jsoniq.js │ │ ├── mode-jsp.js │ │ ├── mode-jsx.js │ │ ├── mode-julia.js │ │ ├── mode-latex.js │ │ ├── mode-lean.js │ │ ├── mode-less.js │ │ ├── mode-liquid.js │ │ ├── mode-lisp.js │ │ ├── mode-live_script.js │ │ ├── mode-livescript.js │ │ ├── mode-logiql.js │ │ ├── mode-lsl.js │ │ ├── mode-lua.js │ │ ├── mode-luapage.js │ │ ├── mode-lucene.js │ │ ├── mode-makefile.js │ │ ├── mode-markdown.js │ │ ├── mode-mask.js │ │ ├── mode-matlab.js │ │ ├── mode-maze.js │ │ ├── mode-mel.js │ │ ├── mode-mips_assembler.js │ │ ├── mode-mipsassembler.js │ │ ├── mode-mushcode.js │ │ ├── mode-mysql.js │ │ ├── mode-nix.js │ │ ├── mode-objectivec.js │ │ ├── mode-ocaml.js │ │ ├── mode-pascal.js │ │ ├── mode-perl.js │ │ ├── mode-pgsql.js │ │ ├── mode-php.js │ │ ├── mode-plain_text.js │ │ ├── mode-powershell.js │ │ ├── mode-praat.js │ │ ├── mode-prolog.js │ │ ├── mode-properties.js │ │ ├── mode-protobuf.js │ │ ├── mode-python.js │ │ ├── mode-r.js │ │ ├── mode-rdoc.js │ │ ├── mode-rhtml.js │ │ ├── mode-ruby.js │ │ ├── mode-rust.js │ │ ├── mode-sass.js │ │ ├── mode-scad.js │ │ ├── mode-scala.js │ │ ├── mode-scheme.js │ │ ├── mode-scss.js │ │ ├── mode-sh.js │ │ ├── mode-sjs.js │ │ ├── mode-smarty.js │ │ ├── mode-snippets.js │ │ ├── mode-soy_template.js │ │ ├── mode-space.js │ │ ├── mode-sql.js │ │ ├── mode-sqlserver.js │ │ ├── mode-stylus.js │ │ ├── mode-svg.js │ │ ├── mode-swift.js │ │ ├── mode-swig.js │ │ ├── mode-tcl.js │ │ ├── mode-tex.js │ │ ├── mode-text.js │ │ ├── mode-textile.js │ │ ├── mode-toml.js │ │ ├── mode-twig.js │ │ ├── mode-typescript.js │ │ ├── mode-vala.js │ │ ├── mode-vbscript.js │ │ ├── mode-velocity.js │ │ ├── mode-verilog.js │ │ ├── mode-vhdl.js │ │ ├── mode-xml.js │ │ ├── mode-xquery.js │ │ ├── mode-yaml.js │ │ ├── snippets │ │ │ ├── abap.js │ │ │ ├── abc.js │ │ │ ├── actionscript.js │ │ │ ├── ada.js │ │ │ ├── apache_conf.js │ │ │ ├── applescript.js │ │ │ ├── asciidoc.js │ │ │ ├── assembly_x86.js │ │ │ ├── autohotkey.js │ │ │ ├── batchfile.js │ │ │ ├── c9search.js │ │ │ ├── c_cpp.js │ │ │ ├── cirru.js │ │ │ ├── clojure.js │ │ │ ├── cobol.js │ │ │ ├── coffee.js │ │ │ ├── coldfusion.js │ │ │ ├── csharp.js │ │ │ ├── css.js │ │ │ ├── curly.js │ │ │ ├── d.js │ │ │ ├── dart.js │ │ │ ├── diff.js │ │ │ ├── django.js │ │ │ ├── dockerfile.js │ │ │ ├── dot.js │ │ │ ├── eiffel.js │ │ │ ├── ejs.js │ │ │ ├── elixir.js │ │ │ ├── elm.js │ │ │ ├── erlang.js │ │ │ ├── forth.js │ │ │ ├── ftl.js │ │ │ ├── gcode.js │ │ │ ├── gherkin.js │ │ │ ├── gitignore.js │ │ │ ├── glsl.js │ │ │ ├── golang.js │ │ │ ├── groovy.js │ │ │ ├── haml.js │ │ │ ├── handlebars.js │ │ │ ├── haskell.js │ │ │ ├── haxe.js │ │ │ ├── html.js │ │ │ ├── html_elixir.js │ │ │ ├── html_ruby.js │ │ │ ├── ini.js │ │ │ ├── io.js │ │ │ ├── jack.js │ │ │ ├── jade.js │ │ │ ├── java.js │ │ │ ├── javascript.js │ │ │ ├── json.js │ │ │ ├── jsoniq.js │ │ │ ├── jsp.js │ │ │ ├── jsx.js │ │ │ ├── julia.js │ │ │ ├── latex.js │ │ │ ├── lean.js │ │ │ ├── less.js │ │ │ ├── liquid.js │ │ │ ├── lisp.js │ │ │ ├── live_script.js │ │ │ ├── livescript.js │ │ │ ├── logiql.js │ │ │ ├── lsl.js │ │ │ ├── lua.js │ │ │ ├── luapage.js │ │ │ ├── lucene.js │ │ │ ├── makefile.js │ │ │ ├── markdown.js │ │ │ ├── mask.js │ │ │ ├── matlab.js │ │ │ ├── maze.js │ │ │ ├── mel.js │ │ │ ├── mips_assembler.js │ │ │ ├── mipsassembler.js │ │ │ ├── mushcode.js │ │ │ ├── mysql.js │ │ │ ├── nix.js │ │ │ ├── objectivec.js │ │ │ ├── ocaml.js │ │ │ ├── pascal.js │ │ │ ├── perl.js │ │ │ ├── pgsql.js │ │ │ ├── php.js │ │ │ ├── plain_text.js │ │ │ ├── powershell.js │ │ │ ├── praat.js │ │ │ ├── prolog.js │ │ │ ├── properties.js │ │ │ ├── protobuf.js │ │ │ ├── python.js │ │ │ ├── r.js │ │ │ ├── rdoc.js │ │ │ ├── rhtml.js │ │ │ ├── ruby.js │ │ │ ├── rust.js │ │ │ ├── sass.js │ │ │ ├── scad.js │ │ │ ├── scala.js │ │ │ ├── scheme.js │ │ │ ├── scss.js │ │ │ ├── sh.js │ │ │ ├── sjs.js │ │ │ ├── smarty.js │ │ │ ├── snippets.js │ │ │ ├── soy_template.js │ │ │ ├── space.js │ │ │ ├── sql.js │ │ │ ├── sqlserver.js │ │ │ ├── stylus.js │ │ │ ├── svg.js │ │ │ ├── swift.js │ │ │ ├── swig.js │ │ │ ├── tcl.js │ │ │ ├── tex.js │ │ │ ├── text.js │ │ │ ├── textile.js │ │ │ ├── toml.js │ │ │ ├── twig.js │ │ │ ├── typescript.js │ │ │ ├── vala.js │ │ │ ├── vbscript.js │ │ │ ├── velocity.js │ │ │ ├── verilog.js │ │ │ ├── vhdl.js │ │ │ ├── xml.js │ │ │ ├── xquery.js │ │ │ └── yaml.js │ │ ├── theme-ambiance.js │ │ ├── theme-chaos.js │ │ ├── theme-chrome.js │ │ ├── theme-clouds.js │ │ ├── theme-clouds_midnight.js │ │ ├── theme-cobalt.js │ │ ├── theme-crimson_editor.js │ │ ├── theme-dawn.js │ │ ├── theme-dreamweaver.js │ │ ├── theme-eclipse.js │ │ ├── theme-github.js │ │ ├── theme-idle_fingers.js │ │ ├── theme-iplastic.js │ │ ├── theme-katzenmilch.js │ │ ├── theme-kr_theme.js │ │ ├── theme-kuroir.js │ │ ├── theme-merbivore.js │ │ ├── theme-merbivore_soft.js │ │ ├── theme-mono_industrial.js │ │ ├── theme-monokai.js │ │ ├── theme-pastel_on_dark.js │ │ ├── theme-solarized_dark.js │ │ ├── theme-solarized_light.js │ │ ├── theme-sqlserver.js │ │ ├── theme-terminal.js │ │ ├── theme-textmate.js │ │ ├── theme-tomorrow.js │ │ ├── theme-tomorrow_night.js │ │ ├── theme-tomorrow_night_blue.js │ │ ├── theme-tomorrow_night_bright.js │ │ ├── theme-tomorrow_night_eighties.js │ │ ├── theme-twilight.js │ │ ├── theme-vibrant_ink.js │ │ ├── theme-xcode.js │ │ ├── worker-coffee.js │ │ ├── worker-css.js │ │ ├── worker-html.js │ │ ├── worker-javascript.js │ │ ├── worker-json.js │ │ ├── worker-lua.js │ │ ├── worker-php.js │ │ ├── worker-xml.js │ │ └── worker-xquery.js │ └── main.js │ └── view.jsp ├── gosh └── etc │ ├── config │ └── com.liferay.portal.monitoring.configuration.MonitoringConfiguration.cfg │ ├── gosh_profile │ ├── initscripts.js │ ├── motd │ └── scripts │ ├── hackjs1.js │ ├── hackjs2.js │ └── hackjs3.js ├── social-driver └── social-driver-portlet │ ├── .classpath │ ├── .idea │ ├── .name │ ├── ant.xml │ ├── codeStyleSettings.xml │ ├── compiler.xml │ ├── encodings.xml │ ├── libraries │ │ └── lib.xml │ ├── misc.xml │ ├── modules.xml │ ├── scopes │ │ └── scope_settings.xml │ ├── uiDesigner.xml │ ├── vcs.xml │ └── workspace.xml │ ├── .project │ ├── .settings │ ├── .jsdtscope │ ├── org.eclipse.jdt.core.prefs │ ├── org.eclipse.jst.jsp.core.prefs │ ├── org.eclipse.wst.common.component │ ├── org.eclipse.wst.common.project.facet.core.prefs.xml │ ├── org.eclipse.wst.common.project.facet.core.xml │ ├── org.eclipse.wst.jsdt.ui.superType.container │ └── org.eclipse.wst.jsdt.ui.superType.name │ ├── .tern-project │ ├── build.gradle │ ├── build.xml │ ├── docroot │ ├── META-INF │ │ └── MANIFEST.MF │ ├── WEB-INF │ │ ├── WEB-INF.iml │ │ ├── classes │ │ │ ├── BlogPoster$1.class │ │ │ ├── BlogPoster.class │ │ │ ├── MBPoster$1.class │ │ │ ├── MBPoster.class │ │ │ ├── SocialDriver.class │ │ │ ├── SocialDriverConstants$BLOG_ACTION.class │ │ │ ├── SocialDriverConstants$MB_ACTION.class │ │ │ ├── SocialDriverConstants$WIKI_ACTION.class │ │ │ ├── SocialDriverConstants.class │ │ │ ├── SocialDriverContentUtil$1.class │ │ │ ├── SocialDriverContentUtil$ContentArticle.class │ │ │ ├── SocialDriverContentUtil.class │ │ │ ├── SocialDriverUtil.class │ │ │ ├── WikiPoster$1.class │ │ │ ├── WikiPoster.class │ │ │ ├── foo.html │ │ │ ├── monthly.vm │ │ │ ├── resources │ │ │ │ ├── assetlist-article.xml │ │ │ │ ├── assetlist-structure.xml │ │ │ │ ├── assetlist-template.vm │ │ │ │ ├── bloggeriffic-icon.png │ │ │ │ ├── cloud-article.xml │ │ │ │ ├── cloud-structure.xml │ │ │ │ ├── cloud-template.vm │ │ │ │ ├── experts-article.xml │ │ │ │ ├── experts-structure.xml │ │ │ │ ├── experts-template.vm │ │ │ │ ├── liferay-social.xml │ │ │ │ ├── politican_at_heart-icon.png │ │ │ │ └── view_user_6.1.0GA1.jspf │ │ │ └── test.json │ │ ├── lib │ │ │ ├── com.liferay.wiki.api.jar │ │ │ └── org.osgi.core.jar │ │ ├── liferay-display.xml │ │ ├── liferay-plugin-package.properties │ │ ├── liferay-portlet.xml │ │ ├── portlet.xml │ │ ├── src │ │ │ ├── BlogPoster.java │ │ │ ├── MBPoster.java │ │ │ ├── SocialDriver.java │ │ │ ├── SocialDriverConstants.java │ │ │ ├── SocialDriverContentUtil.java │ │ │ ├── SocialDriverUtil.java │ │ │ ├── WikiPoster.java │ │ │ ├── foo.html │ │ │ ├── monthly.vm │ │ │ ├── resources │ │ │ │ ├── assetlist-article.xml │ │ │ │ ├── assetlist-structure.xml │ │ │ │ ├── assetlist-template.vm │ │ │ │ ├── bloggeriffic-icon.png │ │ │ │ ├── cloud-article.xml │ │ │ │ ├── cloud-structure.xml │ │ │ │ ├── cloud-template.vm │ │ │ │ ├── experts-article.xml │ │ │ │ ├── experts-structure.xml │ │ │ │ ├── experts-template.vm │ │ │ │ ├── liferay-social.xml │ │ │ │ ├── politican_at_heart-icon.png │ │ │ │ └── view_user_6.1.0GA1.jspf │ │ │ └── test.json │ │ └── web.xml │ ├── css │ │ ├── .sass-cache │ │ │ ├── main.css │ │ │ └── main_rtl.css │ │ └── main.css │ ├── docroot.iml │ ├── icon.png │ ├── js │ │ ├── bg_blue.gif │ │ ├── js-cumulus.min.js │ │ ├── main.js │ │ ├── mootools-core.js │ │ └── stratus.js │ └── view.jsp │ ├── ivy.xml │ └── ivy.xml.MD5 ├── wcm ├── hack1a.vm ├── hack1b.vm ├── hack1c.vm ├── hack1d.vm ├── hack2.ftl ├── hack2.vm └── hack4a.ftl └── websockets ├── README.md ├── build.gradle ├── example-echo-portlet ├── bnd.bnd ├── build.gradle ├── build │ ├── classes │ │ └── main │ │ │ └── com │ │ │ └── monator │ │ │ └── liferay │ │ │ └── wsbridge │ │ │ └── example │ │ │ ├── EchoPortlet$1.class │ │ │ └── EchoPortlet.class │ ├── libs │ │ └── example-echo-portlet-1.0.jar │ ├── resources │ │ └── main │ │ │ └── META-INF │ │ │ └── resources │ │ │ └── view.jsp │ └── tmp │ │ └── jar │ │ ├── MANIFEST.MF │ │ └── example-echo-portlet-1.0.jar └── src │ └── main │ ├── java │ └── com │ │ └── monator │ │ └── liferay │ │ └── wsbridge │ │ └── example │ │ └── EchoPortlet.java │ └── resources │ └── META-INF │ └── resources │ └── view.jsp ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── settings.gradle ├── wsapi-exporter ├── bnd.bnd ├── build.gradle └── build │ ├── libs │ └── wsapi-exporter-1.0.jar │ └── tmp │ └── jar │ ├── MANIFEST.MF │ └── wsapi-exporter-1.0.jar └── wsbridge-webapp ├── build.gradle ├── build ├── classes │ └── main │ │ └── com │ │ └── monator │ │ └── liferay │ │ └── wsbridge │ │ └── BridgeEndpoint.class ├── libs │ └── wsbridge.war └── tmp │ └── war │ └── MANIFEST.MF └── src └── main └── java └── com └── monator └── liferay └── wsbridge └── BridgeEndpoint.java /dep-vis/amdatu/README.md: -------------------------------------------------------------------------------- 1 | Introduction 2 | ========== 3 | 4 | An Apache Felix Dependency Manager extension that visualises dependencies between components. Note that this project is just an experiment, it is *not* production quality. 5 | 6 | For a more in depth introduction see this [video](https://vimeo.com/user17212182/review/77648991/1ca7ec3741) 7 | 8 | Usage 9 | ========== 10 | The project has the following runtime dependencies: 11 | 12 | * Apache Felix Dependency Manager 13 | * [Amdatu Web Resource Handler](http://amdatu.org/components/web.html) 14 | * [Amdatu REST](http://amdatu.org/components/web.html) 15 | * Apache Felix HTTP whiteboard service 16 | * A OSGi HTTP Service (e.g. Jetty) 17 | * jackson-core-asl 18 | * jackson-mapper-asl 19 | * jackson-jaxrs 20 | 21 | Drop the generated JARs into your own configuration. Create some components and start the container. You can view the web UI at /ui/index.html. 22 | -------------------------------------------------------------------------------- /dep-vis/amdatu/cnf/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /dep-vis/amdatu/cnf/.gitignore: -------------------------------------------------------------------------------- 1 | /bin/ 2 | /cache/ 3 | -------------------------------------------------------------------------------- /dep-vis/amdatu/cnf/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | cnf 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | 15 | org.eclipse.jdt.core.javanature 16 | 17 | 18 | -------------------------------------------------------------------------------- /dep-vis/amdatu/cnf/build.bnd: -------------------------------------------------------------------------------- 1 | ######################## 2 | ## BND BUILD SETTINGS ## 3 | ######################## 4 | 5 | ## Global defaults are loaded from the bnd library, place your specific settings here. 6 | 7 | ## Additional settings are inherited from ext/*.bnd and they will be overridden by anything 8 | ## you specify in this file. 9 | 10 | #-verbose: true 11 | #src: src 12 | #bin: bin 13 | #target: ${project}/generated 14 | #build: ${workspace}/cnf 15 | #plugin-dir: ${build}/plugins 16 | 17 | #java: java 18 | #javac: javac 19 | javac.source: 1.7 20 | javac.target: 1.7 21 | #javac.debug: on 22 | 23 | #-sources: true 24 | #-sourcepath: ${project}/src 25 | 26 | ## Properties from ext/*.bnd can be referenced in order to extend them. 27 | ## For example, to add one additional plugin to the list defined in ext/repositories.bnd: 28 | # -plugin: ${ext.repositories.-plugin}, org.example.MyPlugin 29 | 30 | ## If you use git, you might want to uncomment the following lines: 31 | # Git-Descriptor: ${system-allow-fail;git describe --dirty --always} 32 | # Git-SHA: ${system-allow-fail;git rev-list -1 HEAD} 33 | -------------------------------------------------------------------------------- /dep-vis/amdatu/cnf/build.properties: -------------------------------------------------------------------------------- 1 | # This file is used to bootstrap the bnd ANT Task definition found in build-template.xml 2 | 3 | bnd.location=plugins/biz.aQute.bnd/biz.aQute.bnd-2.2.0.jar 4 | -------------------------------------------------------------------------------- /dep-vis/amdatu/cnf/build.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 26 | 27 | -------------------------------------------------------------------------------- /dep-vis/amdatu/cnf/buildrepo/README.txt: -------------------------------------------------------------------------------- 1 | WARNING 2 | ======= 3 | 4 | This directory contains JAR file dependencies that are intended ONLY FOR BUILT-TIME usage. 5 | None are intended to be deployed as bundles into a running OSGi Framework, and indeed they may cause 6 | unexpected errors if they are used at runtime. 7 | -------------------------------------------------------------------------------- /dep-vis/amdatu/cnf/buildrepo/biz.aQute.junit/biz.aQute.junit-latest.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/dep-vis/amdatu/cnf/buildrepo/biz.aQute.junit/biz.aQute.junit-latest.jar -------------------------------------------------------------------------------- /dep-vis/amdatu/cnf/buildrepo/biz.aQute.launcher/biz.aQute.launcher-latest.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/dep-vis/amdatu/cnf/buildrepo/biz.aQute.launcher/biz.aQute.launcher-latest.jar -------------------------------------------------------------------------------- /dep-vis/amdatu/cnf/buildrepo/ee.foundation/ee.foundation-1.1.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/dep-vis/amdatu/cnf/buildrepo/ee.foundation/ee.foundation-1.1.0.jar -------------------------------------------------------------------------------- /dep-vis/amdatu/cnf/buildrepo/ee.minimum/ee.minimum-1.2.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/dep-vis/amdatu/cnf/buildrepo/ee.minimum/ee.minimum-1.2.0.jar -------------------------------------------------------------------------------- /dep-vis/amdatu/cnf/buildrepo/junit.osgi/junit.osgi-3.8.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/dep-vis/amdatu/cnf/buildrepo/junit.osgi/junit.osgi-3.8.2.jar -------------------------------------------------------------------------------- /dep-vis/amdatu/cnf/buildrepo/org.osgi.ee.foundation/org.osgi.ee.foundation-1.0.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/dep-vis/amdatu/cnf/buildrepo/org.osgi.ee.foundation/org.osgi.ee.foundation-1.0.0.jar -------------------------------------------------------------------------------- /dep-vis/amdatu/cnf/buildrepo/org.osgi.ee.foundation/org.osgi.ee.foundation-1.0.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/dep-vis/amdatu/cnf/buildrepo/org.osgi.ee.foundation/org.osgi.ee.foundation-1.0.1.jar -------------------------------------------------------------------------------- /dep-vis/amdatu/cnf/buildrepo/org.osgi.ee.minimum/org.osgi.ee.minimum-1.1.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/dep-vis/amdatu/cnf/buildrepo/org.osgi.ee.minimum/org.osgi.ee.minimum-1.1.0.jar -------------------------------------------------------------------------------- /dep-vis/amdatu/cnf/buildrepo/org.osgi.ee.minimum/org.osgi.ee.minimum-1.1.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/dep-vis/amdatu/cnf/buildrepo/org.osgi.ee.minimum/org.osgi.ee.minimum-1.1.1.jar -------------------------------------------------------------------------------- /dep-vis/amdatu/cnf/buildrepo/org.osgi.ee.minimum/org.osgi.ee.minimum-1.1.3.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/dep-vis/amdatu/cnf/buildrepo/org.osgi.ee.minimum/org.osgi.ee.minimum-1.1.3.jar -------------------------------------------------------------------------------- /dep-vis/amdatu/cnf/buildrepo/osgi.core/osgi.core-4.0.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/dep-vis/amdatu/cnf/buildrepo/osgi.core/osgi.core-4.0.1.jar -------------------------------------------------------------------------------- /dep-vis/amdatu/cnf/buildrepo/osgi.core/osgi.core-4.1.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/dep-vis/amdatu/cnf/buildrepo/osgi.core/osgi.core-4.1.0.jar -------------------------------------------------------------------------------- /dep-vis/amdatu/cnf/buildrepo/osgi.core/osgi.core-4.2.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/dep-vis/amdatu/cnf/buildrepo/osgi.core/osgi.core-4.2.0.jar -------------------------------------------------------------------------------- /dep-vis/amdatu/cnf/buildrepo/osgi.core/osgi.core-4.3.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/dep-vis/amdatu/cnf/buildrepo/osgi.core/osgi.core-4.3.0.jar -------------------------------------------------------------------------------- /dep-vis/amdatu/cnf/buildrepo/osgi.core/osgi.core-5.0.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/dep-vis/amdatu/cnf/buildrepo/osgi.core/osgi.core-5.0.0.jar -------------------------------------------------------------------------------- /dep-vis/amdatu/cnf/ext/pluginpaths.bnd: -------------------------------------------------------------------------------- 1 | -pluginpath: ${plugin-dir}/biz.aQute.repository/biz.aQute.repository-2.1.0.jar 2 | -------------------------------------------------------------------------------- /dep-vis/amdatu/cnf/ext/repositories.bnd: -------------------------------------------------------------------------------- 1 | -plugin:\ 2 | aQute.bnd.deployer.repository.LocalIndexedRepo; name=Release; local=${workspace}/cnf/releaserepo;pretty=true,\ 3 | aQute.bnd.deployer.repository.LocalIndexedRepo; name=Local; local=${workspace}/cnf/localrepo;pretty=true,\ 4 | aQute.bnd.deployer.repository.FixedIndexedRepo; name=Amdatu Dependencies; locations=http://repository.amdatu.org/dependencies/index.xml.gz,\ 5 | aQute.bnd.deployer.repository.FixedIndexedRepo; name=Amdatu Snapshots; locations=http://repository.amdatu.org/snapshot/index.xml.gz,\ 6 | aQute.bnd.deployer.repository.FixedIndexedRepo; name=Amdatu Release; locations=http://repository.amdatu.org/release/index.xml.gz,\ 7 | aQute.lib.deployer.FileRepo; name=Build; location=${workspace}/cnf/buildrepo 8 | 9 | -releaserepo: Release 10 | -------------------------------------------------------------------------------- /dep-vis/amdatu/cnf/localrepo/index.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /dep-vis/amdatu/cnf/plugins/biz.aQute.bnd/biz.aQute.bnd-2.2.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/dep-vis/amdatu/cnf/plugins/biz.aQute.bnd/biz.aQute.bnd-2.2.0.jar -------------------------------------------------------------------------------- /dep-vis/amdatu/cnf/plugins/biz.aQute.repository/biz.aQute.repository-2.1.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/dep-vis/amdatu/cnf/plugins/biz.aQute.repository/biz.aQute.repository-2.1.0.jar -------------------------------------------------------------------------------- /dep-vis/amdatu/cnf/releaserepo/index.xml.sha: -------------------------------------------------------------------------------- 1 | 356e7be983fac04468154b8ec10fc980ba4f1664646117049dd7c1e792227283 -------------------------------------------------------------------------------- /dep-vis/amdatu/cnf/releaserepo/org.amdatu.dependencygraph.rest/org.amdatu.dependencygraph.rest-0.0.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/dep-vis/amdatu/cnf/releaserepo/org.amdatu.dependencygraph.rest/org.amdatu.dependencygraph.rest-0.0.0.jar -------------------------------------------------------------------------------- /dep-vis/amdatu/cnf/releaserepo/org.amdatu.dependencygraph.ui/org.amdatu.dependencygraph.ui-0.0.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/dep-vis/amdatu/cnf/releaserepo/org.amdatu.dependencygraph.ui/org.amdatu.dependencygraph.ui-0.0.0.jar -------------------------------------------------------------------------------- /dep-vis/amdatu/cnf/src/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/dep-vis/amdatu/cnf/src/.gitignore -------------------------------------------------------------------------------- /dep-vis/amdatu/org.amdatu.dependencygraph/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /dep-vis/amdatu/org.amdatu.dependencygraph/.gitignore: -------------------------------------------------------------------------------- 1 | /bin/ 2 | /generated/ 3 | -------------------------------------------------------------------------------- /dep-vis/amdatu/org.amdatu.dependencygraph/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.amdatu.dependencygraph 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | bndtools.core.bndbuilder 15 | 16 | 17 | 18 | 19 | 20 | org.eclipse.jdt.core.javanature 21 | bndtools.core.bndnature 22 | 23 | 24 | -------------------------------------------------------------------------------- /dep-vis/amdatu/org.amdatu.dependencygraph/bnd.bnd: -------------------------------------------------------------------------------- 1 | -runbundles: osgi.cmpn,\ 2 | org.apache.felix.dependencymanager,\ 3 | org.apache.felix.dependencymanager.shell,\ 4 | org.apache.felix.gogo.shell,\ 5 | org.apache.felix.gogo.command,\ 6 | org.apache.felix.gogo.runtime,\ 7 | org.apache.felix.log 8 | -runee: JavaSE-1.6 9 | -runfw: org.apache.felix.framework 10 | -buildpath: osgi.core,\ 11 | osgi.cmpn,\ 12 | org.apache.felix.dependencymanager,\ 13 | junit.osgi,\ 14 | org.amdatu.web.rest.jaxrs,\ 15 | jackson-core-asl,\ 16 | jackson-mapper-asl 17 | -sub: *.bnd -------------------------------------------------------------------------------- /dep-vis/amdatu/org.amdatu.dependencygraph/build.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /dep-vis/amdatu/org.amdatu.dependencygraph/demo.bndrun: -------------------------------------------------------------------------------- 1 | -runfw: org.apache.felix.framework;version='[4,5)' 2 | -runee: JavaSE-1.6 3 | -runsystemcapabilities: ${native_capability} 4 | 5 | -resolve.effective: active 6 | 7 | -runbundles: jackson-core-asl;version='[1.9.8,1.9.9)',\ 8 | jackson-jaxrs;version='[1.9.8,1.9.9)',\ 9 | jackson-mapper-asl;version='[1.9.8,1.9.9)',\ 10 | javax.servlet;version='[2.5.0,2.5.1)',\ 11 | org.amdatu.blobstores;version='[1.1.1,1.1.2)',\ 12 | org.amdatu.dependencygraph.rest;version=latest,\ 13 | org.amdatu.dependencygraph.ui;version=latest,\ 14 | org.amdatu.web.resourcehandler;version='[1.0.2,1.0.3)',\ 15 | org.amdatu.web.rest.jaxrs;version='[1.0.2,1.0.3)',\ 16 | org.amdatu.web.rest.wink;version='[1.0.6,1.0.7)',\ 17 | org.apache.felix.configadmin;version='[1.6.0,1.6.1)',\ 18 | org.apache.felix.dependencymanager;version='[3.1.0,3.1.1)',\ 19 | org.apache.felix.dependencymanager.shell;version='[3.0.1,3.0.2)',\ 20 | org.apache.felix.gogo.command;version='[0.12.0,0.12.1)',\ 21 | org.apache.felix.gogo.runtime;version='[0.10.0,0.10.1)',\ 22 | org.apache.felix.gogo.shell;version='[0.10.0,0.10.1)',\ 23 | org.apache.felix.http.jetty;version='[2.2.0,2.2.1)',\ 24 | org.apache.felix.http.whiteboard;version='[2.2.0,2.2.1)',\ 25 | org.apache.felix.log;version='[1.0.1,1.0.2)',\ 26 | org.apache.felix.metatype;version='[1.0.6,1.0.7)',\ 27 | osgi.cmpn;version='[4.3.1,4.3.2)' 28 | 29 | -runrequires: osgi.identity;filter:='(osgi.identity=org.apache.felix.dependencymanager.shell)',\ 30 | osgi.identity;filter:='(osgi.identity=org.apache.felix.gogo.runtime)',\ 31 | osgi.identity;filter:='(osgi.identity=org.apache.felix.gogo.command)',\ 32 | osgi.identity;filter:='(osgi.identity=org.apache.felix.gogo.shell)',\ 33 | osgi.identity;filter:='(osgi.identity=org.amdatu.web.rest.wink)',\ 34 | osgi.identity;filter:='(osgi.identity=org.apache.felix.http.whiteboard)',\ 35 | osgi.identity;filter:='(osgi.identity=org.apache.felix.http.jetty)',\ 36 | osgi.identity;filter:='(osgi.identity=org.amdatu.dependencygraph.ui)',\ 37 | osgi.identity;filter:='(osgi.identity=org.amdatu.dependencygraph.rest)',\ 38 | osgi.identity;filter:='(&(osgi.identity=org.amdatu.web.resourcehandler)(version>=1.0.2))' 39 | -------------------------------------------------------------------------------- /dep-vis/amdatu/org.amdatu.dependencygraph/rest.bnd: -------------------------------------------------------------------------------- 1 | Bundle-Activator: org.amdatu.dependencygraph.Activator 2 | Private-Package: org.amdatu.dependencygraph,\ 3 | org.amdatu.dependencygraph.json -------------------------------------------------------------------------------- /dep-vis/amdatu/org.amdatu.dependencygraph/src/org/amdatu/dependencygraph/Activator.java: -------------------------------------------------------------------------------- 1 | package org.amdatu.dependencygraph; 2 | 3 | import org.apache.felix.dm.DependencyActivatorBase; 4 | import org.apache.felix.dm.DependencyManager; 5 | import org.osgi.framework.BundleContext; 6 | import org.osgi.service.log.LogService; 7 | 8 | 9 | public class Activator extends DependencyActivatorBase { 10 | @Override 11 | public synchronized void init(BundleContext context, DependencyManager manager) throws Exception { 12 | manager.add(createComponent() 13 | .setInterface(Object.class.getName(), null) 14 | .setImplementation(DependenciesResource.class) 15 | .add(createServiceDependency() 16 | .setService(LogService.class) 17 | .setRequired(false)) 18 | ); 19 | } 20 | 21 | @Override 22 | public synchronized void destroy(BundleContext context, DependencyManager manager) throws Exception { 23 | } 24 | } -------------------------------------------------------------------------------- /dep-vis/amdatu/org.amdatu.dependencygraph/src/org/amdatu/dependencygraph/json/ComponentDescription.java: -------------------------------------------------------------------------------- 1 | package org.amdatu.dependencygraph.json; 2 | 3 | import java.util.ArrayList; 4 | import java.util.List; 5 | 6 | /** 7 | * Represents a Component and it's dependencies 8 | */ 9 | public class ComponentDescription { 10 | private final String name; 11 | private final List dependencies = new ArrayList<>(); 12 | 13 | public ComponentDescription(String name) { 14 | this.name = name; 15 | } 16 | 17 | public void addDependency(String dependency) { 18 | dependencies.add(dependency); 19 | } 20 | 21 | public String getName() { 22 | return name; 23 | } 24 | 25 | public List getDependencies() { 26 | return dependencies; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /dep-vis/amdatu/org.amdatu.dependencygraph/static/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Dependencies 5 | 6 | 7 | 8 | 9 | 10 | 11 | 38 | 39 | 40 | 41 | 42 | 43 |
44 | 45 | -------------------------------------------------------------------------------- /dep-vis/amdatu/org.amdatu.dependencygraph/static/js/dependencygraph.app.js: -------------------------------------------------------------------------------- 1 | var depenencyApp = angular.module('dependencyApp', [ 2 | 'ngRoute', 3 | 'dependencyControllers' 4 | ]); 5 | 6 | depenencyApp.config(['$routeProvider', 7 | function($routeProvider) { 8 | $routeProvider. 9 | when('/dependencies', { 10 | templateUrl: 'partials/dependencies.html', 11 | controller: 'DependencyCtrl' 12 | }). 13 | otherwise({ 14 | redirectTo: '/dependencies' 15 | }); 16 | }]); -------------------------------------------------------------------------------- /dep-vis/amdatu/org.amdatu.dependencygraph/static/partials/dependencies.html: -------------------------------------------------------------------------------- 1 | Only include services with a depdency on: 2 |
3 | -------------------------------------------------------------------------------- /dep-vis/amdatu/org.amdatu.dependencygraph/test/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/dep-vis/amdatu/org.amdatu.dependencygraph/test/.gitignore -------------------------------------------------------------------------------- /dep-vis/amdatu/org.amdatu.dependencygraph/ui.bnd: -------------------------------------------------------------------------------- 1 | Include-Resource: META-INF/resources=static 2 | X-Web-Resource-Version: 1.0 3 | X-Web-Resource: /ui;/static 4 | Web-ContextPath: /dependency-graph 5 | -------------------------------------------------------------------------------- /dep-vis/dependency-graph-rest/dependency-graph-rest/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | dependency-graph-rest 4 | 5 | 6 | 7 | org.eclipse.jdt.core.javanature 8 | 9 | 10 | 11 | org.eclipse.jdt.core.javabuilder 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /dep-vis/dependency-graph-rest/dependency-graph-rest/bin/com/liferay/dependency/graph/rest/Dependencies.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/dep-vis/dependency-graph-rest/dependency-graph-rest/bin/com/liferay/dependency/graph/rest/Dependencies.class -------------------------------------------------------------------------------- /dep-vis/dependency-graph-rest/dependency-graph-rest/bin/com/liferay/dependency/graph/rest/json/ComponentDescription.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/dep-vis/dependency-graph-rest/dependency-graph-rest/bin/com/liferay/dependency/graph/rest/json/ComponentDescription.class -------------------------------------------------------------------------------- /dep-vis/dependency-graph-rest/dependency-graph-rest/bnd.bnd: -------------------------------------------------------------------------------- 1 | Bundle-Name: Liferay Dependency Graph Rest 2 | Bundle-SymbolicName: com.liferay.dependency.graph.rest 3 | Bundle-Version: 1.0.0 4 | Include-Resource:\ 5 | classes 6 | Web-ContextPath: /dependency-graph-rest -------------------------------------------------------------------------------- /dep-vis/dependency-graph-rest/dependency-graph-rest/build.gradle: -------------------------------------------------------------------------------- 1 | dependencies { 2 | compile group: "com.liferay.portal", name: "portal-service", version: liferay.portalVersion 3 | compile group: "org.osgi", name: "org.osgi.core", version: "6.0.0" 4 | compile group: "org.osgi", name: "org.osgi.compendium", version: "5.0.0" 5 | } 6 | 7 | liferay { 8 | deployDir = file("${liferayHome}/osgi/modules") 9 | } -------------------------------------------------------------------------------- /dep-vis/dependency-graph-rest/dependency-graph-rest/build.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /dep-vis/dependency-graph-rest/dependency-graph-rest/build/tmp/jar/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: Liferay Dependency Graph Rest 4 | Bundle-SymbolicName: com.liferay.dependency.graph.rest 5 | Bundle-Vendor: Liferay, Inc. 6 | Bundle-Version: 1.0.0 7 | Created-By: 1.7.0_79 (Oracle Corporation) 8 | Import-Package: com.liferay.portal.kernel.json,com.liferay.portal.kernel 9 | .jsonwebservice,org.osgi.framework,org.osgi.framework.wiring 10 | Include-Resource: classes 11 | Javac-Debug: on 12 | Javac-Deprecation: off 13 | Javac-Encoding: UTF-8 14 | Private-Package: com.liferay.dependency.graph.rest,com.liferay.dependenc 15 | y.graph.rest.json,test.json 16 | Require-Capability: osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=1.7))" 17 | Service-Component: OSGI-INF/com.liferay.dependency.graph.rest.Dependenci 18 | es.xml 19 | Tool: Bnd-2.4.0.201411031534 20 | Web-ContextPath: /dependency-graph-rest 21 | -------------------------------------------------------------------------------- /dep-vis/dependency-graph-rest/dependency-graph-rest/classes/com/liferay/dependency/graph/rest/Dependencies.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/dep-vis/dependency-graph-rest/dependency-graph-rest/classes/com/liferay/dependency/graph/rest/Dependencies.class -------------------------------------------------------------------------------- /dep-vis/dependency-graph-rest/dependency-graph-rest/classes/com/liferay/dependency/graph/rest/json/DependentDescription.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/dep-vis/dependency-graph-rest/dependency-graph-rest/classes/com/liferay/dependency/graph/rest/json/DependentDescription.class -------------------------------------------------------------------------------- /dep-vis/dependency-graph-rest/dependency-graph-rest/lib/org.osgi.compendium.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/dep-vis/dependency-graph-rest/dependency-graph-rest/lib/org.osgi.compendium.jar -------------------------------------------------------------------------------- /dep-vis/dependency-graph-rest/dependency-graph-rest/lib/org.osgi.core.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/dep-vis/dependency-graph-rest/dependency-graph-rest/lib/org.osgi.core.jar -------------------------------------------------------------------------------- /dep-vis/dependency-graph-rest/dependency-graph-rest/lib/portal-service.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/dep-vis/dependency-graph-rest/dependency-graph-rest/lib/portal-service.jar -------------------------------------------------------------------------------- /dep-vis/dependency-graph-rest/dependency-graph-rest/src/com/liferay/dependency/graph/rest/json/DependentDescription.java: -------------------------------------------------------------------------------- 1 | package com.liferay.dependency.graph.rest.json; 2 | 3 | import com.liferay.portal.kernel.json.JSON; 4 | 5 | import java.util.ArrayList; 6 | import java.util.List; 7 | 8 | public class DependentDescription { 9 | 10 | public DependentDescription(String name, String notes) { 11 | _name = name; 12 | _notes = notes; 13 | } 14 | 15 | public void addDependency(String dependency) { 16 | if (_dependencies.contains(dependency)) { 17 | return; 18 | } 19 | 20 | _dependencies.add(dependency); 21 | } 22 | 23 | @JSON 24 | public String getName() { 25 | return _name; 26 | } 27 | 28 | @JSON 29 | public String getNotes() { 30 | return _notes; 31 | } 32 | 33 | @JSON 34 | public List getDependencies() { 35 | return _dependencies; 36 | } 37 | 38 | private final List _dependencies = new ArrayList<>(); 39 | private final String _name; 40 | private final String _notes; 41 | 42 | } -------------------------------------------------------------------------------- /fmconsole/src/main/java/com/liferay/devhacks/LiferayObjectConstructorHack.java: -------------------------------------------------------------------------------- 1 | package com.liferay.devhacks; 2 | 3 | import freemarker.ext.beans.BeansWrapper; 4 | 5 | import freemarker.template.TemplateMethodModelEx; 6 | import freemarker.template.TemplateModelException; 7 | 8 | import java.util.List; 9 | 10 | /** 11 | * @author Raymond Augé 12 | */ 13 | public class LiferayObjectConstructorHack implements TemplateMethodModelEx { 14 | 15 | @Override 16 | public Object exec(@SuppressWarnings("rawtypes") List arguments) 17 | throws TemplateModelException { 18 | 19 | if (arguments.isEmpty()) { 20 | throw new TemplateModelException( 21 | "This method must have at least one argument as the name of " + 22 | "the class to instantiate"); 23 | } 24 | 25 | Class clazz = null; 26 | 27 | try { 28 | String className = String.valueOf(arguments.get(0)); 29 | 30 | clazz = Class.forName( 31 | className, true, LiferayObjectConstructorHack.class.getClassLoader()); 32 | } 33 | catch (Exception e) { 34 | throw new TemplateModelException(e.getMessage()); 35 | } 36 | 37 | BeansWrapper beansWrapper = BeansWrapper.getDefaultInstance(); 38 | 39 | Object object = beansWrapper.newInstance( 40 | clazz, arguments.subList(1, arguments.size())); 41 | 42 | return beansWrapper.wrap(object); 43 | } 44 | 45 | } -------------------------------------------------------------------------------- /fmconsole/src/main/java/com/liferay/devhacks/NoSuchNoteException.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. 3 | * 4 | * This library is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU Lesser General Public License as published by the Free 6 | * Software Foundation; either version 2.1 of the License, or (at your option) 7 | * any later version. 8 | * 9 | * This library is distributed in the hope that it will be useful, but WITHOUT 10 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 11 | * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more 12 | * details. 13 | */ 14 | 15 | package com.liferay.devhacks; 16 | 17 | import com.liferay.portal.NoSuchModelException; 18 | 19 | /** 20 | * @author James Falkner 21 | */ 22 | public class NoSuchNoteException extends NoSuchModelException { 23 | 24 | public NoSuchNoteException() { 25 | super(); 26 | } 27 | 28 | public NoSuchNoteException(String msg) { 29 | super(msg); 30 | } 31 | 32 | public NoSuchNoteException(String msg, Throwable cause) { 33 | super(msg, cause); 34 | } 35 | 36 | public NoSuchNoteException(Throwable cause) { 37 | super(cause); 38 | } 39 | 40 | } -------------------------------------------------------------------------------- /fmconsole/src/main/java/com/liferay/devhacks/ServiceLocatorHack.java: -------------------------------------------------------------------------------- 1 | package com.liferay.devhacks; /** 2 | * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. 3 | * 4 | * This library is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU Lesser General Public License as published by the Free 6 | * Software Foundation; either version 2.1 of the License, or (at your option) 7 | * any later version. 8 | * 9 | * This library is distributed in the hope that it will be useful, but WITHOUT 10 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 11 | * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more 12 | * details. 13 | */ 14 | 15 | import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil; 16 | import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; 17 | import com.liferay.portal.kernel.log.Log; 18 | import com.liferay.portal.kernel.log.LogFactoryUtil; 19 | 20 | public class ServiceLocatorHack { 21 | 22 | public static ServiceLocatorHack getInstance() { 23 | return _instance; 24 | } 25 | 26 | public Object findService(String serviceName) { 27 | Object bean = null; 28 | 29 | try { 30 | bean = PortalBeanLocatorUtil.locate(_getServiceName(serviceName)); 31 | } 32 | catch (Exception e) { 33 | _log.error(e, e); 34 | } 35 | 36 | return bean; 37 | } 38 | 39 | public Object findService(String servletContextName, String serviceName) { 40 | Object bean = null; 41 | 42 | try { 43 | bean = PortletBeanLocatorUtil.locate( 44 | servletContextName, _getServiceName(serviceName)); 45 | } 46 | catch (Exception e) { 47 | _log.error(e, e); 48 | } 49 | 50 | return bean; 51 | } 52 | 53 | private ServiceLocatorHack() { 54 | } 55 | 56 | public static final String VELOCITY_SUFFIX = ".velocity"; 57 | 58 | private String _getServiceName(String serviceName) { 59 | if (!serviceName.endsWith(VELOCITY_SUFFIX)) { 60 | serviceName += VELOCITY_SUFFIX; 61 | } 62 | 63 | return serviceName; 64 | } 65 | 66 | private static Log _log = LogFactoryUtil.getLog(ServiceLocatorHack.class); 67 | 68 | private static ServiceLocatorHack _instance = new ServiceLocatorHack(); 69 | 70 | } -------------------------------------------------------------------------------- /fmconsole/src/main/java/com/liferay/devhacks/UtilLocatorHack.java: -------------------------------------------------------------------------------- 1 | package com.liferay.devhacks; /** 2 | * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. 3 | * 4 | * This library is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU Lesser General Public License as published by the Free 6 | * Software Foundation; either version 2.1 of the License, or (at your option) 7 | * any later version. 8 | * 9 | * This library is distributed in the hope that it will be useful, but WITHOUT 10 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 11 | * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more 12 | * details. 13 | */ 14 | 15 | import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil; 16 | import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; 17 | import com.liferay.portal.kernel.log.Log; 18 | import com.liferay.portal.kernel.log.LogFactoryUtil; 19 | 20 | /** 21 | * @author Raymond Augé 22 | */ 23 | public class UtilLocatorHack { 24 | 25 | public static UtilLocatorHack getInstance() { 26 | return _instance; 27 | } 28 | 29 | public Object findUtil(String utilName) { 30 | Object bean = null; 31 | 32 | try { 33 | bean = PortalBeanLocatorUtil.locate(_getUtilName(utilName)); 34 | } 35 | catch (Exception e) { 36 | _log.error(e, e); 37 | } 38 | 39 | return bean; 40 | } 41 | 42 | public Object findUtil(String servletContextName, String utilName) { 43 | Object bean = null; 44 | 45 | try { 46 | bean = PortletBeanLocatorUtil.locate( 47 | servletContextName, _getUtilName(utilName)); 48 | } 49 | catch (Exception e) { 50 | _log.error(e, e); 51 | } 52 | 53 | return bean; 54 | } 55 | 56 | private UtilLocatorHack() { 57 | } 58 | 59 | private String _getUtilName(String utilName) { 60 | if (!utilName.endsWith(ServiceLocatorHack.VELOCITY_SUFFIX)) { 61 | utilName += ServiceLocatorHack.VELOCITY_SUFFIX; 62 | } 63 | 64 | return utilName; 65 | } 66 | 67 | private static Log _log = LogFactoryUtil.getLog(UtilLocatorHack.class); 68 | 69 | private static UtilLocatorHack _instance = new UtilLocatorHack(); 70 | 71 | } -------------------------------------------------------------------------------- /fmconsole/src/main/java/com/liferay/devhacks/model/Note.java: -------------------------------------------------------------------------------- 1 | package com.liferay.devhacks.model; 2 | 3 | /** 4 | * The extended model interface for the Note service. Represents a row in the "Templates_Note" database table, with each column mapped to a property of this class. 5 | * 6 | * @author James Falkner 7 | * @see NoteModel 8 | * @see com.liferay.devhacks.model.impl.NoteImpl 9 | * @see com.liferay.devhacks.model.impl.NoteModelImpl 10 | * @generated 11 | */ 12 | public interface Note extends NoteModel { 13 | /* 14 | * NOTE FOR DEVELOPERS: 15 | * 16 | * Never modify this interface directly. Add methods to {@link com.liferay.devhacks.model.impl.NoteImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. 17 | */ 18 | } 19 | -------------------------------------------------------------------------------- /fmconsole/src/main/java/com/liferay/devhacks/model/impl/NoteBaseImpl.java: -------------------------------------------------------------------------------- 1 | package com.liferay.devhacks.model.impl; 2 | 3 | import com.liferay.devhacks.model.Note; 4 | 5 | /** 6 | * The extended model base implementation for the Note service. Represents a row in the "Templates_Note" database table, with each column mapped to a property of this class. 7 | * 8 | *

9 | * This class exists only as a container for the default extended model level methods generated by ServiceBuilder. Helper methods and all application logic should be put in {@link NoteImpl}. 10 | *

11 | * 12 | * @author James Falkner 13 | * @see NoteImpl 14 | * @see com.liferay.devhacks.model.Note 15 | * @generated 16 | */ 17 | public abstract class NoteBaseImpl extends NoteModelImpl implements Note { 18 | /* 19 | * NOTE FOR DEVELOPERS: 20 | * 21 | * Never modify or reference this class directly. All methods that expect a note model instance should use the {@link Note} interface instead. 22 | */ 23 | } 24 | -------------------------------------------------------------------------------- /fmconsole/src/main/java/com/liferay/devhacks/model/impl/NoteImpl.java: -------------------------------------------------------------------------------- 1 | package com.liferay.devhacks.model.impl; 2 | 3 | /** 4 | * The extended model implementation for the Note service. Represents a row in the "Templates_Note" database table, with each column mapped to a property of this class. 5 | * 6 | *

7 | * Helper methods and all application logic should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link com.liferay.devhacks.model.Note} interface. 8 | *

9 | * 10 | * @author James Falkner 11 | */ 12 | public class NoteImpl extends NoteBaseImpl { 13 | /* 14 | * NOTE FOR DEVELOPERS: 15 | * 16 | * Never reference this class directly. All methods that expect a note model instance should use the {@link com.liferay.devhacks.model.Note} interface instead. 17 | */ 18 | public NoteImpl() { 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /fmconsole/src/main/java/com/liferay/devhacks/service/base/NoteServiceClpInvoker.java: -------------------------------------------------------------------------------- 1 | package com.liferay.devhacks.service.base; 2 | 3 | import com.liferay.devhacks.service.NoteServiceUtil; 4 | 5 | import java.util.Arrays; 6 | 7 | /** 8 | * @author James Falkner 9 | * @generated 10 | */ 11 | public class NoteServiceClpInvoker { 12 | private String _methodName16; 13 | private String[] _methodParameterTypes16; 14 | private String _methodName17; 15 | private String[] _methodParameterTypes17; 16 | private String _methodName22; 17 | private String[] _methodParameterTypes22; 18 | 19 | public NoteServiceClpInvoker() { 20 | _methodName16 = "getBeanIdentifier"; 21 | 22 | _methodParameterTypes16 = new String[] { }; 23 | 24 | _methodName17 = "setBeanIdentifier"; 25 | 26 | _methodParameterTypes17 = new String[] { "java.lang.String" }; 27 | 28 | _methodName22 = "echo"; 29 | 30 | _methodParameterTypes22 = new String[] { 31 | "java.lang.String", "java.lang.String", "java.lang.String" 32 | }; 33 | } 34 | 35 | public Object invokeMethod(String name, String[] parameterTypes, 36 | Object[] arguments) throws Throwable { 37 | if (_methodName16.equals(name) && 38 | Arrays.deepEquals(_methodParameterTypes16, parameterTypes)) { 39 | return NoteServiceUtil.getBeanIdentifier(); 40 | } 41 | 42 | if (_methodName17.equals(name) && 43 | Arrays.deepEquals(_methodParameterTypes17, parameterTypes)) { 44 | NoteServiceUtil.setBeanIdentifier((java.lang.String) arguments[0]); 45 | 46 | return null; 47 | } 48 | 49 | if (_methodName22.equals(name) && 50 | Arrays.deepEquals(_methodParameterTypes22, parameterTypes)) { 51 | return NoteServiceUtil.echo((java.lang.String) arguments[0], 52 | (java.lang.String) arguments[1], (java.lang.String) arguments[2]); 53 | } 54 | 55 | throw new UnsupportedOperationException(); 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /fmconsole/src/main/java/com/liferay/devhacks/service/messaging/ClpMessageListener.java: -------------------------------------------------------------------------------- 1 | package com.liferay.devhacks.service.messaging; 2 | 3 | import com.liferay.devhacks.service.ClpSerializer; 4 | import com.liferay.devhacks.service.NoteServiceUtil; 5 | 6 | import com.liferay.portal.kernel.messaging.BaseMessageListener; 7 | import com.liferay.portal.kernel.messaging.Message; 8 | 9 | 10 | public class ClpMessageListener extends BaseMessageListener { 11 | public static String getServletContextName() { 12 | return ClpSerializer.getServletContextName(); 13 | } 14 | 15 | @Override 16 | protected void doReceive(Message message) throws Exception { 17 | String command = message.getString("command"); 18 | String servletContextName = message.getString("servletContextName"); 19 | 20 | if (command.equals("undeploy") && 21 | servletContextName.equals(getServletContextName())) { 22 | NoteServiceUtil.clearService(); 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /fmconsole/src/main/resources/META-INF/cluster-spring.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /fmconsole/src/main/resources/META-INF/hibernate-spring.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /fmconsole/src/main/resources/META-INF/infrastructure-spring.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | 11 | -------------------------------------------------------------------------------- /fmconsole/src/main/resources/META-INF/portlet-hbm.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /fmconsole/src/main/resources/META-INF/portlet-model-hints.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /fmconsole/src/main/resources/META-INF/portlet-orm.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | PROPERTY 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /fmconsole/src/main/resources/META-INF/portlet-spring.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /fmconsole/src/main/resources/META-INF/shard-data-source-spring.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /fmconsole/src/main/resources/portlet.properties: -------------------------------------------------------------------------------- 1 | liferay.devhacks.secret=Something hard to guess -------------------------------------------------------------------------------- /fmconsole/src/main/resources/service.properties: -------------------------------------------------------------------------------- 1 | ## 2 | ## Properties Override 3 | ## 4 | 5 | # 6 | # Specify where to get the overridden properties. Updates should not be made 7 | # on this file but on the overridden version of this file. 8 | # 9 | include-and-override=${base.path}/service-ext.properties 10 | 11 | ## 12 | ## Build 13 | ## 14 | 15 | build.namespace=Templates 16 | build.number=31 17 | build.date=1446441798992 18 | build.auto.upgrade=true 19 | 20 | ## 21 | ## Spring 22 | ## 23 | 24 | # 25 | # Input a list of comma delimited Spring configurations. These will be 26 | # loaded after the bean definitions specified in the 27 | # portalContextConfigLocation parameter in web.xml. 28 | # 29 | spring.configs=\ 30 | WEB-INF/classes/META-INF/base-spring.xml,\ 31 | \ 32 | WEB-INF/classes/META-INF/hibernate-spring.xml,\ 33 | WEB-INF/classes/META-INF/infrastructure-spring.xml,\ 34 | \ 35 | WEB-INF/classes/META-INF/cluster-spring.xml,\ 36 | \ 37 | WEB-INF/classes/META-INF/portlet-spring.xml,\ 38 | \ 39 | WEB-INF/classes/META-INF/shard-data-source-spring.xml,\ 40 | \ 41 | WEB-INF/classes/META-INF/ext-spring.xml -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/WEB-INF/liferay-display.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/WEB-INF/liferay-hook.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | portlet.properties 6 | 7 | -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/WEB-INF/liferay-plugin-package.properties: -------------------------------------------------------------------------------- 1 | name=fmconsole 2 | module-group-id=liferay 3 | module-incremental-version=1 4 | tags= 5 | short-description= 6 | change-log= 7 | page-url=http://www.liferay.com 8 | author=Liferay, Inc. 9 | licenses=LGPL 10 | portal-dependency-jars=\ 11 | freemarker.jar, \ 12 | commons-httpclient.jar, \ 13 | commons-fileupload.jar 14 | -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/WEB-INF/liferay-portlet.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | fmconsole 7 | /icon.png 8 | /css/main.css 9 | /js/main.js 10 | /js/ace-editor/ace.js 11 | /js/ace-editor/mode-ftl.js 12 | /js/ace-editor/ext-language_tools.js 13 | 14 | 15 | 16 | administrator 17 | Administrator 18 | 19 | 20 | guest 21 | Guest 22 | 23 | 24 | power-user 25 | Power User 26 | 27 | 28 | user 29 | User 30 | 31 | -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/WEB-INF/portlet.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | fmconsole 6 | fmconsole 7 | com.liferay.devhacks.JournalHackPortlet 8 | 9 | view-template 10 | /view.jsp 11 | 12 | 0 13 | 14 | text/html 15 | 16 | 17 | fmconsole 18 | fmconsole 19 | fmconsole 20 | 21 | 22 | administrator 23 | 24 | 25 | guest 26 | 27 | 28 | power-user 29 | 30 | 31 | user 32 | 33 | 34 | -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/WEB-INF/service.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | James Falkner 6 | Templates 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/WEB-INF/sql/indexes.properties: -------------------------------------------------------------------------------- 1 | IX_C2F5E012=Templates_FakeService.FakeService 2 | IX_C2F5E012=Templates_FakeService.Message 3 | 4 | IX_D704C0F8=Templates_Something.Message 5 | IX_28C7EC5D=Templates_Something.MessageNotUnique -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/WEB-INF/sql/indexes.sql: -------------------------------------------------------------------------------- 1 | create unique index IX_C2F5E012 on Templates_FakeService (messageId); 2 | 3 | create unique index IX_D704C0F8 on Templates_Something (messageId); 4 | create unique index IX_28C7EC5D on Templates_Something (someId); -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/WEB-INF/sql/sequences.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/fmconsole/src/main/webapp/WEB-INF/sql/sequences.sql -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/WEB-INF/sql/tables.sql: -------------------------------------------------------------------------------- 1 | create table Templates_FakeService ( 2 | message VARCHAR(75) null, 3 | messageId LONG not null primary key 4 | ); 5 | 6 | create table Templates_Note ( 7 | name VARCHAR(75) null, 8 | note VARCHAR(75) null, 9 | noteId LONG not null primary key 10 | ); 11 | 12 | create table Templates_Something ( 13 | message VARCHAR(75) null, 14 | someId LONG, 15 | messageId LONG not null primary key 16 | ); -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/css/main.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/fmconsole/src/main/webapp/css/main.css -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/fmconsole/src/main/webapp/icon.png -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/ext-error_marker.js: -------------------------------------------------------------------------------- 1 | ; 2 | (function() { 3 | window.require(["ace/ext/error_marker"], function() {}); 4 | })(); 5 | -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/ext-linking.js: -------------------------------------------------------------------------------- 1 | define("ace/ext/linking",["require","exports","module","ace/editor","ace/config"],function(e,t,n){function i(e){var t=e.editor,n=e.getAccelKey();if(n){var t=e.editor,r=e.getDocumentPosition(),i=t.session,s=i.getTokenAt(r.row,r.column);t._emit("linkHover",{position:r,token:s})}}function s(e){var t=e.getAccelKey(),n=e.getButton();if(n==0&&t){var r=e.editor,i=e.getDocumentPosition(),s=r.session,o=s.getTokenAt(i.row,i.column);r._emit("linkClick",{position:i,token:o})}}var r=e("ace/editor").Editor;e("../config").defineOptions(r.prototype,"editor",{enableLinking:{set:function(e){e?(this.on("click",s),this.on("mousemove",i)):(this.off("click",s),this.off("mousemove",i))},value:!1}})}); 2 | (function() { 3 | window.require(["ace/ext/linking"], function() {}); 4 | })(); 5 | -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/ext-spellcheck.js: -------------------------------------------------------------------------------- 1 | define("ace/ext/spellcheck",["require","exports","module","ace/lib/event","ace/editor","ace/config"],function(e,t,n){"use strict";var r=e("../lib/event");t.contextMenuHandler=function(e){var t=e.target,n=t.textInput.getElement();if(!t.selection.isEmpty())return;var i=t.getCursorPosition(),s=t.session.getWordRange(i.row,i.column),o=t.session.getTextRange(s);t.session.tokenRe.lastIndex=0;if(!t.session.tokenRe.test(o))return;var u="",a=o+" "+u;n.value=a,n.setSelectionRange(o.length,o.length+1),n.setSelectionRange(0,0),n.setSelectionRange(0,o.length);var f=!1;r.addListener(n,"keydown",function l(){r.removeListener(n,"keydown",l),f=!0}),t.textInput.setInputHandler(function(e){console.log(e,a,n.selectionStart,n.selectionEnd);if(e==a)return"";if(e.lastIndexOf(a,0)===0)return e.slice(a.length);if(e.substr(n.selectionEnd)==a)return e.slice(0,-a.length);if(e.slice(-2)==u){var r=e.slice(0,-2);if(r.slice(-1)==" ")return f?r.substring(0,n.selectionEnd):(r=r.slice(0,-1),t.session.replace(s,r),"")}return e})};var i=e("../editor").Editor;e("../config").defineOptions(i.prototype,"editor",{spellcheck:{set:function(e){var n=this.textInput.getElement();n.spellcheck=!!e,e?this.on("nativecontextmenu",t.contextMenuHandler):this.removeListener("nativecontextmenu",t.contextMenuHandler)},value:!0}})}); 2 | (function() { 3 | window.require(["ace/ext/spellcheck"], function() {}); 4 | })(); 5 | -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/ext-statusbar.js: -------------------------------------------------------------------------------- 1 | define("ace/ext/statusbar",["require","exports","module","ace/lib/dom","ace/lib/lang"],function(e,t,n){"use strict";var r=e("ace/lib/dom"),i=e("ace/lib/lang"),s=function(e,t){this.element=r.createElement("div"),this.element.className="ace_status-indicator",this.element.style.cssText="display: inline-block;",t.appendChild(this.element);var n=i.delayedCall(function(){this.updateStatus(e)}.bind(this)).schedule.bind(null,100);e.on("changeStatus",n),e.on("changeSelection",n),e.on("keyboardActivity",n)};(function(){this.updateStatus=function(e){function n(e,n){e&&t.push(e,n||"|")}var t=[];n(e.keyBinding.getStatusText(e)),e.commands.recording&&n("REC");var r=e.selection,i=r.lead;if(!r.isEmpty()){var s=e.getSelectionRange();n("("+(s.end.row-s.start.row)+":"+(s.end.column-s.start.column)+")"," ")}n(i.row+":"+i.column," "),r.rangeCount&&n("["+r.rangeCount+"]"," "),t.pop(),this.element.textContent=t.join("")}}).call(s.prototype),t.StatusBar=s}); 2 | (function() { 3 | window.require(["ace/ext/statusbar"], function() {}); 4 | })(); 5 | -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/ext-themelist.js: -------------------------------------------------------------------------------- 1 | define("ace/ext/themelist",["require","exports","module","ace/lib/fixoldbrowsers"],function(e,t,n){"use strict";e("ace/lib/fixoldbrowsers");var r=[["Chrome"],["Clouds"],["Crimson Editor"],["Dawn"],["Dreamweaver"],["Eclipse"],["GitHub"],["IPlastic"],["Solarized Light"],["TextMate"],["Tomorrow"],["XCode"],["Kuroir"],["KatzenMilch"],["SQL Server","sqlserver","light"],["Ambiance","ambiance","dark"],["Chaos","chaos","dark"],["Clouds Midnight","clouds_midnight","dark"],["Cobalt","cobalt","dark"],["idle Fingers","idle_fingers","dark"],["krTheme","kr_theme","dark"],["Merbivore","merbivore","dark"],["Merbivore Soft","merbivore_soft","dark"],["Mono Industrial","mono_industrial","dark"],["Monokai","monokai","dark"],["Pastel on dark","pastel_on_dark","dark"],["Solarized Dark","solarized_dark","dark"],["Terminal","terminal","dark"],["Tomorrow Night","tomorrow_night","dark"],["Tomorrow Night Blue","tomorrow_night_blue","dark"],["Tomorrow Night Bright","tomorrow_night_bright","dark"],["Tomorrow Night 80s","tomorrow_night_eighties","dark"],["Twilight","twilight","dark"],["Vibrant Ink","vibrant_ink","dark"]];t.themesByName={},t.themes=r.map(function(e){var n=e[1]||e[0].replace(/ /g,"_").toLowerCase(),r={caption:e[0],theme:"ace/theme/"+n,isDark:e[2]=="dark",name:n};return t.themesByName[n]=r,r})}); 2 | (function() { 3 | window.require(["ace/ext/themelist"], function() {}); 4 | })(); 5 | -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/mode-ada.js: -------------------------------------------------------------------------------- 1 | define("ace/mode/ada_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,s=function(){var e="abort|else|new|return|abs|elsif|not|reverse|abstract|end|null|accept|entry|select|access|exception|of|separate|aliased|exit|or|some|all|others|subtype|and|for|out|synchronized|array|function|overriding|at|tagged|generic|package|task|begin|goto|pragma|terminate|body|private|then|if|procedure|type|case|in|protected|constant|interface|until||is|raise|use|declare|range|delay|limited|record|when|delta|loop|rem|while|digits|renames|with|do|mod|requeue|xor",t="true|false|null",n="count|min|max|avg|sum|rank|now|coalesce|main",r=this.createKeywordMapper({"support.function":n,keyword:e,"constant.language":t},"identifier",!0);this.$rules={start:[{token:"comment",regex:"--.*$"},{token:"string",regex:'".*?"'},{token:"string",regex:"'.*?'"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:r,regex:"[a-zA-Z_$][a-zA-Z0-9_$]*\\b"},{token:"keyword.operator",regex:"\\+|\\-|\\/|\\/\\/|%|<@>|@>|<@|&|\\^|~|<|>|<=|=>|==|!=|<>|="},{token:"paren.lparen",regex:"[\\(]"},{token:"paren.rparen",regex:"[\\)]"},{token:"text",regex:"\\s+"}]}};r.inherits(s,i),t.AdaHighlightRules=s}),define("ace/mode/ada",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/ada_highlight_rules","ace/range"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,s=e("./ada_highlight_rules").AdaHighlightRules,o=e("../range").Range,u=function(){this.HighlightRules=s};r.inherits(u,i),function(){this.lineCommentStart="--",this.$id="ace/mode/ada"}.call(u.prototype),t.Mode=u}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/mode-cobol.js: -------------------------------------------------------------------------------- 1 | define("ace/mode/cobol_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,s=function(){var e="ACCEPT|MERGE|SUM|ADD||MESSAGE|TABLE|ADVANCING|MODE|TAPE|AFTER|MULTIPLY|TEST|ALL|NEGATIVE|TEXT|ALPHABET|NEXT|THAN|ALSO|NO|THEN|ALTERNATE|NOT|THROUGH|AND|NUMBER|THRU|ANY|OCCURS|TIME|ARE|OF|TO|AREA|OFF|TOP||ASCENDING|OMITTED|TRUE|ASSIGN|ON|TYPE|AT|OPEN|UNIT|AUTHOR|OR|UNTIL|BEFORE|OTHER|UP|BLANK|OUTPUT|USE|BLOCK|PAGE|USING|BOTTOM|PERFORM|VALUE|BY|PIC|VALUES|CALL|PICTURE|WHEN|CANCEL|PLUS|WITH|CD|POINTER|WRITE|CHARACTER|POSITION||ZERO|CLOSE|POSITIVE|ZEROS|COLUMN|PROCEDURE|ZEROES|COMMA|PROGRAM|COMMON|PROGRAM-ID|COMMUNICATION|QUOTE|COMP|RANDOM|COMPUTE|READ|CONTAINS|RECEIVE|CONFIGURATION|RECORD|CONTINUE|REDEFINES|CONTROL|REFERENCE|COPY|REMAINDER|COUNT|REPLACE|DATA|REPORT|DATE|RESERVE|DAY|RESET|DELETE|RETURN|DESTINATION|REWIND|DISABLE|REWRITE|DISPLAY|RIGHT|DIVIDE|RUN|DOWN|SAME|ELSE|SEARCH|ENABLE|SECTION|END|SELECT|ENVIRONMENT|SENTENCE|EQUAL|SET|ERROR|SIGN|EXIT|SEQUENTIAL|EXTERNAL|SIZE|FLASE|SORT|FILE|SOURCE|LENGTH|SPACE|LESS|STANDARD|LIMIT|START|LINE|STOP|LOCK|STRING|LOW-VALUE|SUBTRACT",t="true|false|null",n="count|min|max|avg|sum|rank|now|coalesce|main",r=this.createKeywordMapper({"support.function":n,keyword:e,"constant.language":t},"identifier",!0);this.$rules={start:[{token:"comment",regex:"\\*.*$"},{token:"string",regex:'".*?"'},{token:"string",regex:"'.*?'"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:r,regex:"[a-zA-Z_$][a-zA-Z0-9_$]*\\b"},{token:"keyword.operator",regex:"\\+|\\-|\\/|\\/\\/|%|<@>|@>|<@|&|\\^|~|<|>|<=|=>|==|!=|<>|="},{token:"paren.lparen",regex:"[\\(]"},{token:"paren.rparen",regex:"[\\)]"},{token:"text",regex:"\\s+"}]}};r.inherits(s,i),t.CobolHighlightRules=s}),define("ace/mode/cobol",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/cobol_highlight_rules","ace/range"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,s=e("./cobol_highlight_rules").CobolHighlightRules,o=e("../range").Range,u=function(){this.HighlightRules=s};r.inherits(u,i),function(){this.lineCommentStart="*",this.$id="ace/mode/cobol"}.call(u.prototype),t.Mode=u}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/mode-gcode.js: -------------------------------------------------------------------------------- 1 | define("ace/mode/gcode_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,s=function(){var e="IF|DO|WHILE|ENDWHILE|CALL|ENDIF|SUB|ENDSUB|GOTO|REPEAT|ENDREPEAT|CALL",t="PI",n="ATAN|ABS|ACOS|ASIN|SIN|COS|EXP|FIX|FUP|ROUND|LN|TAN",r=this.createKeywordMapper({"support.function":n,keyword:e,"constant.language":t},"identifier",!0);this.$rules={start:[{token:"comment",regex:"\\(.*\\)"},{token:"comment",regex:"([N])([0-9]+)"},{token:"string",regex:"([G])([0-9]+\\.?[0-9]?)"},{token:"string",regex:"([M])([0-9]+\\.?[0-9]?)"},{token:"constant.numeric",regex:"([-+]?([0-9]*\\.?[0-9]+\\.?))|(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)"},{token:r,regex:"[A-Z]"},{token:"keyword.operator",regex:"EQ|LT|GT|NE|GE|LE|OR|XOR"},{token:"paren.lparen",regex:"[\\[]"},{token:"paren.rparen",regex:"[\\]]"},{token:"text",regex:"\\s+"}]}};r.inherits(s,i),t.GcodeHighlightRules=s}),define("ace/mode/gcode",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/gcode_highlight_rules","ace/range"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,s=e("./gcode_highlight_rules").GcodeHighlightRules,o=e("../range").Range,u=function(){this.HighlightRules=s};r.inherits(u,i),function(){this.$id="ace/mode/gcode"}.call(u.prototype),t.Mode=u}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/mode-gitignore.js: -------------------------------------------------------------------------------- 1 | define("ace/mode/gitignore_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,s=function(){this.$rules={start:[{token:"comment",regex:/^\s*#.*$/},{token:"keyword",regex:/^\s*!.*$/}]},this.normalizeRules()};s.metaData={fileTypes:["gitignore"],name:"Gitignore"},r.inherits(s,i),t.GitignoreHighlightRules=s}),define("ace/mode/gitignore",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/gitignore_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,s=e("./gitignore_highlight_rules").GitignoreHighlightRules,o=function(){this.HighlightRules=s};r.inherits(o,i),function(){this.lineCommentStart="#",this.$id="ace/mode/gitignore"}.call(o.prototype),t.Mode=o}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/mode-lisp.js: -------------------------------------------------------------------------------- 1 | define("ace/mode/lisp_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,s=function(){var e="case|do|let|loop|if|else|when",t="eq|neq|and|or",n="null|nil",r="cons|car|cdr|cond|lambda|format|setq|setf|quote|eval|append|list|listp|memberp|t|load|progn",i=this.createKeywordMapper({"keyword.control":e,"keyword.operator":t,"constant.language":n,"support.function":r},"identifier",!0);this.$rules={start:[{token:"comment",regex:";.*$"},{token:["storage.type.function-type.lisp","text","entity.name.function.lisp"],regex:"(?:\\b(?:(defun|defmethod|defmacro))\\b)(\\s+)((?:\\w|\\-|\\!|\\?)*)"},{token:["punctuation.definition.constant.character.lisp","constant.character.lisp"],regex:"(#)((?:\\w|[\\\\+-=<>'\"&#])+)"},{token:["punctuation.definition.variable.lisp","variable.other.global.lisp","punctuation.definition.variable.lisp"],regex:"(\\*)(\\S*)(\\*)"},{token:"constant.numeric",regex:"0[xX][0-9a-fA-F]+(?:L|l|UL|ul|u|U|F|f|ll|LL|ull|ULL)?\\b"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?(?:L|l|UL|ul|u|U|F|f|ll|LL|ull|ULL)?\\b"},{token:i,regex:"[a-zA-Z_$][a-zA-Z0-9_$]*\\b"},{token:"string",regex:'"(?=.)',next:"qqstring"}],qqstring:[{token:"constant.character.escape.lisp",regex:"\\\\."},{token:"string",regex:'[^"\\\\]+'},{token:"string",regex:"\\\\$",next:"qqstring"},{token:"string",regex:'"|$',next:"start"}]}};r.inherits(s,i),t.LispHighlightRules=s}),define("ace/mode/lisp",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/lisp_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,s=e("./lisp_highlight_rules").LispHighlightRules,o=function(){this.HighlightRules=s};r.inherits(o,i),function(){this.lineCommentStart=";",this.$id="ace/mode/lisp"}.call(o.prototype),t.Mode=o}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/mode-lucene.js: -------------------------------------------------------------------------------- 1 | define("ace/mode/lucene_highlight_rules",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("../lib/lang"),s=e("./text_highlight_rules").TextHighlightRules,o=function(){this.$rules={start:[{token:"constant.character.negation",regex:"[\\-]"},{token:"constant.character.interro",regex:"[\\?]"},{token:"constant.character.asterisk",regex:"[\\*]"},{token:"constant.character.proximity",regex:"~[0-9]+\\b"},{token:"keyword.operator",regex:"(?:AND|OR|NOT)\\b"},{token:"paren.lparen",regex:"[\\(]"},{token:"paren.rparen",regex:"[\\)]"},{token:"keyword",regex:"[\\S]+:"},{token:"string",regex:'".*?"'},{token:"text",regex:"\\s+"}]}};r.inherits(o,s),t.LuceneHighlightRules=o}),define("ace/mode/lucene",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/lucene_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,s=e("./lucene_highlight_rules").LuceneHighlightRules,o=function(){this.HighlightRules=s};r.inherits(o,i),function(){this.$id="ace/mode/lucene"}.call(o.prototype),t.Mode=o}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/mode-plain_text.js: -------------------------------------------------------------------------------- 1 | define("ace/mode/plain_text",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/text_highlight_rules","ace/mode/behaviour"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,s=e("./text_highlight_rules").TextHighlightRules,o=e("./behaviour").Behaviour,u=function(){this.HighlightRules=s,this.$behaviour=new o};r.inherits(u,i),function(){this.type="text",this.getNextLineIndent=function(e,t,n){return""},this.$id="ace/mode/plain_text"}.call(u.prototype),t.Mode=u}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/mode-properties.js: -------------------------------------------------------------------------------- 1 | define("ace/mode/properties_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,s=function(){var e=/\\u[0-9a-fA-F]{4}|\\/;this.$rules={start:[{token:"comment",regex:/[!#].*$/},{token:"keyword",regex:/[=:]$/},{token:"keyword",regex:/[=:]/,next:"value"},{token:"constant.language.escape",regex:e},{defaultToken:"variable"}],value:[{regex:/\\$/,token:"string",next:"value"},{regex:/$/,token:"string",next:"start"},{token:"constant.language.escape",regex:e},{defaultToken:"string"}]}};r.inherits(s,i),t.PropertiesHighlightRules=s}),define("ace/mode/properties",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/properties_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,s=e("./properties_highlight_rules").PropertiesHighlightRules,o=function(){this.HighlightRules=s};r.inherits(o,i),function(){this.$id="ace/mode/properties"}.call(o.prototype),t.Mode=o}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/mode-space.js: -------------------------------------------------------------------------------- 1 | define("ace/mode/folding/coffee",["require","exports","module","ace/lib/oop","ace/mode/folding/fold_mode","ace/range"],function(e,t,n){"use strict";var r=e("../../lib/oop"),i=e("./fold_mode").FoldMode,s=e("../../range").Range,o=t.FoldMode=function(){};r.inherits(o,i),function(){this.getFoldWidgetRange=function(e,t,n){var r=this.indentationBlock(e,n);if(r)return r;var i=/\S/,o=e.getLine(n),u=o.search(i);if(u==-1||o[u]!="#")return;var a=o.length,f=e.getLength(),l=n,c=n;while(++nl){var p=e.getLine(c).length;return new s(l,a,c,p)}},this.getFoldWidget=function(e,t,n){var r=e.getLine(n),i=r.search(/\S/),s=e.getLine(n+1),o=e.getLine(n-1),u=o.search(/\S/),a=s.search(/\S/);if(i==-1)return e.foldWidgets[n-1]=u!=-1&&u|@>|<@|&|\\^|~|<|>|<=|=>|==|!=|<>|="},{token:"paren.lparen",regex:"[\\(]"},{token:"paren.rparen",regex:"[\\)]"},{token:"text",regex:"\\s+"}]},this.normalizeRules()};r.inherits(s,i),t.SqlHighlightRules=s}),define("ace/mode/sql",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/sql_highlight_rules","ace/range"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,s=e("./sql_highlight_rules").SqlHighlightRules,o=e("../range").Range,u=function(){this.HighlightRules=s};r.inherits(u,i),function(){this.lineCommentStart="--",this.$id="ace/mode/sql"}.call(u.prototype),t.Mode=u}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/mode-text.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/fmconsole/src/main/webapp/js/ace-editor/mode-text.js -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/mode-textile.js: -------------------------------------------------------------------------------- 1 | define("ace/mode/textile_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,s=function(){this.$rules={start:[{token:function(e){return e.charAt(0)=="h"?"markup.heading."+e.charAt(1):"markup.heading"},regex:"h1|h2|h3|h4|h5|h6|bq|p|bc|pre",next:"blocktag"},{token:"keyword",regex:"[\\*]+|[#]+"},{token:"text",regex:".+"}],blocktag:[{token:"keyword",regex:"\\. ",next:"start"},{token:"keyword",regex:"\\(",next:"blocktagproperties"}],blocktagproperties:[{token:"keyword",regex:"\\)",next:"blocktag"},{token:"string",regex:"[a-zA-Z0-9\\-_]+"},{token:"keyword",regex:"#"}]}};r.inherits(s,i),t.TextileHighlightRules=s}),define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],function(e,t,n){"use strict";var r=e("../range").Range,i=function(){};(function(){this.checkOutdent=function(e,t){return/^\s+$/.test(e)?/^\s*\}/.test(t):!1},this.autoOutdent=function(e,t){var n=e.getLine(t),i=n.match(/^(\s*\})/);if(!i)return 0;var s=i[1].length,o=e.findMatchingBracket({row:t,column:s});if(!o||o.row==t)return 0;var u=this.$getIndent(e.getLine(o.row));e.replace(new r(t,0,t,s-1),u)},this.$getIndent=function(e){return e.match(/^\s*/)[0]}}).call(i.prototype),t.MatchingBraceOutdent=i}),define("ace/mode/textile",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/textile_highlight_rules","ace/mode/matching_brace_outdent"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,s=e("./textile_highlight_rules").TextileHighlightRules,o=e("./matching_brace_outdent").MatchingBraceOutdent,u=function(){this.HighlightRules=s,this.$outdent=new o};r.inherits(u,i),function(){this.type="text",this.getNextLineIndent=function(e,t,n){return e=="intag"?n:""},this.checkOutdent=function(e,t,n){return this.$outdent.checkOutdent(t,n)},this.autoOutdent=function(e,t,n){this.$outdent.autoOutdent(t,n)},this.$id="ace/mode/textile"}.call(u.prototype),t.Mode=u}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/mode-toml.js: -------------------------------------------------------------------------------- 1 | define("ace/mode/toml_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,s=function(){var e=this.createKeywordMapper({"constant.language.boolean":"true|false"},"identifier"),t="[a-zA-Z\\$_\u00a1-\uffff][a-zA-Z\\d\\$_\u00a1-\uffff]*\\b";this.$rules={start:[{token:"comment.toml",regex:/#.*$/},{token:"string",regex:'"(?=.)',next:"qqstring"},{token:["variable.keygroup.toml"],regex:"(?:^\\s*)(\\[\\[([^\\]]+)\\]\\])"},{token:["variable.keygroup.toml"],regex:"(?:^\\s*)(\\[([^\\]]+)\\])"},{token:e,regex:t},{token:"support.date.toml",regex:"\\d{4}-\\d{2}-\\d{2}(T)\\d{2}:\\d{2}:\\d{2}(Z)"},{token:"constant.numeric.toml",regex:"-?\\d+(\\.?\\d+)?"}],qqstring:[{token:"string",regex:"\\\\$",next:"qqstring"},{token:"constant.language.escape",regex:'\\\\[0tnr"\\\\]'},{token:"string",regex:'"|$',next:"start"},{defaultToken:"string"}]}};r.inherits(s,i),t.TomlHighlightRules=s}),define("ace/mode/folding/ini",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(e,t,n){"use strict";var r=e("../../lib/oop"),i=e("../../range").Range,s=e("./fold_mode").FoldMode,o=t.FoldMode=function(){};r.inherits(o,s),function(){this.foldingStartMarker=/^\s*\[([^\])]*)]\s*(?:$|[;#])/,this.getFoldWidgetRange=function(e,t,n){var r=this.foldingStartMarker,s=e.getLine(n),o=s.match(r);if(!o)return;var u=o[1]+".",a=s.length,f=e.getLength(),l=n,c=n;while(++nl){var h=e.getLine(c).length;return new i(l,a,c,h)}}}.call(o.prototype)}),define("ace/mode/toml",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/toml_highlight_rules","ace/mode/folding/ini"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,s=e("./toml_highlight_rules").TomlHighlightRules,o=e("./folding/ini").FoldMode,u=function(){this.HighlightRules=s,this.foldingRules=new o};r.inherits(u,i),function(){this.lineCommentStart="#",this.$id="ace/mode/toml"}.call(u.prototype),t.Mode=u}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/mode-vhdl.js: -------------------------------------------------------------------------------- 1 | define("ace/mode/vhdl_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,s=function(){var e="access|after|ailas|all|architecture|assert|attribute|begin|block|buffer|bus|case|component|configuration|disconnect|downto|else|elsif|end|entity|file|for|function|generate|generic|guarded|if|impure|in|inertial|inout|is|label|linkage|literal|loop|mapnew|next|of|on|open|others|out|port|process|pure|range|record|reject|report|return|select|shared|subtype|then|to|transport|type|unaffected|united|until|wait|when|while|with",t="bit|bit_vector|boolean|character|integer|line|natural|positive|real|register|severity|signal|signed|std_logic|std_logic_vector|string||text|time|unsigned|variable",n="array|constant",r="abs|and|mod|nand|nor|not|rem|rol|ror|sla|sll|srasrl|xnor|xor",i="true|false|null",s=this.createKeywordMapper({"keyword.operator":r,keyword:e,"constant.language":i,"storage.modifier":n,"storage.type":t},"identifier",!0);this.$rules={start:[{token:"comment",regex:"--.*$"},{token:"string",regex:'".*?"'},{token:"string",regex:"'.*?'"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:"keyword",regex:"\\s*(?:library|package|use)\\b"},{token:s,regex:"[a-zA-Z_$][a-zA-Z0-9_$]*\\b"},{token:"keyword.operator",regex:"&|\\*|\\+|\\-|\\/|<|=|>|\\||=>|\\*\\*|:=|\\/=|>=|<=|<>"},{token:"punctuation.operator",regex:"\\'|\\:|\\,|\\;|\\."},{token:"paren.lparen",regex:"[[(]"},{token:"paren.rparen",regex:"[\\])]"},{token:"text",regex:"\\s+"}]}};r.inherits(s,i),t.VHDLHighlightRules=s}),define("ace/mode/vhdl",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/vhdl_highlight_rules","ace/range"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,s=e("./vhdl_highlight_rules").VHDLHighlightRules,o=e("../range").Range,u=function(){this.HighlightRules=s};r.inherits(u,i),function(){this.lineCommentStart="--",this.$id="ace/mode/vhdl"}.call(u.prototype),t.Mode=u}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/abap.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/abap",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="abap"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/abc.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/abc",["require","exports","module"],function(e,t,n){"use strict";t.snippetText='\nsnippet zupfnoter.print\n %%%%hn.print {"startpos": ${1:pos_y}, "t":"${2:title}", "v":[${3:voices}], "s":[[${4:syncvoices}1,2]], "f":[${5:flowlines}], "sf":[${6:subflowlines}], "j":[${7:jumplines}]}\n\nsnippet zupfnoter.note\n %%%%hn.note {"pos": [${1:pos_x},${2:pos_y}], "text": "${3:text}", "style": "${4:style}"}\n\nsnippet zupfnoter.annotation\n %%%%hn.annotation {"id": "${1:id}", "pos": [${2:pos}], "text": "${3:text}"}\n\nsnippet zupfnoter.lyrics\n %%%%hn.lyrics {"pos": [${1:x_pos},${2:y_pos}]}\n\nsnippet zupfnoter.legend\n %%%%hn.legend {"pos": [${1:x_pos},${2:y_pos}]}\n\n\n\nsnippet zupfnoter.target\n "^:${1:target}"\n\nsnippet zupfnoter.goto\n "^@${1:target}@${2:distance}"\n\nsnippet zupfnoter.annotationref\n "^#${1:target}"\n\nsnippet zupfnoter.annotation\n "^!${1:text}@${2:x_offset},${3:y_offset}"\n\n\n',t.scope="abc"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/ada.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/ada",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="ada"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/apache_conf.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/apache_conf",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="apache_conf"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/applescript.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/applescript",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="applescript"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/asciidoc.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/asciidoc",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="asciidoc"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/assembly_x86.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/assembly_x86",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="assembly_x86"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/autohotkey.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/autohotkey",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="autohotkey"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/batchfile.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/batchfile",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="batchfile"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/c9search.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/c9search",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="c9search"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/cirru.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/cirru",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="cirru"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/clojure.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/clojure",["require","exports","module"],function(e,t,n){"use strict";t.snippetText='snippet comm\n (comment\n ${1}\n )\nsnippet condp\n (condp ${1:pred} ${2:expr}\n ${3})\nsnippet def\n (def ${1})\nsnippet defm\n (defmethod ${1:multifn} "${2:doc-string}" ${3:dispatch-val} [${4:args}]\n ${5})\nsnippet defmm\n (defmulti ${1:name} "${2:doc-string}" ${3:dispatch-fn})\nsnippet defma\n (defmacro ${1:name} "${2:doc-string}" ${3:dispatch-fn})\nsnippet defn\n (defn ${1:name} "${2:doc-string}" [${3:arg-list}]\n ${4})\nsnippet defp\n (defprotocol ${1:name}\n ${2})\nsnippet defr\n (defrecord ${1:name} [${2:fields}]\n ${3:protocol}\n ${4})\nsnippet deft\n (deftest ${1:name}\n (is (= ${2:assertion})))\n ${3})\nsnippet is\n (is (= ${1} ${2}))\nsnippet defty\n (deftype ${1:Name} [${2:fields}]\n ${3:Protocol}\n ${4})\nsnippet doseq\n (doseq [${1:elem} ${2:coll}]\n ${3})\nsnippet fn\n (fn [${1:arg-list}] ${2})\nsnippet if\n (if ${1:test-expr}\n ${2:then-expr}\n ${3:else-expr})\nsnippet if-let \n (if-let [${1:result} ${2:test-expr}]\n (${3:then-expr} $1)\n (${4:else-expr}))\nsnippet imp\n (:import [${1:package}])\n & {:keys [${1:keys}] :or {${2:defaults}}}\nsnippet let\n (let [${1:name} ${2:expr}]\n ${3})\nsnippet letfn\n (letfn [(${1:name) [${2:args}]\n ${3})])\nsnippet map\n (map ${1:func} ${2:coll})\nsnippet mapl\n (map #(${1:lambda}) ${2:coll})\nsnippet met\n (${1:name} [${2:this} ${3:args}]\n ${4})\nsnippet ns\n (ns ${1:name}\n ${2})\nsnippet dotimes\n (dotimes [_ 10]\n (time\n (dotimes [_ ${1:times}]\n ${2})))\nsnippet pmethod\n (${1:name} [${2:this} ${3:args}])\nsnippet refer\n (:refer-clojure :exclude [${1}])\nsnippet require\n (:require [${1:namespace} :as [${2}]])\nsnippet use\n (:use [${1:namespace} :only [${2}]])\nsnippet print\n (println ${1})\nsnippet reduce\n (reduce ${1:(fn [p n] ${3})} ${2})\nsnippet when\n (when ${1:test} ${2:body})\nsnippet when-let\n (when-let [${1:result} ${2:test}]\n ${3:body})\n',t.scope="clojure"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/cobol.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/cobol",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="cobol"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/coffee.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/coffee",["require","exports","module"],function(e,t,n){"use strict";t.snippetText="# Closure loop\nsnippet forindo\n for ${1:name} in ${2:array}\n do ($1) ->\n ${3:// body}\n# Array comprehension\nsnippet fora\n for ${1:name} in ${2:array}\n ${3:// body...}\n# Object comprehension\nsnippet foro\n for ${1:key}, ${2:value} of ${3:object}\n ${4:// body...}\n# Range comprehension (inclusive)\nsnippet forr\n for ${1:name} in [${2:start}..${3:finish}]\n ${4:// body...}\nsnippet forrb\n for ${1:name} in [${2:start}..${3:finish}] by ${4:step}\n ${5:// body...}\n# Range comprehension (exclusive)\nsnippet forrex\n for ${1:name} in [${2:start}...${3:finish}]\n ${4:// body...}\nsnippet forrexb\n for ${1:name} in [${2:start}...${3:finish}] by ${4:step}\n ${5:// body...}\n# Function\nsnippet fun\n (${1:args}) ->\n ${2:// body...}\n# Function (bound)\nsnippet bfun\n (${1:args}) =>\n ${2:// body...}\n# Class\nsnippet cla class ..\n class ${1:`substitute(Filename(), '\\(_\\|^\\)\\(.\\)', '\\u\\2', 'g')`}\n ${2}\nsnippet cla class .. constructor: ..\n class ${1:`substitute(Filename(), '\\(_\\|^\\)\\(.\\)', '\\u\\2', 'g')`}\n constructor: (${2:args}) ->\n ${3}\n\n ${4}\nsnippet cla class .. extends ..\n class ${1:`substitute(Filename(), '\\(_\\|^\\)\\(.\\)', '\\u\\2', 'g')`} extends ${2:ParentClass}\n ${3}\nsnippet cla class .. extends .. constructor: ..\n class ${1:`substitute(Filename(), '\\(_\\|^\\)\\(.\\)', '\\u\\2', 'g')`} extends ${2:ParentClass}\n constructor: (${3:args}) ->\n ${4}\n\n ${5}\n# If\nsnippet if\n if ${1:condition}\n ${2:// body...}\n# If __ Else\nsnippet ife\n if ${1:condition}\n ${2:// body...}\n else\n ${3:// body...}\n# Else if\nsnippet elif\n else if ${1:condition}\n ${2:// body...}\n# Ternary If\nsnippet ifte\n if ${1:condition} then ${2:value} else ${3:other}\n# Unless\nsnippet unl\n ${1:action} unless ${2:condition}\n# Switch\nsnippet swi\n switch ${1:object}\n when ${2:value}\n ${3:// body...}\n\n# Log\nsnippet log\n console.log ${1}\n# Try __ Catch\nsnippet try\n try\n ${1}\n catch ${2:error}\n ${3}\n# Require\nsnippet req\n ${2:$1} = require '${1:sys}'${3}\n# Export\nsnippet exp\n ${1:root} = exports ? this\n",t.scope="coffee"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/coldfusion.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/coldfusion",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="coldfusion"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/csharp.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/csharp",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="csharp"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/curly.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/curly",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="curly"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/d.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/d",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="d"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/dart.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/dart",["require","exports","module"],function(e,t,n){"use strict";t.snippetText="snippet lib\n library ${1};\n ${2}\nsnippet im\n import '${1}';\n ${2}\nsnippet pa\n part '${1}';\n ${2}\nsnippet pao\n part of ${1};\n ${2}\nsnippet main\n void main() {\n ${1:/* code */}\n }\nsnippet st\n static ${1}\nsnippet fi\n final ${1}\nsnippet re\n return ${1}\nsnippet br\n break;\nsnippet th\n throw ${1}\nsnippet cl\n class ${1:`Filename(\"\", \"untitled\")`} ${2}\nsnippet imp\n implements ${1}\nsnippet ext\n extends ${1}\nsnippet if\n if (${1:true}) {\n ${2}\n }\nsnippet ife\n if (${1:true}) {\n ${2}\n } else {\n ${3}\n }\nsnippet el\n else\nsnippet sw\n switch (${1}) {\n ${2}\n }\nsnippet cs\n case ${1}:\n ${2}\nsnippet de\n default:\n ${1}\nsnippet for\n for (var ${2:i} = 0, len = ${1:things}.length; $2 < len; ${3:++}$2) {\n ${4:$1[$2]}\n }\nsnippet fore\n for (final ${2:item} in ${1:itemList}) {\n ${3:/* code */}\n }\nsnippet wh\n while (${1:/* condition */}) {\n ${2:/* code */}\n }\nsnippet dowh\n do {\n ${2:/* code */}\n } while (${1:/* condition */});\nsnippet as\n assert(${1:/* condition */});\nsnippet try\n try {\n ${2}\n } catch (${1:Exception e}) {\n }\nsnippet tryf\n try {\n ${2}\n } catch (${1:Exception e}) {\n } finally {\n }\n",t.scope="dart"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/diff.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/diff",["require","exports","module"],function(e,t,n){"use strict";t.snippetText='# DEP-3 (http://dep.debian.net/deps/dep3/) style patch header\nsnippet header DEP-3 style header\n Description: ${1}\n Origin: ${2:vendor|upstream|other}, ${3:url of the original patch}\n Bug: ${4:url in upstream bugtracker}\n Forwarded: ${5:no|not-needed|url}\n Author: ${6:`g:snips_author`}\n Reviewed-by: ${7:name and email}\n Last-Update: ${8:`strftime("%Y-%m-%d")`}\n Applied-Upstream: ${9:upstream version|url|commit}\n\n',t.scope="diff"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/dockerfile.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/dockerfile",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="dockerfile"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/dot.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/dot",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="dot"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/eiffel.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/eiffel",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="eiffel"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/ejs.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/ejs",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="ejs"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/elixir.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/elixir",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope=""}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/elm.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/elm",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="elm"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/forth.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/forth",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="forth"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/ftl.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/ftl",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="ftl"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/gcode.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/gcode",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="gcode"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/gherkin.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/gherkin",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="gherkin"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/gitignore.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/gitignore",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="gitignore"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/glsl.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/glsl",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="glsl"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/golang.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/golang",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="golang"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/groovy.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/groovy",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="groovy"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/haml.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/haml",["require","exports","module"],function(e,t,n){"use strict";t.snippetText="snippet t\n %table\n %tr\n %th\n ${1:headers}\n %tr\n %td\n ${2:headers}\nsnippet ul\n %ul\n %li\n ${1:item}\n %li\nsnippet =rp\n = render :partial => '${1:partial}'\nsnippet =rpl\n = render :partial => '${1:partial}', :locals => {}\nsnippet =rpc\n = render :partial => '${1:partial}', :collection => @$1\n\n",t.scope="haml"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/handlebars.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/handlebars",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="handlebars"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/haskell.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/haskell",["require","exports","module"],function(e,t,n){"use strict";t.snippetText="snippet lang\n {-# LANGUAGE ${1:OverloadedStrings} #-}\nsnippet info\n -- |\n -- Module : ${1:Module.Namespace}\n -- Copyright : ${2:Author} ${3:2011-2012}\n -- License : ${4:BSD3}\n --\n -- Maintainer : ${5:email@something.com}\n -- Stability : ${6:experimental}\n -- Portability : ${7:unknown}\n --\n -- ${8:Description}\n --\nsnippet import\n import ${1:Data.Text}\nsnippet import2\n import ${1:Data.Text} (${2:head})\nsnippet importq\n import qualified ${1:Data.Text} as ${2:T}\nsnippet inst\n instance ${1:Monoid} ${2:Type} where\n ${3}\nsnippet type\n type ${1:Type} = ${2:Type}\nsnippet data\n data ${1:Type} = ${2:$1} ${3:Int}\nsnippet newtype\n newtype ${1:Type} = ${2:$1} ${3:Int}\nsnippet class\n class ${1:Class} a where\n ${2}\nsnippet module\n module `substitute(substitute(expand('%:r'), '[/\\\\]','.','g'),'^\\%(\\l*\\.\\)\\?','','')` (\n ) where\n `expand('%') =~ 'Main' ? \"\\n\\nmain = do\\n print \\\"hello world\\\"\" : \"\"`\n\nsnippet const\n ${1:name} :: ${2:a}\n $1 = ${3:undefined}\nsnippet fn\n ${1:fn} :: ${2:a} -> ${3:a}\n $1 ${4} = ${5:undefined}\nsnippet fn2\n ${1:fn} :: ${2:a} -> ${3:a} -> ${4:a}\n $1 ${5} = ${6:undefined}\nsnippet ap\n ${1:map} ${2:fn} ${3:list}\nsnippet do\n do\n \nsnippet \u03bb\n \\${1:x} -> ${2}\nsnippet \\\n \\${1:x} -> ${2}\nsnippet <-\n ${1:a} <- ${2:m a}\nsnippet \u2190\n ${1:a} <- ${2:m a}\nsnippet ->\n ${1:m a} -> ${2:a}\nsnippet \u2192\n ${1:m a} -> ${2:a}\nsnippet tup\n (${1:a}, ${2:b})\nsnippet tup2\n (${1:a}, ${2:b}, ${3:c})\nsnippet tup3\n (${1:a}, ${2:b}, ${3:c}, ${4:d})\nsnippet rec\n ${1:Record} { ${2:recFieldA} = ${3:undefined}\n , ${4:recFieldB} = ${5:undefined}\n }\nsnippet case\n case ${1:something} of\n ${2} -> ${3}\nsnippet let\n let ${1} = ${2}\n in ${3}\nsnippet where\n where\n ${1:fn} = ${2:undefined}\n",t.scope="haskell"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/haxe.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/haxe",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="haxe"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/html_elixir.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/html_elixir",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="html_elixir"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/html_ruby.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/html_ruby",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="html_ruby"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/ini.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/ini",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="ini"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/io.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/io",["require","exports","module"],function(e,t,n){"use strict";t.snippets=[{content:"assertEquals(${1:expected}, ${2:expr})",name:"assertEquals",scope:"io",tabTrigger:"ae"},{content:"${1:${2:newValue} := ${3:Object} }clone do(\n $0\n)",name:"clone do",scope:"io",tabTrigger:"cdo"},{content:'docSlot("${1:slotName}", "${2:documentation}")',name:"docSlot",scope:"io",tabTrigger:"ds"},{content:"(${1:header,}\n ${2:body}\n)$0",keyEquivalent:"@(",name:"Indented Bracketed Line",scope:"io",tabTrigger:"("},{content:"\n $0\n",keyEquivalent:"\r",name:"Special: Return Inside Empty Parenthesis",scope:"io meta.empty-parenthesis.io, io meta.comma-parenthesis.io"},{content:"${1:methodName} := method(${2:args,}\n $0\n)",name:"method",scope:"io",tabTrigger:"m"},{content:'newSlot("${1:slotName}", ${2:defaultValue}, "${3:docString}")$0',name:"newSlot",scope:"io",tabTrigger:"ns"},{content:"${1:name} := Object clone do(\n $0\n)",name:"Object clone do",scope:"io",tabTrigger:"ocdo"},{content:"test${1:SomeFeature} := method(\n $0\n)",name:"testMethod",scope:"io",tabTrigger:"ts"},{content:"${1:Something}Test := ${2:UnitTest} clone do(\n $0\n)",name:"UnitTest",scope:"io",tabTrigger:"ut"}],t.scope="io"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/jack.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/jack",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="jack"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/jade.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/jade",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="jade"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/json.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/json",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="json"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/jsoniq.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/jsoniq",["require","exports","module"],function(e,t,n){"use strict";t.snippetText='snippet for\n for $${1:item} in ${2:expr}\nsnippet return\n return ${1:expr}\nsnippet import\n import module namespace ${1:ns} = "${2:http://www.example.com/}";\nsnippet some\n some $${1:varname} in ${2:expr} satisfies ${3:expr}\nsnippet every\n every $${1:varname} in ${2:expr} satisfies ${3:expr}\nsnippet if\n if(${1:true}) then ${2:expr} else ${3:true}\nsnippet switch\n switch(${1:"foo"})\n case ${2:"foo"}\n return ${3:true}\n default return ${4:false}\nsnippet try\n try { ${1:expr} } catch ${2:*} { ${3:expr} }\nsnippet tumbling\n for tumbling window $${1:varname} in ${2:expr}\n start at $${3:start} when ${4:expr}\n end at $${5:end} when ${6:expr}\n return ${7:expr}\nsnippet sliding\n for sliding window $${1:varname} in ${2:expr}\n start at $${3:start} when ${4:expr}\n end at $${5:end} when ${6:expr}\n return ${7:expr}\nsnippet let\n let $${1:varname} := ${2:expr}\nsnippet group\n group by $${1:varname} := ${2:expr}\nsnippet order\n order by ${1:expr} ${2:descending}\nsnippet stable\n stable order by ${1:expr}\nsnippet count\n count $${1:varname}\nsnippet ordered\n ordered { ${1:expr} }\nsnippet unordered\n unordered { ${1:expr} }\nsnippet treat \n treat as ${1:expr}\nsnippet castable\n castable as ${1:atomicType}\nsnippet cast\n cast as ${1:atomicType}\nsnippet typeswitch\n typeswitch(${1:expr})\n case ${2:type} return ${3:expr}\n default return ${4:expr}\nsnippet var\n declare variable $${1:varname} := ${2:expr};\nsnippet fn\n declare function ${1:ns}:${2:name}(){\n ${3:expr}\n };\nsnippet module\n module namespace ${1:ns} = "${2:http://www.example.com}";\n',t.scope="jsoniq"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/jsx.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/jsx",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="jsx"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/julia.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/julia",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="julia"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/latex.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/latex",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="latex"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/lean.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/lean",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="lean"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/less.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/less",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="less"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/liquid.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/liquid",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="liquid"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/lisp.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/lisp",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="lisp"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/live_script.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/live_script",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope=""}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/livescript.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/livescript",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="livescript"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/logiql.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/logiql",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="logiql"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/lua.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/lua",["require","exports","module"],function(e,t,n){"use strict";t.snippetText="snippet #!\n #!/usr/bin/env lua\n $1\nsnippet local\n local ${1:x} = ${2:1}\nsnippet fun\n function ${1:fname}(${2:...})\n ${3:-- body}\n end\nsnippet for\n for ${1:i}=${2:1},${3:10} do\n ${4:print(i)}\n end\nsnippet forp\n for ${1:i},${2:v} in pairs(${3:table_name}) do\n ${4:-- body}\n end\nsnippet fori\n for ${1:i},${2:v} in ipairs(${3:table_name}) do\n ${4:-- body}\n end\n",t.scope="lua"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/luapage.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/luapage",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="luapage"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/lucene.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/lucene",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="lucene"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/makefile.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/makefile",["require","exports","module"],function(e,t,n){"use strict";t.snippetText="snippet ifeq\n ifeq (${1:cond0},${2:cond1})\n ${3:code}\n endif\n",t.scope="makefile"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/markdown.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/markdown",["require","exports","module"],function(e,t,n){"use strict";t.snippetText='# Markdown\n\n# Includes octopress (http://octopress.org/) snippets\n\nsnippet [\n [${1:text}](http://${2:address} "${3:title}")\nsnippet [*\n [${1:link}](${2:`@*`} "${3:title}")${4}\n\nsnippet [:\n [${1:id}]: http://${2:url} "${3:title}"\nsnippet [:*\n [${1:id}]: ${2:`@*`} "${3:title}"\n\nsnippet ![\n ![${1:alttext}](${2:/images/image.jpg} "${3:title}")\nsnippet ![*\n ![${1:alt}](${2:`@*`} "${3:title}")${4}\n\nsnippet ![:\n ![${1:id}]: ${2:url} "${3:title}"\nsnippet ![:*\n ![${1:id}]: ${2:`@*`} "${3:title}"\n\nsnippet ===\nregex /^/=+/=*//\n ${PREV_LINE/./=/g}\n \n ${0}\nsnippet ---\nregex /^/-+/-*//\n ${PREV_LINE/./-/g}\n \n ${0}\nsnippet blockquote\n {% blockquote %}\n ${1:quote}\n {% endblockquote %}\n\nsnippet blockquote-author\n {% blockquote ${1:author}, ${2:title} %}\n ${3:quote}\n {% endblockquote %}\n\nsnippet blockquote-link\n {% blockquote ${1:author} ${2:URL} ${3:link_text} %}\n ${4:quote}\n {% endblockquote %}\n\nsnippet bt-codeblock-short\n ```\n ${1:code_snippet}\n ```\n\nsnippet bt-codeblock-full\n ``` ${1:language} ${2:title} ${3:URL} ${4:link_text}\n ${5:code_snippet}\n ```\n\nsnippet codeblock-short\n {% codeblock %}\n ${1:code_snippet}\n {% endcodeblock %}\n\nsnippet codeblock-full\n {% codeblock ${1:title} lang:${2:language} ${3:URL} ${4:link_text} %}\n ${5:code_snippet}\n {% endcodeblock %}\n\nsnippet gist-full\n {% gist ${1:gist_id} ${2:filename} %}\n\nsnippet gist-short\n {% gist ${1:gist_id} %}\n\nsnippet img\n {% img ${1:class} ${2:URL} ${3:width} ${4:height} ${5:title_text} ${6:alt_text} %}\n\nsnippet youtube\n {% youtube ${1:video_id} %}\n\n# The quote should appear only once in the text. It is inherently part of it.\n# See http://octopress.org/docs/plugins/pullquote/ for more info.\n\nsnippet pullquote\n {% pullquote %}\n ${1:text} {" ${2:quote} "} ${3:text}\n {% endpullquote %}\n',t.scope="markdown"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/mask.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/mask",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="mask"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/matlab.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/matlab",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="matlab"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/maze.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/maze",["require","exports","module"],function(e,t,n){"use strict";t.snippetText="snippet >\ndescription assignment\nscope maze\n -> ${1}= ${2}\n\nsnippet >\ndescription if\nscope maze\n -> IF ${2:**} THEN %${3:L} ELSE %${4:R}\n",t.scope="maze"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/mel.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/mel",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="mel"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/mips_assembler.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/mips_assembler",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="mips_assembler"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/mipsassembler.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/mipsassembler",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope=""}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/mushcode.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/mushcode",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="mushcode"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/mysql.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/mysql",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="mysql"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/nix.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/nix",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="nix"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/objectivec.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/objectivec",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="objectivec"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/ocaml.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/ocaml",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="ocaml"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/pascal.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/pascal",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="pascal"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/pgsql.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/pgsql",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="pgsql"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/plain_text.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/plain_text",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="plain_text"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/powershell.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/powershell",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="powershell"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/praat.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/praat",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="praat"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/prolog.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/prolog",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="prolog"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/properties.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/properties",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="properties"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/protobuf.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/protobuf",["require","exports","module"],function(e,t,n){"use strict";t.snippetText="",t.scope="protobuf"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/rdoc.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/rdoc",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="rdoc"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/rhtml.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/rhtml",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="rhtml"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/rust.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/rust",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="rust"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/sass.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/sass",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="sass"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/scad.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/scad",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="scad"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/scala.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/scala",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="scala"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/scheme.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/scheme",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="scheme"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/scss.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/scss",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="scss"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/sh.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/sh",["require","exports","module"],function(e,t,n){"use strict";t.snippetText='# Shebang. Executing bash via /usr/bin/env makes scripts more portable.\nsnippet #!\n #!/usr/bin/env bash\n \nsnippet if\n if [[ ${1:condition} ]]; then\n ${2:#statements}\n fi\nsnippet elif\n elif [[ ${1:condition} ]]; then\n ${2:#statements}\nsnippet for\n for (( ${2:i} = 0; $2 < ${1:count}; $2++ )); do\n ${3:#statements}\n done\nsnippet fori\n for ${1:needle} in ${2:haystack} ; do\n ${3:#statements}\n done\nsnippet wh\n while [[ ${1:condition} ]]; do\n ${2:#statements}\n done\nsnippet until\n until [[ ${1:condition} ]]; do\n ${2:#statements}\n done\nsnippet case\n case ${1:word} in\n ${2:pattern})\n ${3};;\n esac\nsnippet go \n while getopts \'${1:o}\' ${2:opts} \n do \n case $$2 in\n ${3:o0})\n ${4:#staments};;\n esac\n done\n# Set SCRIPT_DIR variable to directory script is located.\nsnippet sdir\n SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"\n# getopt\nsnippet getopt\n __ScriptVersion="${1:version}"\n\n #=== FUNCTION ================================================================\n # NAME: usage\n # DESCRIPTION: Display usage information.\n #===============================================================================\n function usage ()\n {\n cat <<- EOT\n\n Usage : $${0:0} [options] [--] \n\n Options: \n -h|help Display this message\n -v|version Display script version\n\n EOT\n } # ---------- end of function usage ----------\n\n #-----------------------------------------------------------------------\n # Handle command line arguments\n #-----------------------------------------------------------------------\n\n while getopts ":hv" opt\n do\n case $opt in\n\n h|help ) usage; exit 0 ;;\n\n v|version ) echo "$${0:0} -- Version $__ScriptVersion"; exit 0 ;;\n\n \\? ) echo -e "\\n Option does not exist : $OPTARG\\n"\n usage; exit 1 ;;\n\n esac # --- end of case ---\n done\n shift $(($OPTIND-1))\n\n',t.scope="sh"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/sjs.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/sjs",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="sjs"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/smarty.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/smarty",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="smarty"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/snippets.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/snippets",["require","exports","module"],function(e,t,n){"use strict";t.snippetText="# snippets for making snippets :)\nsnippet snip\n snippet ${1:trigger}\n ${2}\nsnippet msnip\n snippet ${1:trigger} ${2:description}\n ${3}\nsnippet v\n {VISUAL}\n",t.scope="snippets"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/soy_template.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/soy_template",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="soy_template"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/space.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/space",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="space"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/sql.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/sql",["require","exports","module"],function(e,t,n){"use strict";t.snippetText="snippet tbl\n create table ${1:table} (\n ${2:columns}\n );\nsnippet col\n ${1:name} ${2:type} ${3:default ''} ${4:not null}\nsnippet ccol\n ${1:name} varchar2(${2:size}) ${3:default ''} ${4:not null}\nsnippet ncol\n ${1:name} number ${3:default 0} ${4:not null}\nsnippet dcol\n ${1:name} date ${3:default sysdate} ${4:not null}\nsnippet ind\n create index ${3:$1_$2} on ${1:table}(${2:column});\nsnippet uind\n create unique index ${1:name} on ${2:table}(${3:column});\nsnippet tblcom\n comment on table ${1:table} is '${2:comment}';\nsnippet colcom\n comment on column ${1:table}.${2:column} is '${3:comment}';\nsnippet addcol\n alter table ${1:table} add (${2:column} ${3:type});\nsnippet seq\n create sequence ${1:name} start with ${2:1} increment by ${3:1} minvalue ${4:1};\nsnippet s*\n select * from ${1:table}\n",t.scope="sql"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/sqlserver.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/sqlserver",["require","exports","module"],function(e,t,n){"use strict";t.snippetText="# ISNULL\nsnippet isnull\n ISNULL(${1:check_expression}, ${2:replacement_value})\n# FORMAT\nsnippet format\n FORMAT(${1:value}, ${2:format})\n# CAST\nsnippet cast\n CAST(${1:expression} AS ${2:data_type})\n# CONVERT\nsnippet convert\n CONVERT(${1:data_type}, ${2:expression})\n# DATEPART\nsnippet datepart\n DATEPART(${1:datepart}, ${2:date})\n# DATEDIFF\nsnippet datediff\n DATEDIFF(${1:datepart}, ${2:startdate}, ${3:enddate})\n# DATEADD\nsnippet dateadd\n DATEADD(${1:datepart}, ${2:number}, ${3:date})\n# DATEFROMPARTS \nsnippet datefromparts\n DATEFROMPARTS(${1:year}, ${2:month}, ${3:day})\n# OBJECT_DEFINITION\nsnippet objectdef\n SELECT OBJECT_DEFINITION(OBJECT_ID('${1:sys.server_permissions /*object name*/}'))\n# STUFF XML\nsnippet stuffxml\n STUFF((SELECT ', ' + ${1:ColumnName}\n FROM ${2:TableName}\n WHERE ${3:WhereClause}\n FOR XML PATH('')), 1, 1, '') AS ${4:Alias}\n ${5:/*https://msdn.microsoft.com/en-us/library/ms188043.aspx*/}\n# Create Procedure\nsnippet createproc\n -- =============================================\n -- Author: ${1:Author}\n -- Create date: ${2:Date}\n -- Description: ${3:Description}\n -- =============================================\n CREATE PROCEDURE ${4:Procedure_Name}\n ${5:/*Add the parameters for the stored procedure here*/}\n AS\n BEGIN\n -- SET NOCOUNT ON added to prevent extra result sets from interfering with SELECT statements.\n SET NOCOUNT ON;\n \n ${6:/*Add the T-SQL statements to compute the return value here*/}\n \n END\n GO\n# Create Scalar Function\nsnippet createfn\n -- =============================================\n -- Author: ${1:Author}\n -- Create date: ${2:Date}\n -- Description: ${3:Description}\n -- =============================================\n CREATE FUNCTION ${4:Scalar_Function_Name}\n -- Add the parameters for the function here\n RETURNS ${5:Function_Data_Type}\n AS\n BEGIN\n DECLARE @Result ${5:Function_Data_Type}\n \n ${6:/*Add the T-SQL statements to compute the return value here*/}\n \n END\n GO",t.scope="sqlserver"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/stylus.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/stylus",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="stylus"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/svg.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/svg",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="svg"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/swift.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/swift",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="swift"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/swig.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/swig",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="swig"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/tcl.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/tcl",["require","exports","module"],function(e,t,n){"use strict";t.snippetText="# #!/usr/bin/env tclsh\nsnippet #!\n #!/usr/bin/env tclsh\n \n# Process\nsnippet pro\n proc ${1:function_name} {${2:args}} {\n ${3:#body ...}\n }\n#xif\nsnippet xif\n ${1:expr}? ${2:true} : ${3:false}\n# Conditional\nsnippet if\n if {${1}} {\n ${2:# body...}\n }\n# Conditional if..else\nsnippet ife\n if {${1}} {\n ${2:# body...}\n } else {\n ${3:# else...}\n }\n# Conditional if..elsif..else\nsnippet ifee\n if {${1}} {\n ${2:# body...}\n } elseif {${3}} {\n ${4:# elsif...}\n } else {\n ${5:# else...}\n }\n# If catch then\nsnippet ifc\n if { [catch {${1:#do something...}} ${2:err}] } {\n ${3:# handle failure...}\n }\n# Catch\nsnippet catch\n catch {${1}} ${2:err} ${3:options}\n# While Loop\nsnippet wh\n while {${1}} {\n ${2:# body...}\n }\n# For Loop\nsnippet for\n for {set ${2:var} 0} {$$2 < ${1:count}} {${3:incr} $2} {\n ${4:# body...}\n }\n# Foreach Loop\nsnippet fore\n foreach ${1:x} {${2:#list}} {\n ${3:# body...}\n }\n# after ms script...\nsnippet af\n after ${1:ms} ${2:#do something}\n# after cancel id\nsnippet afc\n after cancel ${1:id or script}\n# after idle\nsnippet afi\n after idle ${1:script}\n# after info id\nsnippet afin\n after info ${1:id}\n# Expr\nsnippet exp\n expr {${1:#expression here}}\n# Switch\nsnippet sw\n switch ${1:var} {\n ${3:pattern 1} {\n ${4:#do something}\n }\n default {\n ${2:#do something}\n }\n }\n# Case\nsnippet ca\n ${1:pattern} {\n ${2:#do something}\n }${3}\n# Namespace eval\nsnippet ns\n namespace eval ${1:path} {${2:#script...}}\n# Namespace current\nsnippet nsc\n namespace current\n",t.scope="tcl"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/text.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/text",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="text"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/textile.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/textile",["require","exports","module"],function(e,t,n){"use strict";t.snippetText='# Jekyll post header\nsnippet header\n ---\n title: ${1:title}\n layout: post\n date: ${2:date} ${3:hour:minute:second} -05:00\n ---\n\n# Image\nsnippet img\n !${1:url}(${2:title}):${3:link}!\n\n# Table\nsnippet |\n |${1}|${2}\n\n# Link\nsnippet link\n "${1:link text}":${2:url}\n\n# Acronym\nsnippet (\n (${1:Expand acronym})${2}\n\n# Footnote\nsnippet fn\n [${1:ref number}] ${3}\n\n fn$1. ${2:footnote}\n \n',t.scope="textile"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/toml.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/toml",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="toml"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/twig.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/twig",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="twig"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/typescript.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/typescript",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="typescript"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/vbscript.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/vbscript",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="vbscript"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/velocity.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/velocity",["require","exports","module"],function(e,t,n){"use strict";t.snippetText='# macro\nsnippet #macro\n #macro ( ${1:macroName} ${2:\\$var1, [\\$var2, ...]} )\n ${3:## macro code}\n #end\n# foreach\nsnippet #foreach\n #foreach ( ${1:\\$item} in ${2:\\$collection} )\n ${3:## foreach code}\n #end\n# if\nsnippet #if\n #if ( ${1:true} )\n ${0}\n #end\n# if ... else\nsnippet #ife\n #if ( ${1:true} )\n ${2}\n #else\n ${0}\n #end\n#import\nsnippet #import\n #import ( "${1:path/to/velocity/format}" )\n# set\nsnippet #set\n #set ( $${1:var} = ${0} )\n',t.scope="velocity",t.includeScopes=["html","javascript","css"]}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/verilog.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/verilog",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="verilog"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/vhdl.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/vhdl",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="vhdl"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/xml.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/xml",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="xml"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/xquery.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/xquery",["require","exports","module"],function(e,t,n){"use strict";t.snippetText='snippet for\n for $${1:item} in ${2:expr}\nsnippet return\n return ${1:expr}\nsnippet import\n import module namespace ${1:ns} = "${2:http://www.example.com/}";\nsnippet some\n some $${1:varname} in ${2:expr} satisfies ${3:expr}\nsnippet every\n every $${1:varname} in ${2:expr} satisfies ${3:expr}\nsnippet if\n if(${1:true}) then ${2:expr} else ${3:true}\nsnippet switch\n switch(${1:"foo"})\n case ${2:"foo"}\n return ${3:true}\n default return ${4:false}\nsnippet try\n try { ${1:expr} } catch ${2:*} { ${3:expr} }\nsnippet tumbling\n for tumbling window $${1:varname} in ${2:expr}\n start at $${3:start} when ${4:expr}\n end at $${5:end} when ${6:expr}\n return ${7:expr}\nsnippet sliding\n for sliding window $${1:varname} in ${2:expr}\n start at $${3:start} when ${4:expr}\n end at $${5:end} when ${6:expr}\n return ${7:expr}\nsnippet let\n let $${1:varname} := ${2:expr}\nsnippet group\n group by $${1:varname} := ${2:expr}\nsnippet order\n order by ${1:expr} ${2:descending}\nsnippet stable\n stable order by ${1:expr}\nsnippet count\n count $${1:varname}\nsnippet ordered\n ordered { ${1:expr} }\nsnippet unordered\n unordered { ${1:expr} }\nsnippet treat \n treat as ${1:expr}\nsnippet castable\n castable as ${1:atomicType}\nsnippet cast\n cast as ${1:atomicType}\nsnippet typeswitch\n typeswitch(${1:expr})\n case ${2:type} return ${3:expr}\n default return ${4:expr}\nsnippet var\n declare variable $${1:varname} := ${2:expr};\nsnippet fn\n declare function ${1:ns}:${2:name}(){\n ${3:expr}\n };\nsnippet module\n module namespace ${1:ns} = "${2:http://www.example.com}";\n',t.scope="xquery"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/snippets/yaml.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/yaml",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="yaml"}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/theme-clouds.js: -------------------------------------------------------------------------------- 1 | define("ace/theme/clouds",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!1,t.cssClass="ace-clouds",t.cssText='.ace-clouds .ace_gutter {background: #ebebeb;color: #333}.ace-clouds .ace_print-margin {width: 1px;background: #e8e8e8}.ace-clouds {background-color: #FFFFFF;color: #000000}.ace-clouds .ace_cursor {color: #000000}.ace-clouds .ace_marker-layer .ace_selection {background: #BDD5FC}.ace-clouds.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #FFFFFF;}.ace-clouds .ace_marker-layer .ace_step {background: rgb(255, 255, 0)}.ace-clouds .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid #BFBFBF}.ace-clouds .ace_marker-layer .ace_active-line {background: #FFFBD1}.ace-clouds .ace_gutter-active-line {background-color : #dcdcdc}.ace-clouds .ace_marker-layer .ace_selected-word {border: 1px solid #BDD5FC}.ace-clouds .ace_invisible {color: #BFBFBF}.ace-clouds .ace_keyword,.ace-clouds .ace_meta,.ace-clouds .ace_support.ace_constant.ace_property-value {color: #AF956F}.ace-clouds .ace_keyword.ace_operator {color: #484848}.ace-clouds .ace_keyword.ace_other.ace_unit {color: #96DC5F}.ace-clouds .ace_constant.ace_language {color: #39946A}.ace-clouds .ace_constant.ace_numeric {color: #46A609}.ace-clouds .ace_constant.ace_character.ace_entity {color: #BF78CC}.ace-clouds .ace_invalid {background-color: #FF002A}.ace-clouds .ace_fold {background-color: #AF956F;border-color: #000000}.ace-clouds .ace_storage,.ace-clouds .ace_support.ace_class,.ace-clouds .ace_support.ace_function,.ace-clouds .ace_support.ace_other,.ace-clouds .ace_support.ace_type {color: #C52727}.ace-clouds .ace_string {color: #5D90CD}.ace-clouds .ace_comment {color: #BCC8BA}.ace-clouds .ace_entity.ace_name.ace_tag,.ace-clouds .ace_entity.ace_other.ace_attribute-name {color: #606060}.ace-clouds .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y}';var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/theme-dawn.js: -------------------------------------------------------------------------------- 1 | define("ace/theme/dawn",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!1,t.cssClass="ace-dawn",t.cssText=".ace-dawn .ace_gutter {background: #ebebeb;color: #333}.ace-dawn .ace_print-margin {width: 1px;background: #e8e8e8}.ace-dawn {background-color: #F9F9F9;color: #080808}.ace-dawn .ace_cursor {color: #000000}.ace-dawn .ace_marker-layer .ace_selection {background: rgba(39, 95, 255, 0.30)}.ace-dawn.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #F9F9F9;}.ace-dawn .ace_marker-layer .ace_step {background: rgb(255, 255, 0)}.ace-dawn .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgba(75, 75, 126, 0.50)}.ace-dawn .ace_marker-layer .ace_active-line {background: rgba(36, 99, 180, 0.12)}.ace-dawn .ace_gutter-active-line {background-color : #dcdcdc}.ace-dawn .ace_marker-layer .ace_selected-word {border: 1px solid rgba(39, 95, 255, 0.30)}.ace-dawn .ace_invisible {color: rgba(75, 75, 126, 0.50)}.ace-dawn .ace_keyword,.ace-dawn .ace_meta {color: #794938}.ace-dawn .ace_constant,.ace-dawn .ace_constant.ace_character,.ace-dawn .ace_constant.ace_character.ace_escape,.ace-dawn .ace_constant.ace_other {color: #811F24}.ace-dawn .ace_invalid.ace_illegal {text-decoration: underline;font-style: italic;color: #F8F8F8;background-color: #B52A1D}.ace-dawn .ace_invalid.ace_deprecated {text-decoration: underline;font-style: italic;color: #B52A1D}.ace-dawn .ace_support {color: #691C97}.ace-dawn .ace_support.ace_constant {color: #B4371F}.ace-dawn .ace_fold {background-color: #794938;border-color: #080808}.ace-dawn .ace_list,.ace-dawn .ace_markup.ace_list,.ace-dawn .ace_support.ace_function {color: #693A17}.ace-dawn .ace_storage {font-style: italic;color: #A71D5D}.ace-dawn .ace_string {color: #0B6125}.ace-dawn .ace_string.ace_regexp {color: #CF5628}.ace-dawn .ace_comment {font-style: italic;color: #5A525F}.ace-dawn .ace_heading,.ace-dawn .ace_markup.ace_heading {color: #19356D}.ace-dawn .ace_variable {color: #234A97}.ace-dawn .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYLh/5+x/AAizA4hxNNsZAAAAAElFTkSuQmCC) right repeat-y}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/theme-eclipse.js: -------------------------------------------------------------------------------- 1 | define("ace/theme/eclipse",["require","exports","module","ace/lib/dom"],function(e,t,n){"use strict";t.isDark=!1,t.cssText='.ace-eclipse .ace_gutter {background: #ebebeb;border-right: 1px solid rgb(159, 159, 159);color: rgb(136, 136, 136);}.ace-eclipse .ace_print-margin {width: 1px;background: #ebebeb;}.ace-eclipse {background-color: #FFFFFF;color: black;}.ace-eclipse .ace_fold {background-color: rgb(60, 76, 114);}.ace-eclipse .ace_cursor {color: black;}.ace-eclipse .ace_storage,.ace-eclipse .ace_keyword,.ace-eclipse .ace_variable {color: rgb(127, 0, 85);}.ace-eclipse .ace_constant.ace_buildin {color: rgb(88, 72, 246);}.ace-eclipse .ace_constant.ace_library {color: rgb(6, 150, 14);}.ace-eclipse .ace_function {color: rgb(60, 76, 114);}.ace-eclipse .ace_string {color: rgb(42, 0, 255);}.ace-eclipse .ace_comment {color: rgb(113, 150, 130);}.ace-eclipse .ace_comment.ace_doc {color: rgb(63, 95, 191);}.ace-eclipse .ace_comment.ace_doc.ace_tag {color: rgb(127, 159, 191);}.ace-eclipse .ace_constant.ace_numeric {color: darkblue;}.ace-eclipse .ace_tag {color: rgb(25, 118, 116);}.ace-eclipse .ace_type {color: rgb(127, 0, 127);}.ace-eclipse .ace_xml-pe {color: rgb(104, 104, 91);}.ace-eclipse .ace_marker-layer .ace_selection {background: rgb(181, 213, 255);}.ace-eclipse .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgb(192, 192, 192);}.ace-eclipse .ace_meta.ace_tag {color:rgb(25, 118, 116);}.ace-eclipse .ace_invisible {color: #ddd;}.ace-eclipse .ace_entity.ace_other.ace_attribute-name {color:rgb(127, 0, 127);}.ace-eclipse .ace_marker-layer .ace_step {background: rgb(255, 255, 0);}.ace-eclipse .ace_active-line {background: rgb(232, 242, 254);}.ace-eclipse .ace_gutter-active-line {background-color : #DADADA;}.ace-eclipse .ace_marker-layer .ace_selected-word {border: 1px solid rgb(181, 213, 255);}.ace-eclipse .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;}',t.cssClass="ace-eclipse";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/theme-github.js: -------------------------------------------------------------------------------- 1 | define("ace/theme/github",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!1,t.cssClass="ace-github",t.cssText='.ace-github .ace_gutter {background: #e8e8e8;color: #AAA;}.ace-github {background: #fff;color: #000;}.ace-github .ace_keyword {font-weight: bold;}.ace-github .ace_string {color: #D14;}.ace-github .ace_variable.ace_class {color: teal;}.ace-github .ace_constant.ace_numeric {color: #099;}.ace-github .ace_constant.ace_buildin {color: #0086B3;}.ace-github .ace_support.ace_function {color: #0086B3;}.ace-github .ace_comment {color: #998;font-style: italic;}.ace-github .ace_variable.ace_language {color: #0086B3;}.ace-github .ace_paren {font-weight: bold;}.ace-github .ace_boolean {font-weight: bold;}.ace-github .ace_string.ace_regexp {color: #009926;font-weight: normal;}.ace-github .ace_variable.ace_instance {color: teal;}.ace-github .ace_constant.ace_language {font-weight: bold;}.ace-github .ace_cursor {color: black;}.ace-github.ace_focus .ace_marker-layer .ace_active-line {background: rgb(255, 255, 204);}.ace-github .ace_marker-layer .ace_active-line {background: rgb(245, 245, 245);}.ace-github .ace_marker-layer .ace_selection {background: rgb(181, 213, 255);}.ace-github.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px white;}.ace-github.ace_nobold .ace_line > span {font-weight: normal !important;}.ace-github .ace_marker-layer .ace_step {background: rgb(252, 255, 0);}.ace-github .ace_marker-layer .ace_stack {background: rgb(164, 229, 101);}.ace-github .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgb(192, 192, 192);}.ace-github .ace_gutter-active-line {background-color : rgba(0, 0, 0, 0.07);}.ace-github .ace_marker-layer .ace_selected-word {background: rgb(250, 250, 255);border: 1px solid rgb(200, 200, 250);}.ace-github .ace_invisible {color: #BFBFBF}.ace-github .ace_print-margin {width: 1px;background: #e8e8e8;}.ace-github .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;}';var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/theme-idle_fingers.js: -------------------------------------------------------------------------------- 1 | define("ace/theme/idle_fingers",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!0,t.cssClass="ace-idle-fingers",t.cssText=".ace-idle-fingers .ace_gutter {background: #3b3b3b;color: rgb(153,153,153)}.ace-idle-fingers .ace_print-margin {width: 1px;background: #3b3b3b}.ace-idle-fingers {background-color: #323232;color: #FFFFFF}.ace-idle-fingers .ace_cursor {color: #91FF00}.ace-idle-fingers .ace_marker-layer .ace_selection {background: rgba(90, 100, 126, 0.88)}.ace-idle-fingers.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #323232;}.ace-idle-fingers .ace_marker-layer .ace_step {background: rgb(102, 82, 0)}.ace-idle-fingers .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid #404040}.ace-idle-fingers .ace_marker-layer .ace_active-line {background: #353637}.ace-idle-fingers .ace_gutter-active-line {background-color: #353637}.ace-idle-fingers .ace_marker-layer .ace_selected-word {border: 1px solid rgba(90, 100, 126, 0.88)}.ace-idle-fingers .ace_invisible {color: #404040}.ace-idle-fingers .ace_keyword,.ace-idle-fingers .ace_meta {color: #CC7833}.ace-idle-fingers .ace_constant,.ace-idle-fingers .ace_constant.ace_character,.ace-idle-fingers .ace_constant.ace_character.ace_escape,.ace-idle-fingers .ace_constant.ace_other,.ace-idle-fingers .ace_support.ace_constant {color: #6C99BB}.ace-idle-fingers .ace_invalid {color: #FFFFFF;background-color: #FF0000}.ace-idle-fingers .ace_fold {background-color: #CC7833;border-color: #FFFFFF}.ace-idle-fingers .ace_support.ace_function {color: #B83426}.ace-idle-fingers .ace_variable.ace_parameter {font-style: italic}.ace-idle-fingers .ace_string {color: #A5C261}.ace-idle-fingers .ace_string.ace_regexp {color: #CCCC33}.ace-idle-fingers .ace_comment {font-style: italic;color: #BC9458}.ace-idle-fingers .ace_meta.ace_tag {color: #FFE5BB}.ace-idle-fingers .ace_entity.ace_name {color: #FFC66D}.ace-idle-fingers .ace_collab.ace_user1 {color: #323232;background-color: #FFF980}.ace-idle-fingers .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWMwMjLyZYiPj/8PAAreAwAI1+g0AAAAAElFTkSuQmCC) right repeat-y}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/theme-kr_theme.js: -------------------------------------------------------------------------------- 1 | define("ace/theme/kr_theme",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!0,t.cssClass="ace-kr-theme",t.cssText=".ace-kr-theme .ace_gutter {background: #1c1917;color: #FCFFE0}.ace-kr-theme .ace_print-margin {width: 1px;background: #1c1917}.ace-kr-theme {background-color: #0B0A09;color: #FCFFE0}.ace-kr-theme .ace_cursor {color: #FF9900}.ace-kr-theme .ace_marker-layer .ace_selection {background: rgba(170, 0, 255, 0.45)}.ace-kr-theme.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #0B0A09;}.ace-kr-theme .ace_marker-layer .ace_step {background: rgb(102, 82, 0)}.ace-kr-theme .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgba(255, 177, 111, 0.32)}.ace-kr-theme .ace_marker-layer .ace_active-line {background: #38403D}.ace-kr-theme .ace_gutter-active-line {background-color : #38403D}.ace-kr-theme .ace_marker-layer .ace_selected-word {border: 1px solid rgba(170, 0, 255, 0.45)}.ace-kr-theme .ace_invisible {color: rgba(255, 177, 111, 0.32)}.ace-kr-theme .ace_keyword,.ace-kr-theme .ace_meta {color: #949C8B}.ace-kr-theme .ace_constant,.ace-kr-theme .ace_constant.ace_character,.ace-kr-theme .ace_constant.ace_character.ace_escape,.ace-kr-theme .ace_constant.ace_other {color: rgba(210, 117, 24, 0.76)}.ace-kr-theme .ace_invalid {color: #F8F8F8;background-color: #A41300}.ace-kr-theme .ace_support {color: #9FC28A}.ace-kr-theme .ace_support.ace_constant {color: #C27E66}.ace-kr-theme .ace_fold {background-color: #949C8B;border-color: #FCFFE0}.ace-kr-theme .ace_support.ace_function {color: #85873A}.ace-kr-theme .ace_storage {color: #FFEE80}.ace-kr-theme .ace_string {color: rgba(164, 161, 181, 0.8)}.ace-kr-theme .ace_string.ace_regexp {color: rgba(125, 255, 192, 0.65)}.ace-kr-theme .ace_comment {font-style: italic;color: #706D5B}.ace-kr-theme .ace_variable {color: #D1A796}.ace-kr-theme .ace_list,.ace-kr-theme .ace_markup.ace_list {background-color: #0F0040}.ace-kr-theme .ace_variable.ace_language {color: #FF80E1}.ace-kr-theme .ace_meta.ace_tag {color: #BABD9C}.ace-kr-theme .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYFBXV/8PAAJoAXX4kT2EAAAAAElFTkSuQmCC) right repeat-y}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/theme-kuroir.js: -------------------------------------------------------------------------------- 1 | define("ace/theme/kuroir",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!1,t.cssClass="ace-kuroir",t.cssText=".ace-kuroir .ace_gutter {background: #e8e8e8;color: #333;}.ace-kuroir .ace_print-margin {width: 1px;background: #e8e8e8;}.ace-kuroir {background-color: #E8E9E8;color: #363636;}.ace-kuroir .ace_cursor {color: #202020;}.ace-kuroir .ace_marker-layer .ace_selection {background: rgba(245, 170, 0, 0.57);}.ace-kuroir.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #E8E9E8;}.ace-kuroir .ace_marker-layer .ace_step {background: rgb(198, 219, 174);}.ace-kuroir .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgba(0, 0, 0, 0.29);}.ace-kuroir .ace_marker-layer .ace_active-line {background: rgba(203, 220, 47, 0.22);}.ace-kuroir .ace_gutter-active-line {background-color: rgba(203, 220, 47, 0.22);}.ace-kuroir .ace_marker-layer .ace_selected-word {border: 1px solid rgba(245, 170, 0, 0.57);}.ace-kuroir .ace_invisible {color: #BFBFBF}.ace-kuroir .ace_fold {border-color: #363636;}.ace-kuroir .ace_constant{color:#CD6839;}.ace-kuroir .ace_constant.ace_numeric{color:#9A5925;}.ace-kuroir .ace_support{color:#104E8B;}.ace-kuroir .ace_support.ace_function{color:#005273;}.ace-kuroir .ace_support.ace_constant{color:#CF6A4C;}.ace-kuroir .ace_storage{color:#A52A2A;}.ace-kuroir .ace_invalid.ace_illegal{color:#FD1224;background-color:rgba(255, 6, 0, 0.15);}.ace-kuroir .ace_invalid.ace_deprecated{text-decoration:underline;font-style:italic;color:#FD1732;background-color:#E8E9E8;}.ace-kuroir .ace_string{color:#639300;}.ace-kuroir .ace_string.ace_regexp{color:#417E00;background-color:#C9D4BE;}.ace-kuroir .ace_comment{color:rgba(148, 148, 148, 0.91);background-color:rgba(220, 220, 220, 0.56);}.ace-kuroir .ace_variable{color:#009ACD;}.ace-kuroir .ace_meta.ace_tag{color:#005273;}.ace-kuroir .ace_markup.ace_heading{color:#B8012D;background-color:rgba(191, 97, 51, 0.051);}.ace-kuroir .ace_markup.ace_list{color:#8F5B26;}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/theme-merbivore.js: -------------------------------------------------------------------------------- 1 | define("ace/theme/merbivore",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!0,t.cssClass="ace-merbivore",t.cssText=".ace-merbivore .ace_gutter {background: #202020;color: #E6E1DC}.ace-merbivore .ace_print-margin {width: 1px;background: #555651}.ace-merbivore {background-color: #161616;color: #E6E1DC}.ace-merbivore .ace_cursor {color: #FFFFFF}.ace-merbivore .ace_marker-layer .ace_selection {background: #454545}.ace-merbivore.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #161616;}.ace-merbivore .ace_marker-layer .ace_step {background: rgb(102, 82, 0)}.ace-merbivore .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid #404040}.ace-merbivore .ace_marker-layer .ace_active-line {background: #333435}.ace-merbivore .ace_gutter-active-line {background-color: #333435}.ace-merbivore .ace_marker-layer .ace_selected-word {border: 1px solid #454545}.ace-merbivore .ace_invisible {color: #404040}.ace-merbivore .ace_entity.ace_name.ace_tag,.ace-merbivore .ace_keyword,.ace-merbivore .ace_meta,.ace-merbivore .ace_meta.ace_tag,.ace-merbivore .ace_storage,.ace-merbivore .ace_support.ace_function {color: #FC6F09}.ace-merbivore .ace_constant,.ace-merbivore .ace_constant.ace_character,.ace-merbivore .ace_constant.ace_character.ace_escape,.ace-merbivore .ace_constant.ace_other,.ace-merbivore .ace_support.ace_type {color: #1EDAFB}.ace-merbivore .ace_constant.ace_character.ace_escape {color: #519F50}.ace-merbivore .ace_constant.ace_language {color: #FDC251}.ace-merbivore .ace_constant.ace_library,.ace-merbivore .ace_string,.ace-merbivore .ace_support.ace_constant {color: #8DFF0A}.ace-merbivore .ace_constant.ace_numeric {color: #58C554}.ace-merbivore .ace_invalid {color: #FFFFFF;background-color: #990000}.ace-merbivore .ace_fold {background-color: #FC6F09;border-color: #E6E1DC}.ace-merbivore .ace_comment {font-style: italic;color: #AD2EA4}.ace-merbivore .ace_entity.ace_other.ace_attribute-name {color: #FFFF89}.ace-merbivore .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWMQFxf3ZXB1df0PAAdsAmERTkEHAAAAAElFTkSuQmCC) right repeat-y}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/theme-solarized_dark.js: -------------------------------------------------------------------------------- 1 | define("ace/theme/solarized_dark",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!0,t.cssClass="ace-solarized-dark",t.cssText=".ace-solarized-dark .ace_gutter {background: #01313f;color: #d0edf7}.ace-solarized-dark .ace_print-margin {width: 1px;background: #33555E}.ace-solarized-dark {background-color: #002B36;color: #93A1A1}.ace-solarized-dark .ace_entity.ace_other.ace_attribute-name,.ace-solarized-dark .ace_storage {color: #93A1A1}.ace-solarized-dark .ace_cursor,.ace-solarized-dark .ace_string.ace_regexp {color: #D30102}.ace-solarized-dark .ace_marker-layer .ace_active-line,.ace-solarized-dark .ace_marker-layer .ace_selection {background: rgba(255, 255, 255, 0.1)}.ace-solarized-dark.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #002B36;}.ace-solarized-dark .ace_marker-layer .ace_step {background: rgb(102, 82, 0)}.ace-solarized-dark .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgba(147, 161, 161, 0.50)}.ace-solarized-dark .ace_gutter-active-line {background-color: #0d3440}.ace-solarized-dark .ace_marker-layer .ace_selected-word {border: 1px solid #073642}.ace-solarized-dark .ace_invisible {color: rgba(147, 161, 161, 0.50)}.ace-solarized-dark .ace_keyword,.ace-solarized-dark .ace_meta,.ace-solarized-dark .ace_support.ace_class,.ace-solarized-dark .ace_support.ace_type {color: #859900}.ace-solarized-dark .ace_constant.ace_character,.ace-solarized-dark .ace_constant.ace_other {color: #CB4B16}.ace-solarized-dark .ace_constant.ace_language {color: #B58900}.ace-solarized-dark .ace_constant.ace_numeric {color: #D33682}.ace-solarized-dark .ace_fold {background-color: #268BD2;border-color: #93A1A1}.ace-solarized-dark .ace_entity.ace_name.ace_function,.ace-solarized-dark .ace_entity.ace_name.ace_tag,.ace-solarized-dark .ace_support.ace_function,.ace-solarized-dark .ace_variable,.ace-solarized-dark .ace_variable.ace_language {color: #268BD2}.ace-solarized-dark .ace_string {color: #2AA198}.ace-solarized-dark .ace_comment {font-style: italic;color: #657B83}.ace-solarized-dark .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNg0Db1ZVCxc/sPAAd4AlUHlLenAAAAAElFTkSuQmCC) right repeat-y}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/theme-vibrant_ink.js: -------------------------------------------------------------------------------- 1 | define("ace/theme/vibrant_ink",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!0,t.cssClass="ace-vibrant-ink",t.cssText=".ace-vibrant-ink .ace_gutter {background: #1a1a1a;color: #BEBEBE}.ace-vibrant-ink .ace_print-margin {width: 1px;background: #1a1a1a}.ace-vibrant-ink {background-color: #0F0F0F;color: #FFFFFF}.ace-vibrant-ink .ace_cursor {color: #FFFFFF}.ace-vibrant-ink .ace_marker-layer .ace_selection {background: #6699CC}.ace-vibrant-ink.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #0F0F0F;}.ace-vibrant-ink .ace_marker-layer .ace_step {background: rgb(102, 82, 0)}.ace-vibrant-ink .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid #404040}.ace-vibrant-ink .ace_marker-layer .ace_active-line {background: #333333}.ace-vibrant-ink .ace_gutter-active-line {background-color: #333333}.ace-vibrant-ink .ace_marker-layer .ace_selected-word {border: 1px solid #6699CC}.ace-vibrant-ink .ace_invisible {color: #404040}.ace-vibrant-ink .ace_keyword,.ace-vibrant-ink .ace_meta {color: #FF6600}.ace-vibrant-ink .ace_constant,.ace-vibrant-ink .ace_constant.ace_character,.ace-vibrant-ink .ace_constant.ace_character.ace_escape,.ace-vibrant-ink .ace_constant.ace_other {color: #339999}.ace-vibrant-ink .ace_constant.ace_numeric {color: #99CC99}.ace-vibrant-ink .ace_invalid,.ace-vibrant-ink .ace_invalid.ace_deprecated {color: #CCFF33;background-color: #000000}.ace-vibrant-ink .ace_fold {background-color: #FFCC00;border-color: #FFFFFF}.ace-vibrant-ink .ace_entity.ace_name.ace_function,.ace-vibrant-ink .ace_support.ace_function,.ace-vibrant-ink .ace_variable {color: #FFCC00}.ace-vibrant-ink .ace_variable.ace_parameter {font-style: italic}.ace-vibrant-ink .ace_string {color: #66FF00}.ace-vibrant-ink .ace_string.ace_regexp {color: #44B4CC}.ace-vibrant-ink .ace_comment {color: #9933CC}.ace-vibrant-ink .ace_entity.ace_other.ace_attribute-name {font-style: italic;color: #99CC99}.ace-vibrant-ink .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYNDTc/oPAALPAZ7hxlbYAAAAAElFTkSuQmCC) right repeat-y}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/ace-editor/theme-xcode.js: -------------------------------------------------------------------------------- 1 | define("ace/theme/xcode",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!1,t.cssClass="ace-xcode",t.cssText=".ace-xcode .ace_gutter {background: #e8e8e8;color: #333}.ace-xcode .ace_print-margin {width: 1px;background: #e8e8e8}.ace-xcode {background-color: #FFFFFF;color: #000000}.ace-xcode .ace_cursor {color: #000000}.ace-xcode .ace_marker-layer .ace_selection {background: #B5D5FF}.ace-xcode.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #FFFFFF;}.ace-xcode .ace_marker-layer .ace_step {background: rgb(198, 219, 174)}.ace-xcode .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid #BFBFBF}.ace-xcode .ace_marker-layer .ace_active-line {background: rgba(0, 0, 0, 0.071)}.ace-xcode .ace_gutter-active-line {background-color: rgba(0, 0, 0, 0.071)}.ace-xcode .ace_marker-layer .ace_selected-word {border: 1px solid #B5D5FF}.ace-xcode .ace_constant.ace_language,.ace-xcode .ace_keyword,.ace-xcode .ace_meta,.ace-xcode .ace_variable.ace_language {color: #C800A4}.ace-xcode .ace_invisible {color: #BFBFBF}.ace-xcode .ace_constant.ace_character,.ace-xcode .ace_constant.ace_other {color: #275A5E}.ace-xcode .ace_constant.ace_numeric {color: #3A00DC}.ace-xcode .ace_entity.ace_other.ace_attribute-name,.ace-xcode .ace_support.ace_constant,.ace-xcode .ace_support.ace_function {color: #450084}.ace-xcode .ace_fold {background-color: #C800A4;border-color: #000000}.ace-xcode .ace_entity.ace_name.ace_tag,.ace-xcode .ace_support.ace_class,.ace-xcode .ace_support.ace_type {color: #790EAD}.ace-xcode .ace_storage {color: #C900A4}.ace-xcode .ace_string {color: #DF0002}.ace-xcode .ace_comment {color: #008E00}.ace-xcode .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==) right repeat-y}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /fmconsole/src/main/webapp/js/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/fmconsole/src/main/webapp/js/main.js -------------------------------------------------------------------------------- /gosh/etc/config/com.liferay.portal.monitoring.configuration.MonitoringConfiguration.cfg: -------------------------------------------------------------------------------- 1 | monitorPortletActionRequest=true 2 | monitorPortalRequest=true 3 | monitorPortletEventRequest=true 4 | monitorPortletRenderRequest=true 5 | monitorPortletResourceRequest=true 6 | monitorServiceRequest=true 7 | showPerRequestDataSample=true 8 | -------------------------------------------------------------------------------- /gosh/etc/gosh_profile: -------------------------------------------------------------------------------- 1 | # default gosh_profile 2 | # only read if etc/gosh_profile doesn't exist relative to the System property 3 | # gosh.home or failing that the current directory. 4 | # catch all exceptions from this script to avoid it aborting startup 5 | 6 | try { 7 | 8 | # ensure gogo commands are found first 9 | SCOPE = gogo:* 10 | 11 | # add methods on BundleContext object as commands 12 | addcommand context ${.context} (${.context} class) 13 | 14 | # add methods from the system bundle 15 | addcommand sb (context:bundle 0) 16 | 17 | # add methods on System object as commands 18 | addcommand system (loadclass java.lang.System) 19 | 20 | # alias to print full stack trace 21 | e = { $exception printStackTrace } 22 | 23 | ## disable console auto-formatting of each result 24 | # you will then need to explicitly use the 'format' command 25 | # to print the result of commands that don't write to stdout. 26 | #.Gogo.format = false 27 | 28 | ## disable printing the formatted result of a command into pipelines 29 | #.Format.Pipe = false 30 | 31 | # set prompt 32 | prompt = 'lr7 $ ' 33 | 34 | # Show me 'paint fence' 35 | thefactoryclass = ((context:bundle 0) loadclass jdk.nashorn.api.scripting.NashornScriptEngineFactory) 36 | theinstance = ($thefactoryclass newInstance) 37 | engine = ($theinstance getScriptEngine -scripting) 38 | $engine put "gogo" (( context:bundle 0 ) bundleContext) 39 | 40 | # Show me 'wax on / wax off' 41 | $engine eval "load('/Users/jhf/lr/devhacks/bundles/etc/initscripts.js');" 42 | 43 | # show me 'side to side' 44 | cat ($0 resolve motd) 45 | 46 | } { 47 | echo "$0: ERROR: $exception" 48 | } 49 | 50 | -------------------------------------------------------------------------------- /gosh/etc/initscripts.js: -------------------------------------------------------------------------------- 1 | var files = `ls -1 /Users/jhf/lr/devhacks/bundles/etc/scripts`.split('\n'); 2 | var cmdnames = []; 3 | var gogocmds = []; 4 | 5 | files.forEach(function(file) { 6 | if (!file) return; 7 | if (file.indexOf('.js') != file.length - 3) return; 8 | 9 | var cmdname = file.substr(0, file.length - 3); 10 | 11 | cmdnames.push(cmdname); 12 | 13 | gogocmds.push(cmdname + 14 | ' = { $engine eval \'load("/Users/jhf/lr/devhacks/bundles/etc/scripts/' + file + '");\' }'); 15 | }); 16 | 17 | var res = ''; 18 | 19 | print("\nFound these custom commands: " + cmdnames.join(' ')); 20 | 21 | gogocmds.forEach(function(cmd) { 22 | res += (cmd + ';'); 23 | }); 24 | 25 | res; 26 | -------------------------------------------------------------------------------- /gosh/etc/motd: -------------------------------------------------------------------------------- 1 | 2 | ====================================================== 3 | Welcome to the Liferay Portal #DevLive15UK Gogo Shell! 4 | ====================================================== 5 | 6 | 7 | -------------------------------------------------------------------------------- /gosh/etc/scripts/hackjs1.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | addcommand context ${.context} (${.context} class) 4 | thefactoryclass = ((context:bundle 0) loadclass jdk.nashorn.api.scripting.NashornScriptEngineFactory) 5 | theinstance = ($thefactoryclass newInstance) 6 | engine = ($theinstance getScriptEngine -scripting) 7 | $engine put "gogo" (( context:bundle 0 ) bundleContext) 8 | 9 | $engine eval "load('/Users/jhf/Documents/hackjs1.js')" 10 | 11 | */ 12 | 13 | var modelext = Java.extend(Java.type('com.liferay.portal.model.BaseModelListener')); 14 | 15 | var listener = new modelext() { 16 | onAfterCreate: function(asset) { 17 | print("asset " + asset.title + "[" + asset.className + "] created by userid " + asset.userId); 18 | } 19 | } 20 | 21 | var persist = 22 | Packages.com.liferay.portal.kernel.bean.PortalBeanLocatorUtil.locate( 23 | 'com.liferay.portlet.asset.service.persistence.AssetEntryPersistence'); 24 | 25 | var all = persist.getListeners(); 26 | 27 | try { 28 | persist.registerListener(listener); 29 | } catch (ex) { 30 | print("uh oh"); 31 | print(ex); 32 | } 33 | 34 | print("registered new listener"); 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /gosh/etc/scripts/hackjs2.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | addcommand context ${.context} (${.context} class) 4 | thefactoryclass = ((context:bundle 0) loadclass jdk.nashorn.api.scripting.NashornScriptEngineFactory) 5 | theinstance = ($thefactoryclass newInstance) 6 | engine = ($theinstance getScriptEngine -scripting) 7 | $engine put "gogo" (( context:bundle 0 ) bundleContext) 8 | 9 | $engine eval "load('/Users/jhf/Documents/hackjs2.js')" 10 | 11 | */ 12 | 13 | var portlettype = Java.type('javax.portlet.Portlet'); 14 | var genericportlettype = Java.type('javax.portlet.GenericPortlet'); 15 | var dicttype = Java.type('java.util.Hashtable'); 16 | 17 | var portlet = Java.extend(Java.type('javax.portlet.GenericPortlet')); 18 | 19 | var impl = new portlet() { 20 | render: function(req, resp) { 21 | var users = Packages.com.liferay.portal.service.UserLocalServiceUtil 22 | resp.getWriter().write("Hello from Gogo and Nashorn!"); 23 | } 24 | } 25 | 26 | var dict = new dicttype(); 27 | dict.put("javax.portlet.display-name", "Nashorn Portlet"); 28 | dict.put("com.liferay.portlet.instanceable", true); 29 | dict.put("com.liferay.portlet.display-category", "category.sample"); 30 | 31 | var registration = gogo.registerService(portlettype.class, impl, dict); 32 | 33 | 34 | -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/.idea/.name: -------------------------------------------------------------------------------- 1 | social-driver-portlet -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/.idea/ant.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/.idea/codeStyleSettings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/.idea/libraries/lib.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/.idea/scopes/scope_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | social-driver-portlet 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.wst.jsdt.core.javascriptValidator 10 | 11 | 12 | 13 | 14 | org.eclipse.jdt.core.javabuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.wst.common.project.facet.core.builder 20 | 21 | 22 | 23 | 24 | org.eclipse.wst.validation.validationbuilder 25 | 26 | 27 | 28 | 29 | 30 | org.eclipse.jem.workbench.JavaEMFNature 31 | org.eclipse.wst.common.modulecore.ModuleCoreNature 32 | org.eclipse.wst.common.project.facet.core.nature 33 | org.eclipse.jdt.core.javanature 34 | org.eclipse.wst.jsdt.core.jsNature 35 | org.apache.ivyde.eclipse.ivynature 36 | 37 | 38 | -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/.settings/.jsdtscope: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 4 | org.eclipse.jdt.core.compiler.compliance=1.7 5 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 6 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 7 | org.eclipse.jdt.core.compiler.source=1.7 8 | -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/.settings/org.eclipse.jst.jsp.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | validateFragments=false 3 | validation.use-project-settings=true 4 | -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/.settings/org.eclipse.wst.common.component: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/.settings/org.eclipse.wst.common.project.facet.core.prefs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/.settings/org.eclipse.wst.common.project.facet.core.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/.settings/org.eclipse.wst.jsdt.ui.superType.container: -------------------------------------------------------------------------------- 1 | org.eclipse.wst.jsdt.launching.baseBrowserLibrary -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/.settings/org.eclipse.wst.jsdt.ui.superType.name: -------------------------------------------------------------------------------- 1 | Window -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/.tern-project: -------------------------------------------------------------------------------- 1 | {"ide":{},"plugins":{"aui":{},"liferay":{},"yui":{}},"libs":["ecma5","browser"]} -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/social-driver/social-driver-portlet/build.gradle -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/build.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/docroot/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/docroot/WEB-INF/classes/BlogPoster$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/social-driver/social-driver-portlet/docroot/WEB-INF/classes/BlogPoster$1.class -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/docroot/WEB-INF/classes/BlogPoster.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/social-driver/social-driver-portlet/docroot/WEB-INF/classes/BlogPoster.class -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/docroot/WEB-INF/classes/MBPoster$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/social-driver/social-driver-portlet/docroot/WEB-INF/classes/MBPoster$1.class -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/docroot/WEB-INF/classes/MBPoster.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/social-driver/social-driver-portlet/docroot/WEB-INF/classes/MBPoster.class -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/docroot/WEB-INF/classes/SocialDriver.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/social-driver/social-driver-portlet/docroot/WEB-INF/classes/SocialDriver.class -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/docroot/WEB-INF/classes/SocialDriverConstants$BLOG_ACTION.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/social-driver/social-driver-portlet/docroot/WEB-INF/classes/SocialDriverConstants$BLOG_ACTION.class -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/docroot/WEB-INF/classes/SocialDriverConstants$MB_ACTION.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/social-driver/social-driver-portlet/docroot/WEB-INF/classes/SocialDriverConstants$MB_ACTION.class -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/docroot/WEB-INF/classes/SocialDriverConstants$WIKI_ACTION.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/social-driver/social-driver-portlet/docroot/WEB-INF/classes/SocialDriverConstants$WIKI_ACTION.class -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/docroot/WEB-INF/classes/SocialDriverConstants.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/social-driver/social-driver-portlet/docroot/WEB-INF/classes/SocialDriverConstants.class -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/docroot/WEB-INF/classes/SocialDriverContentUtil$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/social-driver/social-driver-portlet/docroot/WEB-INF/classes/SocialDriverContentUtil$1.class -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/docroot/WEB-INF/classes/SocialDriverContentUtil$ContentArticle.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/social-driver/social-driver-portlet/docroot/WEB-INF/classes/SocialDriverContentUtil$ContentArticle.class -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/docroot/WEB-INF/classes/SocialDriverContentUtil.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/social-driver/social-driver-portlet/docroot/WEB-INF/classes/SocialDriverContentUtil.class -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/docroot/WEB-INF/classes/SocialDriverUtil.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/social-driver/social-driver-portlet/docroot/WEB-INF/classes/SocialDriverUtil.class -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/docroot/WEB-INF/classes/WikiPoster$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/social-driver/social-driver-portlet/docroot/WEB-INF/classes/WikiPoster$1.class -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/docroot/WEB-INF/classes/WikiPoster.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/social-driver/social-driver-portlet/docroot/WEB-INF/classes/WikiPoster.class -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/docroot/WEB-INF/classes/resources/assetlist-article.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/docroot/WEB-INF/classes/resources/assetlist-structure.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/docroot/WEB-INF/classes/resources/bloggeriffic-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/social-driver/social-driver-portlet/docroot/WEB-INF/classes/resources/bloggeriffic-icon.png -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/docroot/WEB-INF/classes/resources/cloud-article.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/docroot/WEB-INF/classes/resources/cloud-structure.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/docroot/WEB-INF/classes/resources/experts-article.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/docroot/WEB-INF/classes/resources/experts-structure.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/docroot/WEB-INF/classes/resources/politican_at_heart-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/social-driver/social-driver-portlet/docroot/WEB-INF/classes/resources/politican_at_heart-icon.png -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/docroot/WEB-INF/classes/test.json: -------------------------------------------------------------------------------- 1 | { 2 | "highlight" : "", 3 | "title" : "Theme Development for Marketplace", 4 | "shortTitle" : "Marketplace Theme Development", 5 | "sessionType": "Workshop", 6 | "date" : "2012-10-08", 7 | "startTime" : "17:55", 8 | "endTime" : "18:30", 9 | "locationTag": "grandballroom", 10 | "ratingId" : "ThemeDevelopment", 11 | "notesId" : "ThemeDevelopment", 12 | "abstract" : "With the recent Liferay Marketplace launch, here are some new ways of creating powerful themes. Some of the topics that would be discussed in this workshop:\n-What are great Liferay 6.1 features that a theme developer can use?\n-Customizable Theme Settings\n-Checkboxes that can turn on/off features of the theme\n-SaSS\n-Custom/ Default Logo\n-Show Site Name\n-How to create a theme package using the resources-importer\n-Folder Structure\n-Necessary files\n-Tips and tricks\n-Navigation Portlet embedded in Layout\n-Using Language.properties hook inside of theme to add language keys", 13 | "speaker" : "Bradley Wood", 14 | "bio" : "Bradley works for Liferay in Southern California. He enjoys making concepts become a working reality by creating and developing themes for Liferay Portal. He engages the community through facebook and twitter. He has worked with creating Theme packages, which are the themes that contain usable sample web content that areavailable on Marketplace.", 15 | "picture" : "/documents/10704/10902/Bradley+Wood-+140x140/6917c549-8b9a-4b16-88cf-76a326913a4f?t=1345055638000", 16 | "picture2" : "", 17 | "picture3" : "", 18 | "twitter" : "", 19 | "linkedin" : "", 20 | "blog" : "http://www.liferay.com/web/bradley.wood/blog", 21 | "youtube" : "watch?v=xCwIMPAHyFI", 22 | "facebook" : "", 23 | "liferay" : "", 24 | "itemTags" : ["na-symposium-2012", "agenda", "day1", "room4"] 25 | } 26 | -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/docroot/WEB-INF/lib/com.liferay.wiki.api.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/social-driver/social-driver-portlet/docroot/WEB-INF/lib/com.liferay.wiki.api.jar -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/docroot/WEB-INF/lib/org.osgi.core.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/social-driver/social-driver-portlet/docroot/WEB-INF/lib/org.osgi.core.jar -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/docroot/WEB-INF/liferay-display.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/docroot/WEB-INF/liferay-plugin-package.properties: -------------------------------------------------------------------------------- 1 | name=Social Driver 2 | module-group-id=liferay 3 | module-incremental-version=1 4 | tags= 5 | short-description= 6 | change-log= 7 | page-url=http://www.liferay.com 8 | author=Liferay, Inc. 9 | licenses=LGPL 10 | portal-dependency-jars=commons-httpclient.jar, commons-codec.jar 11 | liferay-version=6.2.0+,6.2.10+ -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/docroot/WEB-INF/liferay-portlet.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | social-driver 7 | false 8 | /css/main.css 9 | /js/main.js 10 | LiferaySpring-portlet 11 | 12 | 13 | administrator 14 | Administrator 15 | 16 | 17 | guest 18 | Guest 19 | 20 | 21 | power-user 22 | Power User 23 | 24 | 25 | user 26 | User 27 | 28 | 29 | -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/docroot/WEB-INF/portlet.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | 10 | social-driver 11 | Social Driver 12 | SocialDriver 13 | 14 | view-jsp 15 | /view.jsp 16 | 17 | 0 18 | 19 | text/html 20 | 21 | 22 | Social Driver 23 | Social Driver 24 | Social Driver 25 | 26 | 27 | administrator 28 | 29 | 30 | guest 31 | 32 | 33 | power-user 34 | 35 | 36 | user 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/docroot/WEB-INF/src/resources/assetlist-article.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/docroot/WEB-INF/src/resources/assetlist-structure.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/docroot/WEB-INF/src/resources/bloggeriffic-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/social-driver/social-driver-portlet/docroot/WEB-INF/src/resources/bloggeriffic-icon.png -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/docroot/WEB-INF/src/resources/cloud-article.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/docroot/WEB-INF/src/resources/cloud-structure.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/docroot/WEB-INF/src/resources/experts-article.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/docroot/WEB-INF/src/resources/experts-structure.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/docroot/WEB-INF/src/resources/politican_at_heart-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/social-driver/social-driver-portlet/docroot/WEB-INF/src/resources/politican_at_heart-icon.png -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/docroot/WEB-INF/src/test.json: -------------------------------------------------------------------------------- 1 | { 2 | "highlight" : "", 3 | "title" : "Theme Development for Marketplace", 4 | "shortTitle" : "Marketplace Theme Development", 5 | "sessionType": "Workshop", 6 | "date" : "2012-10-08", 7 | "startTime" : "17:55", 8 | "endTime" : "18:30", 9 | "locationTag": "grandballroom", 10 | "ratingId" : "ThemeDevelopment", 11 | "notesId" : "ThemeDevelopment", 12 | "abstract" : "With the recent Liferay Marketplace launch, here are some new ways of creating powerful themes. Some of the topics that would be discussed in this workshop:\n-What are great Liferay 6.1 features that a theme developer can use?\n-Customizable Theme Settings\n-Checkboxes that can turn on/off features of the theme\n-SaSS\n-Custom/ Default Logo\n-Show Site Name\n-How to create a theme package using the resources-importer\n-Folder Structure\n-Necessary files\n-Tips and tricks\n-Navigation Portlet embedded in Layout\n-Using Language.properties hook inside of theme to add language keys", 13 | "speaker" : "Bradley Wood", 14 | "bio" : "Bradley works for Liferay in Southern California. He enjoys making concepts become a working reality by creating and developing themes for Liferay Portal. He engages the community through facebook and twitter. He has worked with creating Theme packages, which are the themes that contain usable sample web content that areavailable on Marketplace.", 15 | "picture" : "/documents/10704/10902/Bradley+Wood-+140x140/6917c549-8b9a-4b16-88cf-76a326913a4f?t=1345055638000", 16 | "picture2" : "", 17 | "picture3" : "", 18 | "twitter" : "", 19 | "linkedin" : "", 20 | "blog" : "http://www.liferay.com/web/bradley.wood/blog", 21 | "youtube" : "watch?v=xCwIMPAHyFI", 22 | "facebook" : "", 23 | "liferay" : "", 24 | "itemTags" : ["na-symposium-2012", "agenda", "day1", "room4"] 25 | } 26 | -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/docroot/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/docroot/css/.sass-cache/main.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/social-driver/social-driver-portlet/docroot/css/.sass-cache/main.css -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/docroot/css/.sass-cache/main_rtl.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/social-driver/social-driver-portlet/docroot/css/.sass-cache/main_rtl.css -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/docroot/css/main.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/social-driver/social-driver-portlet/docroot/css/main.css -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/docroot/docroot.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/docroot/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/social-driver/social-driver-portlet/docroot/icon.png -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/docroot/js/bg_blue.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/social-driver/social-driver-portlet/docroot/js/bg_blue.gif -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/docroot/js/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/social-driver/social-driver-portlet/docroot/js/main.js -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/ivy.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /social-driver/social-driver-portlet/ivy.xml.MD5: -------------------------------------------------------------------------------- 1 | 4451043a99181f102a4222926cfc1c09 2 | -------------------------------------------------------------------------------- /wcm/hack1a.vm: -------------------------------------------------------------------------------- 1 | #set ($userLocalService = $serviceLocator.findService("com.liferay.portal.service.UserLocalService")) 2 | 3 | Demo 1: Super-simple example of a WCM app 4 |

Hello, Liferay!

5 | 6 | 7 |

User Count: $userLocalService.getUsersCount()

8 | -------------------------------------------------------------------------------- /wcm/hack1b.vm: -------------------------------------------------------------------------------- 1 | ## Long-running process hanging render 2 | Demo 2: Long-running process that hangs the rendering for about 10 seconds 3 | 4 |

Hello, Liferay!

5 | 6 | 7 | ## long-running process 8 | #set ($start = $dateUtil.newDate()) 9 | #foreach ($i in [1..15000000]) 10 | #end 11 | #set ($elapsed = $dateUtil.newDate().getTime() - $start.getTime()) 12 | 13 |

That took forever! (${elapsed}ms)

14 | -------------------------------------------------------------------------------- /wcm/hack1c.vm: -------------------------------------------------------------------------------- 1 | #if ($request.lifecycle == "RENDER_PHASE") 2 | Demo 2: Long-running process that doesn't hang 3 | 4 |

Hello, Liferay!

5 | 6 |

Didn't take very long, did it?

7 | 8 |
Major computation in progress...
9 | 10 | 29 | 30 | #elseif ($request.lifecycle == "RESOURCE_PHASE") 31 | 32 | ## long-running process that only runs if the resource URL is accessed 33 | #set ($start = $dateUtil.newDate()) 34 | #foreach ($i in [1..15000000]) 35 | #end 36 | #set ($elapsed = $dateUtil.newDate().getTime() - $start.getTime()) 37 | 38 | { "time" : $elapsed } 39 | #end 40 | -------------------------------------------------------------------------------- /websockets/build.gradle: -------------------------------------------------------------------------------- 1 | 2 | buildscript { 3 | repositories { 4 | mavenCentral() 5 | } 6 | 7 | dependencies { 8 | classpath 'biz.aQute.bnd:biz.aQute.bnd.gradle:3.0.0' 9 | } 10 | } 11 | 12 | subprojects { 13 | repositories { 14 | mavenCentral() 15 | maven { 16 | url "https://repository.liferay.com/nexus/content/groups/liferay-ce/" 17 | } 18 | } 19 | } -------------------------------------------------------------------------------- /websockets/example-echo-portlet/bnd.bnd: -------------------------------------------------------------------------------- 1 | 2 | Import-Package: \ 3 | javax.servlet;version='[2.5,4)',\ 4 | * 5 | 6 | -dsannotations: * 7 | -includeresource:\ 8 | META-INF/resources=src/main/resources/META-INF/resources 9 | -------------------------------------------------------------------------------- /websockets/example-echo-portlet/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'biz.aQute.bnd.builder' 2 | 3 | sourceCompatibility = 1.8 4 | 5 | version = 1.0 6 | 7 | repositories { 8 | mavenCentral() 9 | } 10 | dependencies { 11 | compile 'javax.portlet:portlet-api:2.0' 12 | compile 'org.osgi:org.osgi.core:5.0.0' 13 | compile 'org.osgi:org.osgi.enterprise:5.0.0' 14 | compile 'javax.websocket:javax.websocket-api:1.1' 15 | compile 'javax.servlet:servlet-api:2.5' 16 | compile 'com.liferay.portal:portal-service:7.0.0-a1' 17 | compile 'com.liferay:com.liferay.registry.api:1.0.0-SNAPSHOT' 18 | } 19 | -------------------------------------------------------------------------------- /websockets/example-echo-portlet/build/classes/main/com/monator/liferay/wsbridge/example/EchoPortlet$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/websockets/example-echo-portlet/build/classes/main/com/monator/liferay/wsbridge/example/EchoPortlet$1.class -------------------------------------------------------------------------------- /websockets/example-echo-portlet/build/classes/main/com/monator/liferay/wsbridge/example/EchoPortlet.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/websockets/example-echo-portlet/build/classes/main/com/monator/liferay/wsbridge/example/EchoPortlet.class -------------------------------------------------------------------------------- /websockets/example-echo-portlet/build/libs/example-echo-portlet-1.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/websockets/example-echo-portlet/build/libs/example-echo-portlet-1.0.jar -------------------------------------------------------------------------------- /websockets/example-echo-portlet/build/tmp/jar/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | 3 | -------------------------------------------------------------------------------- /websockets/example-echo-portlet/build/tmp/jar/example-echo-portlet-1.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/websockets/example-echo-portlet/build/tmp/jar/example-echo-portlet-1.0.jar -------------------------------------------------------------------------------- /websockets/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/websockets/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /websockets/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Mon Oct 12 11:32:03 CEST 2015 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.7-all.zip 7 | -------------------------------------------------------------------------------- /websockets/settings.gradle: -------------------------------------------------------------------------------- 1 | include 'wsbridge-webapp' 2 | include 'example-echo-portlet' 3 | include 'wsapi-exporter' 4 | 5 | -------------------------------------------------------------------------------- /websockets/wsapi-exporter/bnd.bnd: -------------------------------------------------------------------------------- 1 | Bundle-Name: JSR-356 Java Websocket API 2 | Bundle-SymbolicName: javax.websocket 3 | Bundle-Version: 1.1.0 4 | Fragment-Host:\ 5 | system.bundle; extension:=framework 6 | 7 | Export-Package:\ 8 | javax.websocket,\ 9 | javax.websocket.server -------------------------------------------------------------------------------- /websockets/wsapi-exporter/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'biz.aQute.bnd.builder' 2 | 3 | sourceCompatibility = 1.8 4 | targetCompatibility = 1.8 5 | 6 | version = '1.0' 7 | 8 | -------------------------------------------------------------------------------- /websockets/wsapi-exporter/build/libs/wsapi-exporter-1.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/websockets/wsapi-exporter/build/libs/wsapi-exporter-1.0.jar -------------------------------------------------------------------------------- /websockets/wsapi-exporter/build/tmp/jar/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | 3 | -------------------------------------------------------------------------------- /websockets/wsapi-exporter/build/tmp/jar/wsapi-exporter-1.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/websockets/wsapi-exporter/build/tmp/jar/wsapi-exporter-1.0.jar -------------------------------------------------------------------------------- /websockets/wsbridge-webapp/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'war' 2 | 3 | sourceCompatibility = 1.8 4 | version = '1.0' 5 | 6 | repositories { 7 | mavenCentral() 8 | } 9 | 10 | dependencies { 11 | providedCompile 'com.liferay.portal:portal-service:7.0.0-a1' 12 | providedCompile 'com.liferay:com.liferay.registry.api:1.0.0-SNAPSHOT' 13 | providedCompile 'javax.websocket:javax.websocket-api:1.1' 14 | } 15 | 16 | war { 17 | archiveName = 'wsbridge.war' 18 | } 19 | -------------------------------------------------------------------------------- /websockets/wsbridge-webapp/build/classes/main/com/monator/liferay/wsbridge/BridgeEndpoint.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/websockets/wsbridge-webapp/build/classes/main/com/monator/liferay/wsbridge/BridgeEndpoint.class -------------------------------------------------------------------------------- /websockets/wsbridge-webapp/build/libs/wsbridge.war: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesfalkner/lr-hacks/b23d6d3f27f1bef05166890eb691235ff2da52bc/websockets/wsbridge-webapp/build/libs/wsbridge.war -------------------------------------------------------------------------------- /websockets/wsbridge-webapp/build/tmp/war/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | 3 | --------------------------------------------------------------------------------