1. 27 Oct, 2017 6 commits
    • Dave Cridland's avatar
      OF-1422 Handle rejoins with nick-sharing (#908) · 9aa58b2f
      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).
      9aa58b2f
    • Dave Cridland's avatar
    • Florian Kinder's avatar
      Replaced XEP-xxx with XEP-0321 (#888) · c07380e3
      Florian Kinder authored
      c07380e3
    • Guus der Kinderen's avatar
    • Guus der Kinderen's avatar
      OF-1373: Allow certificate changes to be applied without a restart. · 2f5191f0
      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.
      2f5191f0
    • GregDThomas's avatar
      OF-1418: Reduce noisy logs from LDAPManager (#903) · 539cbf6a
      GregDThomas authored
      * OF-1418: Be less noisy with user not found.
      
      * Fix line endings!
      
      * Also do something similar with GroupNotFoundException
      539cbf6a
  2. 26 Oct, 2017 1 commit
  3. 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
  4. 23 Oct, 2017 6 commits
  5. 19 Oct, 2017 3 commits
  6. 18 Oct, 2017 3 commits
  7. 17 Oct, 2017 1 commit
  8. 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
  9. 12 Oct, 2017 1 commit
  10. 11 Oct, 2017 1 commit
  11. 07 Oct, 2017 3 commits
  12. 06 Oct, 2017 4 commits
    • akrherz's avatar
      e7d72254
    • Ian Green's avatar
      OF-35 Improvements to form structure and bug fixes · 63019649
      Ian Green authored
      * Moved detail text to under the field label i.e. left of the field.
      * the add user/group text box has been moved to the bottom row of the
        repective table, and table headings have been changed.
      * Fixed bug where blank properties were causing empty jids to be populated
        for sysadmins and allowedToCreate on the PubSubModule.
      * Fixed bug where options were removed from the forms after users/groups
        were added (options were not being transfered onto the new form).
      63019649
    • Ian Green's avatar
      OF-35 two small bug fixes to logging and table row numbers · e0957167
      Ian Green authored
      * Fixed Row numbers on node summary table OF-1386
      * improved logging of affiliation changes
      * updated affiliation update version to use global update string
      e0957167
    • Ian Green's avatar
      OF-35 Adding Node Configuration page and Service Configuration page · 6cadc939
      Ian Green authored
      * Page for editing node configuration, uses existing configuration form
        mechanism.
      * Form UI is generated from the Data Form.
      * Node edit page does not work with PEP service, so node summary page has
        been configured to not show edit options when viewing a PEP node.
      * page for editing service configuration, also based on a Data form so
        code can be re-used.
      6cadc939
  13. 03 Oct, 2017 2 commits
  14. 01 Oct, 2017 1 commit
  15. 29 Sep, 2017 1 commit
  16. 28 Sep, 2017 1 commit
  17. 27 Sep, 2017 2 commits
    • Ian Green's avatar
      OF-35: Adding Node affiliates admin pages · 6d240f6e
      Ian Green authored
      * Page for viewing existing affiliates
      * Ability to delete affiliates (will remove all subscriptions)
      * Ability to edit the affiliation type (subscriptions are updated
        as appropriate)
      6d240f6e
    • Ian Green's avatar
      OF-35: Tidy up of pubsub pages after PEP refactor · 4a924a7f
      Ian Green authored
      * Tidied up imports
      * Removed URL encode on URL params as this is done automatically.
      * Removed URL decode of owner parameter as it is no longer double encoded.
      * made extra param encoding consistent.
      * added owner param to redirect URLS.
      * added hidden owner field to delete form so redirect works.
      4a924a7f
  18. 26 Sep, 2017 1 commit