This is an automated email from the ASF dual-hosted git repository.
dklco pushed a change to branch SLING-8913-multiple-instance-types
in repository
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-app-cms.git.
from c115e06 Updating to clean up the code around publishable resources
including pages and files
new 2828550 Fixing an issue where the page editor buttons weren't opening
in a modal
new ec1affb Resolving issues where the security filter was not taking
publication status into consideration and made it more configurable
new 6ef9918 Fixing error when retrieving a publishable resource with an
unset / invalid publication type
new 3a3a691 Adding the new publication UI
add 41c0943 Updating badges for org-apache-sling-app-cms
add cb407e4 Adding sonarqube badges as per SLING-9682
new 707241d Merge branch 'master' of
github.com:apache/sling-org-apache-sling-app-cms into
SLING-8913-multiple-instance-types
The 5 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
README.md | 4 +-
.../filters/CMSSecurityConfigInstance.java | 81 +++++++++
.../core/internal/filters/CMSSecurityFilter.java | 93 +++++------
.../internal/models/PublishableResourceImpl.java | 18 +-
.../PublishPostOperation.java} | 43 ++---
.../UnpublishPostOperation.java} | 43 ++---
.../internal/filters/CMSSecurityFilterTest.java | 59 +++----
.../core/publication/PublishPostOperationTest.java | 74 +++++++++
.../publication/UnpublishPostOperationTest.java | 74 +++++++++
core/src/test/resources/content.json | 10 ++
.../apps/reference/components/pages/base/edit.json | 173 +++++++++----------
.../apps/reference/components/pages/post/edit.json | 185 +++++++++------------
ui/src/main/frontend/scss/cms.scss | 13 ++
ui/src/main/resources/jcr_root/conf/global.json | 9 +-
.../components/cms/columns/publish/publish.jsp | 5 +-
.../components/cms/contentgrid/contentgrid.jsp | 78 ++++-----
.../components/cms/pageeditbar/actions/actions.jsp | 30 +---
.../cms/publicationstatus/publicationstatus.jsp | 53 ++++++
.../editor/fields/{file.json => publication.json} | 3 +-
.../components/editor/fields/publication/field.jsp | 73 ++++++++
.../libs/sling-cms/content/shared/publish.json | 18 +-
.../libs/sling-cms/content/shared/unpublish.json | 18 +-
.../resources/jcr_root/libs/sling-cms/i18n.json | 25 +++
23 files changed, 749 insertions(+), 433 deletions(-)
create mode 100644
core/src/main/java/org/apache/sling/cms/core/internal/filters/CMSSecurityConfigInstance.java
copy
core/src/main/java/org/apache/sling/cms/core/{internal/operations/ChangePasswordOperation.java
=> publication/PublishPostOperation.java} (63%)
copy
core/src/main/java/org/apache/sling/cms/core/{internal/operations/ChangePasswordOperation.java
=> publication/UnpublishPostOperation.java} (63%)
create mode 100644
core/src/test/java/org/apache/sling/cms/core/publication/PublishPostOperationTest.java
create mode 100644
core/src/test/java/org/apache/sling/cms/core/publication/UnpublishPostOperationTest.java
create mode 100644
ui/src/main/resources/jcr_root/libs/sling-cms/components/cms/publicationstatus/publicationstatus.jsp
copy
ui/src/main/resources/jcr_root/libs/sling-cms/components/editor/fields/{file.json
=> publication.json} (64%)
create mode 100644
ui/src/main/resources/jcr_root/libs/sling-cms/components/editor/fields/publication/field.jsp