Branch: refs/heads/stable-16.2.x Home: https://github.com/xwiki/xwiki-commons Commit: d1cfbbc969fadd1d0c37d530a1a4fca3cd9dc93f https://github.com/xwiki/xwiki-commons/commit/d1cfbbc969fadd1d0c37d530a1a4fc... Author: Marius Dumitru Florea <[email protected]> Date: 2024-03-21 (Thu, 21 Mar 2024) Changed paths: M xwiki-commons-core/xwiki-commons-netflux/src/main/java/org/xwiki/netflux/internal/Channel.java M xwiki-commons-core/xwiki-commons-netflux/src/main/java/org/xwiki/netflux/internal/JsonConverter.java M xwiki-commons-core/xwiki-commons-netflux/src/main/java/org/xwiki/netflux/internal/NetfluxEndpoint.java M xwiki-commons-core/xwiki-commons-netflux/src/main/java/org/xwiki/netflux/internal/User.java M xwiki-commons-core/xwiki-commons-netflux/src/main/java/org/xwiki/netflux/internal/Utils.java M xwiki-commons-core/xwiki-commons-netflux/src/test/java/org/xwiki/netflux/internal/ChannelTest.java M xwiki-commons-core/xwiki-commons-netflux/src/test/java/org/xwiki/netflux/internal/NetfluxEndpointTest.java Log Message: ----------- 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. (cherry picked from commit 93d53b15a7ed4a9cf8d2617f00d39e95a46f8b62) To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-commons/settings/notifications