This is an automated email from the ASF dual-hosted git repository. dklco pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-app-cms.git
commit 3e455eb13e6622b0c502156f90eed7a757a745d2 Author: Dan Klco <[email protected]> AuthorDate: Mon Aug 6 10:47:32 2018 -0400 Adding file optimization support --- builder/pom.xml | 6 +++--- .../resources/jcr_root/libs/sling-cms/content/site/content.json | 9 ++++++++- .../jcr_root/libs/sling-cms/content/static/content.json | 9 ++++++++- 3 files changed, 19 insertions(+), 5 deletions(-) diff --git a/builder/pom.xml b/builder/pom.xml index b698b57..934c849 100644 --- a/builder/pom.xml +++ b/builder/pom.xml @@ -21,13 +21,13 @@ <artifactId>org.apache.sling.cms.builder</artifactId> <packaging>slingstart</packaging> - <version>0.9.1-SNAPSHOT</version> <name>Apache Sling - CMS Application Builder</name> <properties> <sling.java.version>8</sling.java.version> <IT.expected.bundles.count>125</IT.expected.bundles.count> + <cms.version>${project.parent.version}</cms.version> </properties> <build> @@ -63,7 +63,6 @@ <plugin> <groupId>org.apache.sling</groupId> <artifactId>slingstart-maven-plugin</artifactId> - <version>1.7.0</version> <extensions>true</extensions> <executions> <execution> @@ -82,7 +81,8 @@ <port>${http.port}</port> <controlPort>${sling.control.port}</controlPort> </server> - </servers> + </servers> + <usePomVariables>true</usePomVariables> </configuration> </plugin> diff --git a/ui/src/main/resources/jcr_root/libs/sling-cms/content/site/content.json b/ui/src/main/resources/jcr_root/libs/sling-cms/content/site/content.json index 51eb015..b313db6 100644 --- a/ui/src/main/resources/jcr_root/libs/sling-cms/content/site/content.json +++ b/ui/src/main/resources/jcr_root/libs/sling-cms/content/site/content.json @@ -171,6 +171,13 @@ "text": "✏", "prefix": "/cms/file/edit.html" }, + "optimize": { + "jcr:primaryType": "nt:unstructured", + "modal": true, + "title": "Optimize File", + "text": "+", + "prefix": "/cms/file/optimize.html" + }, "download": { "jcr:primaryType": "nt:unstructured", "modal": false, @@ -320,4 +327,4 @@ } } } -} \ No newline at end of file +} diff --git a/ui/src/main/resources/jcr_root/libs/sling-cms/content/static/content.json b/ui/src/main/resources/jcr_root/libs/sling-cms/content/static/content.json index c620767..4ab97fb 100644 --- a/ui/src/main/resources/jcr_root/libs/sling-cms/content/static/content.json +++ b/ui/src/main/resources/jcr_root/libs/sling-cms/content/static/content.json @@ -101,6 +101,13 @@ "text": "✏", "prefix": "/cms/file/edit.html" }, + "optimize": { + "jcr:primaryType": "nt:unstructured", + "modal": false, + "title": "Optimize File", + "text": "+", + "prefix": "/cms/file/optimize.html" + }, "download": { "jcr:primaryType": "nt:unstructured", "modal": false, @@ -250,4 +257,4 @@ } } } -} \ No newline at end of file +}
