Re: Custom error handling scripts that consider the request file extension?

2018-08-13 Thread Bertrand Delacretaz
Hi, On Thu, Aug 9, 2018 at 10:01 PM Eric Norman wrote: > ...Basically I would like to have the client get JSON back when something goes > wrong instead of html that won't parse as JSON. > > If no one disagrees, I can open a bug report and provide the proposed > changes to org.apache.sling.servlet

Sling10 WEB-INF\resources\bundles\ vs WEB-INF\resources\install\

2018-08-13 Thread Manikanta Thumu
Hi All, In org.apache.sling.starter-10-webapp.war, We have two separate folders containing bundles i.e. WEB-INF\resources\bundles\ and WEB-INF\resources\install. What is the idea behind or the advantages of using these two separate folders and not a single folder say WEB-INF\resources\bundles\

Re: [DISCUSSION] markdown support for Sling CMS

2018-08-13 Thread Robert Munteanu
Hi Dan, On Thu, 2018-08-09 at 14:06 -0400, Daniel Klco wrote: > Unfortunately, I'm not going to be at adapt.to :-( wrong side of the > pond. > > So for commonmark, I'm assuming you're referring to this one here: > > https://github.com/atlassian/commonmark-java > > We could embed the JAR into a

Re: Detecting whether job has been stopped by the user but JobExecutor hasn't terminated yet?

2018-08-13 Thread Robert Munteanu
Hi John, You replied to Eugen's previous email which caused the email to appear in the same thread, and likely ignored by at least some subscribers. I don't have a good answer for your email, but maybe resending without replying to an existing email might help :-) Best, Robert On Fri, 2018-08-

Re: sling + oak mongo - error during logout

2018-08-13 Thread Robert Munteanu
Hi Eugen, On Mon, 2018-08-13 at 05:39 +0300, Eugen Stan wrote: > Hello again, > > So it seems I was wrong and I can authenticate and write to the > repository. > > However the error still appears and I think the issue is a > performance one. > > I get "Error during logout" messages. I'm still n

Re: Sling10 WEB-INF\resources\bundles\ vs WEB-INF\resources\install\

2018-08-13 Thread Robert Munteanu
Hi Manikanta, On Mon, 2018-08-13 at 17:21 +0530, Manikanta Thumu wrote: > Hi All, > > > > In org.apache.sling.starter-10-webapp.war, We have two separate > folders > containing bundles i.e. WEB-INF\resources\bundles\ and > WEB-INF\resources\install. > > What is the idea behind or the advantag

Pre-authenticated login from Sling to Oak

2018-08-13 Thread Dmitry Telegin
Hi, As per the document [1], to pre-authenticate a user in the Sling tier, one needs to do the following: > 1. verify the identity in the layer on top of the JCR repository (e.g. in a > custom Sling Authentication Handler) > 2. pass a custom, non-public Credentials implementation to the reposi