This is an automated email from the ASF dual-hosted git repository.
dashorst pushed a change to branch wicket-8.x
in repository https://gitbox.apache.org/repos/asf/wicket.git
from 0b2e1ef193 Port build-versions.py to Python 3 and read its modules
from the poms
new 7d5e227ccd Escape the backslash in JavaScriptUtils#escapeQuotes
new 11b9bc51f6 Ask IAuthorizationStrategy about a resource served by a
component
new 842b245b5e Only turn http, https and ftp URLs into links in
DefaultLinkParser
new bb65a164a6 Escape the window name in AjaxNewWindowNotifyingBehavior
new c45bdff7cc Re-evaluate the RENDER authorization on a freshly created
page
new 9a381f376e Ask the package resource guard about the resource that was
located
new e159f87258 Renew the session id on every sign in
new 8655ae7ab3 Ask IAuthorizationStrategy about the WebSocketResource a
client connects to
new 7551a43980 Resolve a WebSocket message against the live HTTP session,
not a copy of it
new 3ebdd55d2b Pass a client message to a WebSocketBehavior only where the
client may invoke it
new 460f1bd919 Escape the URL a link writes into its click handler
new b4fa931c64 Restrict the characters a component id and a markup id may
contain
new 05bdcbbee3 Escape the starting text of the upload progress bar
new 71b4db75d0 Escape the css class the filter form writes into its hidden
fields
new 8549904b15 Say in the javadoc that a listener url is written into the
script as it stands
new 191c3719ae Pin the JavaScript a markup id is written into
new af7c172081 Reject '&' in a component id and a markup id
new df74ce0650 Escape what the default button field writes into its
attributes
new 3c7fcdb4cf Allow brackets and parentheses in a component id
new e4cf638dec Escape the css class the form writes into its hidden fields
new d5262969b2 Ask the class loaders that can see the application for the
markup's class
new 4e7435995e Added CHANGELOG for release 8.20.0
new 69e81a4d53 Fix the release script failures found while releasing 9.25.0
The 23 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-8.x | 13 +
build-versions.py | 22 +-
release.sh | 17 +-
.../authentication/AuthenticatedWebSession.java | 12 +-
.../role/annotations/AuthorizeResource.java | 6 +
.../authentication/SignInSessionIdTest.java | 182 ++++++++
.../annotations/AnnotationsRoleResourceTest.java | 222 +++++++++
.../MetaDataRoleFreshPageListenerTest.java | 199 ++++++++
.../src/main/java/org/apache/wicket/Component.java | 104 ++++-
.../apache/wicket/DefaultMarkupIdGenerator.java | 5 +
.../java/org/apache/wicket/IMarkupIdGenerator.java | 7 +
.../ajax/AjaxNewWindowNotifyingBehavior.java | 10 +-
.../authorization/IAuthorizationStrategy.java | 24 +-
.../request/handler/ListenerRequestHandler.java | 64 ++-
.../wicket/core/util/string/JavaScriptUtils.java | 18 +-
.../wicket/markup/html/PackageResourceGuard.java | 46 +-
.../org/apache/wicket/markup/html/form/Form.java | 16 +-
.../html/form/upload/MultiFileUploadField.java | 4 +-
.../image/resource/LocalizedImageResource.java | 28 +-
.../wicket/markup/html/link/ExternalLink.java | 7 +-
.../org/apache/wicket/markup/html/link/Link.java | 6 +-
.../wicket/markup/html/link/PopupSettings.java | 10 +-
.../wicket/markup/html/link/ResourceLink.java | 30 +-
.../request/component/IRequestableComponent.java | 14 +-
.../apache/wicket/request/resource/IResource.java | 10 +-
.../wicket/request/resource/PackageResource.java | 187 +++++++-
.../org/apache/wicket/settings/PageSettings.java | 9 +-
.../apache/wicket/ComponentIdCharactersTest.java | 248 ++++++++++
.../wicket/MarkupIdInGeneratedJavaScriptTest.java | 99 ++++
.../ajax/AjaxNewWindowNotifyingBehaviorTest.java | 140 ++++++
.../request/handler/ListenerOnFreshPageTest.java | 519 +++++++++++++++++++++
.../core/util/string/JavaScriptUtilsTest.java | 21 +
.../PackageResourceGuardForeignLoaderTest.java | 256 ++++++++++
.../wicket/markup/html/PackageResourceTest.java | 146 ++++++
.../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 +
.../html/form/FormDefaultButtonFieldTest.java | 117 +++++
...TextAreaTest.java => FormHiddenFieldsTest.java} | 59 ++-
.../html/form/upload/MultiFileUploadFieldTest.java | 33 ++
.../wicket/markup/html/link/ExternalLinkTest.java | 20 +-
.../apache/wicket/markup/html/link/LinkTest.java | 42 +-
.../wicket/markup/html/nonComponent_snippet.html | 1 +
.../ComponentResourceAuthorizationTest.java | 492 +++++++++++++++++++
.../extensions/ajax/AjaxDownloadBehavior.java | 24 +-
.../markup/html/form/upload/UploadProgressBar.java | 3 +-
.../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 | 261 +++++++++++
.../AjaxEditableLabelErrorMessageEscapeTest.java | 78 ++++
.../html/form/upload/UploadProgressBarTest.java | 88 ++++
.../markup/html/basic/DefaultLinkParserTest.java | 64 +++
.../markup/html/basic/SmartLinkLabelTest.java | 101 ++++
.../ExportToolbarResourceAuthorizationTest.java | 151 ++++++
.../repeater/data/table/filter/FilterFormTest.java | 38 ++
.../wicket-native-websocket-core/pom.xml | 6 +
.../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/util/tester/TestWebSocketConnection.java | 20 +
.../ws/util/tester/TestWebSocketProcessor.java | 17 +-
.../protocol/ws/util/tester/WebSocketTester.java | 31 +-
.../ws/api/ServletRequestCopySessionTest.java | 94 ++++
.../AnnotationsRoleWebSocketResourceTest.java | 200 ++++++++
.../ws/util/tester/TestWebSocketResource.java | 21 +
.../WebSocketBehaviorCanCallListenerTest.java | 281 +++++++++++
.../tester/WebSocketResourceAuthorizationTest.java | 291 ++++++++++++
.../util/tester/WebSocketSessionLifetimeTest.java | 375 +++++++++++++++
.../util/tester/WebSocketTesterProcessorTest.java | 2 +-
.../util/tester/WebSocketTesterResourceTest.java | 3 +-
.../nativewebsockets/nativewebsockets_2.adoc | 6 +
.../nativewebsockets/nativewebsockets_5.adoc | 3 +
79 files changed, 5792 insertions(+), 143 deletions(-)
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/MetaDataRoleFreshPageListenerTest.java
create mode 100644
wicket-core/src/test/java/org/apache/wicket/ComponentIdCharactersTest.java
create mode 100644
wicket-core/src/test/java/org/apache/wicket/MarkupIdInGeneratedJavaScriptTest.java
create mode 100644
wicket-core/src/test/java/org/apache/wicket/ajax/AjaxNewWindowNotifyingBehaviorTest.java
create mode 100644
wicket-core/src/test/java/org/apache/wicket/core/request/handler/ListenerOnFreshPageTest.java
create mode 100644
wicket-core/src/test/java/org/apache/wicket/markup/html/PackageResourceGuardForeignLoaderTest.java
create mode 100644
wicket-core/src/test/java/org/apache/wicket/markup/html/ReportPanel_nl.html
copy
wicket-core/src/test/java/org/apache/wicket/markup/html/{TransparentWithAjaxUpdatePanel.java
=> ReportPanel_nl.java} (77%)
create mode 100644
wicket-core/src/test/java/org/apache/wicket/markup/html/ReportPanel_v2.html
copy
wicket-core/src/test/java/org/apache/wicket/markup/html/{TransparentWithAjaxUpdatePanel.java
=> ReportPanel_v2.java} (69%)
create mode 100644
wicket-core/src/test/java/org/apache/wicket/markup/html/ReportPanel_v2_ja.html
create mode 100644
wicket-core/src/test/java/org/apache/wicket/markup/html/form/FormDefaultButtonFieldTest.java
copy
wicket-core/src/test/java/org/apache/wicket/markup/html/form/{TextAreaTest.java
=> FormHiddenFieldsTest.java} (53%)
create mode 100644
wicket-core/src/test/java/org/apache/wicket/markup/html/nonComponent_snippet.html
create mode 100644
wicket-core/src/test/java/org/apache/wicket/request/handler/resource/ComponentResourceAuthorizationTest.java
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
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-core/src/test/java/org/apache/wicket/protocol/ws/util/tester/AnnotationsRoleWebSocketResourceTest.java
create mode 100644
wicket-native-websocket/wicket-native-websocket-core/src/test/java/org/apache/wicket/protocol/ws/util/tester/WebSocketBehaviorCanCallListenerTest.java
create mode 100644
wicket-native-websocket/wicket-native-websocket-core/src/test/java/org/apache/wicket/protocol/ws/util/tester/WebSocketResourceAuthorizationTest.java
create mode 100644
wicket-native-websocket/wicket-native-websocket-core/src/test/java/org/apache/wicket/protocol/ws/util/tester/WebSocketSessionLifetimeTest.java