Re: [VOTE] Grant Alison write access to the docs

2010-08-06 Thread Justin Edelson
+1 On Fri, Aug 6, 2010 at 2:21 AM, Carsten Ziegeler cziege...@apache.org wrote: Hi, I would like to call another vote for a new documentation writer: Alison :) Like Jean Christophe she is volunteering to help us and has already made suggestions for improvements and helped with the docs.

Re: [RT] Using FileInstall

2010-08-06 Thread Justin Edelson
Apologies in advance for reordering the bits from Carsten's email, but I think my response will make more sense this way. On Wed, Aug 4, 2010 at 9:53 AM, Carsten Ziegeler cziege...@apache.org wrote: Currently the launchpad copies the initial set of bundles to a file directory and creates a

Re: [VOTE] Grant Jean Christophe write access to the docs [was Re: Scheduler service problem]

2010-08-06 Thread Justin Edelson
+1 On Fri, Aug 6, 2010 at 2:08 AM, Carsten Ziegeler cziege...@apache.org wrote: Hi, I would like to call a vote to give Jean Christophe write access to our documentation. He is volunteering to help in an area where we definitly need help and he also did some valuable docs in the past

Re: [RT] Using FileInstall

2010-08-09 Thread Justin Edelson
On second thought... s/fails/falls short for/ On Aug 9, 2010, at 7:27 AM, Justin Edelson justinedel...@gmail.com wrote: On Aug 9, 2010, at 4:59 AM, Felix Meschberger fmesc...@gmail.com wrote: Hi, On 06.08.2010 21:07, Justin Edelson wrote: Apologies in advance for reordering the bits

Re: Maven Launchpad Plugin : Support for other files than bundles

2010-08-09 Thread Justin Edelson
On Aug 9, 2010, at 11:44 AM, Carsten Ziegeler cziege...@apache.org wrote: Hi Justin, Justin Edelson wrote On Aug 6, 2010, at 11:41 AM, Carsten Ziegeler cziege...@apache.org wrote: Hi, does our maven launchpad plugin support including other artifacts than bundles by just listing

Re: [RT] Using FileInstall

2010-08-09 Thread Justin Edelson
The problem is that the current scheme doesn't handle the case where the launchpad JAR is updated in a consistent manner. Whenever this is raised, the answer is to deploy bundles via sling:install or the web console. In my experience, this technique just doesn't scale past a single node.

Re: JCR Tools roundup

2010-08-10 Thread Justin Edelson
There are a few explorers in the Sling codebase which aren't reflected on this page. http://svn.apache.org/repos/asf/sling/trunk/contrib/explorers/ Speaking of... can anyone from Day speak to the status of the Eclipse plugin? There was some mention a while ago about this being open sourced, but

Re: Maven Launchpad Plugin : Support for other files than bundles

2010-08-11 Thread Justin Edelson
src/main/resources won't work? On Aug 11, 2010, at 3:04 AM, Carsten Ziegeler cziege...@apache.org wrote: Justin Edelson wrote As with the launchpad plugin's current goals, I would suggest prototyping with the existing Maven plugins (maven-resources-plugin and maven-jar-plugin

Re: extending jQuery JCR Resource explorer

2010-08-12 Thread Justin Edelson
Nice of you to ask about prioritization... 2, 4, 5, 6, 10 Would be the highest priority items for me. I'd also add these to your list: ACL view/edit Reference/Path property support I need to make some modifications to the explorer to support non-default workspaces, but hopefully that change

Re: JSOP

2010-08-12 Thread Justin Edelson
Looks like what CMIS should have been :) But the name is already in use... On Aug 12, 2010, at 1:38 PM, Felix Meschberger fmesc...@gmail.com wrote: Hi all, Julian Reschke (of WebDAV and HTTP fame) and David Nuescheler (of JCR fame) have proposed a new protocol for fine-grained HTTP-based

Re: extending jQuery JCR Resource explorer

2010-08-13 Thread Justin Edelson
. Also, you can use (J)Ruby if you want; the jruby-all JAR just needs to installed. Mostly, I imagine the amount of new server side code to be minimal. Justin Clemens -Original Message- From: Justin Edelson [mailto:justinedel...@gmail.com] Sent: Thursday, August 12, 2010 9:07 PM

Re: extending jQuery JCR Resource explorer

2010-08-13 Thread Justin Edelson
will be minor (keeps slipping off my list). is there a jira entry for this task? Is esp the right serverside approach? Or would groovy (me, coming from Ruby), or even Java be helpful? Clemens -Original Message- From: Justin Edelson [mailto:justinedel...@gmail.com] Sent: Thursday

Re: Moving the Commons Auth Bundle

2010-08-13 Thread Justin Edelson
+1 to moving auth out of commons and moving the other auth bundles to bundles/auth. Not loving the package change, but I agree it is a good idea and better to be done now than later. On Aug 13, 2010, at 10:01 AM, Felix Meschberger fmesc...@gmail.com wrote: Hi all, We are in the end game

Re: Authentication Info Post Processing vs. Authentication Info Validation

2010-08-16 Thread Justin Edelson
On Mon, Aug 16, 2010 at 7:02 AM, Mike Müller mike...@mysign.ch wrote: While looking at the CredentialValidator patch by Mike (SLING-1593 [1]) I came across the Authentication Info post processor infrastructure introduced by Justin (SLING-1444 [2]). Now, I am bit worried of having two

ConfigAdmin support in Launchpad...

2010-08-16 Thread Justin Edelson
As I mentioned last week, I had some concerns about using FileInstall for ConfigAdmin support and, more than concerns about FileInstall in particular, I didn't like the whole approach within Launchpad of copying some files out of the JAR/WAR and didn't want to see us continue this pattern. I

Re: ConfigAdmin support in Launchpad...

2010-08-17 Thread Justin Edelson
updated patchset to remove modifications to osgi.installer: http://codereview.appspot.com/1997042 On Mon, Aug 16, 2010 at 8:44 PM, Justin Edelson justinedel...@gmail.com wrote: As I mentioned last week, I had some concerns about using FileInstall for ConfigAdmin support and, more than concerns

Re: ConfigAdmin support in Launchpad...

2010-08-17 Thread Justin Edelson
as LaunchpadResourceAccessor ;-) Honestly, I am not sooo good at finding good names My initial suggestion was going to be LaunchpadContentProvider, which I dismissed because I didn't think Launchpad belonged in the name... Justin Regards Felix On 8/17/10, Justin Edelson justinedel...@gmail.com

what classloader should a ScriptEngine use?

2010-08-17 Thread Justin Edelson
I implemented a simple GSP/GString ScriptEngine today and got tripped up with what ClassLoader to use during script evaluation. Currently, the code is using the ClassLoader of the groovy-all bundle. This has a dynamic import of *, so it works fine, but this seemed wrong for some reason. Is there

Re: what classloader should a ScriptEngine use?

2010-08-18 Thread Justin Edelson
On 8/18/10 1:40 AM, Carsten Ziegeler wrote: Justin Edelson wrote I implemented a simple GSP/GString ScriptEngine today and got tripped up with what ClassLoader to use during script evaluation. Currently, the code is using the ClassLoader of the groovy-all bundle. This has a dynamic import

Failing Installer test (was Re: ConfigAdmin support in Launchpad...)

2010-08-18 Thread Justin Edelson
Justin Regards Felix On 8/17/10, Justin Edelson justinedel...@gmail.com wrote: As I mentioned last week, I had some concerns about using FileInstall for ConfigAdmin support and, more than concerns about FileInstall in particular, I didn't like the whole approach within Launchpad of copying

Re: Failing Installer test (was Re: ConfigAdmin support in Launchpad...)

2010-08-18 Thread Justin Edelson
On Wed, Aug 18, 2010 at 1:38 PM, Justin Edelson justinedel...@gmail.com wrote: I fixed the ConfigInstallTest failure in the osgi.it module. Not sure if this is the one which has been failing for a long time. The problem is in the waitForConfiguration method of OsgiInstallerTestBase

Re: Sling 6 Release Plan

2010-08-20 Thread Justin Edelson
I can take JCR (which I'll probably split into two), Misc and possibly Launchpad, although I'd prefer to push the Launchpad releases as late as possible to see if we can do this installer/config admin stuff. Is there a reason jcr.resource isn't part of the JCR batch? Also... I never really built

Re: [VOTE] Release Sling API 2.1.0

2010-08-20 Thread Justin Edelson
+1 go... go... go... On 8/18/10 12:28 PM, Felix Meschberger wrote: Hi, At long last here it is: The Sling API 2.1.0 release vote. We solved 25 issues in this release: https://issues.apache.org/jira/browse/SLING/fixforversion/12314252 Staging repository:

Re: svn commit: r987533 - /sling/trunk/launchpad/base/src/main/java/org/apache/sling/launchpad/base/impl/Sling.java

2010-08-20 Thread Justin Edelson
ooh. good idea. On 8/20/10 11:00 AM, fmesc...@apache.org wrote: Author: fmeschbe Date: Fri Aug 20 15:00:05 2010 New Revision: 987533 URL: http://svn.apache.org/viewvc?rev=987533view=rev Log: SLING-1611 Add attributes of Platform MBeanServer delegate to the service registration of the

Re: Sling 6 Release Plan

2010-08-20 Thread Justin Edelson
On 8/20/10 11:42 AM, Felix Meschberger wrote: Hi, On 20.08.2010 16:35, Justin Edelson wrote: I can take JCR (which I'll probably split into two), Misc and possibly Launchpad, although I'd prefer to push the Launchpad releases as late as possible to see if we can do this installer/config

Re: [VOTE] Release Apache Sling Web Console Branding 1.0.0 and Apache Sling Web Console Security Provider 1.0.0

2010-08-23 Thread Justin Edelson
+1 to both. On 8/21/10 4:56 PM, Felix Meschberger wrote: Hi, Here are the Apache Sling Web Console Branding 1.0.0 and Apache Sling Web Console Security Provider 1.0.0 releases. For the Web Console Branding we fixed 3 issues:

Re: [DISCUSS] Correct listing of resource children (follow up to SLING-1672)

2010-08-23 Thread Justin Edelson
Case 1 should be working in trunk now. What's the Sling-Bundle-Resources header look like? In terms of case 2, if this was to be implemented, I don't think it should be up to the ResourceProvider implementation to create the SyntheticResource. If a ResourceProvider has a root of /foo/bar, then it

Re: fixed the last (for me at least) failing installer test

2010-08-23 Thread Justin Edelson
On 8/23/10 2:20 PM, Carsten Ziegeler wrote: Justin Edelson wrote I fixed the two failing test in JCR Installer. As mentioned last week, one failure (FolderDetectionTest.testMoveLibsToFoo) was caused by a Jackrabbit bug, for which I implemented a workaround. Great, thanks Justin! np

can someone tell Adobe we're already using Launchpad :)

2010-08-23 Thread Justin Edelson
http://gregsramblings.com/2010/08/23/air-launchpad/

Re: [DISCUSS] Correct listing of resource children (follow up to SLING-1672)

2010-08-23 Thread Justin Edelson
, but in case of listChildren on any path/node/resource we could consult all resource providers (which correspond to/include this path) and concat all children. Hence we might even end up with same-named-siblings coming from different resource providers -Original Message- From: Justin

Re: [VOTE] Release Apache Sling Auth Core 1.0.0, Auth Form 1.0.0, Auth OpenID 1.0.0, Auth Selector 1.0.0

2010-08-23 Thread Justin Edelson
-1 I just found a bug in Auth Core (SLING-1686). Felix - how do you feel about restaging the release? On 8/23/10 2:49 PM, Felix Meschberger wrote: +1 Regards Felix On 23.08.2010 20:48, Felix Meschberger wrote: Hi, Here are the 1.0.0 releases of the Apache Sling Auth Core, Auth Form,

Re: [VOTE] Release Apache Sling Auth Core 1.0.0, Auth Form 1.0.0, Auth OpenID 1.0.0, Auth Selector 1.0.0

2010-08-23 Thread Justin Edelson
On 8/23/10 5:27 PM, Felix Meschberger wrote: Hi, On 23.08.2010 23:14, Justin Edelson wrote: -1 I just found a bug in Auth Core (SLING-1686). I feared something like this could happen ... :-( My bad for not checking this when I initially implemented AuthInfoPostProcessors. Felix

Re: osgi.installer integration tests are hanging

2010-08-25 Thread Justin Edelson
On 8/25/10 9:04 AM, Carsten Ziegeler wrote: Mike Müller wrote Hi With the newest trunk the osgi.installer integration tests are hanging, without displaying an error. Strange - it works for me without any problems. ditto Are you doing a full reactor build? Carsten best regards

Re: osgi.installer integration tests are hanging

2010-08-25 Thread Justin Edelson
On 8/25/10 9:56 AM, Felix Meschberger wrote: Hi Mike, Can you take a thread dump and see whether there is a deadlock ? I see you are using Windows. I know Carsten is on Mac OSX, I don't know about Justin. I'm on OSX too. So wild-guessing that this might be windows related ??? One thing

Re: [jira] Created: (SLING-1695) form auth should be able to set the auth cookie on a specific domain

2010-08-25 Thread Justin Edelson
;-) ). Regards Felix On 25.08.2010 15:11, Justin Edelson (JIRA) wrote: form auth should be able to set the auth cookie on a specific domain Key: SLING-1695 URL: https://issues.apache.org/jira

sling 6 releases visualization

2010-08-25 Thread Justin Edelson
I put this together to help visualize the releases leading up to Sling 6: https://cwiki.apache.org/confluence/download/attachments/2743/sling6-bundles-viz.pdf Red Boxes - modules with outstanding issues Green Boxes - modules with no outstanding issues Blue Boxes - modules up for vote White

Re: sling 6 releases visualization

2010-08-26 Thread Justin Edelson
feel guilty part) Thanks Ian On 25 Aug 2010, at 22:42, Justin Edelson wrote: I put this together to help visualize the releases leading up to Sling 6: https://cwiki.apache.org/confluence/download/attachments/2743/sling6-bundles-viz.pdf Red Boxes - modules with outstanding issues Green

Re: Expose standard SlingPostOperations as services?

2010-08-26 Thread Justin Edelson
On Aug 26, 2010, at 12:42 PM, Alexander Klimetschek aklim...@day.com wrote: On Thu, Aug 26, 2010 at 18:38, Alexander Klimetschek aklim...@day.com wrote: On Thu, Aug 26, 2010 at 16:52, Felix Meschberger fmesc...@gmail.com wrote: You might also want to consider providing a SlingPostProcessor.

Re: [VOTE] Apache Sling Engine 2.1.0, Apache Sling Adapter 2.0.6, Apache Sling Settings 1.0.0

2010-08-27 Thread Justin Edelson
+1 On 8/27/10 4:38 AM, Felix Meschberger wrote: Hi, Here are the Apache Sling Engine 2.1.0, Apache Sling Adapter 2.0.6, and Apache Sling Settings 1.0.0 releases We have solved 36 issues for Sling Engine: https://issues.apache.org/jira/browse/SLING/fixforversion/12314287 We have solved

Re: [DISCUSS] WebDAV

2010-08-31 Thread Justin Edelson
I'm a day behind, but I'm +1 on this. It isn't quite clear to me or, I suspect, anyone else, but I imagine that this new WebDAV bundle may be where our JSONP implementation lives. IIUC, although JSONP will look very much like the existing GET/POST servlets, it won't be 100% the same, so we'll

Re: [DISCUSS] WebDAV

2010-08-31 Thread Justin Edelson
Felix- Could you take a look at the patch attached to SLING-1675. I'm not sure if that's necessary now or if it need to be further modified based on your changes in SLING-1672. Thanks, Justin On Mon, Aug 30, 2010 at 4:28 AM, Felix Meschberger fmesc...@gmail.com wrote: Hi, Yesterday I fixed

should jackrabbit-accessmanager really export org.apache.sling.jcr.jackrabbit.accessmanager.post?

2010-09-01 Thread Justin Edelson
This just looks odd to me. WDYT? Justin

outstanding Sling 6 issues

2010-09-01 Thread Justin Edelson
I updated the diagram attached to the Towards Sling 6 wiki page. I also moved some of the outstanding JCR Resource issues out of the next version. These issues still need to be resolved: JCR: * SLING-1548 - Move bundle event handing to Loader; Felix to apply his patch? (although it no longer

Re: Errors while building Sling from scratch

2010-09-01 Thread Justin Edelson
Has this been reported upstream (to Peter, I guess)? I agree that it appears harmless, but it annoying to say the least :) Justin On 9/1/10 1:36 AM, Felix Meschberger wrote: Hi, Yes, the messages are in fact harmless, but unfortunately probably not avoidable. The messages are caused by

Re: [jira] Resolved: (SLING-1705) Proactively set length of jcr:data property for nt:file node resources

2010-09-01 Thread Justin Edelson
On 8/31/10 2:28 AM, Felix Meschberger wrote: Hi, On 30.08.2010 18:03, Justin Edelson (JIRA) wrote: [ https://issues.apache.org/jira/browse/SLING-1705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson resolved SLING-1705

Re: outstanding Sling 6 issues

2010-09-02 Thread Justin Edelson
On 9/2/10 8:07 AM, Carsten Ziegeler wrote: Justin Edelson wrote Servlets * SLING-1069 - Servlets registered with default resource type responds to all extensions * SLING-892 - Allow servlets to be regsitered with extensions for all request methods While these two would be nice to have, I

Re: SlingPostServlet

2010-09-02 Thread Justin Edelson
Not quite - JSON gets posted as a form parameter. See http://sling.apache.org/site/manipulating-content-the-slingpostservlet-servletspost.html#ManipulatingContent-TheSlingPostServlet%2528servlets.post%2529-ImportingContentStructures You can also do something like this: form method=POST

Re: spring application in sling

2010-09-03 Thread Justin Edelson
If you wanted to use Spring DM's web extender, you could simply remove the Felix HttpService implementation and replace it with one of the implementations from SpringDM. I have not done this myself, but I believe it would work. Justin On 9/2/10 11:59 PM, Victor Taranenko wrote: Hi Ruben.

Re: The easiest way to access a resource without a request

2010-09-03 Thread Justin Edelson
To get a ResourceResolver without credentials (which is really what you need), you have to use ResourceResolverFactory.getAdministrativeResourceResolver(). Ideally, you would have support for a resourceUser which could be used to grant access only to certain resources. Look at how the scriptUser

Re: spring application in sling

2010-09-03 Thread Justin Edelson
framework. 2010/9/3 Justin Edelson justinedel...@gmail.com mailto:justinedel...@gmail.com If you wanted to use Spring DM's web extender, you could simply remove the Felix HttpService implementation and replace it with one of the implementations from SpringDM. I have not done

release servlets post 2.0.6?

2010-09-03 Thread Justin Edelson
Perhaps we should go ahead and release servlets post 2.0.6 now and then tackle SLING-1725 for 2.1.0. WDYT? Justin

Re: release servlets post 2.0.6?

2010-09-03 Thread Justin Edelson
On Fri, Sep 3, 2010 at 4:04 PM, Felix Meschberger fmesc...@gmail.com wrote: Hi, On 03.09.2010 20:39, Justin Edelson wrote: Perhaps we should go ahead and release servlets post 2.0.6 now and then tackle SLING-1725 for 2.1.0. WDYT? You are right. I rescheduled 1725 for 2.1.0. I wonder

Re: Can't prepare release...

2010-09-06 Thread Justin Edelson
AFAIK, your subversion credentials aren't taken from settings.xml; Maven just delegates everything to the Subversion command line client which has its own credentials cache. What subversion client do you use normally? Justin On Mon, Sep 6, 2010 at 7:01 AM, Mike Müller mike...@mysign.ch wrote:

Re: Can't prepare release...

2010-09-06 Thread Justin Edelson
are cached by SilkSVN... best regards mike -Original Message- From: justinedel...@gmail.com [mailto:justinedel...@gmail.com] On Behalf Of Justin Edelson Sent: Monday, September 06, 2010 3:36 PM To: dev@sling.apache.org Subject: Re: Can't prepare release... AFAIK, your subversion

Re: [OT] Re: Can't prepare release...

2010-09-06 Thread Justin Edelson
On 9/6/10 10:40 AM, Felix Meschberger wrote: Hi, On 06.09.2010 16:25, Justin Edelson wrote: I'm not sure why they wouldn't be cached in the first place. SilkSVN is just a Windows distribution of the Subversion binaries, right? I've seen weird things with SVNKit-based clients where

Re: [SLING-1729] Use of SecureRandom

2010-09-06 Thread Justin Edelson
How about adding a log message on component activation (if fast seeding is off) which says something like The generation of securely random numbers on some operating systems can take up to several minutes depending upon environment factors. If this is a problem for you, set the system property

[VOTE] Release Apache Sling JCR API, JCR Base, JCR Content Loader, and Jackrabbit Server 2.1.0

2010-09-06 Thread Justin Edelson
Hi, We solved a total of 33 issues in these releases: JCR API - 1 issue: https://issues.apache.org/jira/browse/SLING/fixforversion/12314564 JCR Base - 6 issues: https://issues.apache.org/jira/browse/SLING/fixforversion/12314768 JCR Content Loader - 16 issues:

Re: [DISCUSS] ResourceResolver with multiple resource providers bound to the same path?

2010-09-06 Thread Justin Edelson
And all of the SLING-1672-related changes should only impact listChildren(), not individual resource resolution. So the use of the file system provider to shadow resources from JCR should remain unchanged. Justin On Sep 6, 2010, at 6:29 PM, Eric Norman eric.d.nor...@gmail.com wrote: Hi

Re: [DISCUSS] Registering filters with Sling

2010-09-07 Thread Justin Edelson
+1 On 9/7/10 9:49 AM, Felix Meschberger wrote: Hi all, Traditionally javax.servlet.Filter services were picked up by the Sling Main Servlet and used as filters regardless of any service registration properties. The filter.scope property could optionally be used to define a scope for the

CMIS

2010-09-07 Thread Justin Edelson
Has anyone looked at adding CMIS support to Sling? CMIS hasn't held a lot of interest for me, but it might be a good compliment to our array of integration options. I thought there was a CMIS-JCR wrapper in the Jackrabbit source tree, but I can't find it now. WDYT? Justin

Re: adding a subnode to a resource/node which has a dot('.') in its name does not work

2010-09-09 Thread Justin Edelson
On 9/9/10 9:33 AM, Clemens Wyss wrote: Coming back to my permission question: is there no way (no need) to determine whether a given nodetype allows adding subnodes? You can get the NodeType from NodeTypeManager and call getChildNodeDefinitions(). Take a look at the jcr.webconsole module; it

Re: integration tests

2010-09-09 Thread Justin Edelson
I _was_ seeing this until about a week ago, but it was slightly different... a full reactor build would fail, but mvn clean install in launchpad/testing would always pass. Since about a week ago (sorry, don't know the revision), both have passed pretty consistently. Running a build now...

Re: adding a subnode to a resource/node which has a dot('.') in its name does not work

2010-09-09 Thread Justin Edelson
On 9/9/10 10:28 AM, Clemens Wyss wrote: there is also the NodeType#canAddChildNode(java.lang.String childNodeName) method. So, shouldn't/couldn't it be: if ( node.getPrimaryNodeType(). canAddChildNode(hello)) { for(NodeType mixin: node.getMixinNodeTypes()) { if

Re: integration tests

2010-09-09 Thread Justin Edelson
On 9/9/10 2:21 PM, Felix Meschberger wrote: Hi, On 09.09.2010 19:56, Justin Edelson wrote: My full-reactor build failure problem is back and it seems to be related to the state of the sling directory in the root of the source tree. $ rm -rf sling $ mvn clean install consistently works

Re: [DISCUSS] Handling of expired form authentication cookies

2010-09-09 Thread Justin Edelson
On 9/9/10 10:59 AM, Felix Meschberger wrote: Hi, On 09.09.2010 15:41, Felix Meschberger wrote: Since most (if not all) Ajax frameworks (at least JQuery and ExtJS do) send an X-Requested-With set to XMLHttpRequest we could make use of this as follows: if (cookie is expired) { if

[RESULT] [VOTE] Release Apache Sling JCR API, JCR Base, JCR Content Loader, and Jackrabbit Server 2.1.0

2010-09-09 Thread Justin Edelson
Hi, The vote has passed with the following result : +1 (binding): Ian Boston, Carsten Ziegeler, Felix Meschberger, Vidar Ramdal, Eric Norman, Justin Edelson +1 (non binding): Victor Taranenko, Mike Muller I will copy this release to the Sling dist directory and promote the artifacts

[ANN] Apache Sling JCR API 2.1.0, JCR Base 2.1.0, JCR Content Loader 2.1.0 and JCR Jackrabbit Server 2.1.0 Released

2010-09-10 Thread Justin Edelson
The Apache Sling team is pleased to announce the release of Apache Sling JCR API 2.1.0, Apache Sling JCR Base 2.1.0, Apache Sling JCR Content Loader 2.1.0 and Apache Sling JCR Jackrabbit Server 2.1.0. Collectively, these modules represent the core OSGi bundles providing support for JCR

Re: [ANN] Apache Sling JCR API 2.1.0, JCR Base 2.1.0, JCR Content Loader 2.1.0 and JCR Jackrabbit Server 2.1.0 Released

2010-09-10 Thread Justin Edelson
Good point. I'll update our release documentation to make this clear. Thanks, Justin On 9/10/10 12:00 PM, sebb wrote: What is Sling? It would be helpful to include a short description of Sling in any Announce messages. On 10 September 2010 14:28, Justin Edelson jus...@apache.org wrote

Re: svn commit: r995891 - /sling/trunk/launchpad/builder/src/main/bundles/list.xml

2010-09-13 Thread Justin Edelson
On 9/13/10 5:43 AM, Felix Meschberger wrote: Hi, Am 10.09.2010 19:36, schrieb jus...@apache.org: Author: justin Date: Fri Sep 10 17:36:40 2010 New Revision: 995891 URL: http://svn.apache.org/viewvc?rev=995891view=rev Log: SLING-1730 - adding jquery explorer to launchpad bundle list.

Re: [jira] Resolved: (SLING-1752) post-login redirect doesn't include context path

2010-09-13 Thread Justin Edelson
Key: SLING-1752 URL: https://issues.apache.org/jira/browse/SLING-1752 Project: Sling Issue Type: Bug Components: Authentication Reporter: Justin Edelson Assignee: Felix Meschberger

Re: Authentication/Authorization and jackrabbit.usermanager functionality

2010-09-13 Thread Justin Edelson
Oh... I get it. There's no ACL on the user and group nodes in the security workspace. But trying to apply an ACL to / or /rep:security returns an exception $ curl-FprincipalId=anonymous -fprivil...@jcr:all=denied

Re: [jira] Created: (SLING-1770) ResourceUtil.getParent(String) doesn't handle paths with workspace prefixes

2010-09-14 Thread Justin Edelson
On Sep 14, 2010, at 2:28 AM, Felix Meschberger fmesc...@gmail.com wrote: Hi, Am 13.09.2010 21:20, schrieb Justin Edelson (JIRA): ResourceUtil.getParent(String) doesn't handle paths with workspace prefixes

Re: Authentication/Authorization and jackrabbit.usermanager functionality

2010-09-14 Thread Justin Edelson
nodes, so you cant use a policy on a node. We did [1] for the securty workspace. 1 http://github.com/sakaiproject/nakamura/blob/master/bundles/server/src/main/java/org/apache/jackrabbit/core/security/user/DelegatedUserAccessControlProvider.java On 14 Sep 2010, at 05:34, Justin Edelson

Re: SLING-1741

2010-09-14 Thread Justin Edelson
...ping... On Thu, Sep 9, 2010 at 10:12 PM, Justin Edelson justinedel...@gmail.com wrote: I put up a proposed patch for SLING-1741 at http://codereview.appspot.com/2144046 This didn't seem to break any integration tests, but I also commented out the whole cutting off the selector/suffix part

Re: Authentication/Authorization and jackrabbit.usermanager functionality

2010-09-15 Thread Justin Edelson
On 9/15/10 4:36 PM, Ian Boston wrote: On 15 Sep 2010, at 05:01, Justin Edelson wrote: FYI - Created JCR-2748 and submitted a patch to provide a simple way to disable anonymous access to the security workspace. Ian - have you looked at turning the Sakai server bundle into a fragment

Re: SLING-1780 - please re-test the check_staged_release.sh script on your platforms

2010-09-16 Thread Justin Edelson
Fails for me: /tmp/sling-staging/039/Sonatype-content.css?1.7.1 gpg: md5 : BAD!! : not equal to 3f8dbd531e30872d5ff79d00ddace3bd sha1 : BAD!! : not equal to 4ceff0a69b18dafd5ea1fb9b7a534472594e41c8 OS X 10.6.4 On 9/16/10 12:22 PM, Bertrand Delacretaz wrote: Hi, Could people who use

Re: svn commit: r997904 - in /sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/helper: jcr/JcrNodeResource.java starresource/StarResource.java

2010-09-16 Thread Justin Edelson
OK. I reverted and added a comment. Justin On 9/16/10 4:20 PM, Felix Meschberger wrote: Hi Justin, These have been done like this by intent: The constant is set during object creation as a special value to indicate that the super type has not be calculated yet. As such it is kind of a

Re: Welcome Clemens Wyss

2010-09-17 Thread Justin Edelson
Welcome aboard Clemens. If I haven't said so already, the Explorer looks great and I'm sure is only going to get better. On 9/17/10 2:34 AM, Felix Meschberger wrote: Hi all, I want to let you know that the Apache Sling PMC decided to invite Clemens Wyss as a committer to the Apache Sling

Re: Authentication Issue

2010-09-17 Thread Justin Edelson
At least in the WebDAV case, is there any way to use the Accepts header to help with making the decision as to how to respond? i.e. if Accepts contains text/html, return the login page. If it doesn't, return a 401. Perhaps this requires more testing of WebDAV clients than we can effectively do,

Re: What's our test coverage on the authentication stuff?

2010-09-20 Thread Justin Edelson
FWIW, the coverage is better than I thought - http://people.apache.org/~justin/coverage/ I'm trying to get back to integrating emma fully into our build. But before I get too far, does anyone know if we have access to a Clover license? Clover, IMHO, produces nicer looking reports. Justin On

Re: Authentication Issue

2010-09-20 Thread Justin Edelson
On 9/20/10 1:56 PM, Felix Meschberger wrote: Hi, Am 20.09.2010 17:16, schrieb Justin Edelson: Two comments: 1) As mentioned, I think we should use the Accepts header instead of specifically checking for the OPTIONS method and return a 401 response unless the Accepts header is included

Re: [jira] Updated: (SLING-1792) JSP Json Taglib

2010-09-21 Thread Justin Edelson
I think the 2nd option is best, assuming we're just talking about a simple patch submission. Perhaps we can also create a wiki page listing OSGi-friendly taglibs. If the library provider is uninterested in supporting OSGi, we can revisit. Justin On Sep 21, 2010, at 12:27 PM, Felix

Re: [VOTE] Release Installer Core 3.0.0, JCR Installer 3.0.0, and File Installer 1.0.0

2010-09-22 Thread Justin Edelson
+1 On 9/21/10 3:36 AM, Carsten Ziegeler wrote: Hi, I've renamed the installer stuff and retested it, so here is the new vote for a first release of Installer Core 3.0.0 JCR Installer 3.0.0 File Installer 1.0.0 As the symbolic names have changed, we can safely release the stuff with

Re: Authentication Issue

2010-09-22 Thread Justin Edelson
Edelson: On 9/20/10 1:56 PM, Felix Meschberger wrote: Hi, Am 20.09.2010 17:16, schrieb Justin Edelson: Two comments: 1) As mentioned, I think we should use the Accepts header instead of specifically checking for the OPTIONS method and return a 401 response unless the Accepts header is included

Re: Authentication Issue

2010-09-22 Thread Justin Edelson
BTW, for WebDAV clients, I tested on Ubuntu 10.04/Gnome VFS and OS X 10.6.4/Finder. On Wed, Sep 22, 2010 at 12:39 PM, Justin Edelson justinedel...@gmail.com wrote: I commented on the code inline, but to clarify here, what I was trying to suggest below is to ignore the request method and *only

Re: versioning support in POST servlet

2010-09-23 Thread Justin Edelson
/browse/SLING-1573 [2] https://issues.apache.org/jira/browse/SLING-1796 Am 14.06.2010 17:30, schrieb Justin Edelson: I'm starting to hack on the post servlet to get it to support JCR versioning. It is actually much simpler than I thought it would be. Which leads me to believe I'm missing something

Re: versioning support in POST servlet

2010-09-23 Thread Justin Edelson
the default to being no versioning at all (tracked with SLING-1796 [2]). Regards Felix [1] https://issues.apache.org/jira/browse/SLING-1573 [2] https://issues.apache.org/jira/browse/SLING-1796 Am 14.06.2010 17:30, schrieb Justin Edelson: I'm starting to hack on the post servlet to get

Re: svn commit: r1000496 - /sling/trunk/launchpad/integration-tests/pom.xml

2010-09-23 Thread Justin Edelson
It seems like we should change the default base URL in HttpTestBase. WDYT? On 9/23/10 11:24 AM, bdelacre...@apache.org wrote: Author: bdelacretaz Date: Thu Sep 23 15:24:45 2010 New Revision: 1000496 URL: http://svn.apache.org/viewvc?rev=1000496view=rev Log: default port changed to 8080

Re: [jira] Created: (SLING-1804) instead of packaging bundles in the standalone JAR or WAR, provision them at runtime from a Maven repository

2010-09-24 Thread Justin Edelson
PAX/OPS4J here ? Namely the stuff they did around URL Handlers ? An option besides Maven could also be OBR, of course. Regards Felix Am 24.09.2010 20:48, schrieb Justin Edelson (JIRA): instead of packaging bundles in the standalone JAR or WAR, provision them at runtime from a Maven

Re: [jira] Created: (SLING-1804) instead of packaging bundles in the standalone JAR or WAR, provision them at runtime from a Maven repository

2010-09-24 Thread Justin Edelson
protocol registration, you can only register the mvn protocol provided by PAX in a JVM once. This has the side effect of only being able to deploy 1 instance of an embedded Karaf WAR into another container once. -- Mike On Sep 24, 2010, at 2:02 PM, Justin Edelson wrote: Worth looking

Re: Filters before SlingMainServlet

2010-09-29 Thread Justin Edelson
I guess there's no reason we couldn't expose the HttpContext as an OSGi service, but it seems odd that this would be necessary. It isn't with Felix's HttpService implementation - the default HttpContext is used and the filter is still invoked. Are you binding by pattern or servlet name? Justin

Re: Filters before SlingMainServlet

2010-09-30 Thread Justin Edelson
On Thu, Sep 30, 2010 at 10:07 AM, Felix Meschberger fmesc...@gmail.com wrote: Hi, On 30.09.2010 15:43, Ian Boston wrote: On 30 Sep 2010, at 13:52, Felix Meschberger wrote: Hi, On 30.09.2010 13:16, Ian Boston wrote: On 30 Sep 2010, at 09:15, Felix Meschberger wrote: Ok, ( btw, thanks

Re: Filters before SlingMainServlet

2010-09-30 Thread Justin Edelson
On Thu, Sep 30, 2010 at 11:15 AM, Ian Boston i...@tfd.co.uk wrote: On 30 Sep 2010, at 15:59, Justin Edelson wrote: http://codereview.appspot.com/2333042 This looks like an elegant solution to me (ok, I am biased because it just reuses my own stuff ;-) ). +1 Thanks Regards Felix

Re: Filters before SlingMainServlet

2010-10-02 Thread Justin Edelson
On Oct 2, 2010, at 5:31 AM, Ian Boston i...@tfd.co.uk wrote: On 30 Sep 2010, at 09:15, Felix Meschberger wrote: I dont know if its my machine or the way of testing but at the moment I can only get a max of 600 request per seconds on a json properties GET, flat regardless of

Re: [VOTE] Release Sling Servlets Resolver 2.1.0, Servlets GET 2.1.0, Servlets POST 2.1.0

2010-10-04 Thread Justin Edelson
+1 On 10/3/10 2:48 PM, Felix Meschberger wrote: Hi, I hereby start the vote for the release of the Servlet support bundles: Sling Servlets Resolver 2.1.0, Sling Servlets GET 2.1.0, and Sling Servlets POST 2.1.0. All bundles include some kind of extended functionalities besides a number of

Re: Tests failing because of SLING-1817

2010-10-04 Thread Justin Edelson
Take a look at what Felix did in r1003926. On 10/4/10 4:15 PM, Mike Müller wrote: Hi After switching HTTP Basic Authentication completely off (SLING-1817) Tests now seem to fail. What ist he easiest way to turn on Basic Auth only for the tests? best regards mike

Re: svn commit: r1004345 - /sling/trunk/bundles/auth/core/src/main/java/org/apache/sling/auth/core/impl/SlingAuthenticator.java

2010-10-04 Thread Justin Edelson
I think we should put this change up for a vote. It is a major backwards compatibility issue and basically means that every tutorial everyone has ever written about how to use Sling with curl will no longer work OOTB, e.g. http://sling.apache.org/site/discover-sling-in-15-minutes.html Justin On

Re: [DISCUSS] switching off Basic Auth as default?

2010-10-05 Thread Justin Edelson
On 10/5/10 4:44 AM, Mike Müller wrote: Hi As of the discussion in [1] I like to start a new discussion about whether to disable or enable Basic Auth per default. The initial reason to disable it, were the problems appeared in the Sling Explorer after logging in under /system/console with

Re: svn commit: r1003926 - /sling/trunk/launchpad/integration-tests/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/servlets/post/PostServletVersionableTest.java

2010-10-05 Thread Justin Edelson
Just committed r1004649 which uses the :autoCheckout parameter instead of setting the default value via ConfigAdmin. I think we probably need some better ConfigAdmin integration with our tests, but in this context it seems like overkill. Justin On 10/5/10 9:16 AM, Felix Meschberger wrote: Hi,

Re: [DISCUSS] switching off Basic Auth as default?

2010-10-06 Thread Justin Edelson
On Oct 6, 2010, at 12:17 PM, Mike Müller mike...@mysign.ch wrote: -Original Message- From: Felix Meschberger [mailto:fmesc...@gmail.com] Sent: Wednesday, October 06, 2010 6:10 PM To: dev@sling.apache.org Subject: Re: [DISCUSS] switching off Basic Auth as default? Hi, On

  1   2   3   4   5   6   7   8   9   10   >