- 04 Mar, 2016 1 commit
-
-
Guus der Kinderen authored
-
- 03 Mar, 2016 7 commits
-
-
Guus der Kinderen authored
Outcasts should not be allowed to register with room.
-
Guus der Kinderen authored
Update Chinese Simplified translation (OF-1088)
-
Dave Cridland authored
OF-1095: Improve plugin (un)loading related logging
-
Dave Cridland authored
OF-1098: Anonymous user login should be disabled by default.
-
Guus der Kinderen authored
-
Guus der Kinderen authored
This commit adds more structure to the logging done when loading and unloading plugins. The plugin manager was adapted to create log statements for loading and unloading each plugin. It also logs to std-out for log statements of priority INFO and above. This mimics what some (but not all) plugins were doing internally. There's an added log statement that informs that the loading of the entire set of plugins has finished (which helps users to determine when Openfire is ready to be used). Corresponding log statements from individual plugins have been removed.
-
Guus der Kinderen authored
-
- 02 Mar, 2016 1 commit
-
-
Guus der Kinderen authored
OF-1094: Allow reset of UserProvider
-
- 26 Feb, 2016 4 commits
-
-
Guus der Kinderen authored
-
Guus der Kinderen authored
When the property provider.user.className is set, a new UserProvider will be initialized. Openfire should revert back to the default provider when that property is deleted.
-
daryl herzmann authored
Admin Console: prevent NPE on missing user creation date.
-
Guus der Kinderen authored
Some user providers might not provide a creation date for each user. There's no reason that the Admin Console should not be able to cope with that.
-
- 16 Feb, 2016 1 commit
-
-
wroot authored
-
- 15 Feb, 2016 5 commits
-
-
Chinmay Dani authored
With the current implementation, any user can send the register IQ to register with a room as a 'member'. This also allows outcasts, that were banned from a room, to be able to register again as a member, and eventually re-join the room. The solution is to prevent outcasts from registering with the room.
-
Dave Cridland authored
OF-1087: Default namespace handling in BOSH.
-
Guus der Kinderen authored
In dom4j, the default namespace of an element cannot be set by adding a namespace that has an empty-string prefix. Although the string representation of the element will be correct, that namespace is not being recognized as the default namespace of the element (instead, it is a namespace like any other prefixed namespace, to be used in child elements).
-
Guus der Kinderen authored
The original code depends on a whitespace to be present within the limits of the element. This is not safe (eg: <message><foo/></message> fails). Instead, the closing characters ( > or /> ) of the first element should be used, as that's guaranteed to be present.
-
Guus der Kinderen authored
A change introduced in Openfire 3.10.3 (OF-938) changed how the BOSH implementation would add default namespace definitions where applicable. This new implementation depends on a space from being present in the outer stanza. The 'fin' element that's transmitted here is wrapped in a message stanza without any attributes ( <message><fin ... ) which caused the namespace to be injected in the fin element (where the first space was). This commit adds a 'to' attribute to the wrapping message stanza, to allow for users to work around the problem without having to update Openfire itself. The BOSH implementation will be adjusted to account for this in another commit.
-
- 11 Feb, 2016 1 commit
-
-
akrherz authored
-
- 10 Feb, 2016 6 commits
-
-
Dave Cridland authored
Cannot join room in a cluster after an availability update.
-
Dave Cridland authored
NullPointerException in RoutingTableImpl.
-
Dave Cridland authored
Allows dynamic setting of disco info handler and disco items handler …
-
Dave Cridland authored
OF-954: Cleanup MUC rooms for defunct node
-
Dave Cridland authored
OF-462 PEP should process IQ-gets that have no 'to' attribute.
-
Dave Cridland authored
Fix unicode read on input
-
- 09 Feb, 2016 2 commits
-
-
Derek McLean authored
When a room occupant sends an availability update to a host in an Openfire cluster, other users cannot join the room from other hosts in the cluster. The availability update causes the other hosts to lose an occupant's role and affiliation. New occupants encounter an NPE when joining and are prevented from joining the room. Specifically, the NPE occurs when Openfire attempts to send initial presences for current occupants. Remote hosts in the cluster lose the occupant's association because the local room simply broadcasts the presence packet for the occupant's availability update. Because it is from the client, this packet does not have the occupant's role or affiliation. The remote hosts treat the presence packet as the occupant's presence without modification. This fix changes the order in which Openfire handles an availability update. First, it updates its local view of an occupant's presence. This populates the correct association. Then, it broadcasts the updated presence to remote hosts in the cluster.
-
Chung authored
In the current read scheme for Openfire, it is possible that due to variable width encoding that we sometimes only create a string with a partial character. This breaks the message text and causes encoding issues when read. This change modifies the way the characters are read to use an bytearrayoutputstream and only do the string conversion once. Since we only do the string creation once after the full buffer is read, we no longer have encoding issues with broken unicode characters.
-
- 05 Feb, 2016 1 commit
-
-
dchinmay authored
In #routeToComponent, it is first checked if the component is being hosted in the local JVM. If it was not found, then all nodes in the ComponentsCache are checked to find if the component is hosted by one of those. In this process, the local routing table is again searched for the component, because it may have been added after the previous check. However, after this search, there is no null check done for the searched route. This results in an NPE when the component was not found locally and the #process(packet) method is called on the object. This also prevents the code from searching other nodes that may have been in the nodes set. Added a null check to prevent this scenario.
-
- 04 Feb, 2016 1 commit
-
-
Mike Solomon authored
This way, plugins can swap in and out the handler.
-
- 02 Feb, 2016 2 commits
-
-
Tom Evans authored
XEP-0016 error messages should set correct from attribute (the sender).
-
Christian Schudt authored
See XEP-0016, example 50.
-
- 01 Feb, 2016 1 commit
-
-
Tom Evans authored
Patch submitted by community member lukzie.
-
- 27 Jan, 2016 2 commits
-
-
Dave Cridland authored
OF-1063: Prevent TimerThread from exiting
-
Tom Evans authored
Do not allow TimerThread to exit when the server becomes heavily loaded, preferring instead to use the caller's thread to execute a scheduled task when needed. This may result in a temporary slowdown, but is better than a hard failure which requires a restart of the server.
-
- 26 Jan, 2016 4 commits
-
-
Dave Cridland authored
OF-1057: Upgrade Jetty to 9.2.14
-
Guus der Kinderen authored
This commit moves jetty 9.2.9 to 9.2.14, which currently is the latest release of it 9.2 branch.
-
Dave Cridland authored
OF-1056: Redirect commons logging over slf4j properly.
-
Dave Cridland authored
OF-1045: Fix NPE in cluster info page
-
- 25 Jan, 2016 1 commit
-
-
Guus der Kinderen authored
Instead of using our proprietary commons logging wrapper for slf4j, use the one provided by slf4j. Not only does is reduce code, it also does a better job logging things (using the correct log category). The jcl-over-slf4j.jar is a drop-in replacement for commons-logging.jar (for version 1.1.1 commons-logging - our copy was probably older).
-