Re: Apache Felix Logback vs Sling Commons Log

2018-07-12 Thread Chetan Mehrotra
Felix Logback currently supports configuring via logback.xml config file and if logging needs to be changed then that file would need to be modified. Compared to that Sling Commons Logback [1] support some more features and enables configuring appenders via OSGi config and has a good Web Console

Re: Limited search and find a file after git repo split

2018-07-12 Thread Chetan Mehrotra
At times I have used sourcegraph to search across repos like https://sourcegraph.com/search?q=repo:%5Egithub%5C.com/apache/sling-*++file:pom.xml. It seems to pickup most of the repo matching given pattern Chetan Mehrotra On Wed, Jul 11, 2018 at 3:10 AM, Alexander Klimetschek wrote: > Thanks! >

[jira] [Updated] (SLING-7778) race-condition in scheduled job creation might keep scheduled job in-memory, and cause a duplicate scheduled job execution

2018-07-12 Thread Stefan Egli (JIRA)
[ https://issues.apache.org/jira/browse/SLING-7778?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Egli updated SLING-7778: --- Description: The creation of a scheduled job is handled in

[jira] [Updated] (SLING-7778) race-condition in scheduled job creation might keep scheduled job in-memory, and cause a duplicate scheduled job execution

2018-07-12 Thread Stefan Egli (JIRA)
[ https://issues.apache.org/jira/browse/SLING-7778?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Egli updated SLING-7778: --- Description: The creation of a scheduled job is handled in

[jira] [Updated] (SLING-7778) race-condition in scheduled job creation might keep scheduled job in-memory, and cause a duplicate scheduled job execution

2018-07-12 Thread Stefan Egli (JIRA)
[ https://issues.apache.org/jira/browse/SLING-7778?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Egli updated SLING-7778: --- Description: The creation of a scheduled job is handled in

[jira] [Updated] (SLING-7778) race-condition in scheduled job creation might keep scheduled job in-memory, and cause a duplicate scheduled job execution

2018-07-12 Thread Stefan Egli (JIRA)
[ https://issues.apache.org/jira/browse/SLING-7778?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Egli updated SLING-7778: --- Fix Version/s: Event 4.2.12 > race-condition in scheduled job creation might keep scheduled job

[jira] [Created] (SLING-7778) race-condition in scheduled job creation might keep scheduled job in-memory

2018-07-12 Thread Stefan Egli (JIRA)
Stefan Egli created SLING-7778: -- Summary: race-condition in scheduled job creation might keep scheduled job in-memory Key: SLING-7778 URL: https://issues.apache.org/jira/browse/SLING-7778 Project: Sling

[jira] [Updated] (SLING-7778) race-condition in scheduled job creation might keep scheduled job in-memory, and cause a duplicate scheduled job execution

2018-07-12 Thread Stefan Egli (JIRA)
[ https://issues.apache.org/jira/browse/SLING-7778?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Egli updated SLING-7778: --- Summary: race-condition in scheduled job creation might keep scheduled job in-memory, and cause a

[jira] [Created] (SLING-7777) XSSFilter is rejecting URLs containing only queries or fragments

2018-07-12 Thread Lars Krapf (JIRA)
Lars Krapf created SLING-: - Summary: XSSFilter is rejecting URLs containing only queries or fragments Key: SLING- URL: https://issues.apache.org/jira/browse/SLING- Project: Sling

[jira] [Resolved] (SLING-7759) add other "patterns" than path for filters

2018-07-12 Thread Nicolas Peltier (JIRA)
[ https://issues.apache.org/jira/browse/SLING-7759?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nicolas Peltier resolved SLING-7759. Resolution: Fixed issue is resolved in engine and annotations. IT around annotation can

[jira] [Commented] (SLING-7759) add other "patterns" than path for filters

2018-07-12 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/SLING-7759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16541514#comment-16541514 ] ASF GitHub Bot commented on SLING-7759: --- npeltier closed pull request #1: SLING-7759 add new

[GitHub] npeltier closed pull request #1: SLING-7759 add new patterns to filter annotation

2018-07-12 Thread GitBox
npeltier closed pull request #1: SLING-7759 add new patterns to filter annotation URL: https://github.com/apache/sling-org-apache-sling-servlets-annotations/pull/1 This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the

[jira] [Commented] (SLING-7759) add other "patterns" than path for filters

2018-07-12 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/SLING-7759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16541506#comment-16541506 ] ASF GitHub Bot commented on SLING-7759: --- kwin commented on issue #1: SLING-7759 add new patterns to

[GitHub] kwin commented on issue #1: SLING-7759 add new patterns to filter annotation

2018-07-12 Thread GitBox
kwin commented on issue #1: SLING-7759 add new patterns to filter annotation URL: https://github.com/apache/sling-org-apache-sling-servlets-annotations/pull/1#issuecomment-404484048 Looks good to me now, thanks! This is an

[jira] [Commented] (SLING-7759) add other "patterns" than path for filters

2018-07-12 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/SLING-7759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16541483#comment-16541483 ] ASF GitHub Bot commented on SLING-7759: --- npeltier commented on issue #1: SLING-7759 add new

[GitHub] npeltier commented on issue #1: SLING-7759 add new patterns to filter annotation

2018-07-12 Thread GitBox
npeltier commented on issue #1: SLING-7759 add new patterns to filter annotation URL: https://github.com/apache/sling-org-apache-sling-servlets-annotations/pull/1#issuecomment-404478357 @kwin are we good? This is an

[jira] [Created] (SLING-7776) Upgrade to latest jbake version

2018-07-12 Thread Konrad Windszus (JIRA)
Konrad Windszus created SLING-7776: -- Summary: Upgrade to latest jbake version Key: SLING-7776 URL: https://issues.apache.org/jira/browse/SLING-7776 Project: Sling Issue Type: Improvement

Re: Where is OSGi Configuration read Sling JCR?

2018-07-12 Thread Bertrand Delacretaz
Hi, On Mon, Jul 9, 2018 at 4:35 PM Andreas Schaefer wrote: > ...I was wondering if anyone know where any OSGi configuration is read from > the JCR tree (*.config, *.xml files)?... The "Configuration and Scanning" section at

[jira] [Closed] (SLING-7766) Optimise the way the AntiSamy configuration is read

2018-07-12 Thread Robert Munteanu (JIRA)
[ https://issues.apache.org/jira/browse/SLING-7766?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Munteanu closed SLING-7766. -- > Optimise the way the AntiSamy configuration is read >

[jira] [Closed] (SLING-7771) org.apache.sling.xss.impl.XSSFilterImpl#isValidHref can throw exceptions for illegal hex escape sequences

2018-07-12 Thread Robert Munteanu (JIRA)
[ https://issues.apache.org/jira/browse/SLING-7771?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Munteanu closed SLING-7771. -- > org.apache.sling.xss.impl.XSSFilterImpl#isValidHref can throw exceptions for > illegal hex

[jira] [Closed] (SLING-7770) URLs ending in "/" get filtered by AntiSamy

2018-07-12 Thread Robert Munteanu (JIRA)
[ https://issues.apache.org/jira/browse/SLING-7770?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Munteanu closed SLING-7770. -- > URLs ending in "/" get filtered by AntiSamy > --- > >

[RESULT] [VOTE] Release XSS Protection API 2.0.10

2018-07-12 Thread Robert Munteanu
Hi, Radu has asked me to perform the final steps of the release, so here goes. The vote has passed with the following result : +1 (binding): Stefan Seifert, Daniel Klco, Radu Cotescu I will copy this release to the Sling dist directory and promote the artifacts to the central Maven repository.

[jira] [Commented] (SLING-7768) Allow Placeholders in /etc/map

2018-07-12 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-7768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16541337#comment-16541337 ] Bertrand Delacretaz commented on SLING-7768: As mentioned on our dev list I think "string

Re: [Dev][GSoc] How to create a user without password using Jackrabbit API

2018-07-12 Thread Robert Munteanu
On Thu, 2018-07-12 at 13:53 +0530, Hasini Witharana wrote: > Hi all, > > I tried the below curl command to create a user. > > curl -F:name=myuser -Fpwd=password -FpwdConfirm=password > -Fanyproperty1=value1 \ > http://localhost:8080/system/userManager/user.create.html > > I got an error

Re: [Dev][GSoc] How to create a user without password using Jackrabbit API

2018-07-12 Thread Hasini Witharana
Hi all, I tried the below curl command to create a user. curl -F:name=myuser -Fpwd=password -FpwdConfirm=password -Fanyproperty1=value1 \ http://localhost:8080/system/userManager/user.create.html I got an error saying "javax.jcr.RepositoryException: Sorry, registration of new users is not

Re: /etc/map with Placeholders for farms / dev stack

2018-07-12 Thread Bertrand Delacretaz
Hi, On Mon, Jul 9, 2018 at 4:18 PM Andreas Schaefer wrote: > ...Ruben and I think it could be helpful to make the Placeholder Provider > more generic... I agree with that and I think "string interpolation" is a better name than "placeholder" which is quite generic - as per