1. 03 Nov, 2017 6 commits
    • Dave Cridland's avatar
      Merge pull request #753 from Gugli/roster-restrictions-interceptor · 4f1f75e9
      Dave Cridland authored
      Allow code reuse from plugins
      4f1f75e9
    • Dave Cridland's avatar
      OF-1402 XEP-0198 resumption (#872) · 6286c4ac
      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
      6286c4ac
    • Dave Cridland's avatar
      Merge pull request #904 from GregDThomas/OF-1416 · 8b664a7a
      Dave Cridland authored
      OF-1416: Ensure that hazelcast cache entries expire correctly
      8b664a7a
    • Chris's avatar
      OF-1134 - Update copied users nickname on other users rosters (#905) · a26a0b3f
      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
      a26a0b3f
    • Dave Cridland's avatar
      OF-1422 Check all MUCRoles, handle nickname changes (#912) · d44d12e9
      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
      d44d12e9
    • Dave Cridland's avatar
      Merge pull request #879 from GregDThomas/ServletRequestAuthenticator · 155d4422
      Dave Cridland authored
      Use a ServletRequestAuthenticator to authenticate SiteMinder users
      155d4422
  2. 02 Nov, 2017 2 commits
  3. 31 Oct, 2017 3 commits
  4. 27 Oct, 2017 9 commits
  5. 26 Oct, 2017 3 commits
  6. 24 Oct, 2017 1 commit
    • Guus der Kinderen's avatar
      OF-1335: Don't strip namespaces everywhere. · fd3e847e
      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).
      fd3e847e
  7. 23 Oct, 2017 6 commits
  8. 19 Oct, 2017 3 commits
  9. 18 Oct, 2017 3 commits
  10. 17 Oct, 2017 1 commit
  11. 16 Oct, 2017 2 commits
    • Philip Roberts's avatar
      Add automated setup support on first run · 8bf8d5cb
      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
      8bf8d5cb
    • Dave Cridland's avatar
      Merge pull request #797 from GregDThomas/OF-1159 · aa8ad82b
      Dave Cridland authored
      Fix OF-1159 - add database column to identify encryption status
      aa8ad82b
  12. 12 Oct, 2017 1 commit