Branch: refs/heads/master
Home: https://github.com/xwiki/xwiki-platform
Commit: 3038cdcc371d64d7203934fd43464bbde70882c6
https://github.com/xwiki/xwiki-platform/commit/3038cdcc371d64d7203934fd4346…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2023-10-20 (Fri, 20 Oct 2023)
Changed paths:
R xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/main/java/org/xwiki/platform/security/requiredrights/internal/VelocityUtil.java
M xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/main/java/org/xwiki/platform/security/requiredrights/internal/analyzer/DefaultObjectRequiredRightAnalyzer.java
M xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/main/java/org/xwiki/platform/security/requiredrights/internal/analyzer/XWikiDocumentRequiredRightAnalyzer.java
M xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/test/java/org/xwiki/platform/security/requiredrights/internal/analyzer/DefaultObjectRequiredRightAnalyzerTest.java
M xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/test/java/org/xwiki/platform/security/requiredrights/internal/analyzer/XWikiDocumentRequiredRightAnalyzerTest.java
Log Message:
-----------
XWIKI-21311: Introduce a required rights analyzer
* Replace VelocityUtil by the new VelocityDetector component.
Branch: refs/heads/XWIKI-17510
Home: https://github.com/xwiki/xwiki-platform
Commit: b4a252f25854a778875acd88157b1c89e5908452
https://github.com/xwiki/xwiki-platform/commit/b4a252f25854a778875acd88157b…
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.
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.