- 03 Nov, 2017 6 commits
-
-
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
-
- 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
-
- 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 3 commits
-
-
Greg Thomas authored
-
Greg Thomas authored
-
Dave Cridland authored
OF-1335: Don't strip namespaces everywhere.
-
- 24 Oct, 2017 1 commit
-
-
Guus der Kinderen authored
Openfire prevents the need to re-scope XML (as described in RFC 6120 section 4.8.3) by pre-emptively remove certain namespaces (such as 'jabber:client' and 'jabber:server'). It should not, however, remove these namespaces everywhere. This commit prevents such removal in places other than the first and second level elements (typically: stream and stanza elements).
-
- 23 Oct, 2017 6 commits
-
-
wroot authored
-
wroot authored
-
Greg Thomas authored
-
Greg Thomas authored
-
Austin Barrett authored
I replaced the info for the old Community with the info for the new Discourse one and added a link to the Community under Resources.
-
Dave Cridland authored
OF-1412 Add automated setup support on first run
-
- 19 Oct, 2017 3 commits
-
-
Dave Cridland authored
OF-1408 Show the cache expiry time on the caches page
-
Dave Cridland authored
OF-1409: Ensure that clearing the cache is audited.
-
Dave Cridland authored
OF-1410: Allow the openfire.bat file to be run from anywhere.
-
- 18 Oct, 2017 3 commits
-
-
Greg Thomas authored
Also, edit the .editorconfig file so .bat files keep their CRLF endings.
-
Greg Thomas authored
Also remove unnecessary variable assignment
-
Greg Thomas authored
-
- 17 Oct, 2017 1 commit
-
-
Greg Thomas authored
-
- 16 Oct, 2017 2 commits
-
-
Philip Roberts authored
If <setup>true</setup> does not exist in openfire.xml (i.e. setup is not complete, and a block does exist called <autosetup> with a <run>true</run> property inside it, that looks like this: ``` <autosetup> <run>true</run> <locale>en</locale> <xmpp> <domain>localhost</domain> <fqdn>localhost</fqdn> </xmpp> <encryption> <algorithm>AES</algorithm> <key>some-key</key> </encryption> <database> <mode>standard</mode> <defaultProvider> <driver>org.postgresql.Driver</driver> <serverURL>jdbc:postgresql://localhost:5432/a-database</serverURL> <username>a-database</username> <password>a-password</password> </defaultProvider> </database> <admin> <email>admin@example.com</email> <password>admin</password> </admin> </autosetup> ``` Then setup will be run on first launch, and the `<autosetup />` section will be deleted from openfire.xml
-
Dave Cridland authored
Fix OF-1159 - add database column to identify encryption status
-
- 12 Oct, 2017 1 commit
-
-
wroot authored
* OF-1356 add section for Windows x86 to x64 * OF-1356 formatting fixes * add missing </li>
-