├── .asf.yaml ├── .gitignore ├── .gitpod.Dockerfile ├── .gitpod.yml ├── .helmignore ├── .sling-module.json ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── Jenkinsfile ├── LICENSE ├── NOTICE ├── README.md ├── api ├── pom.xml └── src │ ├── main │ └── java │ │ └── org │ │ └── apache │ │ └── sling │ │ └── cms │ │ ├── AuthorizableWrapper.java │ │ ├── CMSConstants.java │ │ ├── CMSJobManager.java │ │ ├── CMSUtils.java │ │ ├── Component.java │ │ ├── ComponentConfiguration.java │ │ ├── ComponentManager.java │ │ ├── ComponentPolicy.java │ │ ├── ComponentPolicyManager.java │ │ ├── ConfigurableJobExecutor.java │ │ ├── EditableResource.java │ │ ├── File.java │ │ ├── FileManager.java │ │ ├── FileMetadataExtractor.java │ │ ├── NameFilter.java │ │ ├── Page.java │ │ ├── PageManager.java │ │ ├── PageTemplate.java │ │ ├── PageTemplateManager.java │ │ ├── PublishableResource.java │ │ ├── Reference.java │ │ ├── References.java │ │ ├── ResourceTree.java │ │ ├── Site.java │ │ ├── SiteManager.java │ │ ├── i18n │ │ ├── I18NDictionary.java │ │ ├── I18NProvider.java │ │ └── package-info.java │ │ ├── insights │ │ ├── FileInsightRequest.java │ │ ├── Insight.java │ │ ├── InsightFactory.java │ │ ├── InsightProvider.java │ │ ├── InsightRequest.java │ │ ├── InsightsModel.java │ │ ├── Message.java │ │ ├── PageInsightRequest.java │ │ └── package-info.java │ │ ├── package-info.java │ │ ├── publication │ │ ├── INSTANCE_TYPE.java │ │ ├── IsPublishableResourceContainer.java │ │ ├── IsPublishableResourceType.java │ │ ├── PUBLICATION_MODE.java │ │ ├── PublicationEvent.java │ │ ├── PublicationException.java │ │ ├── PublicationManager.java │ │ ├── PublicationManagerFactory.java │ │ ├── PublicationType.java │ │ └── package-info.java │ │ ├── readability │ │ ├── ReadabilityService.java │ │ ├── ReadabilityServiceFactory.java │ │ ├── Sentence.java │ │ ├── Text.java │ │ ├── Word.java │ │ └── package-info.java │ │ └── usergenerated │ │ ├── UGCBucketConfig.java │ │ ├── UserGeneratedContentService.java │ │ └── package-info.java │ └── test │ ├── java │ └── org │ │ └── apache │ │ └── sling │ │ └── cms │ │ ├── ResourceTreeTest.java │ │ └── publication │ │ ├── IsPublishableResourceContainerTest.java │ │ ├── IsPublishableResourceTypeTest.java │ │ ├── PublicationEventTest.java │ │ └── PublicationExceptionTest.java │ └── resources │ └── content.json ├── archetype ├── pom.xml └── src │ └── main │ └── resources │ ├── META-INF │ └── maven │ │ └── archetype-metadata.xml │ └── archetype-resources │ ├── README.md │ ├── gulpfile.js │ ├── package.json │ ├── pom.xml │ └── src │ ├── main │ ├── java │ │ └── __packageInPathFormat__ │ │ │ ├── HelloWorldModel.java │ │ │ └── package-info.java │ └── resources │ │ └── jcr_root │ │ ├── apps │ │ └── __appName__ │ │ │ └── components │ │ │ ├── page.json │ │ │ └── page │ │ │ ├── body.jsp │ │ │ └── head.jsp │ │ └── conf │ │ └── __appName__.json │ └── test │ ├── java │ └── __package__ │ │ └── HelloWorldModelTest.java │ └── resources │ └── resource.json ├── core ├── bnd.bnd ├── pom.xml └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── sling │ │ │ └── cms │ │ │ └── core │ │ │ ├── i18n │ │ │ └── impl │ │ │ │ ├── I18NDictionaryImpl.java │ │ │ │ └── I18NProviderImpl.java │ │ │ ├── insights │ │ │ └── impl │ │ │ │ ├── BaseInsightProvider.java │ │ │ │ ├── FakeHttpSession.java │ │ │ │ ├── FakeRequest.java │ │ │ │ ├── FakeResponse.java │ │ │ │ ├── FileInsightRequestImpl.java │ │ │ │ ├── InsightFactoryImpl.java │ │ │ │ ├── InsightsWebConsole.java │ │ │ │ ├── PageInsightRequestImpl.java │ │ │ │ └── providers │ │ │ │ ├── HTMLValdiatorInsightProvider.java │ │ │ │ ├── PageSpeedInsightProvider.java │ │ │ │ └── ReadabilityInsightProvider.java │ │ │ ├── internal │ │ │ ├── CommonUtils.java │ │ │ ├── DefaultScriptBindingsValueProvider.java │ │ │ ├── FileMetadataExtractorImpl.java │ │ │ ├── IndexCreator.java │ │ │ ├── ResourceEditorAssociation.java │ │ │ ├── ResourceEditorAssociationConfig.java │ │ │ ├── ResourceEditorAssociationProvider.java │ │ │ ├── SimplePrincipal.java │ │ │ ├── bindings │ │ │ │ └── SightlyBindings.java │ │ │ ├── filters │ │ │ │ ├── CMSSecurityConfigInstance.java │ │ │ │ ├── CMSSecurityFilter.java │ │ │ │ ├── CMSSecurityFilterConfig.java │ │ │ │ ├── EditIncludeFilter.java │ │ │ │ └── LocaleFilter.java │ │ │ ├── jobs │ │ │ │ ├── FileMetadataExtractorConsumer.java │ │ │ │ ├── FileMetadataExtractorJob.java │ │ │ │ ├── OptimizeFilesJob.java │ │ │ │ ├── RemoveJobServlet.java │ │ │ │ └── StartJobServlet.java │ │ │ ├── listeners │ │ │ │ ├── AutoVersioningListener.java │ │ │ │ ├── AutoVersioningListenerConfig.java │ │ │ │ ├── FileMetadataExtractorListener.java │ │ │ │ └── RenditionCleaner.java │ │ │ ├── models │ │ │ │ ├── AuthorizableWrapperImpl.java │ │ │ │ ├── CMSJobManagerImpl.java │ │ │ │ ├── ComponentConfigurationImpl.java │ │ │ │ ├── ComponentImpl.java │ │ │ │ ├── ComponentManagerImpl.java │ │ │ │ ├── ComponentPolicyImpl.java │ │ │ │ ├── ComponentPolicyManagerImpl.java │ │ │ │ ├── EditableResourceImpl.java │ │ │ │ ├── FileImpl.java │ │ │ │ ├── FileManagerImpl.java │ │ │ │ ├── InsightsModelImpl.java │ │ │ │ ├── InternalCMSJobManager.java │ │ │ │ ├── PageImpl.java │ │ │ │ ├── PageInsightRequestModel.java │ │ │ │ ├── PageManagerImpl.java │ │ │ │ ├── PageTemplateImpl.java │ │ │ │ ├── PageTemplateManagerImpl.java │ │ │ │ ├── PublishableResourceImpl.java │ │ │ │ ├── ReadabilitySiteConfig.java │ │ │ │ ├── ReferenceOperation.java │ │ │ │ ├── ReferencesImpl.java │ │ │ │ ├── SiteImpl.java │ │ │ │ └── SiteManagerImpl.java │ │ │ ├── operations │ │ │ │ ├── BulkReplaceOperation.java │ │ │ │ ├── ChangePasswordOperation.java │ │ │ │ ├── CheckoutPostOperation.java │ │ │ │ ├── CheckpointOperation.java │ │ │ │ ├── CreateGroupOperation.java │ │ │ │ ├── CreateUserOperation.java │ │ │ │ ├── MembersOperation.java │ │ │ │ ├── MembershipOperation.java │ │ │ │ ├── PropertyHintNodeNameGenerator.java │ │ │ │ ├── TouchLastModifiedPostOperation.java │ │ │ │ ├── UpdateReferencesPostOperation.java │ │ │ │ └── UpdateStatusOperation.java │ │ │ ├── rewriter │ │ │ │ ├── ReferenceMappingTransformer.java │ │ │ │ ├── ReferenceMappingTransformerConfig.java │ │ │ │ └── ReferenceMappingTransformerFactory.java │ │ │ └── servlets │ │ │ │ ├── CMSPageServlet.java │ │ │ │ ├── CmsDefaultErrorHandlerServlet.java │ │ │ │ ├── DownloadFileServlet.java │ │ │ │ ├── PathSuggestionServlet.java │ │ │ │ ├── PathSuggestionServletConfig.java │ │ │ │ └── PreviewFileServlet.java │ │ │ ├── models │ │ │ ├── ContentBreadcrumb.java │ │ │ ├── LocaleList.java │ │ │ ├── LocaleResource.java │ │ │ ├── QueryDebugger.java │ │ │ ├── SearchResults.java │ │ │ ├── StartContent.java │ │ │ ├── VersionInfo.java │ │ │ ├── i18nHelper.java │ │ │ └── package-info.java │ │ │ ├── publication │ │ │ ├── BulkPublicationJob.java │ │ │ ├── ContentDistributionPublicationManager.java │ │ │ ├── ForwardAgentEndpointSynchronization.java │ │ │ ├── ForwardAgentEndpointSynchronizationConfig.java │ │ │ ├── PublicationConfig.java │ │ │ ├── PublicationManagerFactoryImpl.java │ │ │ ├── PublicationPropertyProvider.java │ │ │ ├── PublicationPropertyProviderConfig.java │ │ │ ├── PublishPostOperation.java │ │ │ ├── StandalonePublicationManager.java │ │ │ └── UnpublishPostOperation.java │ │ │ ├── readability │ │ │ └── impl │ │ │ │ ├── ReadabilityConfig.java │ │ │ │ ├── ReadabilityServiceFactoryImpl.java │ │ │ │ └── ReadabilityServiceImpl.java │ │ │ └── usergenerated │ │ │ └── impl │ │ │ ├── ApproveUGCOperation.java │ │ │ ├── UserGeneratedContentConfig.java │ │ │ └── UserGeneratedContentServiceImpl.java │ └── resources │ │ ├── OSGI-INF │ │ └── l10n │ │ │ └── bundle.properties │ │ └── res │ │ └── editinclude │ │ ├── delete.html │ │ ├── droptarget.html │ │ ├── edit.html │ │ ├── end.html │ │ ├── header.html │ │ ├── reorder.html │ │ └── start.html │ └── test │ ├── java │ └── org │ │ └── apache │ │ └── sling │ │ └── cms │ │ └── core │ │ ├── helpers │ │ └── SlingCMSTestHelper.java │ │ ├── internal │ │ ├── CommonUtilsTest.java │ │ ├── DefaultScriptBindingsValueProviderTest.java │ │ ├── FileMetadataExtractorImplTest.java │ │ ├── IndexCreatorTest.java │ │ ├── MockBindings.java │ │ ├── ResourceEditorAssociationTest.java │ │ ├── filters │ │ │ ├── CMSSecurityConfigInstanceTest.java │ │ │ ├── CMSSecurityFilterTest.java │ │ │ └── EditIncludeFilterTest.java │ │ ├── models │ │ │ ├── AuthorizableWrapperImplTest.java │ │ │ ├── FileImplTest.java │ │ │ ├── PageImplTest.java │ │ │ └── PublishableResourceImplTest.java │ │ ├── operations │ │ │ ├── ChangePasswordOperationTest.java │ │ │ ├── CheckoutPostOperationTest.java │ │ │ ├── CreateGroupOperationTest.java │ │ │ ├── CreateUserOperationTest.java │ │ │ ├── MembersOperationTest.java │ │ │ ├── MembershipOperationTest.java │ │ │ ├── PropertyHintNodeNameGeneratorTest.java │ │ │ └── UpdateStatusOperationTest.java │ │ └── servlets │ │ │ ├── CmsDefaultErrorHandlerServletTest.java │ │ │ ├── DownloadFileServletTest.java │ │ │ └── PreviewFileServletTest.java │ │ ├── models │ │ ├── ContentBreadcrumbTest.java │ │ ├── QueryDebuggerTest.java │ │ └── StartContentTest.java │ │ ├── publication │ │ ├── BulkPublicationJobTest.java │ │ ├── ContentDistributionPublicationManagerTest.java │ │ ├── ForwardAgentEndpointSynchronizationTest.java │ │ ├── PublicationManagerFactoryImplTest.java │ │ ├── PublicationPropertyProviderTest.java │ │ ├── PublishPostOperationTest.java │ │ ├── StandalonePublicationManagerTest.java │ │ └── UnpublishPostOperationTest.java │ │ └── readability │ │ └── impl │ │ └── ReadabilityServiceImplTest.java │ └── resources │ ├── apache.png │ ├── auth.json │ ├── conf.json │ ├── content.json │ ├── etc.json │ ├── generalcomponents.json │ ├── referencecomponents.json │ ├── source1.txt │ ├── source2.txt │ ├── source3.txt │ └── thumbnail.png ├── docker ├── README.md ├── cms │ ├── Dockerfile │ ├── config-author.json │ ├── config-renderer.json │ ├── config-standalone.json │ ├── download-dependencies.sh │ ├── settings.xml │ └── setup-composite.sh ├── docker-compose.yml └── webcache │ ├── Dockerfile │ ├── cms.conf │ └── site.conf ├── docs ├── admin-tools.md ├── administration.md ├── building.md ├── cms-apache-web.md ├── component-policy.md ├── configure-file-editor.md ├── configure-site.md ├── content-insights.md ├── creating-plugins.md ├── custom-components.md ├── deployment-models.md ├── developers.md ├── editor-field-types.md ├── email-configuration.md ├── error-pages.md ├── extending.md ├── image-transformations.md ├── img │ ├── add-config.png │ ├── add-taxonomy.png │ ├── add-template.png │ ├── bulk-replace.png │ ├── component-configurations.png │ ├── component-editor.png │ ├── configuration-fields.png │ ├── configure-readability-grade-range.jpg │ ├── configure-readability-service.jpg │ ├── configure-referrer-filter.png │ ├── configure-security-filter.png │ ├── container-add.png │ ├── content-packages.png │ ├── create-site-configuration.png │ ├── create-site-group.png │ ├── create-site.png │ ├── delete-dialog.png │ ├── edit-file-config.png │ ├── edit-site-configuration.png │ ├── edit-template.png │ ├── edit-transformation.png │ ├── editor-topbar.png │ ├── insights-modal.jpg │ ├── internationalization.png │ ├── load-content.png │ ├── manage-versions.png │ ├── mappings.png │ ├── move-copy.png │ ├── node-browser.png │ ├── osgi-console.png │ ├── sample-console.png │ ├── select-config-component-type.png │ ├── select-field-type.png │ ├── site-content.png │ ├── ugc-approval.png │ ├── ugc-console.png │ ├── use-taxonomy.png │ └── users-groups.png ├── intro.md ├── ldap.md ├── managing-content.md ├── managing-taxonomy.md ├── mongodb.md ├── page-editing.md ├── plugins.md ├── project-archetype.md ├── quickstart.md ├── reference.md ├── releases.md ├── securing.md ├── templates.md ├── user-generated-content.md └── users.md ├── feature ├── .gitignore ├── pom.xml └── src │ ├── main │ ├── assembly │ │ └── standalone.xml │ ├── features │ │ ├── app │ │ │ ├── composum.json │ │ │ └── htl_repl.json │ │ ├── base-repoinit.txt │ │ ├── base.json │ │ ├── boot.json │ │ ├── caconfig-repoinit.txt │ │ ├── caconfig.json │ │ ├── cms │ │ │ ├── cms-repoinit.txt │ │ │ ├── cms.json │ │ │ ├── dependencies.json │ │ │ ├── distribution.json │ │ │ ├── feature.json │ │ │ ├── healthchecks.json │ │ │ ├── maintenance-config.json │ │ │ ├── reference.json │ │ │ └── thumbnails.json │ │ ├── discovery-repoinit.txt │ │ ├── discovery.json │ │ ├── event-repoinit.txt │ │ ├── event.json │ │ ├── groovy.json │ │ ├── healthcheck.json │ │ ├── maintenance.json │ │ ├── models-jacksonexporter.json │ │ ├── oak │ │ │ ├── node-store │ │ │ │ ├── composite-runtime.json │ │ │ │ ├── composite-seed.json │ │ │ │ └── segment.json │ │ │ └── oak_base.json │ │ ├── runmodes │ │ │ ├── author.json │ │ │ ├── renderer.json │ │ │ └── standalone.json │ │ ├── scripting.json │ │ ├── validation.json │ │ └── webconsole.json │ └── java │ │ └── org │ │ └── apache │ │ └── sling │ │ └── cms │ │ └── feature │ │ └── Main.java │ └── test │ └── java │ └── org │ └── apache │ └── sling │ └── cms │ └── feature │ ├── LaunchpadReadyRule.java │ ├── SmokeIT.java │ └── package-info.java ├── helm └── slingcms-standalone │ ├── .helmignore │ ├── Chart.yaml │ ├── README.md │ ├── templates │ ├── NOTES.txt │ ├── _helpers.tpl │ ├── deployment.yaml │ ├── ingress.yaml │ ├── persistentvolumeclaim.yaml │ ├── service.yaml │ ├── serviceaccount.yaml │ └── tests │ │ └── test-connection.yaml │ └── values.yaml ├── i18n-helper ├── README.md ├── i18n │ ├── de.json │ └── zh.json ├── package-lock.json ├── package.json └── src │ ├── index.js │ ├── languages.json │ └── messages.json ├── it ├── .gitignore ├── cypress.config.js ├── cypress │ ├── e2e │ │ ├── admin.cy.js │ │ ├── auth.cy.js │ │ ├── authoring.cy.js │ │ ├── editor.cy.js │ │ ├── reference │ │ │ ├── form.cy.js │ │ │ ├── general.cy.js │ │ │ └── utils.js │ │ ├── taxonomy.cy.js │ │ └── ugc.cy.js │ ├── lighthouse-cfg.json │ ├── ready.js │ ├── support │ │ └── e2e.js │ ├── util │ │ ├── component-test-helper.js │ │ └── test-helper.js │ └── utils.js ├── package-lock.json ├── package.json └── pom.xml ├── login ├── bnd.bnd ├── pom.xml └── src │ └── main │ └── resources │ └── org │ └── apache │ └── sling │ └── auth │ └── form │ └── impl │ └── custom_login.html ├── pom.xml ├── reference ├── bnd.bnd ├── libs │ └── sling-cms │ │ └── global.jsp ├── pom.xml └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── sling │ │ │ └── cms │ │ │ └── reference │ │ │ ├── SearchService.java │ │ │ ├── forms │ │ │ ├── FieldHandler.java │ │ │ ├── FormAction.java │ │ │ ├── FormActionResult.java │ │ │ ├── FormConstants.java │ │ │ ├── FormException.java │ │ │ ├── FormRequest.java │ │ │ ├── FormUtils.java │ │ │ ├── FormValueProvider.java │ │ │ ├── impl │ │ │ │ ├── FormHandler.java │ │ │ │ ├── FormRequestImpl.java │ │ │ │ ├── actions │ │ │ │ │ ├── CreateUserAction.java │ │ │ │ │ ├── DeleteUserGeneratedContentAction.java │ │ │ │ │ ├── RequestPasswordResetAction.java │ │ │ │ │ ├── ResetPasswordAction.java │ │ │ │ │ ├── SendEmailAction.java │ │ │ │ │ ├── UpdateProfileAction.java │ │ │ │ │ ├── UpdateUserGeneratedContentAction.java │ │ │ │ │ └── UserGeneratedContentAction.java │ │ │ │ ├── fields │ │ │ │ │ ├── HoneypotHandler.java │ │ │ │ │ ├── SelectionHandler.java │ │ │ │ │ ├── TextareaHandler.java │ │ │ │ │ └── TextfieldHandler.java │ │ │ │ └── providers │ │ │ │ │ ├── RequestParametersValueProvider.java │ │ │ │ │ ├── SuffixResourceFormValueProvider.java │ │ │ │ │ └── UserProfileFormValueProvider.java │ │ │ └── package-info.java │ │ │ ├── impl │ │ │ ├── IndexUpdate.java │ │ │ └── SearchServiceImpl.java │ │ │ ├── models │ │ │ ├── ItemList.java │ │ │ ├── Search.java │ │ │ └── package-info.java │ │ │ └── package-info.java │ └── resources │ │ ├── OSGI-INF │ │ └── l10n │ │ │ └── bundle.properties │ │ └── jcr_root │ │ ├── apps │ │ └── reference │ │ │ ├── components │ │ │ ├── forms │ │ │ │ ├── actions │ │ │ │ │ ├── createuser.json │ │ │ │ │ ├── createuser │ │ │ │ │ │ ├── createuser.jsp │ │ │ │ │ │ └── edit.json │ │ │ │ │ ├── deleteugc.json │ │ │ │ │ ├── deleteugc │ │ │ │ │ │ ├── deleteugc.jsp │ │ │ │ │ │ └── edit.json │ │ │ │ │ ├── requestpasswordreset │ │ │ │ │ │ ├── edit.json │ │ │ │ │ │ └── requestpasswordreset.jsp │ │ │ │ │ ├── resetpassword.json │ │ │ │ │ ├── resetpassword │ │ │ │ │ │ ├── edit.json │ │ │ │ │ │ └── resetpassword.jsp │ │ │ │ │ ├── sendemail.json │ │ │ │ │ ├── sendemail │ │ │ │ │ │ ├── edit.json │ │ │ │ │ │ └── sendemail.jsp │ │ │ │ │ ├── updateprofile.json │ │ │ │ │ ├── updateprofile │ │ │ │ │ │ ├── edit.json │ │ │ │ │ │ └── updateprofile.jsp │ │ │ │ │ ├── updateugc.json │ │ │ │ │ ├── updateugc │ │ │ │ │ │ ├── edit.json │ │ │ │ │ │ └── updateugc.jsp │ │ │ │ │ ├── usergeneratedcontent.json │ │ │ │ │ └── usergeneratedcontent │ │ │ │ │ │ ├── edit.json │ │ │ │ │ │ └── usergeneratedcontent.jsp │ │ │ │ ├── fields │ │ │ │ │ ├── honeypot.json │ │ │ │ │ ├── honeypot │ │ │ │ │ │ ├── edit.json │ │ │ │ │ │ └── honeypot.jsp │ │ │ │ │ ├── selection.json │ │ │ │ │ ├── selection │ │ │ │ │ │ ├── edit.json │ │ │ │ │ │ └── selection.jsp │ │ │ │ │ ├── textarea.json │ │ │ │ │ ├── textarea │ │ │ │ │ │ ├── edit.json │ │ │ │ │ │ └── textarea.jsp │ │ │ │ │ ├── textfield.json │ │ │ │ │ └── textfield │ │ │ │ │ │ ├── edit.json │ │ │ │ │ │ └── textfield.jsp │ │ │ │ ├── fieldset.json │ │ │ │ ├── fieldset │ │ │ │ │ ├── edit.json │ │ │ │ │ └── fieldset.jsp │ │ │ │ ├── form.json │ │ │ │ ├── form │ │ │ │ │ ├── config.json │ │ │ │ │ ├── edit.json │ │ │ │ │ └── form.jsp │ │ │ │ ├── login.json │ │ │ │ ├── login │ │ │ │ │ ├── edit.json │ │ │ │ │ └── login.jsp │ │ │ │ └── providers │ │ │ │ │ ├── requestparameters.json │ │ │ │ │ ├── requestparameters │ │ │ │ │ ├── edit.json │ │ │ │ │ └── requestparameters.jsp │ │ │ │ │ ├── suffixresource.json │ │ │ │ │ ├── suffixresource │ │ │ │ │ ├── edit.json │ │ │ │ │ └── suffixresource.jsp │ │ │ │ │ ├── userprofile.json │ │ │ │ │ └── userprofile │ │ │ │ │ ├── edit.json │ │ │ │ │ └── userprofile.jsp │ │ │ ├── general │ │ │ │ ├── breadcrumb │ │ │ │ │ ├── breadcrumb.jsp │ │ │ │ │ └── edit.json │ │ │ │ ├── codeblock.json │ │ │ │ ├── codeblock │ │ │ │ │ ├── codeblock.jsp │ │ │ │ │ └── edit.json │ │ │ │ ├── columncontrol.json │ │ │ │ ├── columncontrol │ │ │ │ │ ├── columncontrol.jsp │ │ │ │ │ ├── config.json │ │ │ │ │ ├── edit.json │ │ │ │ │ └── options.jsp │ │ │ │ ├── cta.json │ │ │ │ ├── cta │ │ │ │ │ ├── config.json │ │ │ │ │ ├── cta.jsp │ │ │ │ │ ├── edit.json │ │ │ │ │ └── options.jsp │ │ │ │ ├── iframe.json │ │ │ │ ├── iframe │ │ │ │ │ ├── config.json │ │ │ │ │ ├── edit.json │ │ │ │ │ ├── iframe.jsp │ │ │ │ │ └── options.jsp │ │ │ │ ├── image.json │ │ │ │ ├── image │ │ │ │ │ ├── config.json │ │ │ │ │ ├── edit.json │ │ │ │ │ ├── image.jsp │ │ │ │ │ ├── options.jsp │ │ │ │ │ └── transformations.jsp │ │ │ │ ├── list.json │ │ │ │ ├── list │ │ │ │ │ ├── config.json │ │ │ │ │ ├── edit.json │ │ │ │ │ ├── init.jsp │ │ │ │ │ ├── item.jsp │ │ │ │ │ ├── list.jsp │ │ │ │ │ └── pagination.jsp │ │ │ │ ├── reference.json │ │ │ │ ├── reference │ │ │ │ │ ├── config.json │ │ │ │ │ ├── edit.json │ │ │ │ │ ├── reference.jsp │ │ │ │ │ └── types.jsp │ │ │ │ ├── rss │ │ │ │ │ └── rss.xml.jsp │ │ │ │ ├── search.json │ │ │ │ ├── search │ │ │ │ │ ├── config.json │ │ │ │ │ ├── edit.json │ │ │ │ │ ├── pagination.jsp │ │ │ │ │ ├── result.jsp │ │ │ │ │ └── search.jsp │ │ │ │ ├── searchform.json │ │ │ │ ├── searchform │ │ │ │ │ ├── config.json │ │ │ │ │ ├── edit.json │ │ │ │ │ └── searchform.jsp │ │ │ │ ├── sitemap │ │ │ │ │ └── sitemap.xml.jsp │ │ │ │ ├── stylewrapper.json │ │ │ │ ├── stylewrapper │ │ │ │ │ ├── config.json │ │ │ │ │ ├── edit.json │ │ │ │ │ ├── options.jsp │ │ │ │ │ └── stylewrapper.jsp │ │ │ │ ├── suffixheader.json │ │ │ │ ├── suffixheader │ │ │ │ │ ├── edit.json │ │ │ │ │ └── suffixheader.jsp │ │ │ │ ├── tags.json │ │ │ │ └── tags │ │ │ │ │ ├── config.json │ │ │ │ │ ├── edit.json │ │ │ │ │ └── tags.jsp │ │ │ └── pages │ │ │ │ ├── base.json │ │ │ │ ├── base │ │ │ │ ├── base.jsp │ │ │ │ ├── body.jsp │ │ │ │ ├── content.jsp │ │ │ │ ├── edit.json │ │ │ │ └── head.jsp │ │ │ │ ├── post.json │ │ │ │ └── post │ │ │ │ ├── content.jsp │ │ │ │ └── edit.json │ │ │ └── i18n.json │ │ ├── conf │ │ └── asf.json │ │ ├── content.json │ │ ├── content │ │ └── apache.json │ │ ├── etc │ │ └── taxonomy │ │ │ └── reference.json │ │ └── static │ │ └── clientlibs │ │ └── reference │ │ ├── img │ │ ├── SupportApache-small.png │ │ ├── apache.png │ │ ├── favicon.ico │ │ └── sling.svg │ │ └── site.css │ └── test │ ├── java │ └── org │ │ └── apache │ │ └── sling │ │ └── cms │ │ └── reference │ │ ├── forms │ │ ├── FormActionResultTest.java │ │ └── impl │ │ │ ├── FormHandlerTest.java │ │ │ ├── FormRequestImplTest.java │ │ │ ├── MockMessageBuilder.java │ │ │ ├── SearchServiceTest.java │ │ │ ├── SlingContextHelper.java │ │ │ ├── actions │ │ │ ├── CreateUserActionTest.java │ │ │ ├── DeleteUserGeneratedContentActionTest.java │ │ │ ├── RequestPasswordResetActionTest.java │ │ │ ├── ResetPasswordActionTest.java │ │ │ ├── SendEmailActionTest.java │ │ │ ├── UpdateProfileActionTest.java │ │ │ ├── UpdateUserGeneratedContentActionTest.java │ │ │ └── UserGeneratedContentActionTest.java │ │ │ ├── fields │ │ │ ├── HoneypotHandlerTest.java │ │ │ ├── SelectionHandlerTest.java │ │ │ ├── TextareaHandlerTest.java │ │ │ └── TextfieldHandlerTest.java │ │ │ └── providers │ │ │ ├── RequestParametersValueProviderTest.java │ │ │ └── SuffixResourceFormValueProviderTest.java │ │ └── impl │ │ └── IndexUpdateTest.java │ └── resources │ ├── form-no-actions.json │ └── form.json ├── rules.xml ├── ui ├── .eslintrc.js ├── bnd.bnd ├── gulpfile.js ├── libs │ └── sling-cms │ │ └── global.jsp ├── package-lock.json ├── package.json ├── pom.xml └── src │ └── main │ ├── frontend │ ├── fonts │ │ ├── OpenSans-Bold-webfont.woff │ │ ├── OpenSans-Light-webfont.woff │ │ ├── OpenSans-Regular-webfont.woff │ │ └── OpenSans-Semibold-webfont.woff │ ├── img │ │ ├── android-chrome-192x192.png │ │ ├── android-chrome-512x512.png │ │ ├── apple-touch-icon.png │ │ ├── asf-logo.svg │ │ ├── browserconfig.xml │ │ ├── favicon-16x16.png │ │ ├── favicon-32x32.png │ │ ├── favicon.ico │ │ ├── gradient.jpg │ │ ├── mstile-150x150.png │ │ ├── safari-pinned-tab.svg │ │ ├── site.webmanifest │ │ ├── sling-logo.png │ │ └── sling-logo.svg │ ├── js │ │ ├── cms.draggable.js │ │ ├── cms.fields.js │ │ ├── cms.form.js │ │ ├── cms.job.js │ │ ├── cms.js │ │ ├── cms.labelfield.js │ │ ├── cms.modal.js │ │ ├── cms.nav.js │ │ ├── cms.page.js │ │ ├── cms.pathfield.js │ │ ├── cms.toggle.js │ │ └── editor.js │ └── scss │ │ ├── _fonts.scss │ │ ├── _grid.scss │ │ ├── _overrides.scss │ │ ├── cms.scss │ │ ├── editor.scss │ │ └── starter.scss │ └── resources │ ├── SLING-INF │ └── nodetypes │ │ └── nodetypes.cnd │ ├── content │ └── startup │ │ └── index.html │ └── jcr_root │ ├── conf │ └── global.json │ ├── content.json │ ├── etc │ ├── i18n │ │ └── jcr%3Acontent.json │ └── taxonomy │ │ └── jcr%3Acontent.json │ ├── libs │ ├── sling-cms │ │ ├── components │ │ │ ├── caconfig │ │ │ │ ├── base │ │ │ │ │ └── base.jsp │ │ │ │ ├── component.json │ │ │ │ ├── component │ │ │ │ │ ├── component.jsp │ │ │ │ │ └── edit.json │ │ │ │ ├── edit │ │ │ │ │ └── edit.jsp │ │ │ │ ├── fileeditor.json │ │ │ │ ├── fileeditor │ │ │ │ │ ├── config.json │ │ │ │ │ ├── config │ │ │ │ │ │ ├── config.jsp │ │ │ │ │ │ └── edit.json │ │ │ │ │ └── fileeditor.jsp │ │ │ │ ├── policies.json │ │ │ │ ├── policies │ │ │ │ │ └── include.jsp │ │ │ │ ├── policy.json │ │ │ │ ├── policy │ │ │ │ │ ├── config.json │ │ │ │ │ ├── config │ │ │ │ │ │ ├── config.jsp │ │ │ │ │ │ └── edit.json │ │ │ │ │ └── policy.jsp │ │ │ │ ├── policymapping.json │ │ │ │ ├── policymapping │ │ │ │ │ ├── edit.json │ │ │ │ │ └── policymapping.jsp │ │ │ │ ├── readability.json │ │ │ │ ├── readability │ │ │ │ │ ├── config.json │ │ │ │ │ ├── config │ │ │ │ │ │ ├── config.jsp │ │ │ │ │ │ └── edit.json │ │ │ │ │ └── include.jsp │ │ │ │ ├── rewriter.json │ │ │ │ ├── rewriter │ │ │ │ │ ├── config.json │ │ │ │ │ ├── config │ │ │ │ │ │ ├── config.jsp │ │ │ │ │ │ └── edit.json │ │ │ │ │ └── include.jsp │ │ │ │ ├── scripts │ │ │ │ │ └── policyOptions.jsp │ │ │ │ ├── sitesettings.json │ │ │ │ ├── sitesettings │ │ │ │ │ ├── config.json │ │ │ │ │ ├── config │ │ │ │ │ │ ├── config.jsp │ │ │ │ │ │ └── edit.json │ │ │ │ │ └── include.jsp │ │ │ │ ├── template │ │ │ │ │ ├── config.json │ │ │ │ │ ├── config │ │ │ │ │ │ ├── config.jsp │ │ │ │ │ │ └── edit.json │ │ │ │ │ └── template.jsp │ │ │ │ ├── templates.json │ │ │ │ ├── templates │ │ │ │ │ └── templates.jsp │ │ │ │ ├── transformations.json │ │ │ │ └── transformations │ │ │ │ │ └── transformations.jsp │ │ │ ├── cms │ │ │ │ ├── actions │ │ │ │ │ ├── basic │ │ │ │ │ │ └── basic.jsp │ │ │ │ │ └── modal │ │ │ │ │ │ └── modal.jsp │ │ │ │ ├── availablecomponenttypes │ │ │ │ │ └── availablecomponenttypes.jsp │ │ │ │ ├── blank │ │ │ │ │ └── blank.jsp │ │ │ │ ├── columns │ │ │ │ │ ├── actions │ │ │ │ │ │ └── actions.jsp │ │ │ │ │ ├── lastmodified │ │ │ │ │ │ └── lastmodified.jsp │ │ │ │ │ ├── localetitle │ │ │ │ │ │ └── localetitle.jsp │ │ │ │ │ ├── name │ │ │ │ │ │ └── name.jsp │ │ │ │ │ ├── publish │ │ │ │ │ │ └── publish.jsp │ │ │ │ │ ├── static │ │ │ │ │ │ └── static.jsp │ │ │ │ │ └── text │ │ │ │ │ │ └── text.jsp │ │ │ │ ├── contentactions │ │ │ │ │ └── contentactions.jsp │ │ │ │ ├── contentbreadcrumb │ │ │ │ │ └── contentbreadcrumb.jsp │ │ │ │ ├── contentgrid │ │ │ │ │ └── contentgrid.jsp │ │ │ │ ├── contentlayout │ │ │ │ │ └── contentlayout.jsp │ │ │ │ ├── contenttable │ │ │ │ │ └── contenttable.jsp │ │ │ │ ├── fileeditorinclude │ │ │ │ │ └── fileeditorinclude.jsp │ │ │ │ ├── getform │ │ │ │ │ └── getform.jsp │ │ │ │ ├── i18ncontainer │ │ │ │ │ └── i18ncontainer.jsp │ │ │ │ ├── includeconfig │ │ │ │ │ └── includeconfig.jsp │ │ │ │ ├── includeeditor │ │ │ │ │ └── includeeditor.jsp │ │ │ │ ├── optimizefile │ │ │ │ │ └── optimizefile.jsp │ │ │ │ ├── pageeditbar │ │ │ │ │ ├── actions │ │ │ │ │ │ └── actions.jsp │ │ │ │ │ ├── pageeditbar.jsp │ │ │ │ │ └── propertieseditor │ │ │ │ │ │ └── propertieseditor.jsp │ │ │ │ ├── pageeditor │ │ │ │ │ └── pageeditor.jsp │ │ │ │ ├── pageproperties │ │ │ │ │ ├── include.jsp │ │ │ │ │ └── pageproperties.jsp │ │ │ │ ├── pagewrapper │ │ │ │ │ └── pagewrapper.jsp │ │ │ │ ├── parameter.json │ │ │ │ ├── querydebug │ │ │ │ │ └── querydebug.jsp │ │ │ │ ├── references │ │ │ │ │ └── references.jsp │ │ │ │ ├── scrollcontainer │ │ │ │ │ └── scrollcontainer.jsp │ │ │ │ ├── searchresults │ │ │ │ │ └── searchresults.jsp │ │ │ │ ├── sitenav.json │ │ │ │ ├── startcontent │ │ │ │ │ ├── search.jsp │ │ │ │ │ └── startcontent.jsp │ │ │ │ ├── staticnav │ │ │ │ │ └── staticnav.jsp │ │ │ │ ├── suffixproperty │ │ │ │ │ └── suffixproperty.jsp │ │ │ │ ├── suffixswitch │ │ │ │ │ └── suffixswitch.jsp │ │ │ │ ├── tilecard │ │ │ │ │ └── tilecard.jsp │ │ │ │ ├── tiles │ │ │ │ │ └── tiles.jsp │ │ │ │ ├── transformationredirect │ │ │ │ │ └── transformationredirect.jsp │ │ │ │ └── versionmanager │ │ │ │ │ └── versionmanager.jsp │ │ │ ├── editor │ │ │ │ ├── fields │ │ │ │ │ ├── auth │ │ │ │ │ │ ├── members.json │ │ │ │ │ │ ├── members │ │ │ │ │ │ │ ├── options.jsp │ │ │ │ │ │ │ └── values.jsp │ │ │ │ │ │ ├── membership.json │ │ │ │ │ │ ├── membership │ │ │ │ │ │ │ ├── options.jsp │ │ │ │ │ │ │ └── values.jsp │ │ │ │ │ │ └── status │ │ │ │ │ │ │ └── status.jsp │ │ │ │ │ ├── base │ │ │ │ │ │ └── base.jsp │ │ │ │ │ ├── button │ │ │ │ │ │ └── button.jsp │ │ │ │ │ ├── combobox.json │ │ │ │ │ ├── combobox │ │ │ │ │ │ ├── options.jsp │ │ │ │ │ │ └── values.jsp │ │ │ │ │ ├── file.json │ │ │ │ │ ├── file │ │ │ │ │ │ └── field.jsp │ │ │ │ │ ├── filemetadata.json │ │ │ │ │ ├── filemetadata │ │ │ │ │ │ ├── edit.json │ │ │ │ │ │ └── filemetadata.jsp │ │ │ │ │ ├── hidden.json │ │ │ │ │ ├── hidden │ │ │ │ │ │ ├── edit.json │ │ │ │ │ │ └── hidden.jsp │ │ │ │ │ ├── labelfield.json │ │ │ │ │ ├── labelfield │ │ │ │ │ │ ├── field.jsp │ │ │ │ │ │ ├── options.jsp │ │ │ │ │ │ └── values.jsp │ │ │ │ │ ├── namehint │ │ │ │ │ │ └── namehint.jsp │ │ │ │ │ ├── param │ │ │ │ │ │ ├── edit.json │ │ │ │ │ │ └── param.jsp │ │ │ │ │ ├── path.json │ │ │ │ │ ├── path │ │ │ │ │ │ └── path.jsp │ │ │ │ │ ├── publication.json │ │ │ │ │ ├── publication │ │ │ │ │ │ └── field.jsp │ │ │ │ │ ├── references │ │ │ │ │ │ └── references.jsp │ │ │ │ │ ├── repeating.json │ │ │ │ │ ├── repeating │ │ │ │ │ │ └── field.jsp │ │ │ │ │ ├── resourceparam │ │ │ │ │ │ └── resourceparam.jsp │ │ │ │ │ ├── richtext.json │ │ │ │ │ ├── richtext │ │ │ │ │ │ ├── field.jsp │ │ │ │ │ │ └── toolbar │ │ │ │ │ │ │ ├── button │ │ │ │ │ │ │ └── button.jsp │ │ │ │ │ │ │ ├── buttonbar │ │ │ │ │ │ │ └── buttonbar.jsp │ │ │ │ │ │ │ ├── buttongroup │ │ │ │ │ │ │ └── buttongroup.jsp │ │ │ │ │ │ │ ├── createlink │ │ │ │ │ │ │ └── createlink.jsp │ │ │ │ │ │ │ ├── default.json │ │ │ │ │ │ │ ├── insertimage │ │ │ │ │ │ │ └── insertimage.jsp │ │ │ │ │ │ │ ├── optionbutton │ │ │ │ │ │ │ └── optionbutton.jsp │ │ │ │ │ │ │ ├── textoptions │ │ │ │ │ │ │ └── textoptions.jsp │ │ │ │ │ │ │ ├── toolbar.jsp │ │ │ │ │ │ │ └── viewsource │ │ │ │ │ │ │ └── viewsource.jsp │ │ │ │ │ ├── select.json │ │ │ │ │ ├── select │ │ │ │ │ │ ├── edit.json │ │ │ │ │ │ └── field.jsp │ │ │ │ │ ├── siblingselect │ │ │ │ │ │ └── siblingselect.jsp │ │ │ │ │ ├── suffixlabel │ │ │ │ │ │ └── suffixlabel.jsp │ │ │ │ │ ├── taxonomy.json │ │ │ │ │ ├── taxonomy │ │ │ │ │ │ ├── edit.json │ │ │ │ │ │ ├── options.jsp │ │ │ │ │ │ └── values.jsp │ │ │ │ │ ├── text.json │ │ │ │ │ ├── text │ │ │ │ │ │ ├── edit.json │ │ │ │ │ │ └── field.jsp │ │ │ │ │ ├── textarea.json │ │ │ │ │ ├── textarea │ │ │ │ │ │ ├── edit.json │ │ │ │ │ │ └── field.jsp │ │ │ │ │ ├── thumbnail │ │ │ │ │ │ └── thumbnail.jsp │ │ │ │ │ └── well │ │ │ │ │ │ └── well.jsp │ │ │ │ ├── scripts │ │ │ │ │ ├── componentConfigOptions.jsp │ │ │ │ │ ├── configResourceTypeOptions.jsp │ │ │ │ │ ├── finalize.jsp │ │ │ │ │ ├── init.jsp │ │ │ │ │ ├── localeOptions.jsp │ │ │ │ │ ├── pageTemplateOptions.jsp │ │ │ │ │ ├── resourceTypeOptions.jsp │ │ │ │ │ └── transformations.jsp │ │ │ │ └── slingform │ │ │ │ │ └── slingform.jsp │ │ │ ├── general │ │ │ │ ├── container.json │ │ │ │ ├── container │ │ │ │ │ └── container.jsp │ │ │ │ ├── reloadcontainer.json │ │ │ │ ├── richtext.json │ │ │ │ ├── richtext │ │ │ │ │ ├── edit.json │ │ │ │ │ └── richtext.jsp │ │ │ │ ├── textelement.json │ │ │ │ └── textelement │ │ │ │ │ ├── edit.json │ │ │ │ │ └── textelement.jsp │ │ │ ├── insights │ │ │ │ ├── insight │ │ │ │ │ └── insight.jsp │ │ │ │ └── insightlist │ │ │ │ │ └── insightlist.jsp │ │ │ ├── jobs │ │ │ │ ├── configuration │ │ │ │ │ ├── configuration.jsp │ │ │ │ │ └── include.jsp │ │ │ │ ├── jobOptions.jsp │ │ │ │ ├── list │ │ │ │ │ └── list.jsp │ │ │ │ └── view │ │ │ │ │ └── view.jsp │ │ │ ├── pages │ │ │ │ ├── base.json │ │ │ │ ├── base │ │ │ │ │ ├── base.jsp │ │ │ │ │ ├── body.jsp │ │ │ │ │ ├── content.jsp │ │ │ │ │ ├── head.jsp │ │ │ │ │ ├── nav.jsp │ │ │ │ │ └── scripts.jsp │ │ │ │ ├── editor.json │ │ │ │ ├── editor │ │ │ │ │ ├── body.jsp │ │ │ │ │ └── editor.jsp │ │ │ │ ├── error.json │ │ │ │ ├── error │ │ │ │ │ ├── body.jsp │ │ │ │ │ ├── error.jsp │ │ │ │ │ └── nav.jsp │ │ │ │ ├── fragment.json │ │ │ │ ├── fragment │ │ │ │ │ ├── body.jsp │ │ │ │ │ ├── content.jsp │ │ │ │ │ ├── edit.json │ │ │ │ │ └── fragment.jsp │ │ │ │ ├── modal.json │ │ │ │ └── modal │ │ │ │ │ └── modal.jsp │ │ │ └── publication │ │ │ │ ├── agent │ │ │ │ └── agent.jsp │ │ │ │ ├── configuration │ │ │ │ └── configuration.jsp │ │ │ │ ├── configurationarray │ │ │ │ └── configurationarray.jsp │ │ │ │ ├── exporter │ │ │ │ └── exporter.jsp │ │ │ │ ├── home │ │ │ │ └── home.jsp │ │ │ │ ├── importer │ │ │ │ └── importer.jsp │ │ │ │ └── status │ │ │ │ └── status.jsp │ │ ├── config │ │ │ └── rewriter │ │ │ │ └── reference-mapping-rewriter.json │ │ ├── content.json │ │ ├── content │ │ │ ├── admin │ │ │ │ ├── bulkreplace.json │ │ │ │ ├── loadcontent.json │ │ │ │ └── querydebug.json │ │ │ ├── auth │ │ │ │ ├── group │ │ │ │ │ ├── create.json │ │ │ │ │ └── members.json │ │ │ │ ├── list.json │ │ │ │ ├── membership.json │ │ │ │ ├── newfolder.json │ │ │ │ └── user │ │ │ │ │ ├── create.json │ │ │ │ │ ├── password.json │ │ │ │ │ ├── profile.json │ │ │ │ │ └── status.json │ │ │ ├── branding.json │ │ │ ├── config │ │ │ │ ├── bucket.json │ │ │ │ ├── buckets.json │ │ │ │ ├── configs.json │ │ │ │ ├── create.json │ │ │ │ ├── edit.json │ │ │ │ └── metadata.json │ │ │ ├── content.json │ │ │ ├── editor │ │ │ │ ├── add.json │ │ │ │ ├── delete.json │ │ │ │ ├── edit.json │ │ │ │ └── reorder.json │ │ │ ├── file │ │ │ │ ├── addrendition.json │ │ │ │ ├── download.json │ │ │ │ ├── edit.json │ │ │ │ ├── optimize.json │ │ │ │ ├── preview.json │ │ │ │ ├── renditions.json │ │ │ │ └── upload.json │ │ │ ├── folder │ │ │ │ ├── create.json │ │ │ │ └── edit.json │ │ │ ├── i18n │ │ │ │ ├── dictionaries.json │ │ │ │ ├── dictionary.json │ │ │ │ ├── entry │ │ │ │ │ └── create.json │ │ │ │ └── language │ │ │ │ │ ├── create.json │ │ │ │ │ └── edit.json │ │ │ ├── jobs │ │ │ │ ├── delete.json │ │ │ │ ├── filemetadataextractor.json │ │ │ │ ├── list.json │ │ │ │ ├── optimizefiles.json │ │ │ │ ├── start.json │ │ │ │ └── view.json │ │ │ ├── mappings │ │ │ │ ├── create.json │ │ │ │ ├── edit.json │ │ │ │ └── list.json │ │ │ ├── page │ │ │ │ ├── create.json │ │ │ │ ├── edit.json │ │ │ │ ├── editproperties.json │ │ │ │ └── pagewrapper.json │ │ │ ├── publication │ │ │ │ ├── agent.json │ │ │ │ ├── agents.json │ │ │ │ ├── bulk.json │ │ │ │ ├── exporter.json │ │ │ │ ├── exporters.json │ │ │ │ ├── home.json │ │ │ │ ├── importer.json │ │ │ │ └── importers.json │ │ │ ├── shared │ │ │ │ ├── delete.json │ │ │ │ ├── insights.json │ │ │ │ ├── movecopy.json │ │ │ │ ├── publish.json │ │ │ │ ├── references.json │ │ │ │ ├── search.json │ │ │ │ ├── unpublish.json │ │ │ │ └── versions.json │ │ │ ├── site │ │ │ │ ├── content.json │ │ │ │ ├── create.json │ │ │ │ ├── creategroup.json │ │ │ │ ├── edit.json │ │ │ │ ├── editgroup.json │ │ │ │ └── sites.json │ │ │ ├── siteconfig │ │ │ │ └── editor.json │ │ │ ├── start.json │ │ │ ├── static │ │ │ │ └── content.json │ │ │ ├── taxonomy │ │ │ │ ├── create.json │ │ │ │ ├── edit.json │ │ │ │ └── list.json │ │ │ ├── template │ │ │ │ ├── create.json │ │ │ │ └── edit.json │ │ │ ├── transformations │ │ │ │ ├── create.json │ │ │ │ ├── edit.json │ │ │ │ ├── editor.json │ │ │ │ ├── user.json │ │ │ │ ├── useredit.json │ │ │ │ └── userredirect.json │ │ │ └── usergenerated │ │ │ │ ├── content.json │ │ │ │ └── review.json │ │ ├── global.jsp │ │ └── i18n.json │ └── sling │ │ └── thumbnails │ │ ├── transformation │ │ ├── config.json │ │ ├── config │ │ │ ├── config.jsp │ │ │ └── edit.json │ │ └── transformation.jsp │ │ └── transformers │ │ ├── colorize.json │ │ ├── colorize │ │ ├── colorize.jsp │ │ └── edit.json │ │ ├── crop.json │ │ ├── crop │ │ ├── crop.jsp │ │ └── edit.json │ │ ├── flip.json │ │ ├── flip │ │ ├── edit.json │ │ └── flip.jsp │ │ ├── greyscale.json │ │ ├── greyscale │ │ ├── edit.json │ │ └── greyscale.jsp │ │ ├── resize.json │ │ ├── resize │ │ ├── edit.json │ │ └── resize.jsp │ │ ├── rotate.json │ │ ├── rotate │ │ ├── edit.json │ │ └── rotate.jsp │ │ ├── scale │ │ ├── edit.json │ │ └── scale.jsp │ │ ├── transparency.json │ │ └── transparency │ │ ├── edit.json │ │ └── transparency.jsp │ └── static │ └── sling-cms │ ├── errorhandling │ ├── 401.json │ ├── 403.json │ ├── 404.json │ └── default.json │ ├── thumbnails.json │ └── thumbnails │ ├── bulk-publication.png │ ├── exporter.png │ ├── file.png │ ├── folder.png │ ├── importer.png │ ├── page.png │ ├── publish-agent.png │ └── site.png └── vagrant ├── Vagrantfile └── src ├── cache_disk.conf ├── cms.conf ├── init.sh ├── install-apache.sh ├── install-slingcms.sh ├── selinux ├── site.conf ├── start.sh └── stop.sh /.asf.yaml: -------------------------------------------------------------------------------- 1 | github: 2 | autolink_jira: 3 | - "SLING" 4 | - "OAK" 5 | - "JCR" 6 | - "JCRVLT" 7 | - "INFRA" 8 | - "FELIX" 9 | - "MNG" 10 | notifications: 11 | jira_options: "link" 12 | pullrequests_bot_sonarcloud: "commits@sling.apache.org" 13 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.jar 2 | .metadata 3 | RemoteSystemsTempFiles 4 | target 5 | .grunt 6 | .idea 7 | .classpath 8 | .project 9 | .settings 10 | bin 11 | .vlt 12 | .DS_Store 13 | .vlt-sync-config.properties 14 | .vlt-sync.log 15 | .brackets.json 16 | .metadata/ 17 | .vagrant/ 18 | *.iml 19 | node_modules/ 20 | node/ 21 | .vscode/ 22 | pom.xml.releaseBackup 23 | pom.xml.tag 24 | release.properties 25 | pom.xml.next 26 | .java-version -------------------------------------------------------------------------------- /.gitpod.Dockerfile: -------------------------------------------------------------------------------- 1 | FROM gitpod/workspace-full 2 | 3 | USER gitpod 4 | 5 | # Install custom tools, runtime, etc. using apt-get 6 | # For example, the command below would install "bastet" - a command line tetris clone: 7 | # 8 | # RUN sudo apt-get -q update && # sudo apt-get install -yq bastet && # sudo rm -rf /var/lib/apt/lists/* 9 | # 10 | # More information: https://www.gitpod.io/docs/42_config_docker/ 11 | RUN bash -c ". /home/gitpod/.sdkman/bin/sdkman-init.sh \ 12 | && sdk install java 11.0.9.hs-adpt" -------------------------------------------------------------------------------- /.gitpod.yml: -------------------------------------------------------------------------------- 1 | tasks: 2 | - command: mvn install -DskipTests && java -jar feature/target/org.apache.sling.cms-*-SNAPSHOT.jar 3 | image: 4 | file: .gitpod.Dockerfile 5 | ports: 6 | - port: 8080 -------------------------------------------------------------------------------- /.helmignore: -------------------------------------------------------------------------------- 1 | # Patterns to ignore when building packages. 2 | # This supports shell glob matching, relative path matching, and 3 | # negation (prefixed with !). Only one pattern per line. 4 | .DS_Store 5 | # Common VCS dirs 6 | .git/ 7 | .gitignore 8 | .bzr/ 9 | .bzrignore 10 | .hg/ 11 | .hgignore 12 | .svn/ 13 | # Common backup files 14 | *.swp 15 | *.bak 16 | *.tmp 17 | *.orig 18 | *~ 19 | # Various IDEs 20 | .project 21 | .idea/ 22 | *.tmproj 23 | .vscode/ 24 | -------------------------------------------------------------------------------- /.sling-module.json: -------------------------------------------------------------------------------- 1 | { 2 | "jenkins": { 3 | "jdks": [11, 17], 4 | "mavenGoal": "install", 5 | "operatingSystems": ["linux"] 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /Jenkinsfile: -------------------------------------------------------------------------------- 1 | /** 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | slingOsgiBundleBuild() 21 | -------------------------------------------------------------------------------- /NOTICE: -------------------------------------------------------------------------------- 1 | Apache Sling App CMS 2 | Copyright 2019 The Apache Software Foundation 3 | 4 | This product includes software developed at 5 | The Apache Software Foundation (http://www.apache.org/). 6 | 7 | This product includes software developed at 8 | https://github.com/coobird/thumbnailator 9 | -------------------------------------------------------------------------------- /api/src/main/java/org/apache/sling/cms/i18n/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | /** 21 | * Package for managing i18n in Sling CMS 22 | * 23 | * @since 0.10.0 24 | */ 25 | @org.osgi.annotation.versioning.Version("1.0.0") 26 | package org.apache.sling.cms.i18n; 27 | -------------------------------------------------------------------------------- /api/src/main/java/org/apache/sling/cms/insights/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | /** 21 | * Support for Content Insights 22 | * 23 | * @version 0.10.2 24 | */ 25 | @org.osgi.annotation.versioning.Version("1.0.0") 26 | package org.apache.sling.cms.insights; 27 | -------------------------------------------------------------------------------- /api/src/main/java/org/apache/sling/cms/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | /** 21 | * Package with all of the common models used to access content in the Sling 22 | * reference CMS 23 | * 24 | * @since 0.10.0 25 | */ 26 | @org.osgi.annotation.versioning.Version("2.1.1") 27 | package org.apache.sling.cms; 28 | -------------------------------------------------------------------------------- /api/src/main/java/org/apache/sling/cms/publication/INSTANCE_TYPE.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package org.apache.sling.cms.publication; 18 | 19 | public enum INSTANCE_TYPE { 20 | STANDALONE, AUTHOR, RENDERER 21 | } 22 | -------------------------------------------------------------------------------- /api/src/main/java/org/apache/sling/cms/publication/PUBLICATION_MODE.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package org.apache.sling.cms.publication; 18 | 19 | /** 20 | * The publication mode of the instance. 21 | */ 22 | public enum PUBLICATION_MODE { 23 | STANDALONE, CONTENT_DISTRIBUTION 24 | } 25 | -------------------------------------------------------------------------------- /api/src/main/java/org/apache/sling/cms/publication/PublicationType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package org.apache.sling.cms.publication; 18 | 19 | /** 20 | * The type of publication. If in standalone will return STANDALONE. 21 | */ 22 | public enum PublicationType { 23 | ADD, DELETE, NONE 24 | } 25 | -------------------------------------------------------------------------------- /api/src/main/java/org/apache/sling/cms/publication/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | /** 21 | * Publication related APIs 22 | * 23 | * @since 0.16.2 24 | */ 25 | @org.osgi.annotation.versioning.Version("1.0.0") 26 | package org.apache.sling.cms.publication; 27 | -------------------------------------------------------------------------------- /api/src/main/java/org/apache/sling/cms/readability/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | /** 21 | * Support for Content Insights 22 | * 23 | * @version 0.10.2 24 | */ 25 | @Version("1.0.0") 26 | package org.apache.sling.cms.readability; 27 | 28 | import org.osgi.annotation.versioning.Version; 29 | -------------------------------------------------------------------------------- /api/src/main/java/org/apache/sling/cms/usergenerated/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | /** 21 | * Handling for User Generated Content 22 | * 23 | * @version 0.9.0 24 | */ 25 | @org.osgi.annotation.versioning.Version("0.9.2") 26 | package org.apache.sling.cms.usergenerated; 27 | -------------------------------------------------------------------------------- /archetype/src/main/resources/archetype-resources/gulpfile.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | var gulp = require('gulp'); 18 | 19 | gulp.task('css', function() { 20 | return gulp.src(['./node_modules/bootstrap/dist/css/bootstrap.min.css']) 21 | .pipe(gulp.dest('./target/dist/jcr_root/static/clientlibs/${appName}/css')); 22 | }); 23 | 24 | gulp.task('default', gulp.series('css')); 25 | -------------------------------------------------------------------------------- /archetype/src/main/resources/archetype-resources/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "${appName}-front-end", 3 | "version": "1.0.0", 4 | "description": "Scripts and Styles for ${appName}", 5 | "dependencies": { 6 | "bootstrap": "^4.3.1" 7 | }, 8 | "devDependencies": { 9 | "gulp": "^4.0.1" 10 | }, 11 | "license": "Apache-2.0" 12 | } 13 | -------------------------------------------------------------------------------- /archetype/src/main/resources/archetype-resources/src/main/java/__packageInPathFormat__/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | /** 21 | * Models package for ${appName} 22 | * 23 | * @version ${version} 24 | */ 25 | @org.osgi.annotation.versioning.Version("1.0.0") 26 | package ${package}; 27 | -------------------------------------------------------------------------------- /archetype/src/main/resources/archetype-resources/src/main/resources/jcr_root/apps/__appName__/components/page.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType" : "sling:Component", 3 | "jcr:title": "${appName} - Page", 4 | "sling:resourceSuperType": "reference/components/pages/base", 5 | "componentType": "Page" 6 | } 7 | -------------------------------------------------------------------------------- /archetype/src/main/resources/archetype-resources/src/test/resources/resource.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "nt:unstructured" 3 | } 4 | -------------------------------------------------------------------------------- /core/bnd.bnd: -------------------------------------------------------------------------------- 1 | # a lot of bundle header are generated from pom elements by default: https://github.com/bndtools/bnd/tree/master/maven/bnd-maven-plugin#default-bundle-headers 2 | Bundle-Category: sling 3 | # export all versioned packages except for conditional ones (https://github.com/bndtools/bnd/issues/3721#issuecomment-579026778) 4 | -exportcontents: ${removeall;${packages;VERSIONED};${packages;CONDITIONAL}} 5 | # see https://issues.apache.org/jira/browse/SLING-8980 6 | -snapshot: SNAPSHOT 7 | # reproducible builds (https://github.com/bndtools/bnd/issues/3521) 8 | -noextraheaders: true 9 | # we cannot let bnd-maven-plugin generate it automatically, as Maven applies some inheritance logic which is incorrect for Sling (https://issues.apache.org/jira/browse/SLING-8537) 10 | Bundle-DocURL: https://sling.apache.org 11 | 12 | Sling-Model-Packages: org.apache.sling.cms.core.models,org.apache.sling.cms.core.internal.models 13 | -------------------------------------------------------------------------------- /core/src/main/java/org/apache/sling/cms/core/models/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | /** 21 | * Package with all of the core models used to support the Sling reference CMS 22 | */ 23 | @Version("5.1.0") 24 | package org.apache.sling.cms.core.models; 25 | 26 | import org.osgi.annotation.versioning.Version; 27 | -------------------------------------------------------------------------------- /core/src/main/resources/res/editinclude/droptarget.html: -------------------------------------------------------------------------------- 1 |
-------------------------------------------------------------------------------- /core/src/main/resources/res/editinclude/end.html: -------------------------------------------------------------------------------- 1 | 18 | 19 |
20 |
${title}
21 |
22 | 23 | -------------------------------------------------------------------------------- /core/src/main/resources/res/editinclude/header.html: -------------------------------------------------------------------------------- 1 |
-------------------------------------------------------------------------------- /core/src/test/java/org/apache/sling/cms/core/internal/MockBindings.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package org.apache.sling.cms.core.internal; 18 | 19 | import java.util.HashMap; 20 | 21 | import javax.script.Bindings; 22 | 23 | public class MockBindings extends HashMap implements Bindings { 24 | 25 | private static final long serialVersionUID = 1L; 26 | 27 | } 28 | -------------------------------------------------------------------------------- /core/src/test/resources/apache.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/sling-org-apache-sling-app-cms/c34bbb42de862352c1ca1b5a7bb57db5a14e7b52/core/src/test/resources/apache.png -------------------------------------------------------------------------------- /core/src/test/resources/thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/sling-org-apache-sling-app-cms/c34bbb42de862352c1ca1b5a7bb57db5a14e7b52/core/src/test/resources/thumbnail.png -------------------------------------------------------------------------------- /docker/README.md: -------------------------------------------------------------------------------- 1 | # Apache Sling CMS Docker Support 2 | 3 | This is a sample Docker Compose configuration for using Apache Sling CMS in a containerized environment. 4 | 5 | It will start a container with the Apache Sling CMS backed by a shared volume and a webcache container pre-configured to proxy and cache two URLs. 6 | 7 | ## Dependencies 8 | 9 | This requires: 10 | 11 | - [Docker](https://docs.docker.com/install/) 12 | - [Docker Compose](https://docs.docker.com/compose/install/) 13 | 14 | ## Building 15 | 16 | To build, run the command: 17 | 18 | `docker-compose build` 19 | 20 | If you are using snapshots, to force a rebuild, run: 21 | 22 | `docker-compose build --no-cache --force-rm` 23 | 24 | ## Volume 25 | 26 | This Docker Compose setup creates a volume _docker_sling-repository_ for the Apache Sling CMS repository. To destroy this volume call: 27 | 28 | `docker rm docker_sling-repository` 29 | 30 | ## Use 31 | 32 | To use the containers, run the command: 33 | 34 | `docker-compose up` 35 | 36 | Then map the URLs *sling2.apache.org* and *cms.sling.apache.org* to your docker host. On local hosts, you can add the following entries into your /etc/hosts file: 37 | 38 | 127.0.0.1 sling2.apache.org 39 | 127.0.0.1 cms.sling.apache.org 40 | -------------------------------------------------------------------------------- /docker/cms/config-standalone.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "org.apache.sling:org.apache.sling.cms.docker:slingfeature:standalone:1.0.0" 3 | } -------------------------------------------------------------------------------- /docs/img/add-config.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/sling-org-apache-sling-app-cms/c34bbb42de862352c1ca1b5a7bb57db5a14e7b52/docs/img/add-config.png -------------------------------------------------------------------------------- /docs/img/add-taxonomy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/sling-org-apache-sling-app-cms/c34bbb42de862352c1ca1b5a7bb57db5a14e7b52/docs/img/add-taxonomy.png -------------------------------------------------------------------------------- /docs/img/add-template.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/sling-org-apache-sling-app-cms/c34bbb42de862352c1ca1b5a7bb57db5a14e7b52/docs/img/add-template.png -------------------------------------------------------------------------------- /docs/img/bulk-replace.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/sling-org-apache-sling-app-cms/c34bbb42de862352c1ca1b5a7bb57db5a14e7b52/docs/img/bulk-replace.png -------------------------------------------------------------------------------- /docs/img/component-configurations.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/sling-org-apache-sling-app-cms/c34bbb42de862352c1ca1b5a7bb57db5a14e7b52/docs/img/component-configurations.png -------------------------------------------------------------------------------- /docs/img/component-editor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/sling-org-apache-sling-app-cms/c34bbb42de862352c1ca1b5a7bb57db5a14e7b52/docs/img/component-editor.png -------------------------------------------------------------------------------- /docs/img/configuration-fields.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/sling-org-apache-sling-app-cms/c34bbb42de862352c1ca1b5a7bb57db5a14e7b52/docs/img/configuration-fields.png -------------------------------------------------------------------------------- /docs/img/configure-readability-grade-range.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/sling-org-apache-sling-app-cms/c34bbb42de862352c1ca1b5a7bb57db5a14e7b52/docs/img/configure-readability-grade-range.jpg -------------------------------------------------------------------------------- /docs/img/configure-readability-service.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/sling-org-apache-sling-app-cms/c34bbb42de862352c1ca1b5a7bb57db5a14e7b52/docs/img/configure-readability-service.jpg -------------------------------------------------------------------------------- /docs/img/configure-referrer-filter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/sling-org-apache-sling-app-cms/c34bbb42de862352c1ca1b5a7bb57db5a14e7b52/docs/img/configure-referrer-filter.png -------------------------------------------------------------------------------- /docs/img/configure-security-filter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/sling-org-apache-sling-app-cms/c34bbb42de862352c1ca1b5a7bb57db5a14e7b52/docs/img/configure-security-filter.png -------------------------------------------------------------------------------- /docs/img/container-add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/sling-org-apache-sling-app-cms/c34bbb42de862352c1ca1b5a7bb57db5a14e7b52/docs/img/container-add.png -------------------------------------------------------------------------------- /docs/img/content-packages.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/sling-org-apache-sling-app-cms/c34bbb42de862352c1ca1b5a7bb57db5a14e7b52/docs/img/content-packages.png -------------------------------------------------------------------------------- /docs/img/create-site-configuration.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/sling-org-apache-sling-app-cms/c34bbb42de862352c1ca1b5a7bb57db5a14e7b52/docs/img/create-site-configuration.png -------------------------------------------------------------------------------- /docs/img/create-site-group.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/sling-org-apache-sling-app-cms/c34bbb42de862352c1ca1b5a7bb57db5a14e7b52/docs/img/create-site-group.png -------------------------------------------------------------------------------- /docs/img/create-site.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/sling-org-apache-sling-app-cms/c34bbb42de862352c1ca1b5a7bb57db5a14e7b52/docs/img/create-site.png -------------------------------------------------------------------------------- /docs/img/delete-dialog.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/sling-org-apache-sling-app-cms/c34bbb42de862352c1ca1b5a7bb57db5a14e7b52/docs/img/delete-dialog.png -------------------------------------------------------------------------------- /docs/img/edit-file-config.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/sling-org-apache-sling-app-cms/c34bbb42de862352c1ca1b5a7bb57db5a14e7b52/docs/img/edit-file-config.png -------------------------------------------------------------------------------- /docs/img/edit-site-configuration.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/sling-org-apache-sling-app-cms/c34bbb42de862352c1ca1b5a7bb57db5a14e7b52/docs/img/edit-site-configuration.png -------------------------------------------------------------------------------- /docs/img/edit-template.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/sling-org-apache-sling-app-cms/c34bbb42de862352c1ca1b5a7bb57db5a14e7b52/docs/img/edit-template.png -------------------------------------------------------------------------------- /docs/img/edit-transformation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/sling-org-apache-sling-app-cms/c34bbb42de862352c1ca1b5a7bb57db5a14e7b52/docs/img/edit-transformation.png -------------------------------------------------------------------------------- /docs/img/editor-topbar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/sling-org-apache-sling-app-cms/c34bbb42de862352c1ca1b5a7bb57db5a14e7b52/docs/img/editor-topbar.png -------------------------------------------------------------------------------- /docs/img/insights-modal.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/sling-org-apache-sling-app-cms/c34bbb42de862352c1ca1b5a7bb57db5a14e7b52/docs/img/insights-modal.jpg -------------------------------------------------------------------------------- /docs/img/internationalization.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/sling-org-apache-sling-app-cms/c34bbb42de862352c1ca1b5a7bb57db5a14e7b52/docs/img/internationalization.png -------------------------------------------------------------------------------- /docs/img/load-content.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/sling-org-apache-sling-app-cms/c34bbb42de862352c1ca1b5a7bb57db5a14e7b52/docs/img/load-content.png -------------------------------------------------------------------------------- /docs/img/manage-versions.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/sling-org-apache-sling-app-cms/c34bbb42de862352c1ca1b5a7bb57db5a14e7b52/docs/img/manage-versions.png -------------------------------------------------------------------------------- /docs/img/mappings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/sling-org-apache-sling-app-cms/c34bbb42de862352c1ca1b5a7bb57db5a14e7b52/docs/img/mappings.png -------------------------------------------------------------------------------- /docs/img/move-copy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/sling-org-apache-sling-app-cms/c34bbb42de862352c1ca1b5a7bb57db5a14e7b52/docs/img/move-copy.png -------------------------------------------------------------------------------- /docs/img/node-browser.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/sling-org-apache-sling-app-cms/c34bbb42de862352c1ca1b5a7bb57db5a14e7b52/docs/img/node-browser.png -------------------------------------------------------------------------------- /docs/img/osgi-console.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/sling-org-apache-sling-app-cms/c34bbb42de862352c1ca1b5a7bb57db5a14e7b52/docs/img/osgi-console.png -------------------------------------------------------------------------------- /docs/img/sample-console.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/sling-org-apache-sling-app-cms/c34bbb42de862352c1ca1b5a7bb57db5a14e7b52/docs/img/sample-console.png -------------------------------------------------------------------------------- /docs/img/select-config-component-type.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/sling-org-apache-sling-app-cms/c34bbb42de862352c1ca1b5a7bb57db5a14e7b52/docs/img/select-config-component-type.png -------------------------------------------------------------------------------- /docs/img/select-field-type.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/sling-org-apache-sling-app-cms/c34bbb42de862352c1ca1b5a7bb57db5a14e7b52/docs/img/select-field-type.png -------------------------------------------------------------------------------- /docs/img/site-content.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/sling-org-apache-sling-app-cms/c34bbb42de862352c1ca1b5a7bb57db5a14e7b52/docs/img/site-content.png -------------------------------------------------------------------------------- /docs/img/ugc-approval.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/sling-org-apache-sling-app-cms/c34bbb42de862352c1ca1b5a7bb57db5a14e7b52/docs/img/ugc-approval.png -------------------------------------------------------------------------------- /docs/img/ugc-console.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/sling-org-apache-sling-app-cms/c34bbb42de862352c1ca1b5a7bb57db5a14e7b52/docs/img/ugc-console.png -------------------------------------------------------------------------------- /docs/img/use-taxonomy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/sling-org-apache-sling-app-cms/c34bbb42de862352c1ca1b5a7bb57db5a14e7b52/docs/img/use-taxonomy.png -------------------------------------------------------------------------------- /docs/img/users-groups.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/sling-org-apache-sling-app-cms/c34bbb42de862352c1ca1b5a7bb57db5a14e7b52/docs/img/users-groups.png -------------------------------------------------------------------------------- /docs/users.md: -------------------------------------------------------------------------------- 1 | 11 | [Apache Sling](https://sling.apache.org) > [Sling CMS](https://github.com/apache/sling-org-apache-sling-app-cms) > Users 12 | 13 | # Users 14 | 15 | * [Content Insights](content-insights.md) 16 | * [Editing a Page](page-editing.md) 17 | * [Managing Content](managing-content.md) 18 | * [Managing Taxonomy](managing-taxonomy.md) -------------------------------------------------------------------------------- /feature/.gitignore: -------------------------------------------------------------------------------- 1 | launcher/ -------------------------------------------------------------------------------- /feature/src/main/features/app/htl_repl.json: -------------------------------------------------------------------------------- 1 | { 2 | "bundles": [ 3 | { 4 | "id":"org.apache.sling:org.apache.sling.scripting.sightly.repl:1.0.10", 5 | "start-order":"20" 6 | } 7 | ] 8 | } 9 | -------------------------------------------------------------------------------- /feature/src/main/features/caconfig-repoinit.txt: -------------------------------------------------------------------------------- 1 | # 2 | # Licensed to the Apache Software Foundation (ASF) under one 3 | # or more contributor license agreements. See the NOTICE file 4 | # distributed with this work for additional information 5 | # regarding copyright ownership. The ASF licenses this file 6 | # to you under the Apache License, Version 2.0 (the 7 | # "License"); you may not use this file except in compliance 8 | # with the License. You may obtain a copy of the License at 9 | # 10 | # http://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, 13 | # software distributed under the License is distributed on an 14 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | # KIND, either express or implied. See the License for the 16 | # specific language governing permissions and limitations 17 | # under the License. 18 | # 19 | 20 | create path (sling:Folder) /conf -------------------------------------------------------------------------------- /feature/src/main/features/caconfig.json: -------------------------------------------------------------------------------- 1 | 2 | { 3 | "bundles":[ 4 | { 5 | "id":"org.apache.sling:org.apache.sling.caconfig.api:1.3.0", 6 | "start-order":"20" 7 | }, 8 | { 9 | "id":"org.apache.sling:org.apache.sling.caconfig.impl:1.6.0", 10 | "start-order":"20" 11 | }, 12 | { 13 | "id":"org.apache.sling:org.apache.sling.caconfig.spi:1.4.0", 14 | "start-order":"20" 15 | }, 16 | { 17 | "id":"org.apache.sling:org.apache.sling.models.caconfig:1.0.2", 18 | "start-order":"20" 19 | } 20 | ], 21 | "configurations":{ 22 | "org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl.amended~sling-caconfig":{ 23 | "user.mapping":[ 24 | "org.apache.sling.caconfig.impl=[sling-readall]" 25 | ] 26 | } 27 | }, 28 | "repoinit:TEXT|true": "@file" 29 | } -------------------------------------------------------------------------------- /feature/src/main/features/cms/feature.json: -------------------------------------------------------------------------------- 1 | { 2 | "bundles":[ 3 | { 4 | "id":"org.apache.sling:org.apache.sling.feature:1.3.0", 5 | "start-order":"20" 6 | }, 7 | { 8 | "id":"org.apache.sling:org.apache.sling.feature.r2f:0.0.2", 9 | "start-order":"20" 10 | }, 11 | { 12 | "id":"org.apache.sling:org.apache.sling.feature.diff:0.0.6", 13 | "start-order":"20" 14 | }, 15 | { 16 | "id":"org.apache.sling:org.apache.sling.feature.inventoryprinter:1.0.2", 17 | "start-order":"20" 18 | }, 19 | { 20 | "id":"org.apache.sling:org.apache.sling.installer.factory.feature:0.7.0", 21 | "start-order":"20" 22 | } 23 | ] 24 | } -------------------------------------------------------------------------------- /feature/src/main/features/cms/maintenance-config.json: -------------------------------------------------------------------------------- 1 | { 2 | "prototype": { 3 | "id": "org.apache.sling:org.apache.sling.jcr.maintenance:slingosgifeature:configuration:1.1.0" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /feature/src/main/features/cms/reference.json: -------------------------------------------------------------------------------- 1 | { 2 | "bundles": [ 3 | { 4 | "id": "org.apache.sling:org.apache.sling.cms.reference:${cms-version}", 5 | "start-order": "20" 6 | } 7 | ], 8 | "configurations": { 9 | "org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl.amended~sling-cms-ugc-ref": { 10 | "user.mapping": [ 11 | "org.apache.sling.cms.reference:sling-cms-ugc=sling-cms-ugc" 12 | ] 13 | }, 14 | "org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl.amended~slingcms-reference-usermanager": { 15 | "user.mapping": [ 16 | "org.apache.sling.cms.reference:slingcms-reference-usermanager=[sling-jcr-usermanager]" 17 | ] 18 | } 19 | } 20 | } -------------------------------------------------------------------------------- /feature/src/main/features/discovery-repoinit.txt: -------------------------------------------------------------------------------- 1 | # 2 | # Licensed to the Apache Software Foundation (ASF) under one 3 | # or more contributor license agreements. See the NOTICE file 4 | # distributed with this work for additional information 5 | # regarding copyright ownership. The ASF licenses this file 6 | # to you under the Apache License, Version 2.0 (the 7 | # "License"); you may not use this file except in compliance 8 | # with the License. You may obtain a copy of the License at 9 | # 10 | # http://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, 13 | # software distributed under the License is distributed on an 14 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | # KIND, either express or implied. See the License for the 16 | # specific language governing permissions and limitations 17 | # under the License. 18 | # 19 | 20 | create service user sling-discovery with path system/sling 21 | 22 | create path (sling:Folder) /var/discovery 23 | create path (sling:Folder) /var/discovery/oak 24 | 25 | set principal ACL for sling-discovery 26 | allow jcr:read,rep:write on /var/discovery 27 | end -------------------------------------------------------------------------------- /feature/src/main/features/event-repoinit.txt: -------------------------------------------------------------------------------- 1 | # 2 | # Licensed to the Apache Software Foundation (ASF) under one 3 | # or more contributor license agreements. See the NOTICE file 4 | # distributed with this work for additional information 5 | # regarding copyright ownership. The ASF licenses this file 6 | # to you under the Apache License, Version 2.0 (the 7 | # "License"); you may not use this file except in compliance 8 | # with the License. You may obtain a copy of the License at 9 | # 10 | # http://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, 13 | # software distributed under the License is distributed on an 14 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | # KIND, either express or implied. See the License for the 16 | # specific language governing permissions and limitations 17 | # under the License. 18 | # 19 | 20 | create service user sling-event with path system/sling 21 | 22 | create path (sling:Folder) /var 23 | create path (sling:Folder) /var/eventing 24 | 25 | set principal ACL for sling-event 26 | allow jcr:read,rep:write on /var/eventing 27 | end -------------------------------------------------------------------------------- /feature/src/main/features/event.json: -------------------------------------------------------------------------------- 1 | 2 | { 3 | "bundles":[ 4 | { 5 | "id":"org.apache.sling:org.apache.sling.event.dea:1.1.4", 6 | "start-order":"20" 7 | }, 8 | { 9 | "id":"org.apache.sling:org.apache.sling.event:4.3.14", 10 | "start-order":"20" 11 | } 12 | ], 13 | "configurations":{ 14 | "org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl.amended~sling.event":{ 15 | "user.mapping":[ 16 | "org.apache.sling.event=[sling-event]", 17 | "org.apache.sling.event.dea=[sling-event]" 18 | ] 19 | }, 20 | "org.apache.sling.commons.threads.impl.DefaultThreadPool.factory~sling-event":{ 21 | "name":"org-apache-sling-event", 22 | "minPoolSize:Integer":"1", 23 | "maxPoolSize:Integer":"5" 24 | } 25 | }, 26 | "repoinit:TEXT|true": "@file" 27 | } 28 | -------------------------------------------------------------------------------- /feature/src/main/features/maintenance.json: -------------------------------------------------------------------------------- 1 | { 2 | "prototype": { 3 | "id": "org.apache.sling:org.apache.sling.jcr.maintenance:slingosgifeature:base:1.1.0" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /feature/src/main/features/models-jacksonexporter.json: -------------------------------------------------------------------------------- 1 | 2 | { 3 | "bundles":[ 4 | { 5 | "id":"com.fasterxml.jackson.core:jackson-annotations:${jackson.version}", 6 | "start-order":"20" 7 | }, 8 | { 9 | "id":"com.fasterxml.jackson.core:jackson-core:${jackson.version}", 10 | "start-order":"20" 11 | }, 12 | { 13 | "id":"com.fasterxml.jackson.core:jackson-databind:${jackson.version}", 14 | "start-order":"20" 15 | }, 16 | { 17 | "id":"com.fasterxml.jackson.dataformat:jackson-dataformat-xml:${jackson.version}", 18 | "start-order":"20" 19 | }, 20 | { 21 | "id":"org.apache.sling:org.apache.sling.models.jacksonexporter:1.1.4", 22 | "start-order":"20" 23 | } 24 | ] 25 | } 26 | -------------------------------------------------------------------------------- /feature/src/main/features/oak/node-store/segment.json: -------------------------------------------------------------------------------- 1 | { 2 | "variables": { 3 | "sling.home": null 4 | }, 5 | "bundles": [ 6 | { 7 | "id": "org.apache.jackrabbit:oak-segment-tar:${oak.version}", 8 | "start-order": "15" 9 | } 10 | ], 11 | "configurations": { 12 | "org.apache.jackrabbit.oak.segment.SegmentNodeStoreService": { 13 | "name": "Default NodeStore", 14 | "customBlobStore": true 15 | }, 16 | "org.apache.jackrabbit.oak.plugins.blob.datastore.FileDataStore": { 17 | "minRecordLength": 4096, 18 | "path": "${sling.home}/repository/datastore", 19 | "cacheSizeInMB": 128 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /feature/src/main/features/runmodes/renderer.json: -------------------------------------------------------------------------------- 1 | { 2 | "configurations": { 3 | "org.apache.sling.cms.core.publication.PublicationManagerFactoryImpl": { 4 | "instanceType": "RENDERER", 5 | "publicationMode": "CONTENT_DISTRIBUTION", 6 | "agents": [] 7 | }, 8 | "org.apache.sling.cms.core.publication.PublicationPropertyProvider": { 9 | "endpointPath": "libs/sling/distribution/services/importer/default" 10 | }, 11 | "org.apache.sling.distribution.packaging.impl.importer.LocalDistributionPackageImporterFactory~default": { 12 | "packageBuilder.target": "(name=default)", 13 | "name": "default" 14 | }, 15 | "org.apache.sling.distribution.serialization.impl.vlt.VaultDistributionPackageBuilderFactory~default": { 16 | "aclHandling": "IGNORE", 17 | "cugHandling": "OVERWRITE", 18 | "importMode": "REPLACE", 19 | "name": "default", 20 | "package.filters": ["/home/users|-.*/.tokens", "/home/users|-.*/rep:cache"], 21 | "type": "jcrvlt" 22 | } 23 | } 24 | } -------------------------------------------------------------------------------- /feature/src/main/features/runmodes/standalone.json: -------------------------------------------------------------------------------- 1 | { 2 | "configurations": { 3 | "org.apache.sling.cms.core.publication.PublicationManagerFactoryImpl": { 4 | "instanceType": "STANDALONE", 5 | "publicationMode": "STANDALONE", 6 | "agents": [] 7 | } 8 | } 9 | } -------------------------------------------------------------------------------- /feature/src/main/features/validation.json: -------------------------------------------------------------------------------- 1 | 2 | { 3 | "bundles":[ 4 | { 5 | "id":"org.apache.sling:org.apache.sling.models.validation-impl:1.1.0", 6 | "start-order":"20" 7 | }, 8 | { 9 | "id":"org.apache.sling:org.apache.sling.validation.api:1.0.0", 10 | "start-order":"20" 11 | }, 12 | { 13 | "id":"org.apache.sling:org.apache.sling.validation.core:1.0.4", 14 | "start-order":"20" 15 | } 16 | ], 17 | "configurations":{ 18 | "org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl.amended~validation":{ 19 | "user.mapping":[ 20 | "org.apache.sling.validation.core=[sling-search-path-reader]" 21 | ] 22 | } 23 | } 24 | } -------------------------------------------------------------------------------- /i18n-helper/README.md: -------------------------------------------------------------------------------- 1 | # i18n Helper 2 | 3 | Helps generate i18n Dictionaries based on a list of messages and languages. 4 | 5 | ## Languages 6 | 7 | The translated languages are defined in the `i18n-helper/src/languages.json` file. 8 | 9 | ## i18n Dictionaries 10 | 11 | The i18n dictionaries are generated in the `i18n-helper/i18n` directory. Dictionaries will not appended but replaced or keys removed. 12 | 13 | ## Dependencies 14 | 15 | - NodeJS 16 | 17 | ## Use 18 | 19 | 1. Run `npm install` 20 | 2. Run `node .` 21 | -------------------------------------------------------------------------------- /i18n-helper/package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "i18n-helper", 3 | "version": "1.0.0", 4 | "lockfileVersion": 1 5 | } 6 | -------------------------------------------------------------------------------- /i18n-helper/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "i18n-helper", 3 | "version": "1.0.0", 4 | "description": "Helper for Translating i18n keys for Sling CMS", 5 | "main": "src/index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "author": "", 10 | "license": "Apache-2.0", 11 | "dependencies": {} 12 | } 13 | -------------------------------------------------------------------------------- /i18n-helper/src/languages.json: -------------------------------------------------------------------------------- 1 | [ 2 | "zh", 3 | "de" 4 | ] 5 | -------------------------------------------------------------------------------- /it/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | node_modules 3 | cypress/videos/ 4 | cypress/screenshots/ -------------------------------------------------------------------------------- /it/cypress/lighthouse-cfg.json: -------------------------------------------------------------------------------- 1 | { 2 | "performance": 80, 3 | "pwa": 50, 4 | "best-practices": 80 5 | } 6 | -------------------------------------------------------------------------------- /it/cypress/support/e2e.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | import "@cypress-audit/pa11y/commands"; 20 | -------------------------------------------------------------------------------- /it/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "sling-cms-it", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "tests/index.js", 6 | "scripts": { 7 | "cypress:install": "./node_modules/.bin/cypress install --force", 8 | "cypress": "./node_modules/.bin/cypress open", 9 | "test": "./node_modules/.bin/cypress run", 10 | "wait-for-ready": "node cypress/ready.js", 11 | "ci": "npm run cypress:install && npm run wait-for-ready && npm run test" 12 | }, 13 | "author": "", 14 | "license": "ISC", 15 | "devDependencies": { 16 | "chai": "^4.3.7", 17 | "cypress-audit": "^1.1.0" 18 | }, 19 | "dependencies": { 20 | "@cypress-audit/pa11y": "^1.3.1", 21 | "cypress": "^12.2.0", 22 | "node-fetch-commonjs": "^3.2.4", 23 | "uuid": "^9.0.0" 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /login/bnd.bnd: -------------------------------------------------------------------------------- 1 | Fragment-Host: org.apache.sling.auth.form -------------------------------------------------------------------------------- /reference/bnd.bnd: -------------------------------------------------------------------------------- 1 | Sling-Initial-Content: jcr_root/apps/reference;overwrite:=true;uninstall:=true;path:=/apps/reference,\ 2 | jcr_root/conf/asf.json;overwrite:=true;ignoreImportProviders:=xml;path:=/conf/asf,\ 3 | jcr_root/content/apache.json;overwrite:=true;path:=/content/apache,\ 4 | jcr_root/etc/taxonomy/reference.json;overwrite:=true;path:=/etc/taxonomy/reference,\ 5 | jcr_root/static/clientlibs/reference;overwrite:=true;ignoreImportProviders:=xml;path:=/static/clientlibs/reference 6 | Sling-Model-Packages: org.apache.sling.cms.reference.models,org.apache.sling.cms.reference.forms.impl -------------------------------------------------------------------------------- /reference/src/main/java/org/apache/sling/cms/reference/forms/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | /** 21 | * Reference forms implementation 22 | * 23 | * @version 0.14.0 24 | */ 25 | @org.osgi.annotation.versioning.Version("0.14.0") 26 | package org.apache.sling.cms.reference.forms; 27 | -------------------------------------------------------------------------------- /reference/src/main/java/org/apache/sling/cms/reference/models/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | /** 21 | * Reference models 22 | * 23 | * @version 0.9.0 24 | */ 25 | @org.osgi.annotation.versioning.Version("0.10.0") 26 | package org.apache.sling.cms.reference.models; 27 | -------------------------------------------------------------------------------- /reference/src/main/java/org/apache/sling/cms/reference/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | /** 21 | * Sling CMS Reference 22 | */ 23 | @org.osgi.annotation.versioning.Version("1.0.0") 24 | package org.apache.sling.cms.reference; 25 | -------------------------------------------------------------------------------- /reference/src/main/resources/jcr_root/apps/reference/components/forms/actions/createuser.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType" : "sling:Component", 3 | "jcr:title": "Create User", 4 | "componentType": "Form Action" 5 | } -------------------------------------------------------------------------------- /reference/src/main/resources/jcr_root/apps/reference/components/forms/actions/deleteugc.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType" : "sling:Component", 3 | "jcr:title": "Delete User Generated Content", 4 | "componentType": "Form Action" 5 | } -------------------------------------------------------------------------------- /reference/src/main/resources/jcr_root/apps/reference/components/forms/actions/deleteugc/edit.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "nt:unstructured", 3 | "sling:resourceType": "sling-cms/components/editor/slingform", 4 | "fields": { 5 | "path": { 6 | "jcr:primaryType": "nt:unstructured", 7 | "sling:resourceType": "sling-cms/components/editor/fields/path", 8 | "label": "Path", 9 | "name": "path", 10 | "required": true 11 | } 12 | } 13 | } -------------------------------------------------------------------------------- /reference/src/main/resources/jcr_root/apps/reference/components/forms/actions/requestpasswordreset/edit.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "nt:unstructured", 3 | "sling:resourceType": "sling-cms/components/editor/slingform", 4 | "button": "Save", 5 | "fields": { 6 | "jcr:primaryType": "nt:unstructured", 7 | "sling:resourceType": "sling-cms/components/general/container", 8 | "resettimeout": { 9 | "jcr:primaryType": "nt:unstructured", 10 | "sling:resourceType": "sling-cms/components/editor/fields/text", 11 | "label": "Reset Timeout", 12 | "name": "resettimeout", 13 | "type": "number" 14 | } 15 | } 16 | } -------------------------------------------------------------------------------- /reference/src/main/resources/jcr_root/apps/reference/components/forms/actions/resetpassword.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType" : "sling:Component", 3 | "jcr:title": "Reset Password", 4 | "componentType": "Form Action" 5 | } -------------------------------------------------------------------------------- /reference/src/main/resources/jcr_root/apps/reference/components/forms/actions/resetpassword/edit.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "nt:unstructured", 3 | "sling:resourceType": "sling-cms/components/editor/slingform", 4 | "button": "No need to edit" 5 | } -------------------------------------------------------------------------------- /reference/src/main/resources/jcr_root/apps/reference/components/forms/actions/resetpassword/resetpassword.jsp: -------------------------------------------------------------------------------- 1 | <%-- /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ --%> 19 | <%@include file="/libs/sling-cms/global.jsp"%> 20 | 21 |

22 |
-------------------------------------------------------------------------------- /reference/src/main/resources/jcr_root/apps/reference/components/forms/actions/sendemail.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType" : "sling:Component", 3 | "jcr:title": "Email", 4 | "componentType": "Form Action" 5 | } -------------------------------------------------------------------------------- /reference/src/main/resources/jcr_root/apps/reference/components/forms/actions/updateprofile.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType" : "sling:Component", 3 | "jcr:title": "Update Profile", 4 | "componentType": "Form Action" 5 | } -------------------------------------------------------------------------------- /reference/src/main/resources/jcr_root/apps/reference/components/forms/actions/updateprofile/edit.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "nt:unstructured", 3 | "sling:resourceType": "sling-cms/components/editor/slingform", 4 | "button": "Save", 5 | "fields": { 6 | "jcr:primaryType": "nt:unstructured", 7 | "sling:resourceType": "sling-cms/components/general/container", 8 | "subpath": { 9 | "jcr:primaryType": "nt:unstructured", 10 | "sling:resourceType": "sling-cms/components/editor/fields/text", 11 | "label": "Subpath", 12 | "name": "subpath" 13 | } 14 | } 15 | } -------------------------------------------------------------------------------- /reference/src/main/resources/jcr_root/apps/reference/components/forms/actions/updateugc.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType" : "sling:Component", 3 | "jcr:title": "Update User Generated Content", 4 | "componentType": "Form Action" 5 | } -------------------------------------------------------------------------------- /reference/src/main/resources/jcr_root/apps/reference/components/forms/actions/updateugc/edit.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "nt:unstructured", 3 | "sling:resourceType": "sling-cms/components/editor/slingform", 4 | "button": "Save", 5 | "fields": { 6 | "path": { 7 | "jcr:primaryType": "nt:unstructured", 8 | "sling:resourceType": "sling-cms/components/editor/fields/path", 9 | "label": "Path", 10 | "name": "path", 11 | "required": true 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /reference/src/main/resources/jcr_root/apps/reference/components/forms/actions/usergeneratedcontent.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType" : "sling:Component", 3 | "jcr:title": "User Generated Content", 4 | "componentType": "Form Action" 5 | } -------------------------------------------------------------------------------- /reference/src/main/resources/jcr_root/apps/reference/components/forms/fields/honeypot.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType" : "sling:Component", 3 | "jcr:title": "Honeypot", 4 | "componentType": "Form Field", 5 | "reloadPage": true 6 | } -------------------------------------------------------------------------------- /reference/src/main/resources/jcr_root/apps/reference/components/forms/fields/honeypot/edit.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "nt:unstructured", 3 | "sling:resourceType": "sling-cms/components/editor/slingform", 4 | "button": "Save", 5 | "fields": { 6 | "jcr:primaryType": "nt:unstructured", 7 | "sling:resourceType": "sling-cms/components/general/container", 8 | "containerClass": { 9 | "jcr:primaryType": "nt:unstructured", 10 | "sling:resourceType": "sling-cms/components/editor/fields/text", 11 | "label": "Container Class", 12 | "name": "containerClass", 13 | "required": true 14 | }, 15 | "name": { 16 | "jcr:primaryType": "nt:unstructured", 17 | "sling:resourceType": "sling-cms/components/editor/fields/text", 18 | "label": "Honeypot Name", 19 | "name": "name", 20 | "required": true 21 | } 22 | } 23 | } -------------------------------------------------------------------------------- /reference/src/main/resources/jcr_root/apps/reference/components/forms/fields/selection.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType" : "sling:Component", 3 | "jcr:title": "Selection", 4 | "componentType": "Form Field", 5 | "reloadPage": true 6 | } -------------------------------------------------------------------------------- /reference/src/main/resources/jcr_root/apps/reference/components/forms/fields/textarea.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType" : "sling:Component", 3 | "jcr:title": "Textarea", 4 | "componentType": "Form Field", 5 | "reloadPage": true 6 | } -------------------------------------------------------------------------------- /reference/src/main/resources/jcr_root/apps/reference/components/forms/fields/textfield.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType" : "sling:Component", 3 | "jcr:title": "Text Field", 4 | "componentType": "Form Field", 5 | "reloadPage": true 6 | } -------------------------------------------------------------------------------- /reference/src/main/resources/jcr_root/apps/reference/components/forms/fieldset.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType" : "sling:Component", 3 | "jcr:title": "Fieldset", 4 | "componentType": "Form Field", 5 | "reloadPage": true 6 | } -------------------------------------------------------------------------------- /reference/src/main/resources/jcr_root/apps/reference/components/forms/fieldset/edit.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "nt:unstructured", 3 | "sling:resourceType": "sling-cms/components/editor/slingform", 4 | "button": "Save", 5 | "fields": { 6 | "jcr:primaryType": "nt:unstructured", 7 | "sling:resourceType": "sling-cms/components/general/container", 8 | "layout": { 9 | "jcr:primaryType": "nt:unstructured", 10 | "sling:resourceType": "sling-cms/components/editor/fields/text", 11 | "label": "Legend", 12 | "name": "legend" 13 | } 14 | } 15 | } -------------------------------------------------------------------------------- /reference/src/main/resources/jcr_root/apps/reference/components/forms/fieldset/fieldset.jsp: -------------------------------------------------------------------------------- 1 | <%-- /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ --%> 19 | <%@include file="/libs/sling-cms/global.jsp"%> 20 |
21 | 22 | 23 |
-------------------------------------------------------------------------------- /reference/src/main/resources/jcr_root/apps/reference/components/forms/form.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType" : "sling:Component", 3 | "jcr:title": "Form", 4 | "componentType": "General" 5 | } -------------------------------------------------------------------------------- /reference/src/main/resources/jcr_root/apps/reference/components/forms/login.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType" : "sling:Component", 3 | "jcr:title": "Login", 4 | "componentType": "General" 5 | } -------------------------------------------------------------------------------- /reference/src/main/resources/jcr_root/apps/reference/components/forms/providers/requestparameters.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType" : "sling:Component", 3 | "jcr:title": "Request Parameters", 4 | "componentType": "Form Value Provider", 5 | "reloadPage": true 6 | } -------------------------------------------------------------------------------- /reference/src/main/resources/jcr_root/apps/reference/components/forms/providers/requestparameters/edit.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "nt:unstructured", 3 | "sling:resourceType": "sling-cms/components/editor/slingform", 4 | "button": "Save", 5 | "fields": { 6 | "jcr:primaryType": "nt:unstructured", 7 | "sling:resourceType": "sling-cms/components/general/container", 8 | "subpath": { 9 | "jcr:primaryType": "nt:unstructured", 10 | "sling:resourceType": "sling-cms/components/editor/fields/repeating", 11 | "label": "Allowed Parameters", 12 | "name": "allowedParameters" 13 | }, 14 | "subpathTypeHint": { 15 | "jcr:primaryType": "nt:unstructured", 16 | "sling:resourceType": "sling-cms/components/editor/fields/hidden", 17 | "name": "allowedParameters@TypeHint", 18 | "value": "String[]" 19 | } 20 | } 21 | } -------------------------------------------------------------------------------- /reference/src/main/resources/jcr_root/apps/reference/components/forms/providers/suffixresource.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType" : "sling:Component", 3 | "jcr:title": "Suffix Resource", 4 | "componentType": "Form Value Provider", 5 | "reloadPage": true 6 | } -------------------------------------------------------------------------------- /reference/src/main/resources/jcr_root/apps/reference/components/forms/providers/suffixresource/edit.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "nt:unstructured", 3 | "sling:resourceType": "sling-cms/components/editor/slingform", 4 | "button": "Save", 5 | "fields": { 6 | "jcr:primaryType": "nt:unstructured", 7 | "sling:resourceType": "sling-cms/components/general/container", 8 | "allowedProperties": { 9 | "jcr:primaryType": "nt:unstructured", 10 | "sling:resourceType": "sling-cms/components/editor/fields/repeating", 11 | "label": "Allowed Properties", 12 | "name": "allowedProperties" 13 | }, 14 | "allowedPropertiesTypeHint": { 15 | "jcr:primaryType": "nt:unstructured", 16 | "sling:resourceType": "sling-cms/components/editor/fields/hidden", 17 | "name": "allowedProperties@TypeHint", 18 | "value": "String[]" 19 | }, 20 | "basePath": { 21 | "jcr:primaryType": "nt:unstructured", 22 | "sling:resourceType": "sling-cms/components/editor/fields/path", 23 | "label": "Base Path", 24 | "name": "basePath", 25 | "required": true 26 | } 27 | } 28 | } -------------------------------------------------------------------------------- /reference/src/main/resources/jcr_root/apps/reference/components/forms/providers/userprofile.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType" : "sling:Component", 3 | "jcr:title": "User Profile", 4 | "componentType": "Form Value Provider", 5 | "reloadPage": true 6 | } -------------------------------------------------------------------------------- /reference/src/main/resources/jcr_root/apps/reference/components/forms/providers/userprofile/edit.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "nt:unstructured", 3 | "sling:resourceType": "sling-cms/components/editor/slingform", 4 | "button": "Save", 5 | "fields": { 6 | "jcr:primaryType": "nt:unstructured", 7 | "sling:resourceType": "sling-cms/components/general/container", 8 | "subpath": { 9 | "jcr:primaryType": "nt:unstructured", 10 | "sling:resourceType": "sling-cms/components/editor/fields/text", 11 | "label": "Subpath", 12 | "name": "subpath" 13 | } 14 | } 15 | } -------------------------------------------------------------------------------- /reference/src/main/resources/jcr_root/apps/reference/components/general/breadcrumb/edit.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "nt:unstructured", 3 | "sling:resourceType": "sling-cms/components/editor/slingform", 4 | "button": "Save Breadcrumb", 5 | "fields": { 6 | "jcr:primaryType": "nt:unstructured", 7 | "sling:resourceType": "sling-cms/components/general/container", 8 | "home": { 9 | "jcr:primaryType": "nt:unstructured", 10 | "sling:resourceType": "sling-cms/components/editor/fields/text", 11 | "label": "Home Label", 12 | "name": "home", 13 | "required": true 14 | }, 15 | "level": { 16 | "jcr:primaryType": "nt:unstructured", 17 | "sling:resourceType": "sling-cms/components/editor/fields/text", 18 | "label": "Level", 19 | "name": "level", 20 | "required": true, 21 | "type": "number" 22 | }, 23 | "levelTypeHint": { 24 | "jcr:primaryType": "nt:unstructured", 25 | "sling:resourceType": "sling-cms/components/editor/fields/hidden", 26 | "name": "level@TypeHint", 27 | "value": "Long" 28 | } 29 | } 30 | } -------------------------------------------------------------------------------- /reference/src/main/resources/jcr_root/apps/reference/components/general/codeblock.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType" : "sling:Component", 3 | "jcr:title": "Code Block", 4 | "componentType": "General" 5 | } -------------------------------------------------------------------------------- /reference/src/main/resources/jcr_root/apps/reference/components/general/codeblock/codeblock.jsp: -------------------------------------------------------------------------------- 1 | <%-- /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ --%> 19 | <%@include file="/libs/sling-cms/global.jsp" %> 20 |
${sling:encode(properties.code,'HTML_ATTR')}
-------------------------------------------------------------------------------- /reference/src/main/resources/jcr_root/apps/reference/components/general/codeblock/edit.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "nt:unstructured", 3 | "sling:resourceType": "sling-cms/components/editor/slingform", 4 | "button": "Save Code Block", 5 | "fields": { 6 | "jcr:primaryType": "nt:unstructured", 7 | "sling:resourceType": "sling-cms/components/general/container", 8 | "code": { 9 | "jcr:primaryType": "nt:unstructured", 10 | "sling:resourceType": "sling-cms/components/editor/fields/textarea", 11 | "label": "Code", 12 | "name": "code", 13 | "required": true 14 | } 15 | } 16 | } -------------------------------------------------------------------------------- /reference/src/main/resources/jcr_root/apps/reference/components/general/columncontrol.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Component", 3 | "componentType": "General", 4 | "jcr:title": "Column Control" 5 | } -------------------------------------------------------------------------------- /reference/src/main/resources/jcr_root/apps/reference/components/general/cta.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Component", 3 | "componentType": "General", 4 | "jcr:title": "Call to Action" 5 | } -------------------------------------------------------------------------------- /reference/src/main/resources/jcr_root/apps/reference/components/general/cta/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "nt:unstructured", 3 | "sling:resourceType": "sling-cms/components/general/container", 4 | "ctaClasses": { 5 | "jcr:primaryType": "nt:unstructured", 6 | "sling:resourceType": "sling-cms/components/editor/fields/repeating", 7 | "label": "CTA Classes", 8 | "name": "ctaClasses", 9 | "type": "text", 10 | "required": true 11 | }, 12 | "ctaClassesTypeHint": { 13 | "jcr:primaryType": "nt:unstructured", 14 | "sling:resourceType": "sling-cms/components/editor/fields/hidden", 15 | "name": "ctaClasses@TypeHint", 16 | "value": "String[]" 17 | } 18 | } -------------------------------------------------------------------------------- /reference/src/main/resources/jcr_root/apps/reference/components/general/iframe.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType" : "sling:Component", 3 | "jcr:title": "IFrame", 4 | "componentType": "General" 5 | } -------------------------------------------------------------------------------- /reference/src/main/resources/jcr_root/apps/reference/components/general/iframe/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "nt:unstructured", 3 | "sling:resourceType": "sling-cms/components/general/container", 4 | "wrapperClasses": { 5 | "jcr:primaryType": "nt:unstructured", 6 | "sling:resourceType": "sling-cms/components/editor/fields/repeating", 7 | "label": "Wrapper Classes", 8 | "name": "wrapperClasses", 9 | "type": "text", 10 | "required": true 11 | }, 12 | "wrapperClassesTypeHint": { 13 | "jcr:primaryType": "nt:unstructured", 14 | "sling:resourceType": "sling-cms/components/editor/fields/hidden", 15 | "name": "wrapperClasses@TypeHint", 16 | "value": "String[]" 17 | }, 18 | "iframeClass": { 19 | "jcr:primaryType": "nt:unstructured", 20 | "sling:resourceType": "sling-cms/components/editor/fields/text", 21 | "label": "IFrame Class", 22 | "name": "iframeClass", 23 | "required": true 24 | } 25 | } -------------------------------------------------------------------------------- /reference/src/main/resources/jcr_root/apps/reference/components/general/image.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType" : "sling:Component", 3 | "jcr:title": "Image", 4 | "componentType": "General" 5 | } -------------------------------------------------------------------------------- /reference/src/main/resources/jcr_root/apps/reference/components/general/image/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "nt:unstructured", 3 | "sling:resourceType": "sling-cms/components/general/container", 4 | "imageClasses": { 5 | "jcr:primaryType": "nt:unstructured", 6 | "sling:resourceType": "sling-cms/components/editor/fields/repeating", 7 | "label": "Image Classes", 8 | "name": "imageClasses", 9 | "type": "text", 10 | "required": true 11 | }, 12 | "imageClassesTypeHint": { 13 | "jcr:primaryType": "nt:unstructured", 14 | "sling:resourceType": "sling-cms/components/editor/fields/hidden", 15 | "name": "imageClasses@TypeHint", 16 | "value": "String[]" 17 | } 18 | } -------------------------------------------------------------------------------- /reference/src/main/resources/jcr_root/apps/reference/components/general/list.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Component", 3 | "componentType": "General", 4 | "jcr:title": "List" 5 | } -------------------------------------------------------------------------------- /reference/src/main/resources/jcr_root/apps/reference/components/general/list/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "nt:unstructured", 3 | "sling:resourceType": "sling-cms/components/general/container", 4 | "paginationClass": { 5 | "jcr:primaryType": "nt:unstructured", 6 | "sling:resourceType": "sling-cms/components/editor/fields/text", 7 | "label": "Pagination Class", 8 | "name": "paginationClass", 9 | "required": true 10 | }, 11 | "pageItemClass": { 12 | "jcr:primaryType": "nt:unstructured", 13 | "sling:resourceType": "sling-cms/components/editor/fields/text", 14 | "label": "Page Item Class", 15 | "name": "pageItemClass", 16 | "required": true 17 | }, 18 | "pageLinkClass": { 19 | "jcr:primaryType": "nt:unstructured", 20 | "sling:resourceType": "sling-cms/components/editor/fields/text", 21 | "label": "PageLink Class", 22 | "name": "pageLinkClass", 23 | "required": true 24 | } 25 | } -------------------------------------------------------------------------------- /reference/src/main/resources/jcr_root/apps/reference/components/general/reference.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Component", 3 | "componentType": "General", 4 | "jcr:title": "Reference" 5 | } -------------------------------------------------------------------------------- /reference/src/main/resources/jcr_root/apps/reference/components/general/reference/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "nt:unstructured", 3 | "sling:resourceType": "sling-cms/components/general/container", 4 | "availableComponentTypes": { 5 | "jcr:primaryType": "nt:unstructured", 6 | "sling:resourceType": "sling-cms/components/cms/availablecomponenttypes" 7 | } 8 | } -------------------------------------------------------------------------------- /reference/src/main/resources/jcr_root/apps/reference/components/general/reference/edit.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "nt:unstructured", 3 | "sling:resourceType": "sling-cms/components/editor/slingform", 4 | "button": "Save Reference", 5 | "fields": { 6 | "jcr:primaryType": "nt:unstructured", 7 | "sling:resourceType": "sling-cms/components/general/container", 8 | "reference": { 9 | "jcr:primaryType": "nt:unstructured", 10 | "sling:resourceType": "sling-cms/components/editor/fields/path", 11 | "basePath": "/content", 12 | "label": "Reference Source", 13 | "name": "reference", 14 | "required": true 15 | }, 16 | "overrideType": { 17 | "jcr:primaryType": "nt:unstructured", 18 | "sling:resourceType": "sling-cms/components/editor/fields/select", 19 | "label": "Override Type", 20 | "name": "overrideType", 21 | "optionsScript": "/apps/reference/components/general/reference/types.jsp" 22 | } 23 | } 24 | } -------------------------------------------------------------------------------- /reference/src/main/resources/jcr_root/apps/reference/components/general/search.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Component", 3 | "componentType": "General", 4 | "jcr:title": "Search" 5 | } -------------------------------------------------------------------------------- /reference/src/main/resources/jcr_root/apps/reference/components/general/search/edit.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "nt:unstructured", 3 | "sling:resourceType": "sling-cms/components/editor/slingform", 4 | "button": "Save", 5 | "fields": { 6 | "jcr:primaryType": "nt:unstructured", 7 | "sling:resourceType": "sling-cms/components/general/container", 8 | "limit": { 9 | "jcr:primaryType": "nt:unstructured", 10 | "sling:resourceType": "sling-cms/components/editor/fields/text", 11 | "label": "Limit", 12 | "name": "limit", 13 | "required": true, 14 | "type": "number" 15 | }, 16 | "basePath": { 17 | "jcr:primaryType": "nt:unstructured", 18 | "sling:resourceType": "sling-cms/components/editor/fields/text", 19 | "label": "Base Path", 20 | "name": "basePath", 21 | "required": true 22 | } 23 | } 24 | } -------------------------------------------------------------------------------- /reference/src/main/resources/jcr_root/apps/reference/components/general/searchform.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Component", 3 | "componentType": "General", 4 | "jcr:title": "Search Form" 5 | } -------------------------------------------------------------------------------- /reference/src/main/resources/jcr_root/apps/reference/components/general/searchform/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "nt:unstructured", 3 | "sling:resourceType": "sling-cms/components/general/container", 4 | "formClass": { 5 | "jcr:primaryType": "nt:unstructured", 6 | "sling:resourceType": "sling-cms/components/editor/fields/text", 7 | "label": "Form Class", 8 | "name": "formClass", 9 | "type": "text" 10 | }, 11 | "buttonClass": { 12 | "jcr:primaryType": "nt:unstructured", 13 | "sling:resourceType": "sling-cms/components/editor/fields/text", 14 | "label": "Button Class", 15 | "name": "buttonClass", 16 | "type": "text" 17 | }, 18 | "inputClass": { 19 | "jcr:primaryType": "nt:unstructured", 20 | "sling:resourceType": "sling-cms/components/editor/fields/text", 21 | "label": "Input Class", 22 | "name": "inputClass", 23 | "type": "text" 24 | }, 25 | "searchPage": { 26 | "jcr:primaryType": "nt:unstructured", 27 | "sling:resourceType": "sling-cms/components/editor/fields/path", 28 | "label": "Search Page", 29 | "name": "searchPage", 30 | "type": "page" 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /reference/src/main/resources/jcr_root/apps/reference/components/general/searchform/edit.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "nt:unstructured", 3 | "sling:resourceType": "sling-cms/components/editor/slingform", 4 | "button": "No Edit Needed", 5 | "fields": { 6 | "jcr:primaryType": "nt:unstructured", 7 | "sling:resourceType": "sling-cms/components/general/container" 8 | } 9 | } -------------------------------------------------------------------------------- /reference/src/main/resources/jcr_root/apps/reference/components/general/stylewrapper.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Component", 3 | "componentType": "General", 4 | "jcr:title": "Style Wrapper" 5 | } -------------------------------------------------------------------------------- /reference/src/main/resources/jcr_root/apps/reference/components/general/stylewrapper/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "nt:unstructured", 3 | "sling:resourceType": "sling-cms/components/general/container", 4 | "styles": { 5 | "jcr:primaryType": "nt:unstructured", 6 | "sling:resourceType": "sling-cms/components/editor/fields/repeating", 7 | "label": "Style Options", 8 | "name": "styles", 9 | "type": "text", 10 | "required": true 11 | } 12 | } -------------------------------------------------------------------------------- /reference/src/main/resources/jcr_root/apps/reference/components/general/stylewrapper/edit.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "nt:unstructured", 3 | "sling:resourceType": "sling-cms/components/editor/slingform", 4 | "button": "Save", 5 | "fields": { 6 | "jcr:primaryType": "nt:unstructured", 7 | "sling:resourceType": "sling-cms/components/general/container", 8 | "style": { 9 | "jcr:primaryType": "nt:unstructured", 10 | "sling:resourceType": "sling-cms/components/editor/fields/combobox", 11 | "label": "Style Option", 12 | "name": "style", 13 | "optionsScript": "/apps/reference/components/general/stylewrapper/options.jsp" 14 | }, 15 | "styleTypeHint": { 16 | "jcr:primaryType": "nt:unstructured", 17 | "sling:resourceType": "sling-cms/components/editor/fields/hidden", 18 | "name": "style@TypeHint", 19 | "value": "String[]" 20 | } 21 | } 22 | } -------------------------------------------------------------------------------- /reference/src/main/resources/jcr_root/apps/reference/components/general/suffixheader.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Component", 3 | "componentType": "General", 4 | "jcr:title": "Suffix Header" 5 | } -------------------------------------------------------------------------------- /reference/src/main/resources/jcr_root/apps/reference/components/general/tags.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Component", 3 | "componentType": "General", 4 | "jcr:title": "Tags" 5 | } -------------------------------------------------------------------------------- /reference/src/main/resources/jcr_root/apps/reference/components/general/tags/edit.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "nt:unstructured", 3 | "sling:resourceType": "sling-cms/components/editor/slingform", 4 | "button": "No Need to Edit", 5 | "fields": { 6 | "jcr:primaryType": "nt:unstructured", 7 | "sling:resourceType": "sling-cms/components/general/container" 8 | } 9 | } -------------------------------------------------------------------------------- /reference/src/main/resources/jcr_root/apps/reference/components/pages/base.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType" : "sling:Component", 3 | "jcr:title": "Reference - Base Page", 4 | "componentType": "Page" 5 | } -------------------------------------------------------------------------------- /reference/src/main/resources/jcr_root/apps/reference/components/pages/base/base.jsp: -------------------------------------------------------------------------------- 1 | <%-- /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ --%> 19 | <%@include file="/libs/sling-cms/global.jsp"%> 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /reference/src/main/resources/jcr_root/apps/reference/components/pages/base/content.jsp: -------------------------------------------------------------------------------- 1 | <%-- /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ --%> 19 | <%@include file="/libs/sling-cms/global.jsp"%> 20 | -------------------------------------------------------------------------------- /reference/src/main/resources/jcr_root/apps/reference/components/pages/post.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType" : "sling:Component", 3 | "jcr:title": "Reference - Blog Post Page", 4 | "sling:resourceSuperType": "reference/components/pages/base", 5 | "componentType": "Page" 6 | } -------------------------------------------------------------------------------- /reference/src/main/resources/jcr_root/apps/reference/i18n.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:OrderedFolder", 3 | "jcr:content": { 4 | "jcr:title": "CMS Reference" 5 | }, 6 | "de_DE": { 7 | "jcr:primaryType": "sling:Folder", 8 | "jcr:mixinTypes": ["mix:language"], 9 | "jcr:language": "de", 10 | "sling:resourceType": "sling-cms/components/cms/blank", 11 | "entry": { 12 | "jcr:primaryType": "sling:MessageEntry", 13 | "sling:message": "Gefunden {3} Ergebnisse für \"{0}\". Zeige Ergebnisse {1} - {2}.", 14 | "sling:key": "Found {3} results for \"{0}\". Showing results {1} - {2}." 15 | }, 16 | "entry_1": { 17 | "jcr:primaryType": "sling:MessageEntry", 18 | "sling:message": "Suche", 19 | "sling:key": "Search" 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /reference/src/main/resources/jcr_root/content.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Folder" 3 | } -------------------------------------------------------------------------------- /reference/src/main/resources/jcr_root/etc/taxonomy/reference.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Taxonomy", 3 | "jcr:title": "Reference", 4 | "community": { 5 | "jcr:primaryType": "sling:Taxonomy", 6 | "jcr:title": "Community" 7 | } 8 | } -------------------------------------------------------------------------------- /reference/src/main/resources/jcr_root/static/clientlibs/reference/img/SupportApache-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/sling-org-apache-sling-app-cms/c34bbb42de862352c1ca1b5a7bb57db5a14e7b52/reference/src/main/resources/jcr_root/static/clientlibs/reference/img/SupportApache-small.png -------------------------------------------------------------------------------- /reference/src/main/resources/jcr_root/static/clientlibs/reference/img/apache.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/sling-org-apache-sling-app-cms/c34bbb42de862352c1ca1b5a7bb57db5a14e7b52/reference/src/main/resources/jcr_root/static/clientlibs/reference/img/apache.png -------------------------------------------------------------------------------- /reference/src/main/resources/jcr_root/static/clientlibs/reference/img/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/sling-org-apache-sling-app-cms/c34bbb42de862352c1ca1b5a7bb57db5a14e7b52/reference/src/main/resources/jcr_root/static/clientlibs/reference/img/favicon.ico -------------------------------------------------------------------------------- /ui/.eslintrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | env: { 3 | browser: true, 4 | es6: true, 5 | }, 6 | extends: [ 7 | 'airbnb-base', 8 | ], 9 | globals: { 10 | Atomics: 'readonly', 11 | Handlebars: 'writable', 12 | rava: 'writable', 13 | SharedArrayBuffer: 'readonly', 14 | Sling: 'writable', 15 | }, 16 | parserOptions: { 17 | ecmaVersion: 2018, 18 | }, 19 | rules: { 20 | }, 21 | }; 22 | -------------------------------------------------------------------------------- /ui/bnd.bnd: -------------------------------------------------------------------------------- 1 | Sling-Nodetypes: SLING-INF/nodetypes/nodetypes.cnd 2 | Sling-Initial-Content: jcr_root/conf/global.json;overwrite:=true;ignoreImportProviders:=xml;path:=/conf/global,\ 3 | jcr_root/etc/taxonomy;overwrite:=false;path:=/etc/taxonomy,\ 4 | jcr_root/libs/sling-cms;overwrite:=true;path:=/libs/sling-cms,\ 5 | jcr_root/libs/sling/thumbnails;overwrite:=true;path:=/libs/sling/thumbnails,\ 6 | jcr_root/static/clientlibs/sling-cms;overwrite:=true;path:=/static/clientlibs/sling-cms;ignoreImportProviders:=xml,\ 7 | jcr_root/static/clientlibs/sling-cms-editor;overwrite:=true;path:=/static/clientlibs/sling-cms-editor;ignoreImportProviders:=xml,\ 8 | jcr_root/static/sling-cms;overwrite:=true;path:=/static/sling-cms;ignoreImportProviders:=xml 9 | -includeresource: target/frontend/dist -------------------------------------------------------------------------------- /ui/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "apache-sling-cms-front-end", 3 | "version": "1.0.0", 4 | "description": "Scripts to power the front-end of Apache Sling's CMS example.", 5 | "dependencies": { 6 | "bulma": "^0.9.4", 7 | "handlebars": "^4.7.6", 8 | "jam-icons": "^2.0.0", 9 | "js-autocomplete": "^1.0.4", 10 | "rava": "^2.1.0", 11 | "sorttable": "^1.0.2", 12 | "wysihtml": "^0.6.0-beta1" 13 | }, 14 | "devDependencies": { 15 | "gulp": "^4.0.2", 16 | "gulp-clean-css": "^4.3.0", 17 | "gulp-cli": "^2.2.1", 18 | "gulp-concat": "^2.6.1", 19 | "gulp-header": "^2.0.7", 20 | "gulp-noop": "^1.0.1", 21 | "gulp-rename": "^2.0.0", 22 | "gulp-sass": "^5.1.0", 23 | "gulp-terser": "^2.1.0", 24 | "sass": "^1.57.1", 25 | "streamqueue": "^1.1.2" 26 | }, 27 | "license": "Apache-2.0" 28 | } 29 | -------------------------------------------------------------------------------- /ui/src/main/frontend/fonts/OpenSans-Bold-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/sling-org-apache-sling-app-cms/c34bbb42de862352c1ca1b5a7bb57db5a14e7b52/ui/src/main/frontend/fonts/OpenSans-Bold-webfont.woff -------------------------------------------------------------------------------- /ui/src/main/frontend/fonts/OpenSans-Light-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/sling-org-apache-sling-app-cms/c34bbb42de862352c1ca1b5a7bb57db5a14e7b52/ui/src/main/frontend/fonts/OpenSans-Light-webfont.woff -------------------------------------------------------------------------------- /ui/src/main/frontend/fonts/OpenSans-Regular-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/sling-org-apache-sling-app-cms/c34bbb42de862352c1ca1b5a7bb57db5a14e7b52/ui/src/main/frontend/fonts/OpenSans-Regular-webfont.woff -------------------------------------------------------------------------------- /ui/src/main/frontend/fonts/OpenSans-Semibold-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/sling-org-apache-sling-app-cms/c34bbb42de862352c1ca1b5a7bb57db5a14e7b52/ui/src/main/frontend/fonts/OpenSans-Semibold-webfont.woff -------------------------------------------------------------------------------- /ui/src/main/frontend/img/android-chrome-192x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/sling-org-apache-sling-app-cms/c34bbb42de862352c1ca1b5a7bb57db5a14e7b52/ui/src/main/frontend/img/android-chrome-192x192.png -------------------------------------------------------------------------------- /ui/src/main/frontend/img/android-chrome-512x512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/sling-org-apache-sling-app-cms/c34bbb42de862352c1ca1b5a7bb57db5a14e7b52/ui/src/main/frontend/img/android-chrome-512x512.png -------------------------------------------------------------------------------- /ui/src/main/frontend/img/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/sling-org-apache-sling-app-cms/c34bbb42de862352c1ca1b5a7bb57db5a14e7b52/ui/src/main/frontend/img/apple-touch-icon.png -------------------------------------------------------------------------------- /ui/src/main/frontend/img/browserconfig.xml: -------------------------------------------------------------------------------- 1 | 19 | 20 | 21 | 22 | 23 | 24 | #662f8f 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /ui/src/main/frontend/img/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/sling-org-apache-sling-app-cms/c34bbb42de862352c1ca1b5a7bb57db5a14e7b52/ui/src/main/frontend/img/favicon-16x16.png -------------------------------------------------------------------------------- /ui/src/main/frontend/img/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/sling-org-apache-sling-app-cms/c34bbb42de862352c1ca1b5a7bb57db5a14e7b52/ui/src/main/frontend/img/favicon-32x32.png -------------------------------------------------------------------------------- /ui/src/main/frontend/img/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/sling-org-apache-sling-app-cms/c34bbb42de862352c1ca1b5a7bb57db5a14e7b52/ui/src/main/frontend/img/favicon.ico -------------------------------------------------------------------------------- /ui/src/main/frontend/img/gradient.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/sling-org-apache-sling-app-cms/c34bbb42de862352c1ca1b5a7bb57db5a14e7b52/ui/src/main/frontend/img/gradient.jpg -------------------------------------------------------------------------------- /ui/src/main/frontend/img/mstile-150x150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/sling-org-apache-sling-app-cms/c34bbb42de862352c1ca1b5a7bb57db5a14e7b52/ui/src/main/frontend/img/mstile-150x150.png -------------------------------------------------------------------------------- /ui/src/main/frontend/img/site.webmanifest: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Apache Sling CMS", 3 | "short_name": "Apache Sling CMS", 4 | "icons": [ 5 | { 6 | "src": "/static/clientlibs/sling-cms/img/android-chrome-192x192.png", 7 | "sizes": "192x192", 8 | "type": "image/png" 9 | }, 10 | { 11 | "src": "/static/clientlibs/sling-cms/img/android-chrome-512x512.png", 12 | "sizes": "512x512", 13 | "type": "image/png" 14 | } 15 | ], 16 | "theme_color": "#662f8f", 17 | "background_color": "#ffffff", 18 | "display": "standalone", 19 | "start_url": "/cms/start.html", 20 | "scope": "/" 21 | } 22 | -------------------------------------------------------------------------------- /ui/src/main/frontend/img/sling-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/sling-org-apache-sling-app-cms/c34bbb42de862352c1ca1b5a7bb57db5a14e7b52/ui/src/main/frontend/img/sling-logo.png -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/content.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Folder" 3 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/etc/i18n/jcr%3Acontent.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "nt:unstructured", 3 | "jcr:title": "i18n" 4 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/etc/taxonomy/jcr%3Acontent.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "nt:unstructured", 3 | "jcr:title": "Taxonomy" 4 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/caconfig/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Component", 3 | "componentType": "SlingCMS-ComponentConfig", 4 | "jcr:title": "Sling CMS - Component Configuration" 5 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/caconfig/component/edit.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "nt:unstructured", 3 | "sling:resourceType": "sling-cms/components/editor/slingform", 4 | "button": "Save Component Config", 5 | "fields": { 6 | "jcr:primaryType": "nt:unstructured", 7 | "sling:resourceType": "sling-cms/components/general/container", 8 | "type": { 9 | "jcr:primaryType": "nt:unstructured", 10 | "sling:resourceType": "sling-cms/components/editor/fields/select", 11 | "label": "Component", 12 | "name": "type", 13 | "optionsScript": "/libs/sling-cms/components/editor/scripts/componentConfigOptions.jsp", 14 | "required": true 15 | }, 16 | "includeconfig": { 17 | "jcr:primaryType": "nt:unstructured", 18 | "sling:resourceType": "sling-cms/components/cms/includeconfig" 19 | } 20 | } 21 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/caconfig/edit/edit.jsp: -------------------------------------------------------------------------------- 1 | <%-- /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ --%> 19 | <%@include file="/libs/sling-cms/global.jsp"%> 20 | 21 |
22 | 23 |
24 |
-------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/caconfig/fileeditor.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Component", 3 | "jcr:title": "Sling CMS - File Editor", 4 | "componentType": "SlingCMS-Config" 5 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/caconfig/fileeditor/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Component", 3 | "jcr:title": "Sling CMS - File Editor", 4 | "componentType": "SlingCMS-FileEditor" 5 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/caconfig/fileeditor/config/edit.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "nt:unstructured", 3 | "sling:resourceType": "sling-cms/components/editor/slingform", 4 | "button": "Save File Editor", 5 | "fields": { 6 | "jcr:primaryType": "nt:unstructured", 7 | "sling:resourceType": "sling-cms/components/general/container", 8 | "mimetypes": { 9 | "jcr:primaryType": "nt:unstructured", 10 | "sling:resourceType": "sling-cms/components/editor/fields/repeating", 11 | "type": "text", 12 | "label": "MIME Types", 13 | "name": "jcr:content/mimetypes", 14 | "required": true 15 | }, 16 | "mimetypesTypeHint": { 17 | "jcr:primaryType": "nt:unstructured", 18 | "sling:resourceType": "sling-cms/components/editor/fields/hidden", 19 | "name": "jcr:content/mimetypes@TypeHint", 20 | "value": "String[]" 21 | } 22 | } 23 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/caconfig/policies.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Component", 3 | "jcr:title": "Sling CMS - Component Policies", 4 | "sling:resourceSuperType": "sling-cms/components/caconfig/base", 5 | "componentType": "SlingCMS-Config" 6 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/caconfig/policies/include.jsp: -------------------------------------------------------------------------------- 1 | <%-- /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ --%> 19 | <%@include file="/libs/sling-cms/global.jsp"%> 20 | 21 | -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/caconfig/policy.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Component", 3 | "jcr:title": "Sling CMS - Component Policy", 4 | "componentType": "SlingCMS-PolicyConfig" 5 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/caconfig/policy/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Component", 3 | "jcr:title": "Sling CMS - Policy Configuration" 4 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/caconfig/policy/config/edit.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "nt:unstructured", 3 | "sling:resourceType": "sling-cms/components/editor/slingform", 4 | "button": "Save Page Type", 5 | "fields": { 6 | "jcr:primaryType": "nt:unstructured", 7 | "sling:resourceType": "sling-cms/components/general/container", 8 | "title": { 9 | "jcr:primaryType": "nt:unstructured", 10 | "sling:resourceType": "sling-cms/components/editor/fields/text", 11 | "label": "Title", 12 | "name": "jcr:title", 13 | "required": true 14 | }, 15 | "availableComponentTypes": { 16 | "jcr:primaryType": "nt:unstructured", 17 | "sling:resourceType": "sling-cms/components/cms/availablecomponenttypes" 18 | } 19 | } 20 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/caconfig/policymapping.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Component", 3 | "jcr:title": "Sling CMS - Component Policies", 4 | "sling:resourceSuperType": "sling-cms/components/caconfig/base", 5 | "componentType": "SlingCMS-PolicyMappingConfig" 6 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/caconfig/policymapping/edit.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "nt:unstructured", 3 | "sling:resourceType": "sling-cms/components/editor/slingform", 4 | "button": "Save Policy Mapping", 5 | "fields": { 6 | "jcr:primaryType": "nt:unstructured", 7 | "sling:resourceType": "sling-cms/components/general/container", 8 | "pathPattern": { 9 | "jcr:primaryType": "nt:unstructured", 10 | "sling:resourceType": "sling-cms/components/editor/fields/text", 11 | "label": "Path Pattern", 12 | "name": "pathPattern", 13 | "required": true 14 | }, 15 | "policyPath": { 16 | "jcr:primaryType": "nt:unstructured", 17 | "sling:resourceType": "sling-cms/components/editor/fields/select", 18 | "label": "Policy Path", 19 | "name": "policyPath", 20 | "optionsScript": "/libs/sling-cms/components/caconfig/scripts/policyOptions.jsp", 21 | "required": true 22 | } 23 | } 24 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/caconfig/readability.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Component", 3 | "jcr:title": "Sling CMS - Readability Configuration", 4 | "sling:resourceSuperType": "sling-cms/components/caconfig/base", 5 | "componentType": "SlingCMS-Config" 6 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/caconfig/readability/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Component", 3 | "jcr:title": "Sling CMS - Readability Configuration" 4 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/caconfig/readability/config/edit.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "nt:unstructured", 3 | "sling:resourceType": "sling-cms/components/editor/slingform", 4 | "button": "Save Readability Configuration", 5 | "fields": { 6 | "jcr:primaryType": "nt:unstructured", 7 | "sling:resourceType": "sling-cms/components/general/container", 8 | "minGradeLevel": { 9 | "jcr:primaryType": "nt:unstructured", 10 | "sling:resourceType": "sling-cms/components/editor/fields/text", 11 | "label": "Minimum Grade Level", 12 | "name": "minGradeLevel", 13 | "required": true, 14 | "type": "number" 15 | }, 16 | "maxGradeLevel": { 17 | "jcr:primaryType": "nt:unstructured", 18 | "sling:resourceType": "sling-cms/components/editor/fields/text", 19 | "label": "Maximum Grade Level", 20 | "name": "maxGradeLevel", 21 | "required": true, 22 | "type": "number" 23 | } 24 | } 25 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/caconfig/readability/include.jsp: -------------------------------------------------------------------------------- 1 | <%-- /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ --%> 19 | <%@include file="/libs/sling-cms/global.jsp"%> 20 | 21 | -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/caconfig/rewriter.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Component", 3 | "jcr:title": "Sling CMS - Rewriter Configuration", 4 | "sling:resourceSuperType": "sling-cms/components/caconfig/base", 5 | "componentType": "SlingCMS-Config" 6 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/caconfig/rewriter/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Component", 3 | "jcr:title": "Sling CMS - Rewriter" 4 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/caconfig/rewriter/config/edit.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "nt:unstructured", 3 | "sling:resourceType": "sling-cms/components/editor/slingform", 4 | "button": "Save Rewrite Config", 5 | "fields": { 6 | "jcr:primaryType": "nt:unstructured", 7 | "sling:resourceType": "sling-cms/components/general/container", 8 | "doctype": { 9 | "jcr:primaryType": "nt:unstructured", 10 | "sling:resourceType": "sling-cms/components/editor/fields/text", 11 | "label": "DocType", 12 | "name": "doctype", 13 | "type": "nt:unstructured", 14 | "required": true 15 | }, 16 | "attributes": { 17 | "jcr:primaryType": "nt:unstructured", 18 | "sling:resourceType": "sling-cms/components/editor/fields/repeating", 19 | "label": "Rewritten Attributes", 20 | "name": "attributes", 21 | "type": "text", 22 | "required": true 23 | } 24 | } 25 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/caconfig/rewriter/include.jsp: -------------------------------------------------------------------------------- 1 | <%-- /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ --%> 19 | <%@include file="/libs/sling-cms/global.jsp"%> 20 | -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/caconfig/sitesettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Component", 3 | "jcr:title": "Sling CMS - Site Settings", 4 | "sling:resourceSuperType": "sling-cms/components/caconfig/base", 5 | "componentType": "SlingCMS-Config" 6 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/caconfig/sitesettings/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Component", 3 | "jcr:title": "Sling CMS - Site Settings" 4 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/caconfig/sitesettings/config/config.jsp: -------------------------------------------------------------------------------- 1 | <%-- /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ --%> 19 | <%@include file="/libs/sling-cms/global.jsp"%> 20 |

21 |
22 |
23 |
24 | ${sling:encode(properties.taxonomyroot,'HTML')} 25 |
26 |
-------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/caconfig/sitesettings/config/edit.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "nt:unstructured", 3 | "sling:resourceType": "sling-cms/components/editor/slingform", 4 | "button": "Save Site Settings", 5 | "fields": { 6 | "jcr:primaryType": "nt:unstructured", 7 | "sling:resourceType": "sling-cms/components/general/container", 8 | "taxonomyroot": { 9 | "jcr:primaryType": "nt:unstructured", 10 | "sling:resourceType": "sling-cms/components/editor/fields/path", 11 | "label": "Taxonomy Root", 12 | "name": "taxonomyroot", 13 | "hidesearch": true, 14 | "basePath": "/etc/taxonomy", 15 | "type": "sling:Taxonomy", 16 | "required": true 17 | } 18 | } 19 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/caconfig/sitesettings/include.jsp: -------------------------------------------------------------------------------- 1 | <%-- /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ --%> 19 | <%@include file="/libs/sling-cms/global.jsp"%> 20 | -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/caconfig/template/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Component", 3 | "jcr:title": "Sling CMS - Template Configuration" 4 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/caconfig/templates.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Component", 3 | "jcr:title": "Sling CMS - Templates Configuration", 4 | "componentType": "SlingCMS-Config" 5 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/caconfig/templates/templates.jsp: -------------------------------------------------------------------------------- 1 | <%-- /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ --%> 19 | <%@include file="/libs/sling-cms/global.jsp"%> 20 | -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/caconfig/transformations.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Component", 3 | "jcr:title": "Sling CMS - Transformations Configuration", 4 | "componentType": "SlingCMS-Config" 5 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/caconfig/transformations/transformations.jsp: -------------------------------------------------------------------------------- 1 | <%-- /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ --%> 19 | <%@include file="/libs/sling-cms/global.jsp"%> 20 | -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/cms/blank/blank.jsp: -------------------------------------------------------------------------------- 1 | <%-- /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ --%> -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/cms/columns/static/static.jsp: -------------------------------------------------------------------------------- 1 | <%-- /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ --%> 19 | <%@include file="/libs/sling-cms/global.jsp"%> 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/cms/includeconfig/includeconfig.jsp: -------------------------------------------------------------------------------- 1 | <%-- /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ --%> 19 | <%@include file="/libs/sling-cms/global.jsp"%> 20 |
21 |
-------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/cms/includeeditor/includeeditor.jsp: -------------------------------------------------------------------------------- 1 | <%-- /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ --%> 19 | <%@include file="/libs/sling-cms/global.jsp"%> 20 | 21 | -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/cms/pageproperties/include.jsp: -------------------------------------------------------------------------------- 1 | <%-- /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ --%> 19 | <%@include file="/libs/sling-cms/global.jsp"%> 20 | 21 | 22 | -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/cms/parameter.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Component", 3 | "componentType": "SlingCMS-Parameter", 4 | "jcr:title": "Sling CMS - Config Parameter" 5 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/cms/scrollcontainer/scrollcontainer.jsp: -------------------------------------------------------------------------------- 1 | <%-- /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ --%> 19 | <%@include file="/libs/sling-cms/global.jsp"%> 20 |
21 | 22 |
-------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/cms/sitenav.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Component" 3 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/cms/transformationredirect/transformationredirect.jsp: -------------------------------------------------------------------------------- 1 | <%-- /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ --%> 19 | <%@include file="/libs/sling-cms/global.jsp"%> 20 | 21 | -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/editor/fields/auth/members.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Component", 3 | "sling:resourceSuperType" : "sling-cms/components/editor/fields/labelfield", 4 | "componentType": "SlingCMS-FieldConfig", 5 | "jcr:title": "Sling CMS - Members" 6 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/editor/fields/auth/membership.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Component", 3 | "sling:resourceSuperType" : "sling-cms/components/editor/fields/labelfield", 4 | "componentType": "SlingCMS-FieldConfig", 5 | "jcr:title": "Sling CMS - Membership" 6 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/editor/fields/button/button.jsp: -------------------------------------------------------------------------------- 1 | <%-- /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ --%> 19 | <%@include file="/libs/sling-cms/global.jsp"%> 20 |
21 | 22 | 23 |
-------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/editor/fields/combobox.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Component", 3 | "sling:resourceSuperType" : "sling-cms/components/editor/fields/labelfield", 4 | "componentType": "SlingCMS-FieldConfig", 5 | "jcr:title": "Sling CMS - Combobox" 6 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/editor/fields/file.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Component", 3 | "sling:resourceSuperType" : "sling-cms/components/editor/fields/base" 4 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/editor/fields/filemetadata.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Component", 3 | "sling:resourceSuperType": "sling-cms/components/editor/fields/base", 4 | "componentType": "SlingCMS-FieldConfig", 5 | "jcr:title": "Sling CMS - File Metadata" 6 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/editor/fields/filemetadata/edit.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "nt:unstructured", 3 | "sling:resourceType": "sling-cms/components/editor/slingform", 4 | "button": "No Need to Edit" 5 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/editor/fields/hidden.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Component", 3 | "componentType": "SlingCMS-FieldConfig", 4 | "jcr:title": "Sling CMS - Hidden Field" 5 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/editor/fields/hidden/edit.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "nt:unstructured", 3 | "sling:resourceType": "sling-cms/components/editor/slingform", 4 | "button": "Save Field", 5 | "fields": { 6 | "jcr:primaryType": "nt:unstructured", 7 | "sling:resourceType": "sling-cms/components/general/container", 8 | "name": { 9 | "jcr:primaryType": "nt:unstructured", 10 | "sling:resourceType": "sling-cms/components/editor/fields/text", 11 | "label": "Name", 12 | "name": "name", 13 | "required": true 14 | }, 15 | "value": { 16 | "jcr:primaryType": "nt:unstructured", 17 | "sling:resourceType": "sling-cms/components/editor/fields/text", 18 | "label": "Value", 19 | "name": "value", 20 | "required": true 21 | } 22 | } 23 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/editor/fields/hidden/hidden.jsp: -------------------------------------------------------------------------------- 1 | <%-- /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ --%> 19 | <%@include file="/libs/sling-cms/global.jsp"%> 20 | -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/editor/fields/labelfield.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "nt:unstructured", 3 | "sling:resourceSuperType" : "sling-cms/components/editor/fields/base" 4 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/editor/fields/labelfield/options.jsp: -------------------------------------------------------------------------------- 1 | <%-- /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ --%> 19 | <%@include file="/libs/sling-cms/global.jsp"%> 20 | <%-- Load the options --%> -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/editor/fields/labelfield/values.jsp: -------------------------------------------------------------------------------- 1 | <%-- /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ --%> 19 | <%@include file="/libs/sling-cms/global.jsp"%> 20 | <%-- Load the values for the current field --%> -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/editor/fields/namehint/namehint.jsp: -------------------------------------------------------------------------------- 1 | <%-- /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ --%> 19 | <%@include file="/libs/sling-cms/global.jsp"%> 20 | -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/editor/fields/param/edit.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "nt:unstructured", 3 | "sling:resourceType": "sling-cms/components/editor/slingform", 4 | "button": "No Need to Edit" 5 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/editor/fields/param/param.jsp: -------------------------------------------------------------------------------- 1 | <%-- /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ --%> 19 | <%@include file="/libs/sling-cms/global.jsp"%> 20 | -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/editor/fields/path.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Component" 3 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/editor/fields/publication.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Component", 3 | "sling:resourceSuperType" : "sling-cms/components/editor/fields/base", 4 | "jcr:title": "Sling CMS - Publication Field" 5 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/editor/fields/repeating.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Component", 3 | "sling:resourceSuperType" : "sling-cms/components/editor/fields/base" 4 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/editor/fields/resourceparam/resourceparam.jsp: -------------------------------------------------------------------------------- 1 | <%-- /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ --%> 19 | <%@include file="/libs/sling-cms/global.jsp"%> 20 | -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/editor/fields/richtext.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Component", 3 | "sling:resourceSuperType" : "sling-cms/components/editor/fields/base" 4 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/editor/fields/richtext/toolbar/buttongroup/buttongroup.jsp: -------------------------------------------------------------------------------- 1 | <%-- /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ --%> 19 | <%@include file="/libs/sling-cms/global.jsp"%> 20 |
21 | 22 | 23 | 24 |
-------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/editor/fields/richtext/toolbar/optionbutton/optionbutton.jsp: -------------------------------------------------------------------------------- 1 | <%-- /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ --%> 19 | <%@include file="/libs/sling-cms/global.jsp"%> 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/editor/fields/richtext/toolbar/toolbar.jsp: -------------------------------------------------------------------------------- 1 | <%-- /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ --%> 19 | <%@include file="/libs/sling-cms/global.jsp"%> 20 |
21 | 22 | 23 | 24 |
-------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/editor/fields/richtext/toolbar/viewsource/viewsource.jsp: -------------------------------------------------------------------------------- 1 | <%-- /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ --%> 19 | <%@include file="/libs/sling-cms/global.jsp"%> 20 | 21 | </> 22 | 23 | -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/editor/fields/select.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Component", 3 | "sling:resourceSuperType": "sling-cms/components/editor/fields/base", 4 | "componentType": "SlingCMS-FieldConfig", 5 | "jcr:title": "Sling CMS - Select Field" 6 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/editor/fields/select/edit.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "nt:unstructured", 3 | "sling:resourceType": "sling-cms/components/editor/slingform", 4 | "button": "Save Field", 5 | "fields": { 6 | "jcr:primaryType": "nt:unstructured", 7 | "sling:resourceType": "sling-cms/components/general/container", 8 | "label": { 9 | "jcr:primaryType": "nt:unstructured", 10 | "sling:resourceType": "sling-cms/components/editor/fields/text", 11 | "label": "Label", 12 | "name": "label", 13 | "required": true 14 | }, 15 | "name": { 16 | "jcr:primaryType": "nt:unstructured", 17 | "sling:resourceType": "sling-cms/components/editor/fields/text", 18 | "label": "Name", 19 | "name": "name", 20 | "required": true 21 | }, 22 | "options": { 23 | "jcr:primaryType": "nt:unstructured", 24 | "sling:resourceType": "sling-cms/components/editor/fields/textarea", 25 | "label": "Options", 26 | "name": "options", 27 | "required": true 28 | } 29 | } 30 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/editor/fields/taxonomy.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Component", 3 | "sling:resourceSuperType" : "sling-cms/components/editor/fields/labelfield", 4 | "componentType": "SlingCMS-FieldConfig", 5 | "jcr:title": "Sling CMS - Taxonomy Field" 6 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/editor/fields/taxonomy/edit.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "nt:unstructured", 3 | "sling:resourceType": "sling-cms/components/editor/slingform", 4 | "button": "Save Field", 5 | "fields": { 6 | "jcr:primaryType": "nt:unstructured", 7 | "sling:resourceType": "sling-cms/components/general/container", 8 | "label": { 9 | "jcr:primaryType": "nt:unstructured", 10 | "sling:resourceType": "sling-cms/components/editor/fields/text", 11 | "label": "Label", 12 | "name": "label", 13 | "required": true 14 | }, 15 | "name": { 16 | "jcr:primaryType": "nt:unstructured", 17 | "sling:resourceType": "sling-cms/components/editor/fields/text", 18 | "label": "Name", 19 | "name": "name", 20 | "required": true 21 | } 22 | } 23 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/editor/fields/text.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Component", 3 | "sling:resourceSuperType" : "sling-cms/components/editor/fields/base", 4 | "componentType": "SlingCMS-FieldConfig", 5 | "jcr:title": "Sling CMS - Input Field" 6 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/editor/fields/textarea.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Component", 3 | "sling:resourceSuperType": "sling-cms/components/editor/fields/base", 4 | "componentType": "SlingCMS-FieldConfig", 5 | "jcr:title": "Sling CMS - Textarea Field" 6 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/editor/fields/textarea/field.jsp: -------------------------------------------------------------------------------- 1 | <%-- /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ --%> 19 | <%@include file="/libs/sling-cms/global.jsp"%> 20 | -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/editor/scripts/finalize.jsp: -------------------------------------------------------------------------------- 1 | <%-- /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ --%> 19 | <%@include file="/libs/sling-cms/global.jsp"%> 20 | 21 | 22 |
23 | 24 |
25 |
-------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/general/container.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Component", 3 | "jcr:title": "Container", 4 | "editable": false, 5 | "container": true 6 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/general/reloadcontainer.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Component", 3 | "jcr:title": "Reload Container", 4 | "sling:resourceSuperType": "sling-cms/components/general/container", 5 | "editable": false, 6 | "reloadPage": true, 7 | "container": true 8 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/general/richtext.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Component", 3 | "componentType": "General", 4 | "jcr:title": "Rich Text Editor" 5 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/general/richtext/edit.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "nt:unstructured", 3 | "sling:resourceType": "sling-cms/components/editor/slingform", 4 | "button": "Save", 5 | "fields": { 6 | "jcr:primaryType": "nt:unstructured", 7 | "sling:resourceType": "sling-cms/components/general/container", 8 | "type": { 9 | "jcr:primaryType": "nt:unstructured", 10 | "sling:resourceType": "sling-cms/components/editor/fields/richtext", 11 | "label": "Text", 12 | "name": "text", 13 | "required": true 14 | } 15 | } 16 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/general/richtext/richtext.jsp: -------------------------------------------------------------------------------- 1 | <%-- /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ --%> 19 | <%@include file="/libs/sling-cms/global.jsp"%> 20 | ${properties.text} -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/general/textelement.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Component", 3 | "componentType": "General", 4 | "jcr:title": "Text Element" 5 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/jobs/configuration/configuration.jsp: -------------------------------------------------------------------------------- 1 | <%-- /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ --%> 19 | <%@include file="/libs/sling-cms/global.jsp"%> 20 |
21 |
-------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/jobs/configuration/include.jsp: -------------------------------------------------------------------------------- 1 | <%-- /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ --%> 19 | <%@include file="/libs/sling-cms/global.jsp"%> 20 | -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/pages/base.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType" : "sling:Component", 3 | "jcr:title": "CMS - Base Page" 4 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/pages/base/base.jsp: -------------------------------------------------------------------------------- 1 | <%-- /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ --%> 19 | <%@include file="/libs/sling-cms/global.jsp"%> 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/pages/base/content.jsp: -------------------------------------------------------------------------------- 1 | <%-- /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ --%> 19 | <%@include file="/libs/sling-cms/global.jsp"%> 20 | -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/pages/base/scripts.jsp: -------------------------------------------------------------------------------- 1 | <%-- /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ --%> 19 | <%@include file="/libs/sling-cms/global.jsp"%> 20 | -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/pages/editor.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType" : "sling:Component", 3 | "sling:resourceSuperType" : "sling-cms/components/pages/base", 4 | "jcr:title": "CMS - Editor Page" 5 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/pages/editor/body.jsp: -------------------------------------------------------------------------------- 1 | <%-- /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ --%> 19 | <%@include file="/libs/sling-cms/global.jsp"%> 20 | 21 |
22 | 23 |
24 | 25 | -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/pages/editor/editor.jsp: -------------------------------------------------------------------------------- 1 | <%-- /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ --%> 19 | <%@include file="/libs/sling-cms/global.jsp"%> 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/pages/error.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType" : "sling:Component", 3 | "sling:resourceSuperType" : "sling-cms/components/pages/base", 4 | "jcr:title": "CMS - Error Page" 5 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/pages/error/error.jsp: -------------------------------------------------------------------------------- 1 | <%-- /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ --%> 19 | <%@include file="/libs/sling-cms/global.jsp"%> 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/pages/fragment.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType" : "sling:Component", 3 | "sling:resourceSuperType" : "sling-cms/components/pages/base", 4 | "jcr:title": "CMS - Fragment Page", 5 | "componentType": "Page" 6 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/pages/fragment/fragment.jsp: -------------------------------------------------------------------------------- 1 | <%-- /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ --%> 19 | <%@include file="/libs/sling-cms/global.jsp"%> 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/components/pages/modal.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType" : "sling:Component", 3 | "jcr:title": "CMS - Modal Page" 4 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/config/rewriter/reference-mapping-rewriter.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "nt:unstructured", 3 | "contentTypes": [ 4 | "text/html" 5 | ], 6 | "enabled": true, 7 | "extensions": [ 8 | "html" 9 | ], 10 | "generatorType": "html-generator", 11 | "order": 1000, 12 | "paths": [ 13 | "/content" 14 | ], 15 | "serializerType": "html5-serializer", 16 | "transformerTypes": [ 17 | "referencemapping" 18 | ], 19 | "generator-html-generator": { 20 | "jcr:primaryType": "nt:unstructured", 21 | "includeTags": [ 22 | "A", 23 | "AREA", 24 | "AUDIO", 25 | "BASE", 26 | "EMBED", 27 | "FORM", 28 | "IFRAME", 29 | "IMG", 30 | "LINK", 31 | "OBJECT", 32 | "SCRIPT", 33 | "SOURCE", 34 | "TRACK", 35 | "VIDEO" 36 | ] 37 | } 38 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/content.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Folder" 3 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/content/branding.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "nt:unstructured", 3 | "appName": "Apache Sling CMS", 4 | "appleTouchIcon": "/static/clientlibs/sling-cms/img/apple-touch-icon.png", 5 | "appleMaskIcon": "/static/clientlibs/sling-cms/img/safari-pinned-tab.svg", 6 | "favicon32": "/static/clientlibs/sling-cms/img/favicon-32x32.png", 7 | "favicon16": "/static/clientlibs/sling-cms/img/favicon-16x16.png", 8 | "favicon": "/static/clientlibs/sling-cms/img/favicon.ico", 9 | "gridIconsBase": "/static/sling-cms/thumbnails", 10 | "helpLink": "https://github.com/apache/sling-org-apache-sling-app-cms", 11 | "logo": "/static/clientlibs/sling-cms/img/sling-logo.svg", 12 | "logoLink": "https://sling.apache.org", 13 | "tileColor": "#662f8f", 14 | "browserConfig": "/static/clientlibs/sling-cms/img/browserconfig.xml", 15 | "webManifest": "/static/clientlibs/sling-cms/img/site.webmanifest", 16 | "css": "/static/clientlibs/sling-cms/css/styles.min.css", 17 | "security:acl": [ 18 | { 19 | "principal": "everyone", 20 | "granted": [ 21 | "jcr:read" 22 | ] 23 | } 24 | ] 25 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/content/content.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Folder" 3 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/content/editor/delete.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Page", 3 | "jcr:content": { 4 | "jcr:primaryType": "nt:unstructured", 5 | "jcr:title": "Edit", 6 | "sling:resourceType": "sling-cms/components/pages/editor", 7 | "container": { 8 | "jcr:primaryType": "nt:unstructured", 9 | "sling:resourceType": "sling-cms/components/general/container", 10 | "add": { 11 | "jcr:primaryType": "nt:unstructured", 12 | "sling:resourceType": "sling-cms/components/editor/slingform", 13 | "button": "Delete", 14 | "fields": { 15 | "jcr:primaryType": "nt:unstructured", 16 | "sling:resourceType": "sling-cms/components/general/container", 17 | "path": { 18 | "jcr:primaryType": "nt:unstructured", 19 | "sling:resourceType" : "sling-cms/components/editor/fields/suffixlabel", 20 | "label": "Do you want to delete:" 21 | }, 22 | "primaryType": { 23 | "jcr:primaryType": "nt:unstructured", 24 | "sling:resourceType": "sling-cms/components/editor/fields/hidden", 25 | "name": ":operation", 26 | "value": "delete" 27 | } 28 | } 29 | } 30 | } 31 | } 32 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/content/editor/edit.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Page", 3 | "jcr:content": { 4 | "jcr:primaryType": "nt:unstructured", 5 | "jcr:title": "Edit", 6 | "sling:resourceType" : "sling-cms/components/pages/editor", 7 | "container": { 8 | "jcr:primaryType": "nt:unstructured", 9 | "sling:resourceType": "sling-cms/components/general/container", 10 | "suffixinclude": { 11 | "jcr:primaryType": "nt:unstructured", 12 | "sling:resourceType": "sling-cms/components/cms/includeeditor" 13 | } 14 | } 15 | } 16 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/content/editor/reorder.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Page", 3 | "jcr:content": { 4 | "jcr:primaryType": "nt:unstructured", 5 | "jcr:title": "Reorder", 6 | "sling:resourceType": "sling-cms/components/pages/editor", 7 | "container": { 8 | "jcr:primaryType": "nt:unstructured", 9 | "sling:resourceType": "sling-cms/components/general/container", 10 | "add": { 11 | "jcr:primaryType": "nt:unstructured", 12 | "sling:resourceType": "sling-cms/components/editor/slingform", 13 | "button": "Reorder", 14 | "fields": { 15 | "jcr:primaryType": "nt:unstructured", 16 | "sling:resourceType": "sling-cms/components/general/container", 17 | "path": { 18 | "jcr:primaryType": "nt:unstructured", 19 | "sling:resourceType": "sling-cms/components/editor/fields/suffixlabel", 20 | "label": "Do you want to reorder:" 21 | }, 22 | "siblingselect": { 23 | "jcr:primaryType": "nt:unstructured", 24 | "sling:resourceType": "sling-cms/components/editor/fields/siblingselect", 25 | "label": "Select Position:" 26 | } 27 | } 28 | } 29 | } 30 | } 31 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/content/file/download.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "nt:unstructured", 3 | "sling:resourceType": "sling-cms/file/download" 4 | } 5 | -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/content/file/edit.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Page", 3 | "jcr:content": { 4 | "sling:resourceType": "sling-cms/components/pages/modal", 5 | "jcr:title": "Edit File", 6 | "jcr:primaryType": "nt:unstructured", 7 | "container": { 8 | "jcr:primaryType": "nt:unstructured", 9 | "sling:resourceType": "sling-cms/components/general/container", 10 | "slingform": { 11 | "jcr:primaryType": "nt:unstructured", 12 | "sling:resourceType": "sling-cms/components/cms/fileeditorinclude" 13 | } 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/content/file/optimize.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Page", 3 | "jcr:content": { 4 | "sling:resourceType": "sling-cms/components/pages/modal", 5 | "jcr:title": "Optimize File", 6 | "jcr:primaryType": "nt:unstructured", 7 | "container": { 8 | "jcr:primaryType": "nt:unstructured", 9 | "sling:resourceType": "sling-cms/components/general/container", 10 | "slingform": { 11 | "jcr:primaryType": "nt:unstructured", 12 | "sling:resourceType": "sling-cms/components/cms/optimizefile" 13 | } 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/content/file/preview.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "nt:unstructured", 3 | "sling:resourceType": "sling-cms/file/preview" 4 | } 5 | -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/content/jobs/filemetadataextractor.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "nt:unstructured", 3 | "sling:resourceType": "sling-cms/components/general/container", 4 | "path": { 5 | "jcr:primaryType": "nt:unstructured", 6 | "sling:resourceType": "sling-cms/components/editor/fields/text", 7 | "label": "Path", 8 | "name": "path", 9 | "required": true 10 | }, 11 | "topic": { 12 | "jcr:primaryType": "nt:unstructured", 13 | "sling:resourceType": "sling-cms/components/editor/fields/hidden", 14 | "name": "job.topics", 15 | "value": "cmsjob/org/apache/sling/cms/file/ExtractMetadata" 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/content/jobs/list.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Page", 3 | "jcr:content": { 4 | "jcr:primaryType": "nt:unstructured", 5 | "jcr:title": "List Jobs", 6 | "sling:resourceType": "sling-cms/components/pages/base", 7 | "container": { 8 | "jcr:primaryType": "nt:unstructured", 9 | "sling:resourceType": "sling-cms/components/general/container", 10 | "contentactions": { 11 | "jcr:primaryType": "nt:unstructured", 12 | "sling:resourceType": "sling-cms/components/cms/contentactions", 13 | "actions": { 14 | "job": { 15 | "jcr:primaryType": "nt:unstructured", 16 | "label": "Start Job", 17 | "prefix": "/cms/jobs/start.html/bin/cms/startjob" 18 | } 19 | } 20 | }, 21 | "contenttable": { 22 | "jcr:primaryType": "nt:unstructured", 23 | "sling:resourceType": "sling-cms/components/jobs/list" 24 | } 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/content/jobs/optimizefiles.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "nt:unstructured", 3 | "sling:resourceType": "sling-cms/components/general/container", 4 | "path": { 5 | "jcr:primaryType": "nt:unstructured", 6 | "sling:resourceType": "sling-cms/components/editor/fields/text", 7 | "label": "Path", 8 | "name": "path", 9 | "required": true 10 | }, 11 | "topic": { 12 | "jcr:primaryType": "nt:unstructured", 13 | "sling:resourceType": "sling-cms/components/editor/fields/hidden", 14 | "name": "job.topics", 15 | "value": "cmsjob/org/apache/sling/cms/file/OptimizeFiles" 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/content/jobs/view.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Page", 3 | "jcr:content": { 4 | "jcr:primaryType": "nt:unstructured", 5 | "jcr:title": "View Job", 6 | "sling:resourceType": "sling-cms/components/pages/base", 7 | "container": { 8 | "jcr:primaryType": "nt:unstructured", 9 | "sling:resourceType": "sling-cms/components/general/container", 10 | "contenttable": { 11 | "jcr:primaryType": "nt:unstructured", 12 | "sling:resourceType": "sling-cms/components/jobs/view" 13 | } 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/content/page/editproperties.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Page", 3 | "jcr:content": { 4 | "jcr:primaryType": "nt:unstructured", 5 | "jcr:title": "Edit Properties", 6 | "sling:resourceType": "sling-cms/components/pages/modal", 7 | "container": { 8 | "jcr:primaryType": "nt:unstructured", 9 | "sling:resourceType": "sling-cms/components/general/container", 10 | "pageeditor": { 11 | "jcr:primaryType": "nt:unstructured", 12 | "sling:resourceType": "sling-cms/components/cms/pageeditbar/propertieseditor" 13 | } 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/content/page/pagewrapper.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "nt:unstructured", 3 | "sling:resourceType" : "sling-cms/components/cms/pagewrapper" 4 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/content/shared/insights.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Page", 3 | "jcr:content": { 4 | "sling:resourceType": "sling-cms/components/pages/modal", 5 | "jcr:title": "View Insights", 6 | "jcr:primaryType": "nt:unstructured", 7 | "container": { 8 | "jcr:primaryType": "nt:unstructured", 9 | "sling:resourceType": "sling-cms/components/general/container", 10 | "siteconfig": { 11 | "jcr:primaryType": "nt:unstructured", 12 | "sling:resourceType": "sling-cms/components/insights/insightlist" 13 | } 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/content/shared/references.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Page", 3 | "jcr:content": { 4 | "sling:resourceType": "sling-cms/components/pages/modal", 5 | "jcr:title": "View References", 6 | "jcr:primaryType": "nt:unstructured", 7 | "container": { 8 | "jcr:primaryType": "nt:unstructured", 9 | "sling:resourceType": "sling-cms/components/general/container", 10 | "references": { 11 | "jcr:primaryType": "nt:unstructured", 12 | "sling:resourceType": "sling-cms/components/cms/references", 13 | "label": "References" 14 | } 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/content/shared/versions.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Page", 3 | "jcr:content": { 4 | "sling:resourceType": "sling-cms/components/pages/modal", 5 | "jcr:title": "Manage Versions", 6 | "jcr:primaryType": "nt:unstructured", 7 | "container": { 8 | "jcr:primaryType": "nt:unstructured", 9 | "sling:resourceType": "sling-cms/components/general/container", 10 | "versionmanager": { 11 | "jcr:primaryType": "nt:unstructured", 12 | "sling:resourceType": "sling-cms/components/cms/versionmanager" 13 | } 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/content/transformations/useredit.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Page", 3 | "jcr:content": { 4 | "sling:resourceType": "sling-cms/components/pages/base", 5 | "jcr:title": "Edit Transformation", 6 | "jcr:primaryType": "nt:unstructured", 7 | "container": { 8 | "jcr:primaryType": "nt:unstructured", 9 | "sling:resourceType": "sling-cms/components/general/container", 10 | "richtext": { 11 | "jcr:primaryType": "nt:unstructured", 12 | "sling:resourceType": "sling-cms/components/general/textelement", 13 | "i18n": true, 14 | "level": "h2", 15 | "text": "Edit Transformation" 16 | }, 17 | "transformationeditor": { 18 | "jcr:primaryType": "nt:unstructured", 19 | "sling:resourceType": "sling/thumbnails/transformation" 20 | } 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling-cms/content/transformations/userredirect.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "nt:unstructured", 3 | "sling:resourceType": "sling-cms/components/cms/transformationredirect" 4 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling/thumbnails/transformation/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Component", 3 | "jcr:title": "Transformation Configuration" 4 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling/thumbnails/transformation/config/edit.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "nt:unstructured", 3 | "sling:resourceType": "sling-cms/components/editor/slingform", 4 | "button": "Save Transformation", 5 | "fields": { 6 | "jcr:primaryType": "nt:unstructured", 7 | "sling:resourceType": "sling-cms/components/general/container", 8 | "name": { 9 | "jcr:primaryType": "nt:unstructured", 10 | "sling:resourceType": "sling-cms/components/editor/fields/text", 11 | "label": "Name", 12 | "name": "name", 13 | "required": true 14 | } 15 | } 16 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling/thumbnails/transformers/colorize.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Component", 3 | "jcr:title": "Colorize Handler", 4 | "componentType": "SlingCMS-TransformationHandler" 5 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling/thumbnails/transformers/crop.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Component", 3 | "jcr:title": "Crop Handler", 4 | "componentType": "SlingCMS-TransformationHandler" 5 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling/thumbnails/transformers/flip.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Component", 3 | "jcr:title": "Flip Handler", 4 | "componentType": "SlingCMS-TransformationHandler" 5 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling/thumbnails/transformers/flip/edit.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "nt:unstructured", 3 | "sling:resourceType": "sling-cms/components/editor/slingform", 4 | "button": "Save", 5 | "fields": { 6 | "jcr:primaryType": "nt:unstructured", 7 | "sling:resourceType": "sling-cms/components/general/container", 8 | "direction": { 9 | "jcr:primaryType": "nt:unstructured", 10 | "sling:resourceType": "sling-cms/components/editor/fields/select", 11 | "label": "Direction", 12 | "name": "direction", 13 | "required": true, 14 | "options": { 15 | "horizontal": { 16 | "label": "Horizontal", 17 | "value": "horizontal" 18 | }, 19 | "vertical": { 20 | "label": "Vertical", 21 | "value": "vertical" 22 | } 23 | } 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling/thumbnails/transformers/flip/flip.jsp: -------------------------------------------------------------------------------- 1 | <%-- /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ --%> 19 | <%@include file="/libs/sling-cms/global.jsp"%> 20 |
21 |
22 |
23 |
-------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling/thumbnails/transformers/greyscale.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Component", 3 | "jcr:title": "Greyscale Handler", 4 | "componentType": "SlingCMS-TransformationHandler" 5 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling/thumbnails/transformers/greyscale/edit.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "nt:unstructured", 3 | "sling:resourceType": "sling-cms/components/editor/slingform", 4 | "button": "No settings required", 5 | "fields": { 6 | } 7 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling/thumbnails/transformers/greyscale/greyscale.jsp: -------------------------------------------------------------------------------- 1 | <%-- /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ --%> 19 | <%@include file="/libs/sling-cms/global.jsp"%> 20 |
21 |
-------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling/thumbnails/transformers/resize.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Component", 3 | "jcr:title": "Resize Handler", 4 | "componentType": "SlingCMS-TransformationHandler" 5 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling/thumbnails/transformers/rotate.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Component", 3 | "jcr:title": "Rotate Handler", 4 | "componentType": "SlingCMS-TransformationHandler" 5 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling/thumbnails/transformers/rotate/edit.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "nt:unstructured", 3 | "sling:resourceType": "sling-cms/components/editor/slingform", 4 | "button": "Save", 5 | "fields": { 6 | "jcr:primaryType": "nt:unstructured", 7 | "sling:resourceType": "sling-cms/components/general/container", 8 | "degrees": { 9 | "jcr:primaryType": "nt:unstructured", 10 | "sling:resourceType": "sling-cms/components/editor/fields/text", 11 | "label": "Degrees", 12 | "name": "degrees", 13 | "required": true, 14 | "type": "text" 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling/thumbnails/transformers/rotate/rotate.jsp: -------------------------------------------------------------------------------- 1 | <%-- /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ --%> 19 | <%@include file="/libs/sling-cms/global.jsp"%> 20 |
21 |
Degrees
22 |
23 |
-------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling/thumbnails/transformers/scale/edit.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "nt:unstructured", 3 | "sling:resourceType": "sling-cms/components/editor/slingform", 4 | "button": "Save", 5 | "fields": { 6 | "jcr:primaryType": "nt:unstructured", 7 | "sling:resourceType": "sling-cms/components/general/container", 8 | "both": { 9 | "jcr:primaryType": "nt:unstructured", 10 | "sling:resourceType": "sling-cms/components/editor/fields/select", 11 | "label": "Both Width and Height", 12 | "name": "both", 13 | "type": "text" 14 | }, 15 | "width": { 16 | "jcr:primaryType": "nt:unstructured", 17 | "sling:resourceType": "sling-cms/components/editor/fields/text", 18 | "label": "Width", 19 | "name": "width", 20 | "type": "text" 21 | }, 22 | "height": { 23 | "jcr:primaryType": "nt:unstructured", 24 | "sling:resourceType": "sling-cms/components/editor/fields/text", 25 | "label": "Height", 26 | "name": "height", 27 | "type": "text" 28 | } 29 | } 30 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling/thumbnails/transformers/transparency.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Component", 3 | "jcr:title": "Transparency Handler", 4 | "componentType": "SlingCMS-TransformationHandler" 5 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling/thumbnails/transformers/transparency/edit.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "nt:unstructured", 3 | "sling:resourceType": "sling-cms/components/editor/slingform", 4 | "button": "Save", 5 | "fields": { 6 | "jcr:primaryType": "nt:unstructured", 7 | "sling:resourceType": "sling-cms/components/general/container", 8 | "alpha": { 9 | "jcr:primaryType": "nt:unstructured", 10 | "sling:resourceType": "sling-cms/components/editor/fields/text", 11 | "label": "Alpha", 12 | "required": true, 13 | "name": "alpha" 14 | } 15 | } 16 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/libs/sling/thumbnails/transformers/transparency/transparency.jsp: -------------------------------------------------------------------------------- 1 | <%-- /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ --%> 19 | <%@include file="/libs/sling-cms/global.jsp"%> 20 |
21 |
Alpha
22 |
23 |
-------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/static/sling-cms/errorhandling/404.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Page", 3 | "jcr:content": { 4 | "sling:resourceType": "sling-cms/components/pages/error", 5 | "jcr:title": "Not Found", 6 | "jcr:primaryType": "nt:unstructured", 7 | "center": true, 8 | "container": { 9 | "jcr:primaryType": "nt:unstructured", 10 | "sling:resourceType": "sling-cms/components/general/container", 11 | "title": { 12 | "jcr:primaryType": "nt:unstructured", 13 | "sling:resourceType": "sling-cms/components/general/textelement", 14 | "i18n": true, 15 | "level": "h3", 16 | "text": "Not Found" 17 | }, 18 | "richtext": { 19 | "jcr:primaryType": "nt:unstructured", 20 | "sling:resourceType": "sling-cms/components/general/textelement", 21 | "i18n": true, 22 | "level": "p", 23 | "text": "The requested content was not found." 24 | } 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/static/sling-cms/errorhandling/default.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:Page", 3 | "jcr:content": { 4 | "sling:resourceType": "sling-cms/components/pages/error", 5 | "jcr:title": "Exception", 6 | "jcr:primaryType": "nt:unstructured", 7 | "center": true, 8 | "container": { 9 | "jcr:primaryType": "nt:unstructured", 10 | "sling:resourceType": "sling-cms/components/general/container", 11 | "title": { 12 | "jcr:primaryType": "nt:unstructured", 13 | "sling:resourceType": "sling-cms/components/general/textelement", 14 | "i18n": true, 15 | "level": "h3", 16 | "text": "Unexpected Exception" 17 | }, 18 | "richtext": { 19 | "jcr:primaryType": "nt:unstructured", 20 | "sling:resourceType": "sling-cms/components/general/textelement", 21 | "i18n": true, 22 | "level": "p", 23 | "text": "An unexpected exception occurred rendering the response." 24 | } 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/static/sling-cms/thumbnails.json: -------------------------------------------------------------------------------- 1 | { 2 | "jcr:primaryType": "sling:OrderedFolder", 3 | "jcr:content": { 4 | "jcr:primaryType": "nt:unstructured", 5 | "jcr:title": "Sling CMS Thumbnails" 6 | } 7 | } -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/static/sling-cms/thumbnails/bulk-publication.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/sling-org-apache-sling-app-cms/c34bbb42de862352c1ca1b5a7bb57db5a14e7b52/ui/src/main/resources/jcr_root/static/sling-cms/thumbnails/bulk-publication.png -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/static/sling-cms/thumbnails/exporter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/sling-org-apache-sling-app-cms/c34bbb42de862352c1ca1b5a7bb57db5a14e7b52/ui/src/main/resources/jcr_root/static/sling-cms/thumbnails/exporter.png -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/static/sling-cms/thumbnails/file.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/sling-org-apache-sling-app-cms/c34bbb42de862352c1ca1b5a7bb57db5a14e7b52/ui/src/main/resources/jcr_root/static/sling-cms/thumbnails/file.png -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/static/sling-cms/thumbnails/folder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/sling-org-apache-sling-app-cms/c34bbb42de862352c1ca1b5a7bb57db5a14e7b52/ui/src/main/resources/jcr_root/static/sling-cms/thumbnails/folder.png -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/static/sling-cms/thumbnails/importer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/sling-org-apache-sling-app-cms/c34bbb42de862352c1ca1b5a7bb57db5a14e7b52/ui/src/main/resources/jcr_root/static/sling-cms/thumbnails/importer.png -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/static/sling-cms/thumbnails/page.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/sling-org-apache-sling-app-cms/c34bbb42de862352c1ca1b5a7bb57db5a14e7b52/ui/src/main/resources/jcr_root/static/sling-cms/thumbnails/page.png -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/static/sling-cms/thumbnails/publish-agent.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/sling-org-apache-sling-app-cms/c34bbb42de862352c1ca1b5a7bb57db5a14e7b52/ui/src/main/resources/jcr_root/static/sling-cms/thumbnails/publish-agent.png -------------------------------------------------------------------------------- /ui/src/main/resources/jcr_root/static/sling-cms/thumbnails/site.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/sling-org-apache-sling-app-cms/c34bbb42de862352c1ca1b5a7bb57db5a14e7b52/ui/src/main/resources/jcr_root/static/sling-cms/thumbnails/site.png -------------------------------------------------------------------------------- /vagrant/src/cache_disk.conf: -------------------------------------------------------------------------------- 1 | # 2 | # Licensed to the Apache Software Foundation (ASF) under one or more contributor license 3 | # agreements. See the NOTICE file distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file to you under the Apache License, 5 | # Version 2.0 (the "License"); you may not use this file except in compliance with the 6 | # License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 7 | # Unless required by applicable law or agreed to in writing, software distributed under the 8 | # License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, 9 | # either express or implied. See the License for the specific language governing permissions 10 | # and limitations under the License. 11 | # 12 | 13 | 14 | CacheDirLevels 2 15 | CacheDirLength 1 16 | -------------------------------------------------------------------------------- /vagrant/src/cms.conf: -------------------------------------------------------------------------------- 1 | # 2 | # Licensed to the Apache Software Foundation (ASF) under one or more contributor license 3 | # agreements. See the NOTICE file distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file to you under the Apache License, 5 | # Version 2.0 (the "License"); you may not use this file except in compliance with the 6 | # License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 7 | # Unless required by applicable law or agreed to in writing, software distributed under the 8 | # License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, 9 | # either express or implied. See the License for the specific language governing permissions 10 | # and limitations under the License. 11 | # 12 | 13 | 14 | ServerName cms.sling.apache.org 15 | DocumentRoot /var/www/vhosts/sling-cms 16 | ErrorLog /var/log/httpd/sling-cms-err.log 17 | TransferLog /var/log/httpd/sling-cms-access.log 18 | 19 | ProxyPass /.well-known ! 20 | ProxyPass / http://10.0.0.2:8080/ 21 | ProxyPassReverse / http://10.0.0.2:8080/ 22 | 23 | --------------------------------------------------------------------------------