Branch: refs/heads/master
Home: https://github.com/xwiki/xwiki-commons
Commit: 245cefcb3f4ffb259589e4aa028edba7d41f5f73
https://github.com/xwiki/xwiki-commons/commit/245cefcb3f4ffb259589e4aa028ed…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2023-10-20 (Fri, 20 Oct 2023)
Changed paths:
R xwiki-commons-core/xwiki-commons-velocity/src/main/java/org/xwiki/velocity/internal/util/DefaultVelocityDetector.java
M xwiki-commons-core/xwiki-commons-velocity/src/main/java/org/xwiki/velocity/internal/util/VelocityDetector.java
M xwiki-commons-core/xwiki-commons-velocity/src/main/resources/META-INF/components.txt
R xwiki-commons-core/xwiki-commons-velocity/src/test/java/org/xwiki/velocity/internal/util/DefaultVelocityDetectorTest.java
A xwiki-commons-core/xwiki-commons-velocity/src/test/java/org/xwiki/velocity/internal/util/VelocityDetectorTest.java
Log Message:
-----------
XCOMMONS-2830: Introduce a utility component to check if a string contains Velocity code
* Remove the interface as the component is internal.
Branch: refs/heads/XWIKI-17510
Home: https://github.com/xwiki/xwiki-platform
Commit: 7f0a3ca72c3d3c2d28a59627cf63d7f7965eafbb
https://github.com/xwiki/xwiki-platform/commit/7f0a3ca72c3d3c2d28a59627cf63…
Author: Simon Urli <simon.urli(a)xwiki.com>
Date: 2023-10-20 (Fri, 20 Oct 2023)
Changed paths:
M xwiki-platform-core/xwiki-platform-administration/xwiki-platform-administration-ui/src/main/resources/XWiki/Registration.xml
M xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/web/RegisterAction.java
A xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-authentication/xwiki-platform-security-authentication-api/src/main/java/org/xwiki/security/authentication/RegistrationConfiguration.java
A xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-authentication/xwiki-platform-security-authentication-default/src/main/java/org/xwiki/security/authentication/internal/DefaultRegistrationConfiguration.java
A xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-authentication/xwiki-platform-security-authentication-default/src/main/java/org/xwiki/security/authentication/internal/RegistrationConfigurationSource.java
M xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-authentication/xwiki-platform-security-authentication-default/src/main/resources/META-INF/components.txt
A xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-authentication/xwiki-platform-security-authentication-script/src/main/java/org/xwiki/security/authentication/script/RegistrationScriptService.java
M xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-authentication/xwiki-platform-security-authentication-script/src/main/resources/META-INF/components.txt
M xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-templates/src/main/resources/templates/passwd.vm
M xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-templates/src/main/resources/templates/register_macros.vm
M xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-templates/src/main/resources/templates/resetpasswordinline.vm
Log Message:
-----------
XWIKI-17510: The reset password functionality is not affected by password strength rules
* Provide new APIs for accessing RegistrationConfiguration
* Define a script service to access this API from scripts
* Rewrite velocity macro #loadConfig to exploit this new API and to
remove unused arguments
* Use the new API also in oldcore where needed
WIP: Coverage is not yet met. And missing execution of integration tests
to validate everything. Also some properties from RegistrationConfig
have not been exposed yet. This probably need to be also done.