Re: [VOTE] Release Apache Sling Servlets Post version 2.3.26

2018-05-21 Thread Robert Munteanu
On Thu, 2018-05-17 at 22:05 -0700, Daniel Klco wrote: > Please vote to approve this release: +1 Robert signature.asc Description: This is a digitally signed message part

Re: [VOTE] Release Apache Sling Form Based Authentication 1.0.6, Starter Content 1.0.0 and Starter Startup 1.0.10

2018-05-21 Thread Robert Munteanu
On Thu, 2018-05-17 at 20:50 -0700, Daniel Klco wrote: > Please vote to approve this release: +1 Robert signature.asc Description: This is a digitally signed message part

Re: [VOTE] Release Apache Sling Scripting JSP Taglib 2.3.0

2018-05-21 Thread Robert Munteanu
On Thu, 2018-05-17 at 21:49 -0700, Daniel Klco wrote: > Please vote to approve this release: +1 Robert signature.asc Description: This is a digitally signed message part

Re: [sling-site] branch master updated: Re-adding launchpad content since though it's deprecated, it still may need to be available to download

2018-05-23 Thread Robert Munteanu
Hi Dan, On Tue, 2018-05-22 at 17:01 +, dk...@apache.org wrote: > commit d94aef441bf10e047f5af0038538e0dde1c92082 > Author: Dan Klco > AuthorDate: Tue May 22 13:00:59 2018 -0400 > > Re-adding launchpad content since though it's deprecated, it > still may need to be available to download

Re: [proposal][scripting console] http API for terminal usage

2018-05-23 Thread Robert Munteanu
On Wed, 2018-05-23 at 11:46 +0200, Nicolas Peltier wrote: > What i'm unclear now is wether we should go the route of a provider > for > scripting in general, or "just" pipe (which is my direct interest), > so > something like a command where first argument specify a context, > second is > the actua

Re: deprecated bundles

2018-05-23 Thread Robert Munteanu
On Tue, 2018-05-22 at 12:44 -0400, Jason E Bailey wrote: > I'd like to go ahead and separate them out into a deprecated section > if people are cool with that. +1 Robert

Re: [sling-site] branch master updated: Re-adding launchpad content since though it's deprecated, it still may need to be available to download

2018-05-23 Thread Robert Munteanu
On Wed, 2018-05-23 at 15:57 +0200, Bertrand Delacretaz wrote: > On Wed, May 23, 2018 at 9:34 AM, Robert Munteanu > wrote: > > ...That's a very good idea. Would it make sense to add > > "(Deprecated)" or > > "(replaced by ...)" next to this entr

Re: [sling-site] branch master updated: Re-adding launchpad content since though it's deprecated, it still may need to be available to download

2018-05-23 Thread Robert Munteanu
On Wed, 2018-05-23 at 10:19 -0400, Daniel Klco wrote: > How does this look for a deprecation list on the downloads page: > > https://imgur.com/a/dYxXKp7 +1 > Does deprecated seem like the right term? Or obsolete? Deprecated works for me. Robert

June board report draft

2018-05-25 Thread Robert Munteanu
Hi, Please find the draft board report below. I will update it later on if we get additional info items until the report is due. Comments welcome. Thanks, Robert ## Description: Apache Sling™ is a framework for RESTful web-applications based on an extensible content tree. ## Issues: The

Re: [VOTE] Release Apache Sling JCR ContentLoader 2.2.6

2018-05-30 Thread Robert Munteanu
Hi, On Sun, 2018-05-27 at 09:10 +0200, Julian Reschke wrote: > FWIW, > lob/master/pom.xml> > shows a few ancient (or even end-of-lifed) Jackrabbit dependencies. > > I would recommend to update to the latest stable release a

Re: [Dev] Sling Bundle Installation

2018-05-30 Thread Robert Munteanu
Hi Hasini, On Wed, 2018-05-30 at 09:30 +0530, Hasini Witharana wrote: > Hi all, > > I installed a new bundle using the command " mvn clean install > sling:install". After that I checked the bundle in " > http://localhost:8080/system/console/status-Bundles"; and bundle is > active. > But when I se

Re: [DISCUSSION] Sling CMS Repo(s)

2018-05-30 Thread Robert Munteanu
Hi Dan, On Fri, 2018-05-25 at 10:46 -0400, Daniel Klco wrote: > Hey All, > > I've wrapped up all of the things I wanted to fix before releasing > the > first version of the Sling CMS Sample app. Awesome! Having a good reference app will be quite useful. > > I'm thinking of creating two reposit

Re: moving streams from whiteboard

2018-05-30 Thread Robert Munteanu
On Tue, 2018-05-29 at 11:47 -0400, Jason E Bailey wrote: > @PMC folk, what do I need to get these set up as it's own repo? Decide on what you want the Bundle-SymbolicName/artifactId to be and ask for opinions on that, according to [1]: "It is recommended to announce the intention on the mailing l

Re: moving streams from whiteboard

2018-05-30 Thread Robert Munteanu
On Tue, 2018-05-29 at 17:53 -0400, Jason E Bailey wrote: > IMHO the ResourceStream should be in one of the core packages. Does that mean inclusion in the Sling Starter app? That should definitely be OK. We don't have strict inclusion criteria for the starter but we can start now :-) with: - an o

Re: [VOTE] Release Apache Sling JCR ContentLoader 2.2.6

2018-05-30 Thread Robert Munteanu
On Wed, 2018-05-30 at 11:26 +0200, Julian Reschke wrote: > On 2018-05-30 09:31, Robert Munteanu wrote: > > Hi, > > > > On Sun, 2018-05-27 at 09:10 +0200, Julian Reschke wrote: > > > FWIW, > > > <https://github.com/apache/sling-org-apache-sling-jcr-conte

How can I remove artifacts from the feature model?

2018-05-30 Thread Robert Munteanu
Hi, I am trying to build a product with the feature model and what to remove certain artifacts (bundles) from it. I would like to make it a generic removal based on groupId and artifactId, without specifying the version. How can I do that using the feature model? Thanks, Robert

Re: How can I remove artifacts from the feature model?

2018-05-30 Thread Robert Munteanu
Hi David, On Wed, 2018-05-30 at 13:40 +0100, David Bosschaert wrote: > Hi Robert, > > It should be possible by creating a feature that is "including" > another > feature and specifies a number of removals. An example can be found > at [1]. > > Having said that, I haven't tried this myself yet, s

Re: [Dev] Sling Bundle Installation

2018-05-30 Thread Robert Munteanu
On Wed, 2018-05-30 at 18:16 +0530, Hasini Witharana wrote: > Hi Robert, > > Thank you for the help. I followed your steps and, now the endpoint > is > working. That's great to hear! Looking forward to the updated PR :-) Thanks, Robert

Re: moving streams from whiteboard

2018-05-30 Thread Robert Munteanu
On Wed, 2018-05-30 at 08:36 -0400, Jason E Bailey wrote: > I was actually implying that the ResourceStream class which is a > singular object file would fit best in the Sling Resource API like > Eugen suggested. It's a fundamental feature of Java 8 which would be > beneficial to a number of bundles

Re: How can I remove artifacts from the feature model?

2018-05-30 Thread Robert Munteanu
On Wed, 2018-05-30 at 16:50 +0200, Carsten Ziegeler wrote: > David Bosschaert wrote> Hi Robert,> > > > On 30 May 2018 at 14:25, Robert Munteanu > > wrote: > > > > > Hi David, > > > > > > On Wed, 2018-05-30 at 13:40 +0100, David Bosschaer

Re: [Dev] OSGI Bundle Error when using " Nimbus OAuth 2.0 SDK with OpenID Connect extensions" as a dependency

2018-05-31 Thread Robert Munteanu
Hi Hasini, On Thu, 2018-05-31 at 16:39 +0530, Hasini Witharana wrote: > > Unresolved requirements: [[org.apache.sling.auth.oidc.core [164](R > 164.28)] > > osgi.wiring.package; > > > (&(osgi.wiring.package=com.nimbusds.oauth2.sdk)(version>=5.61.0)(!(ve > rsion>=6.0.0)))] This comprehensive but cr

Re: [Dev] OSGI Bundle Error when using " Nimbus OAuth 2.0 SDK with OpenID Connect extensions" as a dependency

2018-05-31 Thread Robert Munteanu
On Fri, 2018-06-01 at 01:03 +0530, Hasini Witharana wrote: > Unresolved requirements: [[oauth2-oidc-sdk [166](R 166.0)] > osgi.wiring.package; > (&(osgi.wiring.package=com.nimbusds.jose)(version>=5.10.0)(!(version> > =6.0.0)))] > at This means that the bundle you just added to Sling ( oauth2-o

Re: Depending on SNAPSHOT parent pom

2018-06-02 Thread Robert Munteanu
On Sat, 2018-06-02 at 12:23 +0200, Carsten Ziegeler wrote: > Can't we simply release the parent pom? > > As this is not really an artifact which is used by our users, we > could > even do this with a quick vote (24h period). +1 Robert

Re: [Dev] OSGI Bundle Error when using " Nimbus OAuth 2.0 SDK with OpenID Connect extensions" as a dependency

2018-06-04 Thread Robert Munteanu
Glad to hear that. Now you can finally get to the fun stuff :-) Robert On Sun, 2018-06-03 at 00:55 +0530, Hasini Witharana wrote: > Hi Robert, > > This helped a lot. I deployed the bundle (oauth2-oidc-sdk) > successfully. > > Thank You. > > On Fri, Jun 1, 2018 at

Re: [VOTE] Release Apache Sling API version 3.0.0

2018-06-04 Thread Robert Munteanu
On Mon, 2018-06-04 at 08:48 -0400, Jason E Bailey wrote: > The major version change is from a release perspective. The only > change to the versioning which OSGi uses is > org.apache.sling.api.resource which went from 2.11 to 2.12 > > Ioan brought up the issue as part of the pull request that the

Re: [DISCUSSION][API][PROPOSAL] Adding Stream generator to Sling API

2018-06-04 Thread Robert Munteanu
Hi Jason, On Thu, 2018-05-31 at 10:39 -0400, Jason E Bailey wrote: > https://github.com/apache/sling-org-apache-sling-api/pull/4 > > I've created a pull request to add a new class to the Sling API > bundle that would allow you to create a Stream object which > traverses a resource tree. > > Addi

Re: [Dev][GSoC] How to expose a HTML page using a URL

2018-06-04 Thread Robert Munteanu
Hi Hasini, On Tue, 2018-06-05 at 01:06 +0530, Hasini Witharana wrote: > Hi all, > > I have a html login page ( > https://github.com/apache/sling-whiteboard/pull/14/files#diff-93a9b7f > d5defb2fca21e9f8dfc553e34). > I want to host this page in the URL "localhost:8080/auth/login". > > In the POM(

Re: [Dev][GSoC] Using a cache to store a string value

2018-06-06 Thread Robert Munteanu
On Wed, 2018-06-06 at 21:37 +0300, Ioan Eugen Stan wrote: > Hi, > > I think you should store it in memory. Use a hashmap or something. > > Make it work and then optimize. The check should be very fast so > don't worry about it. +1 Robert

Re: [Dev][GSoC] Using a cache to store a string value

2018-06-06 Thread Robert Munteanu
On Wed, 2018-06-06 at 13:17 -0700, Eric Norman wrote: > Keep in mind that an in memory cache wont work so well in a cluster > unless > you can guarantee sticky sessions from your load balancer. That's a good point. Hasini, can you make a note of that for improvements? But let's start simple firs

Re: Plan to release servlet annotations (https://issues.apache.org/jira/browse/SLING-7624)

2018-06-07 Thread Robert Munteanu
On Thu, 2018-06-07 at 08:36 +0200, Konrad Windszus wrote: > Since the discussion around the servlet annotations in https://issues > .apache.org/jira/browse/SLING-7624 owse/SLING-7624> settled a bit I would like to do a first release > soon. Please raise your voi

Re: [VOTE] Release Apache Sling Feature, Feature-IO, Feature-Analyser and Feature-ModelConverter 0.1.2

2018-06-07 Thread Robert Munteanu
On Tue, 2018-06-05 at 15:28 +0100, dav...@apache.org wrote: > Please vote to approve this release: +1 Robert signature.asc Description: This is a digitally signed message part

Re: [VOTE] Release Apache Slingstart Maven Plugin version 1.8.2

2018-06-12 Thread Robert Munteanu
On Fri, 2018-06-08 at 15:36 +0100, David Bosschaert wrote: > Please vote to approve this release: +1 Robert signature.asc Description: This is a digitally signed message part

Re: PAX Exam problems was - Re: [VOTE] Release Apache Sling JCR ContentLoader 2.2.6

2018-06-12 Thread Robert Munteanu
On Mon, 2018-06-11 at 09:23 -0400, Jason E Bailey wrote: > So I've ran into a wall on this. There seems to be a synchronicity > between the JCR api which is used as the basis for the build and the > JCR api used by PAX exam. I can't touch one without touching the > other and everything fails. It w

[VOTE] Release Apache Sling Thread Support 3.2.18

2018-06-13 Thread Robert Munteanu
Hi, We solved 2 issues in this release: https://issues.apache.org/jira/issues/?jql=project%20%3D%20SLING%20AND%20fixVersion%20%3D%20%22Commons%20Threads%203.2.18%22 Staging repository: https://repository.apache.org/content/repositories/orgapachesling-1914 You can use this UNIX script to download

Re: Sling Karaf PR's and aggregated repo suggestion

2018-06-14 Thread Robert Munteanu
Hi Eugen, On Thu, 2018-06-14 at 12:30 +0300, Ioan Eugen Stan wrote: > > My solution is to rely on git submodules and create an aggregator > repository/project that adds and manages the related projects. Have you seen https://github.com/apache/sling-aggregator ? Robert

Re: Sling Karaf PR's and aggregated repo suggestion

2018-06-18 Thread Robert Munteanu
On Thu, 2018-06-14 at 14:09 +0300, Ioan Eugen Stan wrote: > > Have you seen > > > > https://github.com/apache/sling-aggregator > Yes I saw it. It gives me the full sea of sling modules. It's a bit > easier for me to work on just Karaf with my approach. Once I get > accustomed more with Sling I ca

Re: [VOTE] Release Scripting HTL Compiler 1.0.22-1.4.0, Scripting HTL Java Compiler 1.0.24-1.4.0, Scripting HTL Engine 1.0.54-1.4.0, Scripting HTL Testing Content 1.0.10-1.4.0, Scripting HTL Testing 1

2018-06-19 Thread Robert Munteanu
On Tue, 2018-06-19 at 14:01 +0200, Radu Cotescu wrote: > Please vote to approve this release: +1 Robert signature.asc Description: This is a digitally signed message part

[RESULT] [VOTE] Release Apache Sling Thread Support 3.2.18

2018-06-19 Thread Robert Munteanu
Hi, The vote has passed with the following result : +1 (binding): Oliver Lietz, Konrand Windzus, Radu Cotescu, Daniel Klco +1 (non-binding): David Bosschaert I will copy this release to the Sling dist directory and promote the artifacts to the central Maven repository. Thanks for voting. Rober

Re: [VOTE] Release Apache Sling Servlet Annotations 1.0.0

2018-06-19 Thread Robert Munteanu
On Thu, 2018-06-14 at 18:03 +0200, Konrad Windszus wrote: > Please vote to approve this release: +1 Robert signature.asc Description: This is a digitally signed message part

Re: New "capabilities" module, feedback welcome

2018-06-20 Thread Robert Munteanu
Hi Bertrand, On Wed, 2018-06-20 at 15:38 +0200, Bertrand Delacretaz wrote: > Hi, > > I've been working on a (very simple) module to create a > "capabilities" > endpoint, where a Sling instance can let HTTP clients know about its > version levels, presence or absence of certain services etc. > >

Re: [Dev] Requesting browser cookie from Sling Servlets.

2018-06-22 Thread Robert Munteanu
Hi Hasini, On Thu, 2018-06-21 at 07:19 +0530, Hasini Witharana wrote: > I want to store the state value in a HashMap against an unique > parameter > such as browser cookie. Is there any implementation in Sling to take > the > browser cookie or what should I use instead of cookie? In a Sling Servl

Re: [Dev] Requesting browser cookie from Sling Servlets.

2018-06-22 Thread Robert Munteanu
On Thu, 2018-06-21 at 21:58 +0530, Hasini Witharana wrote: > Below diagram contains the OIDC flow. (snip) It seems your diagram references a missing image file. But let's do this 'inline' My understanding is that the flow (roughly) is the following 1. User access Apache Sling login page - the

Re: [Dev] Requesting browser cookie from Sling Servlets.

2018-06-22 Thread Robert Munteanu
On Fri, 2018-06-22 at 15:38 +0530, Hasini Witharana wrote: > Hi Robert, > > 1. User access Apache Sling login page > > > > - the login page contains a link to an external OAuth provider > > (Google) > > > > We need to have a cookie on this point. When a user click the link a > request is send t

Re: [Dev] Requesting browser cookie from Sling Servlets.

2018-06-22 Thread Robert Munteanu
On Fri, 2018-06-22 at 14:31 +0300, Robert Munteanu wrote: > On Fri, 2018-06-22 at 15:38 +0530, Hasini Witharana wrote: > > Hi Robert, > > > > 1. User access Apache Sling login page > > > > > > - the login page contains a link to an external OAuth provider

Re: [Dev] Requesting browser cookie from Sling Servlets.

2018-06-25 Thread Robert Munteanu
On Sat, 2018-06-23 at 00:28 +0530, Hasini Witharana wrote: > > > > The follow-up questions is what are you using it for? > > > > As I mentioned before the authorization request to Google, contains a > variable "state". After user is authenticated Google will send a > response > with attaching the

Re: [Dev] Requesting browser cookie from Sling Servlets.

2018-06-25 Thread Robert Munteanu
On Mon, 2018-06-25 at 15:30 +0530, Hasini Witharana wrote: > > > > When the auth endpoint calls back to the relying party > > (authorization > > code request) with a state parameter, we need to check that it is > > valid > > against a particular user, right? But how do we identify that > > specifi

Re: [Dev] Requesting browser cookie from Sling Servlets.

2018-06-25 Thread Robert Munteanu
On Mon, 2018-06-25 at 15:50 +0530, Hasini Witharana wrote: > > > > 'Sent from the user' -> I assume that's sent from the user's > browser, > > but to whom? To the Authorization endpoint? And is that supposed to > be > > set by the Relying Party? > > > > Sent from users's browser to Google's author

Re: [Dev] Requesting browser cookie from Sling Servlets.

2018-06-25 Thread Robert Munteanu
On Mon, 2018-06-25 at 15:56 +0530, Hasini Witharana wrote: > > > > So then you could set a third-party cookie from Sling, i.e. a > cookie > > that is set for a different domain, matching whathever the google > auth > > endpoint is. Would that work? > > > > I tested with the setCookie method and th

Re: [VOTE] Release Apache Sling ContentLoader 2.2.6

2018-07-05 Thread Robert Munteanu
On Sun, 2018-06-24 at 14:34 -0400, Jason E Bailey wrote: > Please vote to approve this release: +1 Robert signature.asc Description: This is a digitally signed message part

Re: [Proposal] Default compiler should be changed to JRE8 in parent pom

2018-07-05 Thread Robert Munteanu
On Thu, 2018-07-05 at 17:17 +0200, Konrad Windszus wrote: > I would recommend to not provide a default compiler class version at > all but rather force each inheriting module to set that explicitly > via a property. There is even a Maven enforcer rule which makes Maven > builds fail in case that p

Re: Issue with Animal Snigger Maven Plugin

2018-07-10 Thread Robert Munteanu
Hi Andy, On Fri, 2018-07-06 at 12:45 -0700, Andreas Schaefer wrote: (snip) > Then I see this report while building the module: > > [INFO] --- animal-sniffer-maven-plugin:1.16:check (default) @ > org.apache.sling.resourceresolver --- > [INFO] Checking unresolved references to > org.codehaus.mojo

Apache Felix Logback vs Sling Commons Log

2018-07-10 Thread Robert Munteanu
Hi, I noticed that a logback module was recently released in the Felix project [1]. At a glance it seems to have the same high-level objectives as our own commons-log implementation, but lacks a number of feature we've built. Since I'm not that familiar with the codebase, I would like to ask if

Re: [RESULT] [VOTE] Release Apache Sling ContentLoader 2.2.6

2018-07-10 Thread Robert Munteanu
On Thu, 2018-07-05 at 13:42 -0400, Jason E Bailey wrote: > Hi, > > The vote has passed with the following result : > > +1 (binding): Dan Klco, Stefan Egli, Robert Munteanu > +1 (non binding): Eugen Stan > > I will promote the artifacts to the central Maven repository. Ca

Re: Sling IDE Tooling: Debugging does no longer work with the provided launcher configuration

2018-07-10 Thread Robert Munteanu
Hi Konrad, On Fri, 2018-06-15 at 14:53 +0200, Konrad Windszus wrote: > Ok, I figured out I explicitly had to configure "artifact" and "api" > as Eclipse Plugins to make Eclipse treat them correctly. Isn't there > an automated way to do that (e.g. by commiting the .project file and > build.properti

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 sayi

[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.

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

2018-07-16 Thread Robert Munteanu
On Tue, 2018-07-17 at 00:40 +0530, Hasini Witharana wrote: > How to get the sling admin session from Sling Repository? > > I am using loginService(String s1, String s2) method and what should > be s1 > and s2? You should be using loginAdminstrative(null). Although the method is deprecated now, it

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

2018-07-17 Thread Robert Munteanu
ain/provisioning/sling.txt#L159 > > Thank You. > > On Tue, Jul 17, 2018 at 1:19 AM, Robert Munteanu > wrote: > > > On Tue, 2018-07-17 at 00:40 +0530, Hasini Witharana wrote: > > > How to get the sling admin session from Sling Repository? > > > > &g

Re: [VOTE] Release Apache Sling Event Support version 4.2.12

2018-07-17 Thread Robert Munteanu
On Tue, 2018-07-17 at 11:50 +0200, Stefan Egli wrote: > Please vote to approve this release: +1 Robert signature.asc Description: This is a digitally signed message part

SLING-7613 - un-deprecating loginAdministrative

2018-07-17 Thread Robert Munteanu
Hi, Following dev@sling discussions [1] and Jira issue [2] I've filed a PR to un-deprecate loginAdministrative [3]. Comments/reviews are most welcome, I plan to merge this next Monday. Thanks, Robert [1]: https://issues.apache.org/jira/browse/SLING-7613 [2]: http://apache-sling.73963.n3.nabbl

Re: Error when accessing Browse Content form http://localhost:8080/starter/index.html

2018-07-18 Thread Robert Munteanu
Hi Hasini, On Wed, 2018-07-18 at 18:09 +0530, Hasini Witharana wrote: > Hi all, > > I cloned the master branch of Apache Sling Starter Application[1]. > Then I > built the application from "mvn clean install". After that I tried to > access Browse Content from [2] without login with "admin admin

Re: [Proposal] Default compiler should be changed to JRE8 in parent pom

2018-07-20 Thread Robert Munteanu
On Thu, 2018-07-19 at 09:59 -0400, Jason E Bailey wrote: > This has been out for a while with no one voicing a concern that we > shouldn't change the default compiler and one person voicing that we > shouldn't have a default at all. > > I'm assuming that my next step would be to update the POM. Co

Re: [Dev][GSoC]Redirecting to Apache Sling home page with logged user.

2018-07-23 Thread Robert Munteanu
Hi Hasini, On Sun, 2018-07-22 at 23:20 +0530, Hasini Witharana wrote: > Hi all, > > I have implemented a login with Google for Apache Sling. After user > is > successfully logged in using Google, a new user is created with email > address and a UUID as a password in user store. > > I want to red

Re: [Dev][GSoC]Redirecting to Apache Sling home page with logged user.

2018-07-25 Thread Robert Munteanu
Hi Hasini, On Wed, 2018-07-25 at 00:22 +0530, Hasini Witharana wrote: > Hi all, > > I am trying to get the service Authenticator in > "org.apache.sling.api.auth.Authenticator" inside a service class > using " > org.osgi.service.component.annotations.Reference" annotation. > > But I am getting an

Markdown resource provider

2018-07-26 Thread Robert Munteanu
Hi, I've been toying around with a Markdown resource provider in the whiteboard [0]. It's very much a work-in-progress but since it does something - aka render Markdown files, including support for arbitrary Sling properties, I would like to discuss a couple of design decisions. 1. The resou

Re: Markdown resource provider

2018-07-30 Thread Robert Munteanu
On Fri, 2018-07-27 at 07:51 +0200, Carsten Ziegeler wrote: > Interesting, I've started similar work some time back but never > finished > it :) Back then I thought that this is a cross cutting concern, md > files > can be stored anywhere, in the file system, in jcr, fetched by a > special > github

Re: Markdown resource provider

2018-07-30 Thread Robert Munteanu
On Fri, 2018-07-27 at 08:07 +0200, Bertrand Delacretaz wrote: > On Fri, Jul 27, 2018 at 1:18 AM Robert Munteanu > wrote: > ... > > - render everything else as HTML into jcr:description ... > > I think rendering is a good idea but how about using a more specific > prope

Re: Markdown resource provider

2018-07-30 Thread Robert Munteanu
On Fri, 2018-07-27 at 10:14 +0200, Andrei Dulvac wrote: > Hi. > > That's cool indeed! > > What about using (potentially different) HTL scripts and create a > Sling > model that reads the raw markdown? The markdown files have a default resource type of sling/markdown/file [1] . This can be overri

Re: Markdown resource provider

2018-07-30 Thread Robert Munteanu
On Fri, 2018-07-27 at 15:49 +0200, Bertrand Delacretaz wrote: > On Fri, Jul 27, 2018 at 3:16 PM Daniel Klco > wrote: > > On Fri, Jul 27, 2018, 8:46 AM Jason E Bailey > > wrote: > > ... > > > Not understanding the phrase "front matter" in it's usage here > > > > I'm assuming YAML front matter li

Re: Markdown resource provider

2018-07-30 Thread Robert Munteanu
On Sat, 2018-07-28 at 13:28 -0400, Jason E Bailey wrote: > I believe there's a difference between what the two end goals are. > There is a the rendering of a Markdown resource into HTML and then > there is using a Markdown file to generate a resource. That is a good distinction to be made, and one

Re: SLING-7613 - un-deprecating loginAdministrative

2018-07-30 Thread Robert Munteanu
On Tue, 2018-07-17 at 14:55 +0200, Robert Munteanu wrote: > Comments/reviews are most welcome, I plan to merge this next Monday. It's clear from the discussions that there is no consensus on whether this is a good thing or not. I will drop this PR and close the Jira as WONTFIX. There

Re: [Dev][GSoC]Resource /favicon.ico not found

2018-07-30 Thread Robert Munteanu
Hi Hasini, On 2018-07-30 19:43, Hasini Witharana wrote: Hi all, I am creating a custom authentication handler by implementing AuthenticationHandler interface. I have registered the custom authentication handler as a OSGI component and the below code shows the custom authentication handler I imp

Re: [VOTE] Release JCR Resource 3.0.12 and Resource Resolver 1.6.2

2018-07-31 Thread Robert Munteanu
Hi Carsten, On Tue, 2018-07-31 at 08:06 +0200, Carsten Ziegeler wrote: > We solved two issues in Resource Resolver 1.6.2 > https://issues.apache.org/jira/projects/SLING/versions/12343077 > (There are still two open issues which are moved to 1.6.4, these > issues > already existed in 1.6.0) I real

Re: [VOTE CANCEL] Release JCR Resource 3.0.12 and Resource Resolver 1.6.2

2018-07-31 Thread Robert Munteanu
> > Thanks > > Carsten > > > Robert Munteanu wrote > > Hi Carsten, > > > > On Tue, 2018-07-31 at 08:06 +0200, Carsten Ziegeler wrote: > > > We solved two issues in Resource Resolver 1.6.2 > > > https://issues.apache.org/jira/projects/SLING/versio

Re: [VOTE] Release Apache Sling Resource Resolver 1.6.4 and JCR Resource 3.0.14

2018-07-31 Thread Robert Munteanu
On Tue, 2018-07-31 at 14:32 +0200, Carsten Ziegeler wrote: > Please vote to approve this release: +1 Robert signature.asc Description: This is a digitally signed message part

Re: [PROPOSAL] Donating a tool able to generate markdown documentation from annotations

2018-07-31 Thread Robert Munteanu
Hi Simo, On Tue, 2018-07-31 at 14:06 +0200, Simone Tripodi wrote: > Hi all, > due to a private need I implemented a tool that, as a Sling > committer, I > would like to promote inside this community in order to have it as a > public > domain. > > The basic idea is to automate the production of do

Re: [VOTE] Release Apache Sling Servlet Helpers 1.1.8, Testing JCR Mock 1.3.4, Testing OSGi Mock 2.3.10, Testing Sling Mock 2.2.20

2018-08-01 Thread Robert Munteanu
On Tue, 2018-07-31 at 17:08 +, Stefan Seifert wrote: > Please vote to approve this release: +1 Robert signature.asc Description: This is a digitally signed message part

Re: [VOTE] Release Apache Sling App CMS version 0.9.0 and Apache Sling File Optimization 0.9.0

2018-08-01 Thread Robert Munteanu
On Thu, 2018-07-26 at 22:10 -0400, Daniel Klco wrote: > Please vote to approve this release: +1 Robert signature.asc Description: This is a digitally signed message part

Re: Upgrade a site to a new version of Sling

2018-08-01 Thread Robert Munteanu
Hi Andy, On Tue, 2018-07-31 at 16:10 -0700, Andreas Schaefer wrote: > Hi there > > I was just wondering if there is a way to upgrade to a new version of > sling like 9 to 10 without having to export and import my content / > configuration. > > If I have a blog like Slick or a website using Pereg

Re: Upgrade a site to a new version of Sling

2018-08-01 Thread Robert Munteanu
On Wed, 2018-08-01 at 08:24 -0400, Jason E Bailey wrote: > I would love to see someone create a supported Sling release, kinda > like CRX back in the day. One that you could go to and download and > you know you're getting a stable set of bundles, and that will do > point releases if a bug is disco

Configuration property sources with Sling (was: /etc/map with Placeholders for farms / dev stack)

2018-08-01 Thread Robert Munteanu
Hi, On Tue, 2018-07-31 at 01:29 +0200, Georg Henzler wrote: > A property file should still be possible... so if we do this > in Sling, I think the following is needed: > > Property Sources to be supported at minimum: > > * An OSGi configuration > * A local properties file > * OS Env variables >

Re: New Repository for Project Archetype

2018-08-01 Thread Robert Munteanu
Hi Andy, On Tue, 2018-07-31 at 16:22 -0700, Andreas Schaefer wrote: > Hi > > I wanted to rekindle this discussion as my project-archetype (in the > sling-whiteboard git repo) is still open and nothing has happened for > the past 5 months. > > Someone mentioned that we should start a discussion a

Re: [PROPOSAL] Donating a tool able to generate markdown documentation from annotations

2018-08-01 Thread Robert Munteanu
Hi Simo, See further inline On Tue, 2018-07-31 at 17:48 +0200, Simone Tripodi wrote: > Hi Simo, > > > > On Tue, 2018-07-31 at 14:06 +0200, Simone Tripodi wrote: > > > Hi all, > > > due to a private need I implemented a tool that, as a Sling > > > committer, I > > > would like to promote inside t

Re: /etc/map units tests and the issue of recursive mapping

2018-08-01 Thread Robert Munteanu
Hi Andy, On Mon, 2018-07-30 at 14:32 -0700, Andreas Schaefer wrote: > Hi > > For SLING-7768 I created two unit test classes > (org.apache.sling.resourceresolver, branch: feature/SLING-7768) that > test the basic etc mapping behaving directly with MapEntries and one > through the Resource Resolver

Re: [Dev] How to send a HTTP GET request using SlingHttpServletResponse

2018-08-01 Thread Robert Munteanu
Hi Hasini, On Thu, 2018-08-02 at 01:17 +0530, Hasini Witharana wrote: > Hi all, > > I have created a servlet extending SlingAllMethodsServlet class and > inside > the doGet() method I need to send a HTTP GET request with some header > values. > > Below are the values that should be sent through

Re: [Dev] How to send a HTTP GET request using SlingHttpServletResponse

2018-08-01 Thread Robert Munteanu
password > to > the custom authentication handler. > > Thank You. > > On Thu, Aug 2, 2018 at 1:22 AM, Robert Munteanu > wrote: > > > Hi Hasini, > > > > On Thu, 2018-08-02 at 01:17 +0530, Hasini Witharana wrote: > > > Hi all, > > > >

[api] SLING-7792 - Resource Resolver should return more than one resolved path if available

2018-08-01 Thread Robert Munteanu
Hi, To fix $SUBJECT I created a draft API change PR at https://github.com/apache/sling-org-apache-sling-api/pull/6 Would appreciate as many eyes on the changes as possible. Thanks! Robert

Re: [VOTE] Switch from JSR-305 annotations to Jetbrains Annotations for all Sling Models

2018-08-03 Thread Robert Munteanu
On Fri, 2018-08-03 at 08:01 +0200, Carsten Ziegeler wrote: > I did a similar exercise for the Apache Felix Http bundles and > although > the script did not work for me, a simple find/replace for the two > annotations did the trick. > > I think we're discussing three things here in parallel: > > a

Re: Upgrade a site to a new version of Sling

2018-08-03 Thread Robert Munteanu
On Thu, 2018-08-02 at 20:22 -0400, Jason E Bailey wrote: > @Robert What is the "lot of overhead" Is it a lot of work to do a > release of Sling? Yes, see https://cwiki.apache.org/confluence/display/SLING/Releasing+a+new+version+of+the+Sling+Starter Robert

Re: [api] SLING-7792 - Resource Resolver should return more than one resolved path if available

2018-08-03 Thread Robert Munteanu
On Fri, 2018-08-03 at 09:41 -0400, Jason E Bailey wrote: > IIUC the two new methods of getMapping and getAllMappings will return > either a path or a full URL depending on whether a HttpServletRequest > is being passed. That's overloading a function to return two > different things based on the exi

Re: [VOTE] Release Apache Sling Resource Filter version 1.0.0

2018-08-03 Thread Robert Munteanu
Hi Jason, On Fri, 2018-08-03 at 10:28 -0400, Jason E Bailey wrote: > This is the initial release of a module that adds the ability to do a > controlled traversal of a resource sub tree using the Stream api from > java8 as well as as a domain specific language to define a Predicate > for resources.

Re: [VOTE] Release Sling Parent 34

2018-08-06 Thread Robert Munteanu
On Mon, 2018-08-06 at 08:51 +, Stefan Seifert wrote: > Please vote to approve this release: +1 Robert signature.asc Description: This is a digitally signed message part

[VOTE] Release Apache Sling JCR Repository Registration version 1.0.6

2018-08-06 Thread Robert Munteanu
Hi, We solved 1 issue in this release: https://issues.apache.org/jira/browse/SLING/fixforversion/1234 There are no outstanding issues. Staging repository: https://repository.apache.org/content/repositories/orgapachesling-1933 You can use this UNIX script to download the release and verify t

Re: [VOTE] Release Apache Sling JCR Repository Registration version 1.0.6

2018-08-06 Thread Robert Munteanu
On Mon, 2018-08-06 at 15:31 +0300, Robert Munteanu wrote: > Please vote to approve this release: +1 Robert signature.asc Description: This is a digitally signed message part

[VOTE] Release Apache Sling Dynamic Include version 3.1.2

2018-08-08 Thread Robert Munteanu
Hi, We solved 3 issues in this release: https://issues.apache.org/jira/projects/SLING/versions/12343347 Staging repository: https://repository.apache.org/content/repositories/orgapachesling-1934 You can use this UNIX script to download the release and verify the signatures: https://gitbox.apache

Re: [VOTE] Release Apache Sling Dynamic Include version 3.1.2

2018-08-08 Thread Robert Munteanu
On Wed, 2018-08-08 at 11:53 +0300, Robert Munteanu wrote: > Please vote to approve this release: +1 Robert signature.asc Description: This is a digitally signed message part

[VOTE] Release Apache Sling JCR Resource Resolver 3.0.16

2018-08-08 Thread Robert Munteanu
Hi, We solved 1 issue in this release: https://issues.apache.org/jira/projects/SLING/versions/12343857 Staging repository: https://repository.apache.org/content/repositories/orgapachesling-1936 You can use this UNIX script to download the release and verify the signatures: https://gitbox.apache.

Re: [VOTE] Release Apache Sling JCR Resource Resolver 3.0.16

2018-08-08 Thread Robert Munteanu
On Wed, 2018-08-08 at 16:29 +0300, Robert Munteanu wrote: > Please vote to approve this release: +1 Robert signature.asc Description: This is a digitally signed message part

Re: [api] SLING-7792 - Resource Resolver should return more than one resolved path if available

2018-08-09 Thread Robert Munteanu
On Fri, 2018-08-03 at 16:03 +0200, Carsten Ziegeler wrote: > I tend to agree with Jason, getting different results based on a > parameter is a little bit subtle. > > Four methods are not nice either, but at least draw a clear picture > > Regards > > Carsten I've updated the PR based on this fee

Re: help with Sling with mongo with authentification

2018-08-10 Thread Robert Munteanu
Hi Eugen, On Fri, 2018-08-10 at 09:24 +0300, Eugen Stan wrote: > Hello, > > I'm trying to deploy Sling with Mongo back-end with authentication > and > non default connection settings. > > [1] https://docs.mongodb.com/manual/tutorial/enable-authentication/ > > I've updated the configuration for

<    18   19   20   21   22   23   24   25   26   27   >