Re: New Sling Script Console plugin

2012-05-07 Thread Bertrand Delacretaz
Hi, On Fri, May 4, 2012 at 8:16 AM, Angela Schreiber wrote: > Justin wrote: ... >> FWIW, I  consider this a non-issue. The web console already allows for >> arbitrary code execution by installing a bundle :) > > it depends on what exactly is the nature the service. if it was only > accessible to

Re: New Sling Script Console plugin

2012-05-07 Thread Angela Schreiber
hi all On Fri, May 4, 2012 at 5:18 AM, Chetan Mehrotra wrote: ...Let me know if any other change is required from my side for this feature to be included in Sling... I haven't looked in detail yet, but IIUC your service allows arbitrary code to be executed from a POST request (which is co

Re: New Sling Script Console plugin

2012-05-04 Thread Justin Edelson
On Fri, May 4, 2012 at 4:16 AM, Bertrand Delacretaz wrote: > Hi Chetan, > > On Fri, May 4, 2012 at 5:18 AM, Chetan Mehrotra > wrote: > > ...Let me know if any other change is required from my side for this > feature > > to be included in Sling... > > I haven't looked in detail yet, but IIUC your

Re: New Sling Script Console plugin

2012-05-04 Thread Felix Meschberger
Hi, After all, the console is only available to authenticated administrators... Regards Felix Am 04.05.2012 um 11:24 schrieb Chetan Mehrotra: > Sure ... or we can keep the service disabled by default and the plugin page > displays a message that it should be enabled before being used. And then

Re: New Sling Script Console plugin

2012-05-04 Thread Bertrand Delacretaz
On Fri, May 4, 2012 at 11:24 AM, Chetan Mehrotra wrote: > Sure ... or we can keep the service disabled by default and the plugin page > displays a message that it should be enabled before being used. And then a > user can enable it from WebConsole... That would be good, and maybe include a note a

Re: New Sling Script Console plugin

2012-05-04 Thread Chetan Mehrotra
Sure ... or we can keep the service disabled by default and the plugin page displays a message that it should be enabled before being used. And then a user can enable it from WebConsole Chetan Mehrotra On Fri, May 4, 2012 at 1:46 PM, Bertrand Delacretaz wrote: > Hi Chetan, > > On Fri, May 4, 20

Re: New Sling Script Console plugin

2012-05-04 Thread Bertrand Delacretaz
Hi Chetan, On Fri, May 4, 2012 at 5:18 AM, Chetan Mehrotra wrote: > ...Let me know if any other change is required from my side for this feature > to be included in Sling... I haven't looked in detail yet, but IIUC your service allows arbitrary code to be executed from a POST request (which is c

Re: New Sling Script Console plugin

2012-05-03 Thread Chetan Mehrotra
Thanks for all the feedback!! As Sling GitHub repository is readonly so a regular pull request would not work. I have created SLING-2463 [1] and attached the implementation as a patch. Kindly have a look at that. Let me know if any other change is required from my side for this feature to be incl

Re: New Sling Script Console plugin

2012-05-03 Thread Felix Meschberger
Hi Chetan Excellent work ! Thanks for the contribution. Regards Felix Am 03.05.2012 um 07:00 schrieb Chetan Mehrotra: > I have implemented a Felix WebConsole plugin for evaluating scripts making > use of existing infrastructure present in Sling. It provides support for > following items > > *

RE: New Sling Script Console plugin

2012-05-02 Thread Amit.. Gupta.
Thanks for sharing.. Good stuff. Regards, Amit -Original Message- From: Antonio Sanso [mailto:asa...@adobe.com] Sent: Thursday, May 03, 2012 10:40 AM To: users@sling.apache.org Subject: Re: New Sling Script Console plugin Wow. Great stuff Chetan! Regards Antonio On May 3, 2012, at

Re: New Sling Script Console plugin

2012-05-02 Thread Antonio Sanso
Wow. Great stuff Chetan! Regards Antonio On May 3, 2012, at 7:00 AM, Chetan Mehrotra wrote: > I have implemented a Felix WebConsole plugin for evaluating scripts making > use of existing infrastructure present in Sling. It provides support for > following items > > * Support evaluation of scri

New Sling Script Console plugin

2012-05-02 Thread Chetan Mehrotra
I have implemented a Felix WebConsole plugin for evaluating scripts making use of existing infrastructure present in Sling. It provides support for following items * Support evaluation of script in any language as supported by Sling e.g. Groovy, JavaScript, Ruby, Python etc. You would need to ensu