This is an automated email from the ASF dual-hosted git repository.
papegaaij pushed a change to branch islands
in repository https://gitbox.apache.org/repos/asf/wicket.git
from 6c8c918fce Add a chapter on Wicket Islands to the reference guide
add 983ce5a697 Add opt-in Trusted Types support to CSP and the Ajax scripts
add afcb17a4d1 Make the Trusted Types client opt-in and run scripts in
replaced markup
add 5c339d6093 Route MultiSelector's list through the policy and accept
trusted-types *
add 72bd2c7547 Merge pull request #1880 from
Nexory/fix/add-opt-in-trusted-types-support-to-csp-and-the
add 22feb81bb7 Merge remote-tracking branch 'origin/master' into islands
add e535783907 Make the task board example work with Trusted Types
No new revisions were added by this update.
Summary of changes:
testing/wicket-js-tests/Gruntfile.js | 10 +-
.../org/apache/wicket/csp/CSPDirectiveTest.java | 114 +++++++
.../org/apache/wicket/csp/CSPTrustedTypesTest.java | 313 ++++++++++++++++++
.../ajax/WicketAjaxJQueryResourceReference.java | 8 +
.../wicket/ajax/WicketAjaxResourceReference.java | 19 ++
.../wicket/ajax/res/js/wicket-ajax-jquery.js | 144 ++++++++-
.../org/apache/wicket/ajax/res/js/wicket-ajax.js | 82 ++++-
.../java/org/apache/wicket/csp/CSPDirective.java | 82 +++++
.../apache/wicket/csp/CSPHeaderConfiguration.java | 65 ++++
.../wicket/csp/ContentSecurityPolicySettings.java | 50 +++
.../org/apache/wicket/markup/html/form/Form.java | 31 +-
.../html/form/upload/MultiFileUploadField.js | 2 +-
wicket-core/src/test/js/data/ajax/trustedTypes.xml | 30 ++
.../src/test/js/trusted-types-off.html | 54 ++--
wicket-core/src/test/js/trusted-types-off.js | 174 ++++++++++
.../src/test/js/trusted-types.html | 60 ++--
wicket-core/src/test/js/trusted-types.js | 353 +++++++++++++++++++++
.../src/main/frontend/package-lock.json | 1 +
wicket-examples/src/main/frontend/package.json | 1 +
.../src/main/frontend/src/taskboard/BoardTheme.tsx | 7 +-
.../main/frontend/src/taskboard/RichTextField.tsx | 31 +-
.../wicket/examples/WicketExampleApplication.java | 2 +-
.../ajax/prototype/PrototypeApplication.java | 6 +
.../MyAuthenticatedWebApplication.java | 1 +
.../apache/wicket/examples/csp/NonceDemoPage.java | 4 +-
.../islands/taskboard/TaskBoardApplication.java | 4 +
.../examples/resourcedecoration/HomePage.java | 2 +-
.../html/autocomplete/wicket-autocomplete.js | 2 +-
.../ajax/markup/html/form/upload/progressbar.js | 2 +-
.../src/main/asciidoc/islands/islands_2.adoc | 26 ++
.../src/main/asciidoc/islands/islands_8.adoc | 4 +-
.../src/main/asciidoc/security/security_6.adoc | 15 +
32 files changed, 1613 insertions(+), 86 deletions(-)
create mode 100644
wicket-core-tests/src/test/java/org/apache/wicket/csp/CSPTrustedTypesTest.java
create mode 100644 wicket-core/src/test/js/data/ajax/trustedTypes.xml
copy wicket-extensions/src/test/js/veil.html =>
wicket-core/src/test/js/trusted-types-off.html (62%)
create mode 100644 wicket-core/src/test/js/trusted-types-off.js
copy wicket-extensions/src/test/js/palette.html =>
wicket-core/src/test/js/trusted-types.html (54%)
create mode 100644 wicket-core/src/test/js/trusted-types.js