- 24 Nov, 2015 1 commit
-
-
Redor authored
Fixed an cluster issue by create a chat room
-
- 21 Nov, 2015 2 commits
-
-
Christian Schudt authored
For every packet being delivered the `ByteBufferWriter` creates a new String for every few chars written and puts it to the buffer. According to my tests it is more efficient to create only one string and put it into the buffer once. (10-20% better performance)
-
Christian Schudt authored
Old version 2.4 was J2EE 1.4 Also remove <taglib> from web.xml. This was required in JSP 1.2, but is no longer in JSP 2.0 (Servlet API 2.4) and gives warnings since it has been removed from the XSD. See http://wiki.metawerx.net/wiki/RemovingTaglibFromWeb.xml
-
- 20 Nov, 2015 1 commit
-
-
Dave Cridland authored
This patch removes the thread pool from the ServerSocketReader, causing stanzas from a particular S2S session to be processed serially on the same thread used by the ServerSocketReader. Each ServerSocketReader currently has a thread to itself, so this is unlikely to have a serious impact on performance, but does have a very positive impact on correctness.
-
- 19 Nov, 2015 6 commits
-
-
Tom Evans authored
These sources were added to support the pending Maven refactor (PR #361). However the classes are not needed for the core compile/build. Moved into separate archive for safekeeping.
-
Christian Schudt authored
-
akrherz authored
The new Version.java comparison in master branch evaluates '3.11.0' as newer than '3.11.0 alpha' (which is correct), but causes a problem when attempting to load plugins requiring '3.11.0' on a developmental '3.11.0 alpha' release.
-
Tom Evans authored
When switch to/from clustered deployment, ensure that critical cached items such as components and remote servers are not inadvertently dropped from the cache.
-
Guus der Kinderen authored
By replacing Jetty 6.x era libraries with 9.x-based variants, JSP support will be brought back up-to-date. Additionally, Openfire will no longer have a mix of dependencies from various versions of Jetty. This commit contains a number of changes that go hand-in-hand: - Replaces JAR files - Applies uniformity to the buildscript where JSPC is executed - Replaces JSTL 1.0 taglibs with later versions - Adds a simple logger to the build process (to stop it from complaining)
-
Guus der Kinderen authored
-
- 18 Nov, 2015 3 commits
-
-
Christian Schudt authored
in the same fashion as e.g. `java.util.concurrent.Callable`
-
Tom Evans authored
Provide public constructor
-
Tom Evans authored
Remove "private" default constructor to enable subclasses, mock testing,, etc.
-
- 17 Nov, 2015 6 commits
-
-
Tom Evans authored
per discussion with core team
-
Tom Evans authored
Also remove dependency for sun.security.provider.* package
-
Christian Schudt authored
This is highlighted as "probably a bug" in my IDE. E.g. `new byte[]{1}.equals(new byte[]{1})` is always false. But `Arrays.equals(new byte[]{1}, new byte[]{1});` is true.
-
Christian Schudt authored
-
David Greene authored
-
Christian Schudt authored
- The 4 replace methods were nearly identical. - Deprecate String utility, which has a simple one-liner equivalent in the JDK - Use DatatypeConverter for byte[] to hex. It's less code and even 2-3 times faster than the previous method.
-
- 16 Nov, 2015 2 commits
-
-
Tom Evans authored
- Use AtomicReference instead of synchronized block - Extend java.io.Closeable; document contract - Consolidate close/state transition logic
-
Christian Schudt authored
URLUTF8Encoder is obsolete due to `java.net.URLEncoder.encode(str, "UTF-8")`
-
- 15 Nov, 2015 1 commit
-
-
Christian Schudt authored
This package-private class is a) unused and b) redundant due to `java.nio.channels.Channels.newInputStream(ReadableByteChannel)`
-
- 14 Nov, 2015 1 commit
-
-
Dele Olajide authored
Simplified build, removed classes folder in WEB-INF Changed default value for voip gateway to false Removed some redundant and duplicate jar file in jitsivideobridge lib Removed tinder.jar and whack.jar which caused ComponentManagerFactory.getComponentManager() to fail with OF 3.11
-
- 13 Nov, 2015 5 commits
-
-
Tom Evans authored
Avoid recursion and synchronization issues
-
akrherz authored
-
Roman S authored
Added: Provide the possibility to use a Custom Auth Filter Fixed: Preflight request will be not blocked by Authentication Added: Group names in ChatRoom Entity
-
Christian Schudt authored
with XMPPDateTimeFormat
-
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
-
- 11 Nov, 2015 2 commits
-
-
Dele Olajide authored
-
Francesco Scoccia authored
Now switchoff betweeen the authentication systems seems to work as intended
-
- 10 Nov, 2015 5 commits
-
-
Christian Schudt authored
These tests otherwise may throw FileNotFoundException and are harder to make them run. Also delete TestUtils.java because it's not needed now anymore.
-
speedy01 authored
Reverting some changes made with PR #239. by enabling the custom socket factory. Added the use of Comparator per http://docs.oracle.com/javase/8/docs/technotes/guides/jndi/jndi-ldap.html#pooling for connection pooling
-
speedy01 authored
Reverting some changes made with PR #239. by enabling the custom socket factory. Added the use of Comparator per http://docs.oracle.com/javase/8/docs/technotes/guides/jndi/jndi-ldap.html#pooling for connection pooling
-
speedy01 authored
-
speedy01 authored
Added readtimeout and connect time out to getcontext
-
- 09 Nov, 2015 5 commits
-
-
Christian Schudt authored
NIO.2 is the more modern and faster API and smooths the way for further improvements, e.g. using java.nio.file.WatchService to watch the plugin directory for changes.
-
Christian Schudt authored
-
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
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
-