XWIKI-21767: Dynamic macros are not properly synchronized
* Implement hashCode and equals for Channel to be able to use it properly in hash-based collections. * Fix inconsistent behavior between leaving a channel and being disconnected from a channel: in both cases the channel should be closed when there are no members left. * Improve the way channel and user ids are generated: use StringBuilder and ThreadLocalRandom.
Revert "XCOMMONS-2974: Upgrade to Protobuf Java 4.26.0"
Reverting because it's apparently creating problems with closure-compiler and in particular with the com.google.javascript.jscomp.CompilerOptions import in xwiki-platform-skin-skinx This reverts commit 8c94ef1.
Revert "XCOMMONS-2967: Upgrade to Closure Compiler v20240317"
This reverts commit cd2f3d1.
XCOMMONS-2276: Upgrade to HtmlCleaner 2.29 (#799)
* XCOMMONS-2276 Upgrade to HtmlCleaner 2.25 * XCOMMONS-2265 HTML Encoded Line Feed character transformed in whitespace - update to the release done today - the "setRecognizeUnicodeChars" does no longer needed to be set to "false", but kept at the default value of "true" after https://sourceforge.net/p/htmlcleaner/bugs/221/ is fixed - also update the tests to reflect the current behavior; most of them are likely improvenents, but also add a few cases where this is not so clear - especially the test keeping entitiy encoded curly braces had to be disabled, as this no longer works that way - remove the "clean double ampersand escape" workaround which is no longer necessary with HTMLCleaner 2.25 and even harmful in the use case where users want to have their amperand encoded, e.g. when displaying the encoded form in wiki pages - put back the ecplicit call to "setRecognizeUnicodeChars(true)" and add a comment why - add more comments to tests to explain what they actually test and why - changed one test to use different test text to attribute values and text nodes - also fixed typos in test comments - removed one test that only documents the behavior of the html cleaner * Upgrade to HtmlCleaner 2.29 and update tests * Clarify the test using @mflorea's comment information * Change remaining tests * Remove unnecessary comment * Remove now unnecessary filter * Remove now unnecessary workarounds and fix template test * Revert experiment in test * Update comments and minor style refactoring --------- Co-authored-by: Clemens Robbenhaar <c.robbenhaar@green-meadows.de> Co-authored-by: Michael Hamann <michael.hamann@xwiki.com>
XCOMMONS-2797: Allow accessing a javax.inject.Provider as a jakarta.i…
…nject.Provider and the opposite
XCOMMONS-2797: Allow accessing a javax.inject.Provider as a jakarta.i…
…nject.Provider and the opposite * also support getComponentDescriptor and injection
XCOMMONS-2797: Allow accessing a javax.inject.Provider as a jakarta.i…
…nject.Provider and the opposite * actually it feels too much in the case of getComponentDescriptor, it return null in the case of other virtual components
XCOMMONS-2797: Allow accessing a javax.inject.Provider as a jakarta.i…
…nject.Provider and the opposite * move to internal classes which had nothing to do in a public package
XCOMMONS-2797: Allow accessing a javax.inject.Provider as a jakarta.i…
…nject.Provider and the opposite * fix javadoc
XCOMMONS-2797: Allow accessing a javax.inject.Provider as a jakarta.i…
…nject.Provider and the opposite * add revapi ignores
XCOMMONS-2797: Allow accessing a javax.inject.Provider as a jakarta.i…
…nject.Provider and the opposite * update the test framework
XCOMMONS-2797: Allow accessing a javax.inject.Provider as a jakarta.i…
…nject.Provider and the opposite * update the test framework
XCOMMONS-2777: Add support for jakarta.inject annotations
* fix the test
XCOMMONS-2777: Add support for jakarta.inject annotations
* fix flickering test
XCOMMONS-2963: Upgrade to Servlet 5.0
XCOMMONS-2962: Provide a javax/jakarta bridge for Servlet APIs
XCOMMONS-2797: Allow accessing a javax.inject.Provider as a jakarta.i…
…nject.Provider and the opposite * better temporary since