1. 09 Jun, 2017 5 commits
    • Guus der Kinderen's avatar
      OF-546 / OF-1326: Made compatible with API changes. · fde53fe8
      Guus der Kinderen authored
      The Openfire plugin developer guide states that 'additinal' files should be in /classes/. Apparently, the old Ant script also included any files in the /src/. The new Maven structure does not.
      To work around compatibility issues, code that was in /src/ is now moved to /classes/. This should work with both Ant, as well as Maven.
      
      Additionally, this plugin now makes use of the new HttpBindManager API for registering contexts with the BOSH context. I do wonder if this plugin has any reason to be here though. Can't it just run its own embedded Jetty server?
      fde53fe8
    • Guus der Kinderen's avatar
      fc9b4693
    • Guus der Kinderen's avatar
      OF-1326: Improve sharing of the BOSH context · e4a4fdd5
      Guus der Kinderen authored
      Intead of using a parent context, a collection of Jetty handlers can be used to dynamically add/remove functionality to the BOSH context.
      
      This commit replaces the parent context instance with a ordered list of handlers, which will attempt to process a request by:
      
      1. Checking if this is a BOSH request
      2. Checking if this is a request for BOSH metadata
      3. Check if an extension was provided that can handle the request
      4. Try to serve static content as a last resort.
      
      In step 3, a collection of handlers is used, that can be modified at runtime. This allows plugins to register/remove handlers.
      
      The entire collection of handlers (1 to 4) is maintained with a lifecycle that's different from the embedded Jetty server that uses them. This
      allows the collection to survive a server reconfiguration, as well as act independent of the 'enabled' state of the BOSH service.
      e4a4fdd5
    • speedy01's avatar
      Hopefully addressses UAC issues. Installs services on windows at install.... · 54696701
      speedy01 authored
      Hopefully addressses UAC issues. Installs services on windows at install. Replaces launcher with starting service and launching web browser.  Adds option to create x64 installer for windows.
      54696701
    • Guus der Kinderen's avatar
  2. 16 May, 2017 1 commit
  3. 15 May, 2017 1 commit
  4. 09 May, 2017 1 commit
  5. 04 May, 2017 3 commits
  6. 27 Apr, 2017 2 commits
  7. 26 Apr, 2017 4 commits
  8. 25 Apr, 2017 2 commits
  9. 14 Apr, 2017 2 commits
  10. 13 Apr, 2017 2 commits
  11. 10 Apr, 2017 1 commit
  12. 03 Apr, 2017 1 commit
  13. 29 Mar, 2017 1 commit
    • Guus der Kinderen's avatar
      OF-1305: Make escaping of multibyte characters in LDAP search optional. (#767) · 27dcea60
      Guus der Kinderen authored
      A new property (ldap.encodeMultibyteCharacters) is introduced that controls if multibyte characters in LDAP search queries are escaped.
      
      Escaping of these characters started with the fix for OF-830, which appears to have caused OF-1305. Although I can't say that escaping of characters is wrong (per RFC 4515), it does cause real-world problems.
      
      This fix defaults to not encoding again (reverting back to the behavior pre OF-830, without affecting other changes made in OF-830).
      27dcea60
  14. 19 Mar, 2017 2 commits
  15. 24 Feb, 2017 4 commits
  16. 18 Feb, 2017 3 commits
  17. 17 Feb, 2017 4 commits
    • Dave Cridland's avatar
      OF-1195 Correct SCRAM supported logic · 17d50e8a
      Dave Cridland authored
      17d50e8a
    • Dave Cridland's avatar
      OF-1278 Do not be such an idiot while recursing (#751) · 166b17c3
      Dave Cridland authored
      * OF-1278 Recurse more sensibly in SCRAM code
      
      Previously, we called setPassword if (and only if) there was a plaintext password present AND the configuration was for SCRAM hashed passwords only.
      
      However, we would then retest to see if there was a salt present, and then recurse, if there was a plaintext password present.
      
      This meant that if there were pre-existing users (with only plaintext or encrypted passwords) but with no SCRAM information, and the userInfo.salt was unset, recursion would continue indefinitely.
      
      * OF-1278 Recurse more sensibly in SCRAM code
      
      This patch further proofs against infinite recursion, and is more aggressive about SCRAMming pre-existing users.
      
      Recursion is now prevented from being more than one deep, as designed.
      166b17c3
    • akrherz's avatar
      OF-1281 Update bundled JRE to 1.8.0u121 · 49f4aa10
      akrherz authored
      49f4aa10
    • Dave Cridland's avatar
      OF-1271 Copy elements correctly · df106421
      Dave Cridland authored
      Adding elements and attributes to the new element doesn't work, since reparenting the old elements generates an exception. This exception wasn't logged.
      
      * Exception logged
      * id attribute copied, if present.
      * Elements copied deeply/properly.
      
      Test stanza:
      
      ```
      <message xmlns="jabber:client" to="blah@conference.cridland.im" type="groupchat" id="5260">
      <body>This is a message with a label.</body>
      <custom xmlns='tmp:custom'/>
      <custom-attr xmlns='tmp:custom2' attr='value'/>
      <custom-child xmlns='tmp:custom3'>
      <child>element</child>
      </custom-child>
      <custom-text xmlns='tmp:custom4'>Text here</custom-text>
      </message>
      ```
      df106421
  18. 16 Feb, 2017 1 commit
    • wroot's avatar
      OF-1270 fix Readme · eefa0f1d
      wroot authored
      Version and build date are already in the changelog. Other than that Readme is static. Fixed a few links and removed cheerful thanking. When user looks at it online, he hasn't yet downloaded anything. When he has installed it already, thanking for downloading seems out of place.
      eefa0f1d