- 14 Nov, 2017 6 commits
-
-
akrherz authored
all done via the magic of dos2unix
-
GregDThomas authored
-
Dave Cridland authored
* OF-1309 Route based on DomainPairs * Fixes found during test * Fixes found during test II * Fixes in plugins (Kraken) * Update minServerVersion/version for Kraken
-
Guus der Kinderen authored
* Support for Roster Versioning (without send the modifications via roster pushes) * Roster versioning comparison clearing * Implementation Note: This empty IQ-result is different from an empty <query/> element, thus disambiguating this usage from an empty roster. * Avoid cache miss while updating roster When the roster is updated via group renaming, group user adding or removing, the roster pushes only happen if there is a cache hit. If there is a cache miss (what can happen if the cache is full or if the admin cleaned up the cache) the user is not properly notified about the roster update. Thus only update rosters in memory can lead to this undesired behavior. This commit avoids the use of the cache directly (where there can be a cache miss or a cache hit). It is using the method getRoster(username) that instantiante a new Roster in the case of a cache miss. * Clarify the code * OF-210: Base roster version on its hashCode. This commit removes all fields from the Roster class that do not relate to its state (replacing them with method variables - which seems harmless, as they're all final singletons). This allows for an easy override of Object#hashCode() and equals(). These, in turn, are used to calculate the roster version from. * Simplified loop * Prevent potential NPEs. * Log exceptions for exceptions that cannot happen. If they cannot happen, we should scream murder if they do... * OF-210: Roster versioning enabled by default.
-
Dave Cridland authored
-
- 13 Nov, 2017 8 commits
-
-
Guus der Kinderen authored
When creating a new MUC room, using an invalid name (invalid JID) should not cause an ugly stacktrace to be displayed.
-
Guus der Kinderen authored
On the user overview page on the admin console, the column 'last logged out' now either displays 'online' or 'never logged in before', instead of being empty.
-
Dave Cridland authored
OF-1030 prevent entry of 'any' as date to cause exception
-
akrherz authored
-
Guus der Kinderen authored
* AvatarPlugin: Add prior-to-openfire 4.2.0. restriction * Merged avatarResizer plugin with Openfire core (prevents OF-1145 & OF-1193)
-
Dave Cridland authored
OF-1424: Use weakly consistent impl to prevent CME.
-
Dave Cridland authored
OF-1423 Honour configuration for message size
-
Dave Cridland authored
-
- 06 Nov, 2017 1 commit
-
-
Guus der Kinderen authored
-
- 03 Nov, 2017 8 commits
-
-
akrherz authored
-
Dave Cridland authored
Allow code reuse from plugins
-
Dave Cridland authored
* WIP: XEP-0198 Stream Resumption This patch implements a first cut of XEP-0198 Stream Resumption for TCP and WebSockets. This appears to work on (very) basic testing, but the code is very likely to run into problems with existing code assuming that LocalSession.getConnection() never returns null, and similar issues. This is likely to generate unexpected (and possibly unhandled) NPEs. The basic premise to the design is that StanzaHandlers (or similar) and Connections from the new session are re-pointed to the old session. The old session lives on in limbo with its conn field set to null during detachment. I strongly suspect that bits are missing from this, but so far... * Fix CR/LF * WIP * WIP * Close detached 198 sessions after timeout Also: * Quick audit of LocalSession.getConnection * Add in guard code for LocalSession.getConnection * CRLF * CRLF
-
Dave Cridland authored
OF-1416: Ensure that hazelcast cache entries expire correctly
-
Chris authored
* Update JustMarriedPlugin.java * OF-1134 - Update copied users nickname on other users rosters * OF-1134 - Update copied users nickname on other users rosters Updated version and changelog
-
Dave Cridland authored
* OF-1422 Check all MUCRoles to see if this is rejoin * Handle errors and other presence better in MUC Also refuse nickname changes on shared nicknames, since they don't currently work. * Crazy wRong Line-ending Fix
-
Dave Cridland authored
Use a ServletRequestAuthenticator to authenticate SiteMinder users
-
Guus der Kinderen authored
-
- 02 Nov, 2017 2 commits
-
-
Dave Cridland authored
OF-1335 Part Two: Strip namespaces differently
-
Dave Cridland authored
Disable External Entities in plugin.xml
-
- 31 Oct, 2017 3 commits
-
-
Dave Cridland authored
-
Dave Cridland authored
-
Dave Cridland authored
-
- 30 Oct, 2017 1 commit
-
-
Dave Cridland authored
Openfire already uses xmpp.parser.buffer.size as the maximum stanza size in NIO client sessions. This change ensures that this is also used when configuring Websocket sessions.
-
- 27 Oct, 2017 9 commits
-
-
akrherz authored
-
-
Dave Cridland authored
This checks to see if any occupant exists with the same full jid, and if so treats this as a clientOnlyJoin (ie, rejoin).
-
Dave Cridland authored
-
Florian Kinder authored
-
Dave Cridland authored
-
Guus der Kinderen authored
-
Guus der Kinderen authored
This commit grew a little larger than anticipated - my apologies for the reviewer. The original intend for this was to allow changes in the java Keystore to be applied, without requiring a restart of Openfire. This is what allows outside processes to update the Keystores - think Let's Encrypt - but could also be useful for other purposes. In the process of writing this code, I've found that a restart of the Connection Acceptor would still cause all existing connections to be terminated. This is why a 'reload configuration' method was added. I've found that the old Certificate Event Listener methods were unuseful. They were pretty detailled, but all implementations used them in the same way: "reload everything". I've replaced those with one 'something changed' event. Also, the event listeners are no longer triggered in various places in the code. Instead, the event listeners will now be triggered by the filesystem-based change of the keystore - the same event that's used to reload configuration when Let's Encrypt updates pop up. I've removed various bits of lengthy, unused code in the old CertificateManager (primarily code that interacts directly with KeyStores, as that caused timing issues during the reload). One functional change (that was marked as 'unsure why we do this' in code) is that after this commit, the content of the identity store is no longer merged with the content of the trust store, while determining if a particular end-entity certificate is to be trusted.
-
GregDThomas authored
* OF-1418: Be less noisy with user not found. * Fix line endings! * Also do something similar with GroupNotFoundException
-
- 26 Oct, 2017 2 commits
-
-
Greg Thomas authored
-
Greg Thomas authored
-