sling-org-apache-sling-scripting-sightly-testing.git
5 weeks agotrivial: updated snapshot dependencies master
Radu Cotescu [Fri, 9 Nov 2018 14:38:09 +0000 (15:38 +0100)] 
trivial: updated snapshot dependencies

6 weeks ago[maven-release-plugin] prepare for next development iteration
Radu Cotescu [Wed, 31 Oct 2018 17:18:11 +0000 (18:18 +0100)] 
[maven-release-plugin] prepare for next development iteration

6 weeks ago[maven-release-plugin] prepare release org.apache.sling.scripting.sightly.testing... org.apache.sling.scripting.sightly.testing-1.0.14-1.4.0
Radu Cotescu [Wed, 31 Oct 2018 17:17:50 +0000 (18:17 +0100)] 
[maven-release-plugin] prepare release org.apache.sling.scripting.sightly.testing-1.0.14-1.4.0

6 weeks agotrivial: updated starter dependencies
Radu Cotescu [Wed, 31 Oct 2018 17:05:00 +0000 (18:05 +0100)] 
trivial: updated starter dependencies

8 weeks agoSLING-7907 - Update local starter references to 11 or 12-SNAPSHOT
Robert Munteanu [Fri, 19 Oct 2018 16:18:23 +0000 (18:18 +0200)] 
SLING-7907 - Update local starter references to 11 or 12-SNAPSHOT

8 weeks agoSLING-8012 - Extract an HTL runtime bundle from the existing HTL modules
Radu Cotescu [Thu, 18 Oct 2018 14:24:35 +0000 (16:24 +0200)] 
SLING-8012 - Extract an HTL runtime bundle from the existing HTL modules

* updated dependencies

2 months agotrivial: updated dependencies after release
Radu Cotescu [Mon, 24 Sep 2018 11:27:22 +0000 (13:27 +0200)] 
trivial: updated dependencies after release

2 months ago[maven-release-plugin] prepare for next development iteration
Radu Cotescu [Mon, 24 Sep 2018 10:18:36 +0000 (12:18 +0200)] 
[maven-release-plugin] prepare for next development iteration

2 months ago[maven-release-plugin] prepare release org.apache.sling.scripting.sightly.testing... org.apache.sling.scripting.sightly.testing-1.0.12-1.4.0
Radu Cotescu [Mon, 24 Sep 2018 10:18:16 +0000 (12:18 +0200)] 
[maven-release-plugin] prepare release org.apache.sling.scripting.sightly.testing-1.0.12-1.4.0

2 months agotrivial: added license header to *.md files
Radu Cotescu [Thu, 20 Sep 2018 09:09:07 +0000 (11:09 +0200)] 
trivial: added license header to *.md files

2 months agoSLING-7215 - [nice-to-have] Add a CONTRIBUTING file to every module
Radu Cotescu [Wed, 19 Sep 2018 16:29:21 +0000 (18:29 +0200)] 
SLING-7215 - [nice-to-have] Add a CONTRIBUTING file to every module

2 months agoSLING-7216 - [nice-to-have] Add a CODE_OF_CONDUCT file to every module
Radu Cotescu [Wed, 19 Sep 2018 16:04:03 +0000 (18:04 +0200)] 
SLING-7216 - [nice-to-have] Add a CODE_OF_CONDUCT file to every module

3 months agoSLING-7755 - JavaUseProvider might attempt to instantiate interfaces or abstract...
Radu Cotescu [Mon, 27 Aug 2018 16:22:34 +0000 (18:22 +0200)] 
SLING-7755 - JavaUseProvider might attempt to instantiate interfaces or abstract classes

* applied slightly modified patch provided by Santiago Garcia Pimentel <santiago.pimentel@netcentric.biz>

4 months agotrivial: update test dependencies
Radu Cotescu [Mon, 13 Aug 2018 17:52:32 +0000 (19:52 +0200)] 
trivial: update test dependencies

5 months ago[maven-release-plugin] prepare for next development iteration
Radu Cotescu [Tue, 19 Jun 2018 11:32:11 +0000 (13:32 +0200)] 
[maven-release-plugin] prepare for next development iteration

5 months ago[maven-release-plugin] prepare release org.apache.sling.scripting.sightly.testing... org.apache.sling.scripting.sightly.testing-1.0.10-1.4.0
Radu Cotescu [Tue, 19 Jun 2018 11:31:51 +0000 (13:31 +0200)] 
[maven-release-plugin] prepare release org.apache.sling.scripting.sightly.testing-1.0.10-1.4.0

5 months agoSLING-7685 - data-sly-resource throws RecursionTooDeepException when used with dynami...
Radu Cotescu [Mon, 18 Jun 2018 15:52:54 +0000 (17:52 +0200)] 
SLING-7685 - data-sly-resource throws RecursionTooDeepException when used with dynamic variables that are null / empty

* skip resource include if the include points to the same resource / selectors / resource type combination
as the request's current resource

5 months agoSLING-7681 - HTL 1.4 support
Radu Cotescu [Mon, 18 Jun 2018 14:16:31 +0000 (16:16 +0200)] 
SLING-7681 - HTL 1.4 support

* updated TCK version

5 months agoSLING-7682 - Add support for data-sly-list and data-sly-repeat iteration control
Radu Cotescu [Fri, 25 May 2018 11:27:45 +0000 (13:27 +0200)] 
SLING-7682 - Add support for data-sly-list and data-sly-repeat iteration control

* implemented code changes
* updated HTL TCK module to current snapshot

6 months agoUpdating badges for org-apache-sling-scripting-sightly-testing
Dan Klco [Fri, 8 Jun 2018 19:51:43 +0000 (15:51 -0400)] 
Updating badges for org-apache-sling-scripting-sightly-testing

7 months agoSLING-7615 - HTL integration tests should use authentication
Radu Cotescu [Tue, 24 Apr 2018 09:10:15 +0000 (11:10 +0200)] 
SLING-7615 - HTL integration tests should use authentication

7 months agoSLING-7589 - HTL doesn't correctly handle synthetic resource inclusions
Radu Cotescu [Tue, 24 Apr 2018 07:46:19 +0000 (09:46 +0200)] 
SLING-7589 - HTL doesn't correctly handle synthetic resource inclusions

* added test

8 months agoreleng: updated dependencies after release
Radu Cotescu [Tue, 20 Mar 2018 15:14:03 +0000 (16:14 +0100)] 
releng: updated dependencies after release

9 months ago[maven-release-plugin] prepare for next development iteration
Radu Cotescu [Wed, 7 Mar 2018 17:58:55 +0000 (18:58 +0100)] 
[maven-release-plugin] prepare for next development iteration

9 months ago[maven-release-plugin] prepare release org.apache.sling.scripting.sightly.testing... org.apache.sling.scripting.sightly.testing-1.0.8-1.3.1
Radu Cotescu [Wed, 7 Mar 2018 17:58:36 +0000 (18:58 +0100)] 
[maven-release-plugin] prepare release org.apache.sling.scripting.sightly.testing-1.0.8-1.3.1

9 months agoreleng: updated to latest snapshot
Radu Cotescu [Wed, 7 Mar 2018 14:04:53 +0000 (15:04 +0100)] 
releng: updated to latest snapshot

10 months agoreleng: added stable profile
Radu Cotescu [Fri, 9 Feb 2018 10:38:25 +0000 (11:38 +0100)] 
releng: added stable profile

* the stable profile allows testing the latest released HTL artifacts
on top of the latest released Apache Sling Starter application

10 months ago[maven-release-plugin] prepare for next development iteration
Radu Cotescu [Thu, 25 Jan 2018 08:02:24 +0000 (10:02 +0200)] 
[maven-release-plugin] prepare for next development iteration

10 months ago[maven-release-plugin] prepare release org.apache.sling.scripting.sightly.testing... org.apache.sling.scripting.sightly.testing-1.0.6-1.3.1
Radu Cotescu [Thu, 25 Jan 2018 08:02:06 +0000 (10:02 +0200)] 
[maven-release-plugin] prepare release org.apache.sling.scripting.sightly.testing-1.0.6-1.3.1

10 months agoSLING-7431 - Allow the HTL IT to run against the latest stable launchpad artifact...
Radu Cotescu [Tue, 23 Jan 2018 14:37:38 +0000 (16:37 +0200)] 
SLING-7431 - Allow the HTL IT to run against the latest stable launchpad artifact and against the latest snapshot

10 months agoSLING-7406 - Provide HTL specification version info in artifact names
Radu Cotescu [Tue, 23 Jan 2018 14:35:07 +0000 (16:35 +0200)] 
SLING-7406 - Provide HTL specification version info in artifact names

10 months agoSLING-7406 - Provide HTL specification version info in artifact names
Radu Cotescu [Mon, 22 Jan 2018 11:25:57 +0000 (12:25 +0100)] 
SLING-7406 - Provide HTL specification version info in artifact names

10 months agouse slingstart-maven-plugin 1.7.16 (SLING-7334)
Oliver Lietz [Sun, 21 Jan 2018 11:36:18 +0000 (12:36 +0100)] 
use slingstart-maven-plugin 1.7.16 (SLING-7334)

10 months agoreleng: updated dependencies for testing
Radu Cotescu [Fri, 19 Jan 2018 13:37:19 +0000 (14:37 +0100)] 
releng: updated dependencies for testing

10 months agoreleng: updated testing dependencies
Radu Cotescu [Mon, 15 Jan 2018 13:08:36 +0000 (14:08 +0100)] 
releng: updated testing dependencies

11 months agotrivial: added support for running coverage report on java8
Radu Cotescu [Thu, 4 Jan 2018 15:19:39 +0000 (16:19 +0100)] 
trivial: added support for running coverage report on java8

12 months agoSLING-7306 - The JS Use Provider bundle should explicitly depend on the Rhino Script...
Radu Cotescu [Wed, 13 Dec 2017 16:38:30 +0000 (17:38 +0100)] 
SLING-7306 - The JS Use Provider bundle should explicitly depend on the Rhino Script Engine

* added dependency to o.a.s.scripting.javascript until 3.0.4 is released and available in
the launchpad

12 months agoreleng: updated dependencies after release
Radu Cotescu [Tue, 21 Nov 2017 17:50:30 +0000 (18:50 +0100)] 
releng: updated dependencies after release

13 months agoSLING-7213 - Add a default .gitignore file to every module
Robert Munteanu [Tue, 24 Oct 2017 11:41:01 +0000 (13:41 +0200)] 
SLING-7213 - Add a default .gitignore file to every module

13 months agoreverted pom file
Radu Cotescu [Tue, 24 Oct 2017 06:13:14 +0000 (08:13 +0200)] 
reverted pom file

13 months agoRestored README and pom.xml files, somehow messed up in previous commits
Robert Munteanu [Mon, 23 Oct 2017 16:56:41 +0000 (18:56 +0200)] 
Restored README and pom.xml files, somehow messed up in previous commits

13 months agoSLING-7214 - Add the LICENSE file to every module
Robert Munteanu [Mon, 23 Oct 2017 16:38:24 +0000 (18:38 +0200)] 
SLING-7214 - Add the LICENSE file to every module

13 months agoreleng: added .gitignore file
Radu Cotescu [Mon, 23 Oct 2017 11:22:29 +0000 (13:22 +0200)] 
releng: added .gitignore file

13 months agoFix typo in pom.xml : conncetion should be connection
Robert Munteanu [Mon, 23 Oct 2017 09:27:35 +0000 (12:27 +0300)] 
Fix typo in pom.xml : conncetion should be connection

13 months agoRevert "Fix typo in pom.xml : conncetion should be connection"
Robert Munteanu [Mon, 23 Oct 2017 09:27:08 +0000 (12:27 +0300)] 
Revert "Fix typo in pom.xml : conncetion should be connection"

This reverts commit 939e90de222c2272866887244856e5702e5b875e.

13 months agoRevert "Fix typo in pom.xml : conncetion should be connection"
Robert Munteanu [Mon, 23 Oct 2017 09:26:57 +0000 (12:26 +0300)] 
Revert "Fix typo in pom.xml : conncetion should be connection"

This reverts commit 5f226e2016d7054ced6a14962ab66ef21087e2e3.

13 months agoFix typo in pom.xml : conncetion should be connection
Robert Munteanu [Mon, 23 Oct 2017 09:06:30 +0000 (12:06 +0300)] 
Fix typo in pom.xml : conncetion should be connection

13 months agoFix typo in pom.xml : conncetion should be connection
Robert Munteanu [Mon, 23 Oct 2017 09:00:18 +0000 (12:00 +0300)] 
Fix typo in pom.xml : conncetion should be connection

13 months agoSLING-7162 - Update SCM information in all POM files to reference Git
Robert Munteanu [Mon, 23 Oct 2017 08:55:30 +0000 (11:55 +0300)] 
SLING-7162 - Update SCM information in all POM files to reference Git

13 months agoSLING-7201 - ScriptCache implementation doesn't correctly flush stale entries
Radu Cotescu [Mon, 16 Oct 2017 15:42:19 +0000 (15:42 +0000)] 
SLING-7201 - ScriptCache implementation doesn't correctly flush stale entries

* added snapshot dependency in HTL tests until a release is performed

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1812300 13f79535-47bb-0310-9956-ffa450edef68

13 months agoSLING-7201 - ScriptCache implementation doesn't correctly flush stale entries
Radu Cotescu [Mon, 16 Oct 2017 15:37:43 +0000 (15:37 +0000)] 
SLING-7201 - ScriptCache implementation doesn't correctly flush stale entries

* configured HTL tests to run on Launchpad 10-SNAPSHOT to demonstrate the failure
since one of the HTL IT tests checks the ScriptCache behaviour

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1812298 13f79535-47bb-0310-9956-ffa450edef68

14 months agoSLING-7167 Adjust READMEs
Oliver Lietz [Tue, 3 Oct 2017 09:26:24 +0000 (09:26 +0000)] 
SLING-7167 Adjust READMEs

add missing README

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1810720 13f79535-47bb-0310-9956-ffa450edef68

14 months agoreleng: adjusted dependencies after staging release
Radu Cotescu [Fri, 15 Sep 2017 07:35:21 +0000 (07:35 +0000)] 
releng: adjusted dependencies after staging release

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1808429 13f79535-47bb-0310-9956-ffa450edef68

15 months agoreleng: updated dependencies after staging releases
Radu Cotescu [Fri, 1 Sep 2017 14:17:33 +0000 (14:17 +0000)] 
releng: updated dependencies after staging releases

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1806965 13f79535-47bb-0310-9956-ffa450edef68

15 months agoSLING-7093 - The JavaScript Use Provider should define an explicit dependency to...
Radu Cotescu [Thu, 31 Aug 2017 08:54:10 +0000 (08:54 +0000)] 
SLING-7093 - The JavaScript Use Provider should define an explicit dependency to the o.a.s.scripting.javascript bundle

* defined capabilities headers in both bundles

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1806768 13f79535-47bb-0310-9956-ffa450edef68

15 months agoreleng: updated test dependencies after staging release
Radu Cotescu [Tue, 29 Aug 2017 11:37:36 +0000 (11:37 +0000)] 
releng: updated test dependencies after staging release

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1806569 13f79535-47bb-0310-9956-ffa450edef68

15 months agoSLING-6504 - Use-API to support more flexible way to adapt from different objects
Radu Cotescu [Tue, 29 Aug 2017 09:35:03 +0000 (09:35 +0000)] 
SLING-6504 - Use-API to support more flexible way to adapt from different objects

* applied slightly modified patch from Feike Visser <fvisser@adobe.com>
(closes #243)

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1806544 13f79535-47bb-0310-9956-ffa450edef68

15 months agoSLING-7084 - Coverage report is not generated correctly for HTL modules
Radu Cotescu [Thu, 24 Aug 2017 13:10:03 +0000 (13:10 +0000)] 
SLING-7084 - Coverage report is not generated correctly for HTL modules

* switched to slingstart-maven-plugin 1.7.7-SNAPSHOT, until 1.7.8 is released
* updated JaCoCo version to 0.7.9
* based tests on released Apache Sling Launchpad 9
* increased LaunchpadReadyIT timeouts from 20 to 60 seconds

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1806038 13f79535-47bb-0310-9956-ffa450edef68

16 months agoreleng: updated dependencies after staging release
Radu Cotescu [Wed, 2 Aug 2017 12:00:13 +0000 (12:00 +0000)] 
releng: updated dependencies after staging release

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1803810 13f79535-47bb-0310-9956-ffa450edef68

16 months agoSLING-7000 - HTL: URIManipulatorFilterExtension destroys opaque URIs
Radu Cotescu [Mon, 31 Jul 2017 16:23:38 +0000 (16:23 +0000)] 
SLING-7000 - HTL: URIManipulatorFilterExtension destroys opaque URIs

* applied slightly modified patch submitted by Dirk Rudolph

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1803550 13f79535-47bb-0310-9956-ffa450edef68

18 months agoSLING-6866 - HTL doesn't allow to overwrite the context for data-sly-text
Radu Cotescu [Tue, 6 Jun 2017 14:16:04 +0000 (14:16 +0000)] 
SLING-6866 - HTL doesn't allow to overwrite the context for data-sly-text

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1797789 13f79535-47bb-0310-9956-ffa450edef68

19 months agoreleng: housekeeping after staging releases
Radu Cotescu [Fri, 5 May 2017 12:52:53 +0000 (12:52 +0000)] 
releng: housekeeping after staging releases

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1794045 13f79535-47bb-0310-9956-ffa450edef68

20 months agoSLING-6620 - HTL integration tests do not honor locale format
Radu Cotescu [Thu, 13 Apr 2017 15:26:18 +0000 (15:26 +0000)] 
SLING-6620 - HTL integration tests do not honor locale format

* updated HTL TCK version

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1791270 13f79535-47bb-0310-9956-ffa450edef68

20 months agoSLING-6761 - HTL: uri manipulator breaks query parameter encoding
Radu Cotescu [Fri, 31 Mar 2017 15:01:31 +0000 (15:01 +0000)] 
SLING-6761 - HTL: uri manipulator breaks query parameter encoding

* switched to java.net.URI#getRawQuery from java.net.URI#getQuery
* made sure parameters supplied through the parameter manipulation options
are translated into application/x-www-form-urlencoded format

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1789700 13f79535-47bb-0310-9956-ffa450edef68

21 months agoSLING-6639 - Avoid split packages in the HTL Engine and HTL Java Compiler bundles
Radu Cotescu [Wed, 15 Mar 2017 16:57:00 +0000 (16:57 +0000)] 
SLING-6639 - Avoid split packages in the HTL Engine and HTL Java Compiler bundles

* moved SightlyException into the java-compiler, but made it extend directly RuntimeException
* moved ResourceResolution into the org.apache.sling.scripting.sightly.engine package

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1787079 13f79535-47bb-0310-9956-ffa450edef68

21 months agoSLING-6632 - [HTL] NumberFormat is printed when format is empty
Radu Cotescu [Mon, 13 Mar 2017 08:21:01 +0000 (08:21 +0000)] 
SLING-6632 - [HTL] NumberFormat is printed when format is empty

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1786638 13f79535-47bb-0310-9956-ffa450edef68

21 months agoSLING-6612 - HTL/Sightly sometimes fails to recompile an updated Java POJO located...
Radu Cotescu [Mon, 13 Mar 2017 08:20:55 +0000 (08:20 +0000)] 
SLING-6612 - HTL/Sightly sometimes fails to recompile an updated Java POJO located in the repository

* changed the compilation logic for repository POJO objects so that changes for which events are not
received still trigger a recompilation of the affected use objects

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1786637 13f79535-47bb-0310-9956-ffa450edef68

21 months agouse Sling Parent 30
Oliver Lietz [Mon, 6 Mar 2017 10:31:22 +0000 (10:31 +0000)] 
use Sling Parent 30

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1785622 13f79535-47bb-0310-9956-ffa450edef68

21 months agoreleng: updated dependencies after release
Radu Cotescu [Mon, 27 Feb 2017 13:09:28 +0000 (13:09 +0000)] 
releng: updated dependencies after release

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1784557 13f79535-47bb-0310-9956-ffa450edef68

22 months agoSLING-6476 - [HTL] data-sly-resource transforms resources with dots in their paths...
Radu Cotescu [Fri, 20 Jan 2017 09:07:42 +0000 (09:07 +0000)] 
SLING-6476 - [HTL] data-sly-resource transforms resources with dots in their paths to SyntheticResources

* check if the resource identified by the path exists so that we don’t run path analysis which on it, which might
transform it into a SyntheticResource

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1779585 13f79535-47bb-0310-9956-ffa450edef68

23 months agoreleng: updated dependencies post-release
Radu Cotescu [Fri, 13 Jan 2017 12:19:13 +0000 (12:19 +0000)] 
releng: updated dependencies post-release

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1778566 13f79535-47bb-0310-9956-ffa450edef68

23 months agoSLING-6428 - DateFormat is printed when date-value is empty
Radu Cotescu [Tue, 10 Jan 2017 09:10:59 +0000 (09:10 +0000)] 
SLING-6428 - DateFormat is printed when date-value is empty

* applied patch from Vlad Băilescu

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1778098 13f79535-47bb-0310-9956-ffa450edef68

23 months agoSLING-6445 - HTL scripts do not compile on Windows if the compiler needs to generate...
Radu Cotescu [Mon, 9 Jan 2017 14:38:45 +0000 (14:38 +0000)] 
SLING-6445 - HTL scripts do not compile on Windows if the compiler needs to generate any warnings

* applied patch from Vlad Băilescu
* improved launchpad readiness test
* updated HTL test dependencies
(Closes #196)

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1777973 13f79535-47bb-0310-9956-ffa450edef68

23 months agoUpdate slingstart maven plugin to 1.7.0 in all projects to avoid build problems using...
Carsten Ziegeler [Thu, 29 Dec 2016 14:29:30 +0000 (14:29 +0000)] 
Update slingstart maven plugin to 1.7.0 in all projects to avoid build problems using the reactor

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1776436 13f79535-47bb-0310-9956-ffa450edef68

23 months agoreleng: override jcr.resource + use released scripting api
Radu Cotescu [Thu, 15 Dec 2016 14:30:43 +0000 (14:30 +0000)] 
releng: override jcr.resource + use released scripting api

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1774472 13f79535-47bb-0310-9956-ffa450edef68

23 months agoSLING-6399 - Implement support for date and number formatting for HTL
Radu Cotescu [Thu, 15 Dec 2016 14:01:44 +0000 (14:01 +0000)] 
SLING-6399 - Implement support for date and number formatting for HTL

* bumped capabilities to 1.3, corresponding to version 1.3 of the HTL Template Language Specification

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1774447 13f79535-47bb-0310-9956-ffa450edef68

2 years agoSLING-6399 - Implement support for date and number formatting for HTL
Radu Cotescu [Wed, 14 Dec 2016 22:13:32 +0000 (22:13 +0000)] 
SLING-6399 - Implement support for date and number formatting for HTL

* implemented support for the date and number formatting features from version 1.3
of the HTL Language Specification
* applied slightly modified patch submitted by Vlad Băilescu at https://github.com/apache/sling/pull/191
(Closes #191)

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1774351 13f79535-47bb-0310-9956-ffa450edef68

2 years agoSLING-6166 - Update the HTL bundles to use the SLING-6165 request-scoped resource...
Radu Cotescu [Mon, 28 Nov 2016 18:11:54 +0000 (18:11 +0000)] 
SLING-6166 - Update the HTL bundles to use the SLING-6165 request-scoped resource resolver

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1771784 13f79535-47bb-0310-9956-ffa450edef68

2 years agoSLING-6186 - Add support for checking code coverage with jacoco
Radu Cotescu [Tue, 1 Nov 2016 16:30:23 +0000 (16:30 +0000)] 
SLING-6186 - Add support for checking code coverage with jacoco

* allow the jacoco version to be configurable; also downgraded to 0.7.6

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1767517 13f79535-47bb-0310-9956-ffa450edef68

2 years agoSLING-6224 - Expand the accepted & ignored whitespace characters for HTL scripts
Radu Cotescu [Tue, 1 Nov 2016 16:13:32 +0000 (16:13 +0000)] 
SLING-6224 - Expand the accepted & ignored whitespace characters for HTL scripts

* expanded whitespace characters list and added tests

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1767516 13f79535-47bb-0310-9956-ffa450edef68

2 years agoSLING-6186 - Add support for checking code coverage with jacoco
Radu Cotescu [Tue, 25 Oct 2016 15:19:19 +0000 (15:19 +0000)] 
SLING-6186 - Add support for checking code coverage with jacoco

* configured jacoco for all HTL modules that provide unit tests
* IT code coverage can be obtained from the testing module

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1766545 13f79535-47bb-0310-9956-ffa450edef68

2 years agoreleng: updated bundles after staging releases
Radu Cotescu [Thu, 20 Oct 2016 15:01:34 +0000 (15:01 +0000)] 
releng: updated bundles after staging releases

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1765826 13f79535-47bb-0310-9956-ffa450edef68

2 years agoSLING-6173 - HTL compiled scripts need to set the SlingBindings as request attributes...
Radu Cotescu [Wed, 19 Oct 2016 16:54:26 +0000 (16:54 +0000)] 
SLING-6173 - HTL compiled scripts need to set the SlingBindings as request attributes on eval

* the SlingBindings are now set as request attributes by compiled HTL scripts
* added unit + integration tests

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1765682 13f79535-47bb-0310-9956-ffa450edef68

2 years agoSLING-6156 - The JsUseProvider should use the sling-scripting service user for solvin...
Radu Cotescu [Mon, 17 Oct 2016 11:26:47 +0000 (11:26 +0000)] 
SLING-6156 - The JsUseProvider should use the sling-scripting service user for solving scripting dependencies

* switched to using a service user for solving dependencies

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1765242 13f79535-47bb-0310-9956-ffa450edef68

2 years agoreleng: updated dependencies after release
Radu Cotescu [Mon, 10 Oct 2016 16:22:53 +0000 (16:22 +0000)] 
releng: updated dependencies after release

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1764150 13f79535-47bb-0310-9956-ffa450edef68

2 years agoSLING-5848 - Define service user and ACLs for Scripting
Radu Cotescu [Thu, 6 Oct 2016 16:43:51 +0000 (16:43 +0000)] 
SLING-5848 - Define service user and ACLs for Scripting

* updated ACLs for testing project so that the sling-scripting user can
execute the HTL TCK scripts

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1763628 13f79535-47bb-0310-9956-ffa450edef68

2 years agoreleng: updated dependencies
Radu Cotescu [Mon, 5 Sep 2016 15:57:11 +0000 (15:57 +0000)] 
releng: updated dependencies

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1759318 13f79535-47bb-0310-9956-ffa450edef68

2 years agoSLING-6033 - Update Sightly bundles to parent pom 28
Radu Cotescu [Fri, 2 Sep 2016 16:03:35 +0000 (16:03 +0000)] 
SLING-6033 - Update Sightly bundles to parent pom 28

* switched from BND to OSGi annotations

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1758984 13f79535-47bb-0310-9956-ffa450edef68

2 years agoSLING-6028 - Replace Sightly references with HTL in both code and documentation
Radu Cotescu [Fri, 2 Sep 2016 14:51:07 +0000 (14:51 +0000)] 
SLING-6028 - Replace Sightly references with HTL in both code and documentation

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1758968 13f79535-47bb-0310-9956-ffa450edef68

2 years agoSLING-6008 - The display context cannot be overwritten for HTML attribute expressions
Radu Cotescu [Wed, 24 Aug 2016 16:39:47 +0000 (16:39 +0000)] 
SLING-6008 - The display context cannot be overwritten for HTML attribute expressions

* allowed display context overrides for attributes by checking if the expression was already
transformed into an XSS RuntimeCall
* added extra test based on the TCK that checks the encoding of an attribute value
generated by a Sightly expression
* updated TCK

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1757548 13f79535-47bb-0310-9956-ffa450edef68

2 years agoSLING-5944 - Sightly doesn't allow to overwrite the context for `data-sly-element`
Radu Cotescu [Fri, 19 Aug 2016 13:33:14 +0000 (13:33 +0000)] 
SLING-5944 - Sightly doesn't allow to overwrite the context for `data-sly-element`

* skip applying elementContext if the expression is an XSS RuntimeCall already
* updated TCK to 1.2.4 which provides a test for data-sly-element with context set
to unsafe

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1756915 13f79535-47bb-0310-9956-ffa450edef68

2 years agoSLING-5825 - Add support for implicit conversion of Enum to String
Radu Cotescu [Fri, 8 Jul 2016 11:20:36 +0000 (11:20 +0000)] 
SLING-5825 - Add support for implicit conversion of Enum to String

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1751880 13f79535-47bb-0310-9956-ffa450edef68

2 years agoSLING-5632 - [Sightly] URI manipulation options that process a path should not alter...
Radu Cotescu [Fri, 8 Jul 2016 09:30:19 +0000 (09:30 +0000)] 
SLING-5632 - [Sightly] URI manipulation options that process a path should not alter URIs that don't provide path information

* disallow further processing by path-related options if the original URI doesn't contain a path information or if the path
option is empty
* updated TCK version since the new version provides more tests related to URI manipulation options

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1751874 13f79535-47bb-0310-9956-ffa450edef68

2 years agoSLING-5314 - Support setting the basename for the resource bundle backing the Sightly...
Radu Cotescu [Tue, 5 Jul 2016 12:19:16 +0000 (12:19 +0000)] 
SLING-5314 - Support setting the basename for the resource bundle backing the Sightly i18n Extension

* added support for non-standard (not in the language specification) 'basename' option in expressions using 'i18n'

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1751458 13f79535-47bb-0310-9956-ffa450edef68

2 years agoSLING-5813 - Allow a Resource to be used as a Sightly Use-Object with data-sly-use
Radu Cotescu [Thu, 30 Jun 2016 15:35:37 +0000 (15:35 +0000)] 
SLING-5813 - Allow a Resource to be used as a Sightly Use-Object with data-sly-use

* Added a new UseProvider for Resource objects
* Added tests
(applied slightly modified patch from Vlad Băilescu; closes #151)

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1750818 13f79535-47bb-0310-9956-ffa450edef68

2 years agoSLING-5812 - Add option to include attributes in request scope for Sightly data-sly...
Radu Cotescu [Thu, 30 Jun 2016 13:10:36 +0000 (13:10 +0000)] 
SLING-5812 - Add option to include attributes in request scope for Sightly data-sly-request and data-sly-include

* Added new option named requestAttributes to allow setting specific attributes on data-sly-request and data-sly-include
* Added tests
* cleaned testing pom file
(applied slightly modified patch from Vlad Băilescu; closes #149)

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1750793 13f79535-47bb-0310-9956-ffa450edef68

2 years agoSLING-5811 - Properly handle actual Resources in Sightly data-sly-resource
Radu Cotescu [Thu, 30 Jun 2016 10:14:29 +0000 (10:14 +0000)] 
SLING-5811 - Properly handle actual Resources in Sightly data-sly-resource

* Added handling for actual Resource objects in data-sly-resource
* Added tests
(applied slightly modified patch from Vlad Băilescu; closes #150)

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1750765 13f79535-47bb-0310-9956-ffa450edef68

2 years agoSLING-5787 - Modularise the Sightly script engine
Radu Cotescu [Thu, 16 Jun 2016 16:07:57 +0000 (16:07 +0000)] 
SLING-5787 - Modularise the Sightly script engine

* implemented front-end + back-end compilers
* added new dependency to the JavaScript + Sling Models use providers in order
to use version 2.0.0 of the org.apache.sling.scripting.sightly.render API package
* adapted tests
(closes #147)

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1748750 13f79535-47bb-0310-9956-ffa450edef68

2 years agotrivial: moved RRF config to provisioning model
Radu Cotescu [Mon, 14 Mar 2016 16:20:22 +0000 (16:20 +0000)] 
trivial: moved RRF config to provisioning model

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1734953 13f79535-47bb-0310-9956-ffa450edef68

2 years agorelease: updated dependencies
Radu Cotescu [Mon, 14 Mar 2016 09:22:05 +0000 (09:22 +0000)] 
release: updated dependencies

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1734902 13f79535-47bb-0310-9956-ffa450edef68