[Fwd: git://git.apache.org/sling.git]

2009-06-26 Thread Felix Meschberger
Hi all, We have move the Sling source code to its new top level location http://svn.apache.org/repos/asf/sling. It looks like the GIT mirror setup is still referring to the old incubator location at http://svn.apache.org/repos/asf/incubator/sling. Can someone please take care of this ? Thanks

Re: OSGi Compendium

2009-06-26 Thread Felix Meschberger
packages. As a result, in Apache Felix we export the respective API from the implementation bundles. This also makes it easy to upgrade the API. Regards Felix Carsten Regards, Dominik On Thu, Jun 25, 2009 at 4:39 PM, Felix Meschberger fmesc...@gmail.comwrote: Hi all, Currently the Sling

Re: [Fwd: git://git.apache.org/sling.git]

2009-06-26 Thread Felix Meschberger
Hi, Ok, will do that. Thanks. Regards Felix Tony Stevenson schrieb: Felix, Send this to infrastructure-dev -- Where Jukka and Gregorz will likely see it and fix it up for you. On 26 Jun 2009, at 10:33, Felix Meschberger wrote: Hi all, We have move the Sling source code to its

Re: Revisiting the resource super type handling

2009-06-26 Thread Felix Meschberger
Hi, Tobias Bocanegra schrieb: On Fri, Jun 26, 2009 at 10:30 AM, Carsten Ziegelercziege...@apache.org wrote: Hi, while changing the script resolution in the last days a little bit to make it cacheable, I stumbled across the handling of the resource super type. The jcr resource

Re: Revisiting the resource super type handling

2009-06-26 Thread Felix Meschberger
Hi, Carsten Ziegeler schrieb: Hi, while changing the script resolution in the last days a little bit to make it cacheable, I stumbled across the handling of the resource super type. The jcr resource implementation checks if the node has the sling:resourceSuperType property and returns

Re: GWT Tests with Sling

2009-06-25 Thread Felix Meschberger
Hi, Torgeir Veimo schrieb: I'm in the development team of a new CMS which is based on Sling. It seems there are several that are doing this, basing their admin console on GWT. There might be an opportunity to put together an open source project here around this, since there would otherwise

Re: GWT Tests with Sling

2009-06-25 Thread Felix Meschberger
Hi, Torgeir Veimo schrieb: 2009/6/26 Felix Meschberger fmesc...@gmail.com: Hi, Torgeir Veimo schrieb: I'm in the development team of a new CMS which is based on Sling. It seems there are several that are doing this, basing their admin console on GWT. There might be an opportunity to put

Re: GWT Tests with Sling

2009-06-25 Thread Felix Meschberger
Hi, Torgeir Veimo schrieb: 2009/6/26 Felix Meschberger fmesc...@gmail.com: Hi, Torgeir Veimo schrieb: 2009/6/26 Felix Meschberger fmesc...@gmail.com: Hi, Torgeir Veimo schrieb: I'm in the development team of a new CMS which is based on Sling. It seems there are several that are doing

OSGi Compendium

2009-06-25 Thread Felix Meschberger
Hi all, Currently the Sling launcher (in the launchpad/base module) contains the Felix framework, the OSGi Core libraries as well as the OSGi Compendium libraries. While working on the implementation of the new Declarative Services 1.1 features planned for addition in the OSGi Compendium

Re: [RT] Script Resolution

2009-06-23 Thread Felix Meschberger
Hi, Carsten Ziegeler schrieb: Another minor issue are the helper methods of the JcrResourceUtil class (the getResourceSuperType, resourceTypeToPath methods). I think we can make them completly JCR free and move them to the ResourceUtil class in the API. +1 But leave the methods in the

Re: [RT] Script Resolution

2009-06-23 Thread Felix Meschberger
Hi, Dominik Süß schrieb: Wouldn't this take us the ability to restrict allowed actions by taking reading rights of the scriptlocation by ACLs? How would you solve restriction on scriptaccess? What exact problem do you want to solve with the restriction on script access ? Do you have some

Re: [RT] Script Resolution

2009-06-23 Thread Felix Meschberger
Hi, Ian Boston schrieb: On 23 Jun 2009, at 12:28, Bertrand Delacretaz wrote: Although Sling might choose to ignore this, I/we (sakai) are going to need to do something since all our users have write access to the repo, and at least 10% of them are Computer Science first year students

Re: [RT] Script Resolution

2009-06-23 Thread Felix Meschberger
Hi, Bertrand Delacretaz schrieb: Hi, On Tue, Jun 23, 2009 at 12:03 PM, Ian Bostoni...@tfd.co.uk wrote: On 23 Jun 2009, at 09:42, Felix Meschberger wrote: ... What exact problem do you want to solve with the restriction on script access ? Do you have some kind of x-bit in mind

Re: [RT] Script Resolution

2009-06-23 Thread Felix Meschberger
Hi Ian, Ian Boston schrieb: On 23 Jun 2009, at 14:06, Felix Meschberger wrote: Hi, Ian Boston schrieb: On 23 Jun 2009, at 12:28, Bertrand Delacretaz wrote: Although Sling might choose to ignore this, I/we (sakai) are going to need to do something since all our users have write access

[jira] Commented: (SLING-1013) Feed Entry IDs are URL-encoded

2009-06-19 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1013?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12721789#action_12721789 ] Felix Meschberger commented on SLING-1013: -- Can you be a bit more specific

Graduation tasks

2009-06-18 Thread Felix Meschberger
Hi all, as per the graduation task list [1], we have to move things around a bit. I have asked infra@ to support us here [2]. On the frontend the following tasks will be done: * Move SVN from below incubator to our new TLP location * Rename the mailing lists (I have asked infra to keep

SVN moved

2009-06-18 Thread Felix Meschberger
Hi all, Thanks to Jukka I could already move the Sling source in SVN to the new location. To adapt your local check-out just use the svn switch, like in: $ svn switch http://svn.apache.org/repos/asf/incubator/sling/trunk from inside your trunk checkout. Regards Felix

Re: getting error in sling

2009-06-17 Thread Felix Meschberger
Hi Tanmay, do you get this regularly ? Always on the same resource (or script/servlet) ? This looks like the client has terminated the connection before the service could send the response. Could it be some long-running processing on the server causing the client to time out and abort ? Regards

Re: User Manager and Charset

2009-06-17 Thread Felix Meschberger
Hi, Juan José Vázquez Delgado schrieb: There is an issue with accented chars and the sling user manager. I do a web based interface for the nodes below /system/userManager. When I POST to createUser or updateUser, then accented chars are messed up in the server side authorizable resource:

Re: SLING-490, SystemStatus service discussion

2009-06-16 Thread Felix Meschberger
Hi, Replying to this message, but my response applies to the complete thread. Let's step back a second and look at what we really need to know to be able to decide the system is ready or not. And who is responsible to provide this knowledge. (1) The most basic criterion for the system to be

Re: SLING-490, SystemStatus service discussion

2009-06-16 Thread Felix Meschberger
Hi, Carsten Ziegeler schrieb: Felix Meschberger wrote: Yes, of course. ConfigAdmin is *not* required for DS. Ah yes, you're right (of course) - I was mistaken as the import for the config admin are not optional in the *pom* of the scr implementation; I didn't see that it actually exports

Re: SLING-490, SystemStatus service discussion

2009-06-16 Thread Felix Meschberger
Hi, Carsten Ziegeler schrieb: Felix Meschberger wrote: Hi, Replying to this message, but my response applies to the complete thread. Let's step back a second and look at what we really need to know to be able to decide the system is ready or not. And who is responsible to provide

Re: SLING-490, SystemStatus service discussion

2009-06-16 Thread Felix Meschberger
Hi, Well, *if* we want to check the system state, that check should be done continuously during the whole lifetime otherwise it makes no sense, honestly: The goal is to not stop the system, so a system startup is a seldom case and bruning cycles for a case, which almost never (in theory and as a

Re: SLING-490, SystemStatus service discussion

2009-06-16 Thread Felix Meschberger
Hi, Alexander Klimetschek schrieb: On Tue, Jun 16, 2009 at 8:02 AM, Felix Meschbergerfmesc...@gmail.com wrote: (1) The most basic criterion for the system to be ready is the available of certain services. Yes, services is probably enough. The availability of bundles doesn't actually help

Re: SLING-490, SystemStatus service discussion

2009-06-16 Thread Felix Meschberger
Hi, Bertrand Delacretaz schrieb: Now, this is very simple and easy: As Alex Klimetschek proposes we are using ConfigurationAdmin for this. Each service can be described by a few properties: (a) Service Name (b) Service Filter (c) Number of services... And in some case (like script

[jira] Commented: (SLING-1003) Integration of 3rd party servlet filters problematic

2009-06-16 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12720115#action_12720115 ] Felix Meschberger commented on SLING-1003: -- Hmm, it looks like

Re: Queries with large result sets and sorting.

2009-06-16 Thread Felix Meschberger
Hi Ian, Maybe you might want to ask this question on the Jackrabbit dev list where JCR Query implementation specialist is also lurking. Regards Felix Ian Boston schrieb: yes it was that thread that triggered the concern. Obviously, a stupid example, but, unfortunately, not really to much

[jira] Created: (SLING-1008) Mapping configuration below /etc/map should not require default port number on host level

2009-06-16 Thread Felix Meschberger (JIRA)
Project: Sling Issue Type: Bug Components: JCR Resource Affects Versions: JCR Resource 2.0.4 Reporter: Felix Meschberger Assignee: Felix Meschberger Fix For: JCR Resource 2.0.6 Currently the host level of mapping configuration at /etc

[jira] Closed: (SLING-1008) Mapping configuration below /etc/map should not require default port number on host level

2009-06-16 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1008?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger closed SLING-1008. Resolution: Fixed Fixed by checking the host level of the configuration and ensuring

[jira] Created: (SLING-1007) Implement helper classloader

2009-06-15 Thread Felix Meschberger (JIRA)
2.0.4 Reporter: Felix Meschberger Currently we require the ScriptEngine[Factory] implementation bundles to create bundle header DynamicImport-Package: * to be able to access anything from the scripts since scripts are executed in the class loader of the script engine bundle

[jira] Commented: (SLING-1007) Implement helper classloader

2009-06-15 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12719509#action_12719509 ] Felix Meschberger commented on SLING-1007: -- As I said before this is not a primary

[jira] Commented: (SLING-1007) Implement helper classloader

2009-06-15 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12719530#action_12719530 ] Felix Meschberger commented on SLING-1007: -- Take a look at the JSP compiler

Re: SLING-490, SystemStatus service discussion

2009-06-15 Thread Felix Meschberger
HI, Alexander Klimetschek schrieb: On Mon, Jun 15, 2009 at 5:10 PM, Carsten Ziegelercziege...@apache.org wrote: Now, this depends on how this is done. We're using the declarative services in Sling, so when DS is starting the sling main servlet it checks for a configuration to provide it to

Re: Make our first release available on central Maven repo? (was: Problems with dependency paths)

2009-06-14 Thread Felix Meschberger
Hi, The artifacts of the first Sling release are now also available through central. Regards Felix Bertrand Delacretaz schrieb: Hi Ian, On Thu, Jun 11, 2009 at 11:59 PM, Ian Bostoni...@tfd.co.uk wrote: ...I have a jar that depends on

[jira] Commented: (SLING-490) SlingStatusServlet - find out whether a Sling application is ready after startup

2009-06-13 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12719166#action_12719166 ] Felix Meschberger commented on SLING-490: - It's no big deal to have to add

Re: Make our first release available on central Maven repo? (was: Problems with dependency paths)

2009-06-12 Thread Felix Meschberger
Hi, Yes at the time of our first release poddlings had to deploy to the incubator repository at http://people.apache.org/repo/m2-incubating-repository And, yes, I agree we should probably deploy this to central, now. Central being managed through the Nexus repository nowadays, it would

Re: Make our first release available on central Maven repo? (was: Problems with dependency paths)

2009-06-12 Thread Felix Meschberger
Hi, Jukka Zitting schrieb: Hi, On Fri, Jun 12, 2009 at 8:46 AM, Felix Meschbergerfmesc...@gmail.com wrote: My first try to would be to checkout the Sling 3 tag and deploy it to repository.apache.org setting the altDeploymentRepository property appropriately. I'd rather not do that, as

Sling Artifacts from incubator repository

2009-06-12 Thread Felix Meschberger
Hi all, In the incubating Sling project we deployed the initial release to the incubator maven 2 repository instead of the central mirror as it was custom until a few months ago. Now that we use repository.a.o it would be cool and good for our users to have the artifacts available from

[jira] Commented: (SLING-1004) The folder where Sling servlets store their configuration should be configurable at deployment

2009-06-12 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12718849#action_12718849 ] Felix Meschberger commented on SLING-1004: -- Actually, the default Sling web app

Re: Sling configuration

2009-06-12 Thread Felix Meschberger
Thanks for reporting. I added the findings of the mail thread as implementation notes. Regards Felix Claude Vedovini schrieb: Salut B. Just created SLING-1004 I did not bother reading any guideline for issue creation but I hope you'll like it :) Cheers, Claude On Thu, Jun 11, 2009

[jira] Assigned: (SLING-1003) Integration of 3rd party servlet filters problematic

2009-06-12 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1003?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger reassigned SLING-1003: Assignee: Felix Meschberger Integration of 3rd party servlet filters problematic

[jira] Resolved: (SLING-1003) Integration of 3rd party servlet filters problematic

2009-06-12 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1003?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger resolved SLING-1003. -- Resolution: Fixed Fix Version/s: Engine 2.0.6 Thanks for reporting the bug

Re: Integrate a Servlet Filter: init-params

2009-06-12 Thread Felix Meschberger
Hi, Christian Sprecher schrieb: Felix Meschberger schrieb: Hi, Yes. And if you have the scr plugin generate the Metatype data (not setting metatype=no on the @scr.component tag) you will be able to configure the properties on the Configuration page of the Web Console. Wow, it works

[jira] Created: (SLING-1005) JcrResourceResolver2.map should consider request path info for mapping

2009-06-12 Thread Felix Meschberger (JIRA)
: Bug Components: JCR Resource Affects Versions: JCR Resource 2.0.4 Reporter: Felix Meschberger Assignee: Felix Meschberger Fix For: JCR Resource 2.0.6 The currently the JcrResourceResolver2.map method applies the following basic algorithm

[jira] Commented: (SLING-1005) JcrResourceResolver2.map should consider request path info for mapping

2009-06-12 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12718864#action_12718864 ] Felix Meschberger commented on SLING-1005: -- Fixed this as described above in Rev

[jira] Commented: (SLING-490) SlingStatusServlet - find out whether a Sling application is ready after startup

2009-06-12 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12718923#action_12718923 ] Felix Meschberger commented on SLING-490: - Thanks for taking a stab at this. Here

Versions of new modules

2009-06-12 Thread Felix Meschberger
Hi all, It seems to be custom to add new modules with versions like 2.0.5-incubator-SNAPSHOT. I think this is not very sexy and might even be misleading. I suggest we add new modules at version 0.9.0-incubator-SNAPSHOT such that we can release the first version as 1.0.0-incubator. Historical

Re: JSONQueryServlet questions

2009-06-12 Thread Felix Meschberger
Hi Stuart, D. Stuart Freeman schrieb: I'm trying to get back a multivalued property from the JSON Query Servlet, but it appears that that doesn't work. Here's what I did: curl -Ftitle=some title text -Ftext=some body text content \ -Ftest=1 -Ftest=2

[jira] Created: (SLING-1006) JsonQueryServlet does not return multi-value properties

2009-06-12 Thread Felix Meschberger (JIRA)
: Servlets Get Affects Versions: Servlets Get 2.0.4 Reporter: Felix Meschberger Assignee: Felix Meschberger Fix For: Servlets Get 2.0.6 From the mailing list: I'm trying to get back a multivalued property from the JSON Query Servlet, but it appears

Re: JSONQueryServlet questions

2009-06-12 Thread Felix Meschberger
created SLING-1006 [1] to track this and will commit a fix shortly. Do you still need the full node dump functionality ? Regards Felix [1] https://issues.apache.org/jira/browse/SLING-1006 D. Stuart Freeman schrieb: On Fri, Jun 12, 2009 at 08:18:01PM +0200, Felix Meschberger wrote: Hi Stuart

[jira] Resolved: (SLING-1006) JsonQueryServlet does not return multi-value properties

2009-06-12 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1006?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger resolved SLING-1006. -- Resolution: Fixed I have committed a fix in Rev. 784278. The JsonQueryServlet now

Re: JSONQueryServlet questions

2009-06-12 Thread Felix Meschberger
I have committed a fix in Rev. 784278. You might want to update the servlets/get bundle and crosscheck. Thanks. Regards Felix Felix Meschberger schrieb: Hi Stuart, After re-reading the JsonQueryServlet, I saw the bug. It is not related to any JCR query stuff but to how we add properties

Re: Integrate a Servlet Filter: init-params

2009-06-11 Thread Felix Meschberger
Hi, Christian Sprecher schrieb: Hi Felix Felix Meschberger schrieb: Actually, the Sling Main Servlet initializes servlets and filters by calling the respective init(ServletConfig) and init(FilterConfig) methods. The parameters provided by the ServletConfig and/or FilterConfig

Re: launchpad app Snapshot

2009-06-11 Thread Felix Meschberger
Hi Ian, Ian Boston schrieb: Hi, Looking at [1] there is no org.apache.sling:org.apache.sling.launchpad.base:jar:app:2.0.5-incubator-SNAPSHOT but looking at [2] there is org.apache.sling:org.apache.sling.launchpad.base:jar:app:2.0.4-incubator It looks like Hudson is not deploying any

Re: Caching for ResourceResolver.map()

2009-06-11 Thread Felix Meschberger
Jukka Zitting schrieb: Hi, On Wed, Jun 10, 2009 at 3:10 PM, Carsten Ziegelercziege...@apache.org wrote: While caching in the resource resolver might be a good idea anyway, perhaps caching one layer above might give even more benefit. Instead of querying the resource resolver a lot,

Re: Caching for ResourceResolver.map()

2009-06-10 Thread Felix Meschberger
Hi, Jukka Zitting schrieb: Hi, I have a case where we're doing lots of reverse mappings with the ResourceResolver.map() method and all the repository accesses caused by that are hurting performance. In general I'm not a big fan of extra caching, but in this case it seems like the only easy

Re: Sling configuration

2009-06-09 Thread Felix Meschberger
Hi Claude, Claude Vedovini schrieb: my problem currently is that not only UAT and production should use the same binaries with different sling.home (under linux) but developers are using windows, thus we cannot have one war for all and this obviously complicates the build and is error prone

[jira] Commented: (SLING-985) Allow ATOM Syndication Format output

2009-06-09 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-985?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12717575#action_12717575 ] Felix Meschberger commented on SLING-985: - So how about creating a BundleActivator

[jira] Updated: (SLING-985) Allow ATOM Syndication Format output

2009-06-09 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-985?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger updated SLING-985: Attachment: SLING-985-BundleActivator.patch Patch implementing the Abdera instance

Re: Sling configuration

2009-06-09 Thread Felix Meschberger
Hi, Bertrand Delacretaz schrieb: Hi, On Tue, Jun 9, 2009 at 8:03 AM, Felix Meschbergerfmesc...@gmail.com wrote: Claude Vedovini schrieb: ...I guess that now that each deployed sling servlet has it's own subfolder under sling.home to store configuration to, then may be overriding the

Re: Integrate a Servlet Filter: init-params

2009-06-09 Thread Felix Meschberger
Hi, Ian Boston schrieb: You can make a filter available to a servlet managed by the MainSlingServlet, by creating a declarative service implementing the java.servlet.Filter Interface. Basically, you register an OSGi service for the javax.servlet.Filter interface. You do not need to use

[jira] Resolved: (SLING-985) Allow ATOM Syndication Format output

2009-06-09 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-985?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger resolved SLING-985. - Resolution: Fixed Applied my last patch. This is probably it for now. If you agree

[jira] Commented: (SLING-917) Use repository.apache.org for deployments

2009-06-09 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12717616#action_12717616 ] Felix Meschberger commented on SLING-917: - Now that we are registered on the Nexus

Nexus Repository and Parent POM

2009-06-09 Thread Felix Meschberger
Hi all, We are now setup to use the Nexus Repository at repository.apache.org for our releases and SNAPSHOTs. Thus we should not deploy anymore to the old locations on people.a.o. A first step supporting this new setup for us is to updated the Sling parent pom. As per SLING-917 [1] I have

[jira] Assigned: (SLING-995) resource types for users are sling:users in some places and sling/users in others.

2009-06-09 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger reassigned SLING-995: --- Assignee: Felix Meschberger resource types for users are sling:users in some places

[jira] Resolved: (SLING-995) resource types for users are sling:users in some places and sling/users in others.

2009-06-09 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger resolved SLING-995. - Resolution: Fixed Fix Version/s: JCR Jackrabbit User Manager 2.0.4 Thanks

[jira] Updated: (SLING-998) Request fails with HTTP ERROR 200 - Reason: OK if anonymous access is disabled

2009-06-09 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-998?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger updated SLING-998: Fix Version/s: Extensions httpauth 2.0.6 Also marking as fixed in HTTP Authenticator since

Re: Sling configuration

2009-06-09 Thread Felix Meschberger
Hi Claude, Claude Vedovini schrieb: Hi Felix, Bertrand, There is something I don't get :) Felix, in the example you gave previously, each deployed servlet adds its own context path to the sling.home folder This is not correct. What I said is that sling.home is derieved from the prefix

Re: Moving rewriter to contrib

2009-06-09 Thread Felix Meschberger
Hi, Carsten Ziegeler schrieb: Hi, I've added a new bundle in our whiteboard: the rewriter. The rewriter bundle allows to rewrite the output from Sling. It is possible to configure a pipeline (based on SAX events) which processes the whole output. This pipeline can be used for various use

[jira] Updated: (SLING-993) Sling Explorer with jquery

2009-06-08 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-993?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger updated SLING-993: Attachment: explorer.zip Attaching a slight modification: * Created a maven project

[jira] Commented: (SLING-985) Allow ATOM Syndication Format output

2009-06-08 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-985?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12717261#action_12717261 ] Felix Meschberger commented on SLING-985: - Thanks for providing this patch. I have

Re: Sling configuration

2009-06-07 Thread Felix Meschberger
Hi, Claude Vedovini schrieb: Hi all, I use the sling web app on jBoss and I have issue with the location of the sling home folder. From what I read in [1] it seems one can setup the sling.home property either using the sling.property or the web.xml file, both located inside the sling war

[jira] Commented: (SLING-993) Sling Explorer with jquery

2009-06-07 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12717036#action_12717036 ] Felix Meschberger commented on SLING-993: - This looks very light-weight and probably

[jira] Issue Comment Edited: (SLING-993) Sling Explorer with jquery

2009-06-07 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12717036#action_12717036 ] Felix Meschberger edited comment on SLING-993 at 6/7/09 5:12 AM

Re: Possible sling JSONObject bug

2009-06-07 Thread Felix Meschberger
Hi, Alexander Klimetschek schrieb: On Sat, Jun 6, 2009 at 5:55 PM, Felix Meschbergerfmesc...@gmail.com wrote: On Fri, Jun 05, 2009 at 09:18:05PM +0200, Alexander Klimetschek wrote: I think they are not equivalent in the strict Javascript sense, as the order of the properties in an object is

Re: Possible sling JSONObject bug

2009-06-06 Thread Felix Meschberger
Hi, D. Stuart Freeman schrieb: OK, in that case it sounds like comparing the results of toString() should suffice for my purposes. No, this won't work - technically - since the order of properties in an object is *explicitly* defined as not being defined in the spec. In our implementation we

Re: Exposing DB Data

2009-06-05 Thread Felix Meschberger
Hi Andreas, Andreas Kollegger schrieb: Hi, I'd like to expose data stored in an external database as resource nodes in Sling. Access to the database is already wrapped in an OSGi service (MyService.java), and there is a Java model for the data (MyModel.java). From what I can understand

Re: Openid integration for Sling 3

2009-06-05 Thread Felix Meschberger
Hi Tanmay, Tanmay Barman schrieb: I was trying to integrate openid in my project that is based on sling 3. I was trying with openid4java api. But I am having the following error java.lang.NoClassDefFoundError: org/apache/commons/httpclient/methods/RequestEntity at

[jira] Created: (SLING-991) JcrResourceResolver2.map does not handle resource paths with fragments and queries correctly

2009-06-03 Thread Felix Meschberger (JIRA)
Project: Sling Issue Type: Bug Components: JCR Resource Affects Versions: JCR Resource 2.0.4 Reporter: Felix Meschberger Assignee: Felix Meschberger Fix For: JCR Resource 2.0.6 The JcrResourceResolver2.map(HttpServletRequest, String

[jira] Resolved: (SLING-991) JcrResourceResolver2.map does not handle resource paths with fragments and queries correctly

2009-06-03 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-991?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger resolved SLING-991. - Resolution: Fixed Applied fix to this problem in Rev. 781285: * Cut off fragment

[jira] Closed: (SLING-991) JcrResourceResolver2.map does not handle resource paths with fragments and queries correctly

2009-06-03 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-991?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger closed SLING-991. --- This can be closed JcrResourceResolver2.map does not handle resource paths with fragments

Re: Binding to a resource Type

2009-06-03 Thread Felix Meschberger
Hi, Ian Boston schrieb: On 3 Jun 2009, at 06:32, Felix Meschberger wrote: Hi Ian, Ian Boston schrieb: Should a servlet (with sling.servlet.resourceTypes value=x) bind to JCR nodes where a parent node has a resourceType of x, or will it only bind to JCR nodes where the node itself has

[jira] Commented: (SLING-990) Prototype for a Sling Explorer implementation based on GWT

2009-06-03 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12715868#action_12715868 ] Felix Meschberger commented on SLING-990: - I will modify the JSON scripts. Cool

Re: Binding to a resource Type

2009-06-03 Thread Felix Meschberger
, which would be called when the ResourceResolver is about to create the NonExistingResource. Regards Felix Ian Boston schrieb: On 3 Jun 2009, at 09:26, Felix Meschberger wrote: Not in the sense of inheriting the resource type from the parent node if none is set. But: We have

[jira] Created: (SLING-992) Document Servlet Resolution and Error Handling

2009-06-03 Thread Felix Meschberger (JIRA)
Reporter: Felix Meschberger The Sling Servlet Resovler bundle provides elaborate functionality to select a Script or Servlet to handle a request. In addition it provides nice functionality to select error handler Scripts or Servlets to handle HttpServletResponse.sendError calls

Re: Binding to a resource Type

2009-06-03 Thread Felix Meschberger
Hi Ian I have posted a review there. Regards Felix Ian Boston schrieb: I have pushed a patch for inspection at http://codereview.appspot.com/67146 Is this along the lines you were thinking ? Ian On 3 Jun 2009, at 10:14, Felix Meschberger wrote: It might be conceivable though to set

Re: JcrResoruceResolver2, by design ?

2009-06-02 Thread Felix Meschberger
Hi Ian, Ian Boston schrieb: Hi, I don't know if this is intentional, but it looks like its not possible to register more than one ResourceProvider at /, and so its not possible to bind a ResourceProvider to a node (anywhere in the content system) with a specific resource type. Is this

Re: (In)Security in Sling

2009-06-02 Thread Felix Meschberger
Hi, John Crawford schrieb: I have been working with sling for quite some time and, of course, Day products. One thing that I have been increasingly concerned with is the end users ability to scrape all of the sites content and code with minimal effort using the built in functionality of the

Re: (In)Security in Sling

2009-06-02 Thread Felix Meschberger
can solve this with proper black/whitelisting. Maybe just some ACL should be enough. Regards Felix Michael [1] https://issues.apache.org/jira/browse/SLING-989 On Tue, Jun 2, 2009 at 12:33 PM, Felix Meschberger fmesc...@gmail.comwrote: Hi, John Crawford schrieb: I have been working

Re: Continue Sling request procesing in POST.jsp

2009-06-02 Thread Felix Meschberger
Hi, Daniel, de la Cuesta Navarrete schrieb: I have my script POST.jsp. I want to filter requests that contains only one property. The problem is that the POST.jsp stops the usual sling request procesing for all request Is there any way to continue with the usual Sling request procesing

[RESULT] [VOTE] Use repository.a.o for deployments

2009-06-02 Thread Felix Meschberger
Hi all, Time to close this vote. We have received the following votes (binding votes marked with *) : +1 Felix Meschberger (*) +1 Bertrand Delacretaz (*) +1 Juan Jose Vazquez Delgado (*) +1 Ian Boston +1 Vidar Ramdal (*) This vote passes with 5 votes (4 of which binding). No other

[jira] Commented: (SLING-917) Use repository.apache.org for deployments

2009-06-02 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12715518#action_12715518 ] Felix Meschberger commented on SLING-917: - Created INFRA-2081 to ask for addition

Re: Google Analytics for the Sling web site

2009-06-02 Thread Felix Meschberger
Hi, Jukka Zitting schrieb: Jackrabbit is using Google Analytics to track usage of the jackrabbit.apache.org web site, and I was wondering if Sling would be interested in similar data. See [1] for an example report. With my Sling Hat on I could be interested in these figures and favor it. With

Re: JcrResoruceResolver2, by design ?

2009-06-02 Thread Felix Meschberger
Hi Ian, I could imagine two approaches to your problem: (1) Register a resource provider for the root node of your hashed tree. When asked for a resource, it will apply the mapping function to find the actual resource. (2) Employ the dynamic URL Rewriting patch you proposed in SLING-986: You

Re: Clarification for ResourceResolver#map

2009-06-02 Thread Felix Meschberger
Hi Carsten Carsten Ziegeler schrieb: how is the ResourceResolver#map method supposed to work or more precisly what input is expected. The javadoc mentions a resource path as input parameter. What is supposed to happen if the path contains a query string or an anchor? The query string is cut

Re: Binding to a resource Type

2009-06-02 Thread Felix Meschberger
Hi Ian, Ian Boston schrieb: Should a servlet (with sling.servlet.resourceTypes value=x) bind to JCR nodes where a parent node has a resourceType of x, or will it only bind to JCR nodes where the node itself has the resourceType x ? I do not exactly understand what you mean by bind to JCR

[jira] Commented: (SLING-990) Prototype for a Sling Explorer implementation based on GWT

2009-06-02 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12715811#action_12715811 ] Felix Meschberger commented on SLING-990: - Not sure but I think that LGPL

Re: [jira] Commented: (SLING-990) Prototype for a Sling Explorer implementation based on GWT

2009-06-02 Thread Felix Meschberger
Hi all, Felix Meschberger (JIRA) schrieb: Not sure but I think that LGPL is compatible with the Apache project. Unfortunately not. Apache projects are not allowed to distribute artifacts including artifacts licensed under any GPL or LGPL license. I think, this primarily means we

[jira] Commented: (SLING-990) Prototype for a Sling Explorer implementation based on GWT

2009-06-02 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12715822#action_12715822 ] Felix Meschberger commented on SLING-990: - I did not run the code, I just looked

Re: Clarification for ResourceResolver#map

2009-06-02 Thread Felix Meschberger
Hi, Carsten Ziegeler schrieb: Felix Meschberger wrote: Hi Carsten Carsten Ziegeler schrieb: how is the ResourceResolver#map method supposed to work or more precisly what input is expected. The javadoc mentions a resource path as input parameter. What is supposed to happen if the path

  1   2   3   4   5   6   7   8   9   10   >