1. 21 Jun, 2017 3 commits
    • Guus der Kinderen's avatar
      OF-1353: Adding maxServerVersion (and more) · fee25623
      Guus der Kinderen authored
      This commit started with the intention of adding a maxServerVersion attribute for plugins, but resulted in a partial rewrite. Changes:
      - Removed the License enumeration - now, a simple string is used.
      - Split off the admin console page that shows the content of readme and changelog files to a dedicated page, instead of plugin-admin.jsp
      - Better define the difference between the plugin (human readable) name ("Avatar Resizer") and its canonical name ("avatarresizer")
      - The admin console now shows plugins that have been downloaded/installed, but cannot be loaded. Where possible, an update is suggested.
      - Support for maxServerVersion - plugins can now define a version of Openfire in which they will no longer load.
      fee25623
    • Guus der Kinderen's avatar
      Adding custom JSTL functions. · f7010088
      Guus der Kinderen authored
      f7010088
    • Guus der Kinderen's avatar
      93f81848
  2. 20 Jun, 2017 1 commit
  3. 19 Jun, 2017 1 commit
  4. 15 Jun, 2017 1 commit
  5. 14 Jun, 2017 1 commit
  6. 12 Jun, 2017 3 commits
  7. 09 Jun, 2017 4 commits
  8. 08 Jun, 2017 1 commit
  9. 01 Jun, 2017 2 commits
  10. 31 May, 2017 2 commits
    • Guus der Kinderen's avatar
      OF-1336: Update plugins to match new API. · 37a1c4fe
      Guus der Kinderen authored
      These changes should be backwards compatible.
      37a1c4fe
    • Guus der Kinderen's avatar
      OF-1336: Introduce UserPropertyProvider · 39e33fe1
      Guus der Kinderen authored
      This commit adds a new feature to Openfire, that allows one to store user properties in an external system. This is quite similar to concepts like UserProvider, AuthProvider, GroupProvider, and so on.
      
      The default behavior, moved from the User class to DefaultUserPropertyProvider, continues to use the ofUserProp database table. Provider implementations matching those of other types of providers have been added.
      39e33fe1
  11. 26 May, 2017 2 commits
  12. 25 May, 2017 5 commits
    • Guus der Kinderen's avatar
      Skip platform-dependant unit tests. · 8fdaa654
      Guus der Kinderen authored
      8fdaa654
    • Guus der Kinderen's avatar
      OF-546: Add metadata filter · 44b23b75
      Guus der Kinderen authored
      This commit allows a plugin.xml to use a reference to data defined in the pom.xml. This reduces duplicate data.
      
      For instance, in plugin.xml, one could now define the version number by referring to the version number of the
      maven artifact:
      
        <version>${project.version}</version>
      
      Note that plugin.xml files that are processed using the old Apache Ant based build, will not be processed correctly.
      44b23b75
    • Guus der Kinderen's avatar
      OF-546: Add metadata to pom.xml · 3f2e8b0c
      Guus der Kinderen authored
      This commit copies version number, author and description from plugin.xml to pom.xml. This makes the same information available as Maven metadata.
      
      When Ant support is dropped, the duplicate data in the plugin.xml should be replaced by a filter (which takes the data from the pom.xml).
      3f2e8b0c
    • Guus der Kinderen's avatar
    • Guus der Kinderen's avatar
      OF-546: Move Maven POM files into source directory. · 79ae79bf
      Guus der Kinderen authored
      I continue to be thoroughly confused by having two directories per plugin, one for the plugin sources, and one for the maven build. This commit merges both directories.
      
      As a side effect, various plugin unit tests are now executed by default. Some failed, for which I applied fixes.
      
      This commit also adds some plugins to the Maven structure that previously were not.
      79ae79bf
  13. 20 May, 2017 1 commit
  14. 18 May, 2017 1 commit
  15. 16 May, 2017 2 commits
  16. 15 May, 2017 1 commit
  17. 11 May, 2017 1 commit
  18. 09 May, 2017 3 commits
  19. 08 May, 2017 5 commits
    • Michael Klein's avatar
    • Guus der Kinderen's avatar
      OF-546 / OF-1326: Made compatible with API changes. · 2968ce49
      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?
      2968ce49
    • Guus der Kinderen's avatar
      d2b3b491
    • Guus der Kinderen's avatar
      OF-1326: Improve sharing of the BOSH context · a0049776
      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.
      a0049776
    • Michael Klein's avatar
      OF-1325 -- Implement separate History settings in Client Control (#796) · d28568fe
      Michael Klein authored
      * OF-1325 -- Implement separate History settings in Client Control
      
      * OF-1325 -- Implement separate History settings in Client Control
      
      * OF-1325 -- Implement separate History settings in Client Control
      d28568fe