This is an automated email from the ASF dual-hosted git repository. danhaywood pushed a commit to branch v3 in repository https://gitbox.apache.org/repos/asf/causeway.git
commit 6293c6d5bf36e69e81f14efd155a1e5d0828c0b7 Author: Dan Haywood <[email protected]> AuthorDate: Sat Apr 4 07:29:12 2026 +0100 CAUSEWAY-3986: updates to docs, license etc for release --- .../applib/pages/index/annotation/Publishing.adoc | 17 +++++++++++++ core/adoc/modules/_overview/pages/about.adoc | 14 ++++++----- .../pages/sections/causeway.viewer.wicket.adoc | 29 ++++++++++++++++++++++ 3 files changed, 54 insertions(+), 6 deletions(-) diff --git a/antora/components/refguide-index/modules/applib/pages/index/annotation/Publishing.adoc b/antora/components/refguide-index/modules/applib/pages/index/annotation/Publishing.adoc index d26f125204e..eb7797d00e2 100644 --- a/antora/components/refguide-index/modules/applib/pages/index/annotation/Publishing.adoc +++ b/antora/components/refguide-index/modules/applib/pages/index/annotation/Publishing.adoc @@ -24,6 +24,7 @@ The available policies as to whether data should be published to corresponding s enum Publishing { AS_CONFIGURED // <.> ENABLED // <.> + ENABLED_FOR_UPDATES_ONLY // <.> DISABLED // <.> NOT_SPECIFIED // <.> } @@ -39,6 +40,11 @@ Publishing of data triggered by interaction with this object should be handled a -- Do publish data triggered by interaction with this object. -- +<.> xref:#ENABLED_FOR_UPDATES_ONLY[ENABLED_FOR_UPDATES_ONLY] ++ +-- +Applies only to xref:refguide:applib:index/services/publishing/spi/EntityPropertyChangeSubscriber.adoc[EntityPropertyChangeSubscriber] , whereby events are published for modifications to the object, but no events are published for the initial creation of an object. +-- <.> xref:#DISABLED[DISABLED] + -- @@ -64,6 +70,17 @@ If no publishing policy is configured, then publishing is disabled. Do publish data triggered by interaction with this object. +[#ENABLED_FOR_UPDATES_ONLY] +=== ENABLED_FOR_UPDATES_ONLY + +Applies only to xref:refguide:applib:index/services/publishing/spi/EntityPropertyChangeSubscriber.adoc[EntityPropertyChangeSubscriber] , whereby events are published for modifications to the object, but no events are published for the initial creation of an object. + +In the case of audit trail extension, this effectively suppresses all of the "[NEW] -> value" entries that are created for every property of the entity when it is being created, and also all of the "value -> [DELETED]" entries that are created for every property of the entity when it is being deleted. + +This variant is intended only where the application code has enough traceability built into the domain (perhaps to provide visibility to the end-users) that the technical auditing is overkill. It will also of course reduce the volume of auditing, so improves performance (likely both response times and throughput). + +For other subscribers, behaviour is the same as _#ENABLED_ . + [#DISABLED] === DISABLED diff --git a/core/adoc/modules/_overview/pages/about.adoc b/core/adoc/modules/_overview/pages/about.adoc index 93a33c13e61..87b8a434f10 100644 --- a/core/adoc/modules/_overview/pages/about.adoc +++ b/core/adoc/modules/_overview/pages/about.adoc @@ -615,7 +615,7 @@ Directory: /testing/specsupport/applib io.cucumber:cucumber-java:jar:<managed> + io.cucumber:cucumber-junit-platform-engine:jar:<managed> + io.cucumber:cucumber-spring:jar:<managed> + -io.cucumber:messages:jar:30.1.0 + +io.cucumber:messages:jar:32.2.0 + org.apache.causeway.testing:causeway-testing-fakedata-applib:jar:<managed> + org.apache.causeway.testing:causeway-testing-fixtures-applib:jar:<managed> + org.apache.causeway.testing:causeway-testing-integtestsupport-applib:jar:<managed> + @@ -2256,6 +2256,7 @@ org.apache.causeway.core:causeway-core-internaltestsupport:jar:<managed> + org.apache.causeway.persistence:causeway-persistence-jpa-integration:jar:<managed> + org.apache.tomcat.embed:tomcat-embed-el:jar:<managed> + org.eclipse.persistence:org.eclipse.persistence.jpa:jar:<managed> + +org.ow2.asm:asm:jar:<managed> + org.springframework.boot:spring-boot-starter-data-jpa:jar:<managed> + **** @@ -2599,8 +2600,8 @@ org.apache.causeway.core:causeway-core-internaltestsupport:jar:<managed> + org.apache.causeway.core:causeway-core-runtime:jar:<managed> + org.apache.causeway.core:causeway-core-runtimeservices:jar:<managed> + org.apache.causeway.core:causeway-core-webapp:jar:<managed> + -org.apache.shiro:shiro-core:jar:2.0.2 + -org.apache.shiro:shiro-web:jar:2.0.2 + +org.apache.shiro:shiro-core:jar:<managed> + +org.apache.shiro:shiro-web:jar:<managed> + **** .Document Index Entries @@ -2802,7 +2803,8 @@ Directory: /viewers/commons/model **** org.apache.causeway.core:causeway-core-runtime:jar:<managed> + org.apache.causeway.viewer:causeway-viewer-commons-applib:jar:<managed> + -org.webjars:font-awesome:jar:7.0.1 + +org.webjars:font-awesome:jar:7.2.0 + +org.webjars:webjars-locator-core:jar:<managed> + **** |Apache Causeway Commons - Prism @@ -5235,7 +5237,7 @@ Directory: /extensions/vw/pdfjs/wicket/integration **** org.apache.causeway.extensions:causeway-extensions-pdfjs-applib:jar:<managed> + org.apache.causeway.viewer:causeway-viewer-wicket-ui:jar:<managed> + -org.webjars.npm:pdfjs-dist:jar:5.4.394 + +org.webjars.npm:pdfjs-dist:jar:5.5.207 + **** .Document Index Entries @@ -7289,7 +7291,7 @@ Directory: /regressiontests/config ---- |.Dependencies **** -com.icegreen:greenmail-junit5:jar:2.1.7 + +com.icegreen:greenmail-junit5:jar:2.1.8 + org.apache.causeway.core:causeway-core-runtimeservices:jar:<managed> + org.apache.causeway.regressiontests:causeway-regressiontests-base:jar:<managed> + **** diff --git a/core/config/src/main/adoc/modules/config/pages/sections/causeway.viewer.wicket.adoc b/core/config/src/main/adoc/modules/config/pages/sections/causeway.viewer.wicket.adoc index 373f71c2ace..fba2ec593f0 100644 --- a/core/config/src/main/adoc/modules/config/pages/sections/causeway.viewer.wicket.adoc +++ b/core/config/src/main/adoc/modules/config/pages/sections/causeway.viewer.wicket.adoc @@ -224,6 +224,35 @@ prototyping-mode-enabled The default is to enable (show) the text icon (if in prototyping mode). +| +[[causeway.viewer.wicket.file-upload.disabled-preview-mime-types]] +causeway.viewer.wicket.file-upload. + +disabled-preview-mime-types + +| text/csv +| Some mime types can trigger unwanted download behavior, dependent on browser and or OS settings. + +We have seen CSV files causing issues, so we disallow those by default. @see https://plugins.krajee.com/file-input/plugin-options#disabledPreviewMimeTypes + + +| +[[causeway.viewer.wicket.file-upload.disabled-preview-types]] +causeway.viewer.wicket.file-upload. + +disabled-preview-types + +| object +| If left empty, the default allows ++[++'image', 'html', 'text', 'video', 'audio', 'flash', 'object'++]++, where 'object' enables fallback behavior. We remove this here. @see https://plugins.krajee.com/file-input/plugin-options#disabledPreviewTypes + + +| +[[causeway.viewer.wicket.file-upload.show-preview]] +causeway.viewer.wicket.file-upload. + +show-preview + +| true +| If `false` disables the file upload preview frame entirely. + + | [[causeway.viewer.wicket.js]] causeway.viewer.wicket.js
