- 13 Nov, 2015 1 commit
-
-
Christian Schudt authored
- Make it final and immutable. - Use pattern-based parsing, which allows to also parse the ReleaseStatus and the statusVersion. - Implement toString() method. - Implement equals() and hashCode(), which is a strong recommendation when implementing Comparable: From the JavaDoc: "It is strongly recommended that (x.compareTo(y)==0) == (x.equals(y))", which was not the case. - Allow CharSequence - Simplify getVersionString() method (less duplicate code). - Improve compareTo() method by properly comparing more than 2 digits and also comparing ReleaseStatus and statusVersion
-
- 09 Nov, 2015 15 commits
-
-
Christian Schudt authored
-
Christian Schudt authored
Launcher: Use Desktop.getDesktop().browse().
-
Christian Schudt authored
The BrowserLauncher class seems to be really outdated (from 2001) and it doesn't even launch the browser on my Mac OS X. Since Java 1.6, there is java.awt.Desktop, which can open a browser as well, so let's use that one.
-
Christian Schudt authored
Launcher: Use Java 6 SwingWorker instead of "Version 3 SwingWorker".
-
Christian Schudt authored
There was an old backport of SwingWorker for JDK < 6 from 2003, which was known as "SwingWorker Version 3". Openfire does not need such old backports anymore.
-
Christian Schudt authored
Java 7: Collapse identical catch blocks.
-
Christian Schudt authored
-
Christian Schudt authored
Java 7: Replace explicit type with diamond operator <>
-
Christian Schudt authored
-
Christian Schudt authored
OF-343 Add @Override annotations
-
Christian Schudt authored
There were still ~1500 missing annotations! This time fixed with IntelliJ ;-)
-
Christian Schudt authored
Prevent NoClassDefFoundError during Openfire start.
-
Christian Schudt authored
Restore tray icon click functionality after moving to AWT tray.
-
Christian Schudt authored
Fix JDK 8 ambiguity with wildcard imports.
-
Christian Schudt authored
Clean plugins directory when calling Ant "plugins" target.
-
- 08 Nov, 2015 2 commits
-
-
daryl herzmann authored
OF-967 add option to use Name as nickname for muc bookmark
-
akrherz authored
-
- 07 Nov, 2015 2 commits
-
-
Christian Schudt authored
Don't know why, but it fixes the issue described here: https://community.igniterealtime.org/thread/55868 org.apache.jasper.JasperException: XML parsing error on file /WEB-INF/web.xml
-
Christian Schudt authored
java.util.* and org.jivesoftware.util.* both import Base64 class. The compiler cannot know which one to use. Error message is: both class java.util.Base64 in java.util and class org.jivesoftware.util.Base64 in org.jivesoftware.util match
-
- 03 Nov, 2015 1 commit
-
-
Roman S authored
REST API plugin: make group affiliations per room visible
-
- 02 Nov, 2015 2 commits
-
-
Patrick R. Spendrin authored
This patch shows which groups have one of the affiliations admin|member|owner|outcast. In case the new query parameter expandGroups is set to true, the group member's jids are added to the explicit jids.
-
Christian Schudt authored
-
- 31 Oct, 2015 3 commits
-
-
Christian Schudt authored
These are actually not required by Java compiler and therefore have been removed with dfb69a76, but qdox needs them.
-
Christian Schudt authored
f81c28be replaced org.jivesoftware.util.Log with org.slf4j.Logger. This commit partially reverts this. Apparently the build process produces an additional startup.jar, which contains the ServerStarter class. However, it doesn't add slf4j-api.jar to the classpath or manifest. Because Openfire's classpath, lib folder and build structure is pretty confusing (e.g. slf4j-api.jar gets merged into a new openfire.jar, there's an extra JiveClassLoader, etc...), it's hard to solve this in a reasonable way at the moment.
-
akrherz authored
-
- 30 Oct, 2015 14 commits
-
-
daryl herzmann authored
OF-938: Apply packet namespace via string insert
-
Tom Evans authored
This patch fixes a problem introduced by an earlier patch whereby a change to the Packet namespace inadvertently cascaded to child XML elements.
-
Christian Schudt authored
OF-966 <failure> tag not closed for TLS Negotitation Failure
-
akrherz authored
-
Christian Schudt authored
-
Christian Schudt authored
-
Dave Cridland authored
Use StandardCharsets.UTF_8 with Reader/Writer classes.
-
Christian Schudt authored
This is a followup for fcf665a9.
-
Christian Schudt authored
-
Dave Cridland authored
Use real Java enums for presence subscription states.
-
Christian Schudt authored
The homemade IntEnum and Enum classes feel totally weird and confusing, when having java.lang.Enum around. This commit removes these classes. The static constants in the RosterItem class now feel superfluous, but are kept in there, because they are referenced by a lot of other classes and JSP pages.
-
Dave Cridland authored
Use Collections.singleton() where ArrayList has only one element.
-
Dave Cridland authored
Fix PluginClassLoader load resource path issue
-
Dave Cridland authored
Use try-with-resources statement to properly close resources.
-