GithubHelp home page GithubHelp logo

huyhvo / liferay-scripting-helper Goto Github PK

View Code? Open in Web Editor NEW

This project forked from campfire-digital-services/liferay-scripting-helper

0.0 1.0 0.0 420 KB

Liferay Scripting Helper is an improved interface to scripting in Liferay. It features a codemirror editor, error trace reporting and an ability to save/load scripts and import/export them as zip files

Home Page: http://www.permeance.com.au/liferay-apps

Java 100.00%

liferay-scripting-helper's Introduction

Liferay Scripting Helper Portlet

liferay-scripting-helper-portlet

Liferay Scripting Helper is an improved interface to scripting in Liferay. It features a codemirror editor, error trace reporting and an ability to save/load scripts and import/export them as zip files.

Supported Products

  • Liferay Portal 6.1 CE GA2, GA3 (6.1.1+)
  • Liferay Portal 6.1 EE GA2, GA3 (6.1.20+)
  • Liferay Portal 6.2 CE GA1 (6.2.0+)
  • Liferay Portal 6.2 EE GA1 (6.2.10+)

Downloads

The latest releases are available from SourceForge.

It is also available from the Liferay Marketplace.

Usage

Administrators will see a "Scripting Helper" portlet in the Server area of the Control Panel in 6.1. The portlet appears in the Apps section of the Control Panel in 6.2. Other users can also be assigned permissions to see the Scripting Helper Portlet.

Scripting Helper Portlet

Scripting Helper Portlet

The user can run the script, see any script output or script error traces, save the script, save/load a script, export the saved scripts as a zip file, and import it into another Liferay installation.

The codemirror library is utilized as an editor, and supports a range of languages and editor themes.

Building

Step 1. Checkout source from GitHub project

% git  clone  https://github.com/permeance/liferay-scripting-helper

Step 2. Build and package

% mvn  -U  clean  package

This will build "liferay-scripting-helper-portlet-XXX.war" in the targets tolder.

NOTE: You will require JDK 1.6+ and Maven 3.

Installation

Liferay Portal + Apache Tomcat Bundle

eg.

Deploy "liferay-scripting-helper-portlet-LPX.X-X.X.X.X.war" to "LIFERAY_HOME/deploy" folder.

Plugin Security

This app will be released as a Marketplace application without Plugin Security enabled.

While we have provided a list of plugin security entries to run the basic scripting helper, the administrator would need to add additional entries for any script functions/services that might be called. As such, the scripting helper is not really helpful unless it can be installed without plugin security.

Support for Liferay 6.1 GA 1 (6.1.0, 6.1.10)

The source code supports Liferay 6.1 GA1 but needs to be recompiled with those libraries, due to a method signature change in ScriptingUtil. Check out the 6.1.x source from the GitHub project, and in the pom.xml, change liferay.version to 6.1.0, and rebuild the project. The resultant WAR can be deployed to a Liferay 6.1 GA1 instance.

License

This application is released under the GNU Public License version 3.0 (GPL). The codemirror library is also included in the package and comes under a MIT-style license.

Project Team

liferay-scripting-helper's People

Contributors

cwho avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.