This is an automated email from the ASF dual-hosted git repository.
dashorst pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/wicket.git
from a75725dd48 Bump tools.jackson.core:jackson-databind from 3.2.3 to
3.2.4 (#1715)
new 36b8ef93ec Escape the backslash in JavaScriptUtils#escapeQuotes
new 0f93ccb46c Ask the class loaders that can see the application for the
markup's class
new bc80f0b8d6 Ask IAuthorizationStrategy about a resource served by a
component
new a15361f9d7 Take upload details of FileUploadToResourceField from the
stored files
new 4b79386dd4 Only turn http, https and ftp URLs into links in
DefaultLinkParser
new a34b7f6747 Escape the window name in AjaxNewWindowNotifyingBehavior
new 3fb12ceef0 Re-evaluate the RENDER authorization on a freshly created
page
new ed359ab62e Check that the component submitting a form may be invoked
new e042c965c2 Judge a resumed destination on the origin that chose it
new 1fdddf2cd2 Ask the package resource guard about the resource that was
located
new a0d2df4057 Renew the session id on every sign in
new 30dfd703b0 Ask IAuthorizationStrategy about the WebSocketResource a
client connects to
new 379ea451af Resolve a WebSocket message against the live HTTP session,
not a copy of it
new c3dd947a2f Pass a client message to a WebSocketBehavior only where the
client may invoke it
new 8057b0fde7 Move the popup target escaping from PopupSettings to the
links
new d2a92afe38 Restrict the characters a component id and a markup id may
contain
new b35e4f2a40 Escape the starting text of the upload progress bar
new e8f141dcdf Escape the css class the filter form writes into its hidden
fields
new 488393564f Say in the javadoc that a listener url is written into the
script as it stands
new dc0f3c8379 Pin the JavaScript a markup id is written into
new 8ceddb1a36 Keep the upload progress bar instance in a map keyed by the
markup id
new 506cb12906 Allow brackets and parentheses in a component id
new 6114939298 Escape the css class the form writes into its hidden fields
new 6681cbd8fc Fix the release script failures found while releasing 9.25.0
new 5b5cfc7b6e Added CHANGELOG for release 11.0.0
The 25 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:
CHANGELOG-11.x | 68 +++
build-versions.py | 22 +-
migration-to-11.md | 3 +-
release.sh | 17 +-
.../authentication/AuthenticatedWebSession.java | 12 +-
.../role/annotations/AuthorizeResource.java | 6 +
.../authentication/SignInSessionIdTest.java | 182 ++++++++
.../annotations/AnnotationsRoleResourceTest.java | 220 +++++++++
.../metadata/MetaDataRoleFormSubmitterTest.java | 197 ++++++++
.../MetaDataRoleFreshPageListenerTest.java | 192 ++++++++
.../apache/wicket/ComponentIdCharactersTest.java | 253 ++++++++++
.../wicket/MarkupIdInGeneratedJavaScriptTest.java | 100 ++++
.../java/org/apache/wicket/MarkupIdTestPage.html | 2 +-
.../java/org/apache/wicket/MarkupIdTestPage.java | 2 +-
.../wicket/MarkupIdTestPageExpectedResult.html | 2 +-
.../ajax/AjaxNewWindowNotifyingBehaviorTest.java | 140 ++++++
.../request/handler/ListenerOnFreshPageTest.java | 463 ++++++++++++++++++
.../ComponentResourceAuthorizationTest.java | 489 +++++++++++++++++++
.../core/util/string/JavaScriptUtilsTest.java | 18 +-
.../PackageResourceGuardForeignLoaderTest.java | 231 +++++++++
.../wicket/markup/html/PackageResourceTest.java | 152 ++++++
.../apache/wicket/markup/html/ReportPanel_nl.html | 3 +
...ithAjaxUpdatePanel.java => ReportPanel_nl.java} | 12 +-
.../apache/wicket/markup/html/ReportPanel_v2.html | 3 +
...ithAjaxUpdatePanel.java => ReportPanel_v2.java} | 14 +-
.../wicket/markup/html/ReportPanel_v2_ja.html | 3 +
...TextAreaTest.java => FormHiddenFieldsTest.java} | 58 +--
.../html/form/FormSubmitterNotAllowedTest.java | 515 +++++++++++++++++++++
.../html/form/upload/MultiFileUploadFieldTest.java | 34 ++
.../FileUploadToResourceFieldSecurityTest.java | 163 +++++++
.../resource/FileUploadToResourceFieldTest.java | 6 +-
.../PopupSettingsTest.java} | 36 +-
.../wicket/markup/html/nonComponent_snippet.html | 1 +
.../http/intercept/HomePage.html} | 4 +-
.../http/intercept/HomePage.java} | 7 +-
.../http/intercept/InterceptedSession.java} | 29 +-
.../wicket/protocol/http/intercept/LoginPage.html | 5 +
.../http/intercept/LoginPage.java} | 24 +-
.../intercept/ResumedDestinationIsolationTest.java | 424 +++++++++++++++++
.../protocol/http/intercept/SecureFormPage.html | 5 +
.../http/intercept/SecureFormPage.java} | 24 +-
.../protocol/http/intercept/SecureLinkPage.html | 5 +
.../http/intercept/SecureLinkPage.java} | 16 +-
.../protocol/http/intercept/SecureRenderPage.html | 3 +
.../http/intercept/SecureRenderPage.java} | 7 +-
.../src/main/java/org/apache/wicket/Component.java | 113 ++++-
.../apache/wicket/DefaultMarkupIdGenerator.java | 5 +
.../java/org/apache/wicket/IMarkupIdGenerator.java | 7 +
.../RestartResponseAtInterceptPageException.java | 70 ++-
.../ajax/AjaxNewWindowNotifyingBehavior.java | 10 +-
.../authorization/IAuthorizationStrategy.java | 24 +-
.../request/handler/ListenerRequestHandler.java | 64 ++-
.../wicket/core/util/string/JavaScriptUtils.java | 39 +-
.../wicket/markup/html/PackageResourceGuard.java | 46 +-
.../org/apache/wicket/markup/html/form/Form.java | 92 +++-
.../html/form/upload/MultiFileUploadField.java | 4 +-
.../upload/resource/FileUploadToResourceField.java | 98 ++--
.../image/resource/LocalizedImageResource.java | 28 +-
.../wicket/markup/html/link/ExternalLink.java | 6 +-
.../org/apache/wicket/markup/html/link/Link.java | 6 +-
.../wicket/markup/html/link/PopupSettings.java | 17 +-
.../wicket/markup/html/link/ResourceLink.java | 30 +-
.../ResourceIsolationRequestCycleListener.java | 216 ++++++++-
.../request/component/IRequestableComponent.java | 14 +-
.../apache/wicket/request/resource/IResource.java | 10 +-
.../wicket/request/resource/PackageResource.java | 187 +++++++-
.../org/apache/wicket/settings/MarkupSettings.java | 36 ++
.../org/apache/wicket/settings/PageSettings.java | 9 +-
.../extensions/ajax/AjaxDownloadBehavior.java | 24 +-
.../markup/html/form/upload/UploadProgressBar.java | 5 +-
.../ajax/markup/html/form/upload/progressbar.js | 1 +
.../ajax/markup/html/modal/TrapFocusBehavior.java | 4 +-
.../markup/html/basic/DefaultLinkParser.java | 28 +-
.../markup/html/basic/SmartLinkLabel.java | 3 +-
.../markup/html/basic/SmartLinkMultiLineLabel.java | 3 +-
.../repeater/data/table/filter/FilterForm.java | 2 +-
.../AjaxDownloadResourceAuthorizationTest.java | 265 +++++++++++
.../AjaxEditableLabelErrorMessageEscapeTest.java | 78 ++++
.../html/form/upload/UploadProgressBarTest.java | 133 ++++++
.../markup/html/modal/TrapFocusBehaviorTest.java | 75 ++-
.../markup/html/repeater/AjaxListPanelTest.java | 55 +++
.../markup/html/basic/DefaultLinkParserTest.java | 62 +++
.../markup/html/basic/SmartLinkLabelTest.java | 104 +++++
.../ExportToolbarResourceAuthorizationTest.java | 155 +++++++
.../repeater/data/table/filter/FilterFormTest.java | 37 ++
.../wicket/protocol/ws/WebSocketSettings.java | 9 +
.../ws/api/AbstractWebSocketProcessor.java | 94 ++++
.../wicket/protocol/ws/api/HttpSessionCopy.java | 7 +
.../wicket/protocol/ws/api/ServletRequestCopy.java | 37 +-
.../wicket/protocol/ws/api/WebSocketBehavior.java | 65 ++-
.../wicket/protocol/ws/api/WebSocketResource.java | 29 ++
.../ws/api/ServletRequestCopySessionTest.java | 92 ++++
.../wicket-native-websocket-tester/pom.xml | 5 +
.../ws/tester/TestWebSocketConnection.java | 20 +
.../protocol/ws/tester/TestWebSocketProcessor.java | 17 +-
.../wicket/protocol/ws/tester/WebSocketTester.java | 31 +-
.../AnnotationsRoleWebSocketResourceTest.java | 200 ++++++++
.../protocol/ws/tester/TestWebSocketResource.java | 21 +
.../WebSocketBehaviorCanCallListenerTest.java | 281 +++++++++++
.../tester/WebSocketResourceAuthorizationTest.java | 291 ++++++++++++
.../ws/tester/WebSocketSessionLifetimeTest.java | 368 +++++++++++++++
.../ws/tester/WebSocketTesterProcessorTest.java | 2 +-
.../ws/tester/WebSocketTesterResourceTest.java | 3 +-
.../nativewebsockets/nativewebsockets_2.adoc | 6 +
.../nativewebsockets/nativewebsockets_5.adoc | 3 +
.../src/main/asciidoc/security/security_5.adoc | 2 +
106 files changed, 7571 insertions(+), 349 deletions(-)
create mode 100644 CHANGELOG-11.x
create mode 100644
wicket-auth-roles/src/test/java/org/apache/wicket/authroles/authentication/SignInSessionIdTest.java
create mode 100644
wicket-auth-roles/src/test/java/org/apache/wicket/authroles/authorization/strategies/role/annotations/AnnotationsRoleResourceTest.java
create mode 100644
wicket-auth-roles/src/test/java/org/apache/wicket/authroles/authorization/strategies/role/metadata/MetaDataRoleFormSubmitterTest.java
create mode 100644
wicket-auth-roles/src/test/java/org/apache/wicket/authroles/authorization/strategies/role/metadata/MetaDataRoleFreshPageListenerTest.java
create mode 100644
wicket-core-tests/src/test/java/org/apache/wicket/ComponentIdCharactersTest.java
create mode 100644
wicket-core-tests/src/test/java/org/apache/wicket/MarkupIdInGeneratedJavaScriptTest.java
create mode 100644
wicket-core-tests/src/test/java/org/apache/wicket/ajax/AjaxNewWindowNotifyingBehaviorTest.java
create mode 100644
wicket-core-tests/src/test/java/org/apache/wicket/core/request/handler/ListenerOnFreshPageTest.java
create mode 100644
wicket-core-tests/src/test/java/org/apache/wicket/core/request/handler/resource/ComponentResourceAuthorizationTest.java
create mode 100644
wicket-core-tests/src/test/java/org/apache/wicket/markup/html/PackageResourceGuardForeignLoaderTest.java
create mode 100644
wicket-core-tests/src/test/java/org/apache/wicket/markup/html/ReportPanel_nl.html
copy
wicket-core-tests/src/test/java/org/apache/wicket/markup/html/{TransparentWithAjaxUpdatePanel.java
=> ReportPanel_nl.java} (77%)
create mode 100644
wicket-core-tests/src/test/java/org/apache/wicket/markup/html/ReportPanel_v2.html
copy
wicket-core-tests/src/test/java/org/apache/wicket/markup/html/{TransparentWithAjaxUpdatePanel.java
=> ReportPanel_v2.java} (69%)
create mode 100644
wicket-core-tests/src/test/java/org/apache/wicket/markup/html/ReportPanel_v2_ja.html
copy
wicket-core-tests/src/test/java/org/apache/wicket/markup/html/form/{TextAreaTest.java
=> FormHiddenFieldsTest.java} (56%)
create mode 100644
wicket-core-tests/src/test/java/org/apache/wicket/markup/html/form/FormSubmitterNotAllowedTest.java
copy
wicket-core-tests/src/test/java/org/apache/wicket/markup/html/{basic/SimpleResponsePageClassTest.java
=> link/PopupSettingsTest.java} (57%)
create mode 100644
wicket-core-tests/src/test/java/org/apache/wicket/markup/html/nonComponent_snippet.html
copy
wicket-core-tests/src/test/java/org/apache/wicket/{markup/html/internal/EnclosurePageExpectedResult_4.html
=> protocol/http/intercept/HomePage.html} (60%)
copy
wicket-core-tests/src/test/java/org/apache/wicket/{DisabledComponentPage2.java
=> protocol/http/intercept/HomePage.java} (87%)
copy
wicket-core-tests/src/test/java/org/apache/wicket/{intercept/MySession.java =>
protocol/http/intercept/InterceptedSession.java} (69%)
create mode 100644
wicket-core-tests/src/test/java/org/apache/wicket/protocol/http/intercept/LoginPage.html
copy
wicket-core-tests/src/test/java/org/apache/wicket/{stateless/StatelessPageWithForm.java
=> protocol/http/intercept/LoginPage.java} (70%)
create mode 100644
wicket-core-tests/src/test/java/org/apache/wicket/protocol/http/intercept/ResumedDestinationIsolationTest.java
create mode 100644
wicket-core-tests/src/test/java/org/apache/wicket/protocol/http/intercept/SecureFormPage.html
copy
wicket-core-tests/src/test/java/org/apache/wicket/{markup/html/form/feedback/FeedbackFormPage.java
=> protocol/http/intercept/SecureFormPage.java} (69%)
create mode 100644
wicket-core-tests/src/test/java/org/apache/wicket/protocol/http/intercept/SecureLinkPage.html
copy
wicket-core-tests/src/test/java/org/apache/wicket/{stateless/StatelessComponentPage.java
=> protocol/http/intercept/SecureLinkPage.java} (77%)
create mode 100644
wicket-core-tests/src/test/java/org/apache/wicket/protocol/http/intercept/SecureRenderPage.html
copy
wicket-core-tests/src/test/java/org/apache/wicket/{core/util/tester/apps_2/LoginPage.java
=> protocol/http/intercept/SecureRenderPage.java} (86%)
create mode 100644
wicket-extensions/src/test/java/org/apache/wicket/extensions/ajax/AjaxDownloadResourceAuthorizationTest.java
create mode 100644
wicket-extensions/src/test/java/org/apache/wicket/extensions/ajax/markup/html/AjaxEditableLabelErrorMessageEscapeTest.java
create mode 100644
wicket-extensions/src/test/java/org/apache/wicket/extensions/ajax/markup/html/form/upload/UploadProgressBarTest.java
copy
wicket-core-tests/src/test/java/org/apache/wicket/core/util/tester/WicketTesterSessionInvalidateTest.java
=>
wicket-extensions/src/test/java/org/apache/wicket/extensions/ajax/markup/html/modal/TrapFocusBehaviorTest.java
(50%)
create mode 100644
wicket-extensions/src/test/java/org/apache/wicket/extensions/markup/html/basic/SmartLinkLabelTest.java
create mode 100644
wicket-extensions/src/test/java/org/apache/wicket/extensions/markup/html/repeater/data/table/export/ExportToolbarResourceAuthorizationTest.java
create mode 100644
wicket-native-websocket/wicket-native-websocket-core/src/test/java/org/apache/wicket/protocol/ws/api/ServletRequestCopySessionTest.java
create mode 100644
wicket-native-websocket/wicket-native-websocket-tester/src/test/java/org/apache/wicket/protocol/ws/tester/AnnotationsRoleWebSocketResourceTest.java
create mode 100644
wicket-native-websocket/wicket-native-websocket-tester/src/test/java/org/apache/wicket/protocol/ws/tester/WebSocketBehaviorCanCallListenerTest.java
create mode 100644
wicket-native-websocket/wicket-native-websocket-tester/src/test/java/org/apache/wicket/protocol/ws/tester/WebSocketResourceAuthorizationTest.java
create mode 100644
wicket-native-websocket/wicket-native-websocket-tester/src/test/java/org/apache/wicket/protocol/ws/tester/WebSocketSessionLifetimeTest.java