- Apr 15, 2021
-
-
ClemDee authored
-
Marius Dumitru Florea authored
-
Marius Dumitru Florea authored
* Add translation keys (taken from https://github.com/xwiki/xwiki-platform/pull/1594 with small changes)
-
Simon Urli authored
Introduce a new property for listing the trusted domains and API to check an URL against that list and the aliases used in subwikis. * Add new property url.trustedDomains in xwiki.properties * Add new API in URLConfiguration to retrieve this configuration value * Create a new URLSecurityManager responsible to check if an URL can be trusted based on this property and on the subwikis configurations * Introduce a new listener to invalidate the cache of URLSecurityManager whenever a XWikiServerClass xobject is added/updated/deleted * Move URL API implementations to URL default module * Add a new property url.enableTrustedDomains as a global switch off the checks on domains to avoid breaking behaviours on existing instances * Add a constant property in URLSecurityManager to be set in ExecutionContext to allow temporary switch off the check for extensions * Use both those switches in DefaultURLSecurityManager to prevent performing the check when needed
-
Simon Urli authored
* Ensure to not take the case into account for selecting rights in case of edit view * Add a new test class to cover this behaviour
-
Vincent Massol authored
* We also need to add the new component to the known list for PageTest
-
Vincent Massol authored
-
arcilli authored
* changed the name of LikeRight from "Like" to "like" in order to be coherent with the rest of the rights from the platform
-
Manuel Leduc authored
* Improves the resource closing of the resource handler (#1597) ** Resources closed using AbstractServletResourceReferenceHandler ** Resources testing improved in xwiki-platform-resource-servlet and xwiki-platform-webjars-api
-
- Apr 14, 2021
-
-
Thomas Mortagne authored
* first batch of query aliases for well know components
-
Thomas Mortagne authored
-
Simon Urli authored
* Ensure to invalidate the user cache also for add/delete of interval xobject * Add a new test for the user cache invalidator
-
Vincent Massol authored
-
Vincent Massol authored
-
- Apr 13, 2021
-
-
Vincent Massol authored
This reverts commit 64857a99.
-
Vincent Massol authored
This reverts commit e7b5d7d9.
-
Vincent Massol authored
This reverts commit e5d1a25d.
-
Simon Urli authored
XWIKI-18524: Notification toggles are not switching properly and require page refresh to display their real status * Use the right API introduced in XWIKI-17787 for retrieving the switch status when chosing to watch/unwatch a location
-
Simon Urli authored
-
-
-
Vincent Massol authored
* Fix javadoc typo
-
- Apr 12, 2021
-
-
Thomas Mortagne authored
* fix a mistake in the unit test
-
Thomas Mortagne authored
-
Vincent Massol authored
-
Vincent Massol authored
* Reduce duplication and move to PO code that should be in PO * Note: there are plenty of other stuff to fix: basically every time getDriver() is called in a test, it's a bad practice since it means there's a missing PO API * Make the test 10s faster by not waiting for the timeout on an element that is not supposed to be there
-
Vincent Massol authored
-
Thomas Mortagne authored
-
Thomas Mortagne authored
-
Thomas Mortagne authored
-
Simon Urli authored
XWIKI-18543: Individual conflict selection is breaking for wiki using other default language than english * Ensure to compare the content property name with the pretty name
-
- Apr 10, 2021
-
-
aemi-dev authored
-
- Apr 09, 2021
-
-
aemi-dev authored
Remaining: - Unable to log with logger - Implement a test
-
Vincent Massol authored
[Misc] Apply xar:format after XCOMMONS-2180 (Make sure that all XAR XML files are using XML 1.1 when using the xar:format mojo)
-
aemi-dev authored
-
- Apr 08, 2021
-
-
aemi-dev authored
- Added: UserAuthenticatedmanager.java - Modified: UserAuthenticatedEvent.java - Modified: MyFormAuthenticator.java - Modified: MyBasicAuthenticator.java
-
Manuel Leduc authored
XWIKI-18492: Add support for compiling LESS files from WebJar at runtime in the context of the skin (#1586) * introduces a getContentType method in AbstractServletResourceReferenceHandler, allowing subclasses to adapt the content type of the returned resource * Webjars filter moved to dedicated filter classes * less files are compiled to css when evaluate=true
-
Simon Urli authored
* Fix serialization link when sending validation email
-
- Apr 06, 2021
-
-
Thomas Mortagne authored
-
Thomas Mortagne authored
This reverts commit 26ac3855.
-