mina-vysper.git
5 years agoimprove and enhance the embedded WAR example app master
Bernd Fondermann [Tue, 23 Jul 2013 11:21:02 +0000 (13:21 +0200)] 
improve and enhance the embedded WAR example app

5 years agoimprove and enhance the embedded WAR example app
Bernd Fondermann [Tue, 23 Jul 2013 09:32:27 +0000 (11:32 +0200)] 
improve and enhance the embedded WAR example app

5 years agoallow building a full pubsub demo client JAR by executing 'mvn assembly:single'
Bernd Fondermann [Tue, 23 Jul 2013 08:06:55 +0000 (10:06 +0200)] 
allow building a full pubsub demo client JAR by executing 'mvn assembly:single'

5 years agofix maven pom to reflect change to git SCM
Bernd Fondermann [Tue, 9 Jul 2013 13:22:02 +0000 (15:22 +0200)] 
fix maven pom to reflect change to git SCM

5 years agoVYSPER-346: domain check in JIDs is now considering different casings.
Bernd Fondermann [Mon, 8 Jul 2013 14:49:15 +0000 (16:49 +0200)] 
VYSPER-346: domain check in JIDs is now considering different casings.
perform sanity checks on XMPPServer instantiation.

5 years agoHBase storage: extract generic persistence manager for XEPs like vcard and private...
Bernd Fondermann [Mon, 8 Jul 2013 09:40:57 +0000 (11:40 +0200)] 
HBase storage: extract generic persistence manager for XEPs like vcard and private data, add vcard storage for HBase

5 years agoprivate data storage: use proper namespace in column family 'xep'
Bernd Fondermann [Mon, 8 Jul 2013 09:26:51 +0000 (11:26 +0200)] 
private data storage: use proper namespace in column family 'xep'

5 years agoHBase storage: add private data persistence
Bernd Fondermann [Mon, 8 Jul 2013 08:28:36 +0000 (10:28 +0200)] 
HBase storage: add private data persistence

5 years agofix roster + contact storage in HBase
Bernd Fondermann [Mon, 8 Jul 2013 08:28:10 +0000 (10:28 +0200)] 
fix roster + contact storage in HBase

5 years agoHBase roster manager: support groups
Bernd Fondermann [Sat, 6 Jul 2013 15:40:26 +0000 (17:40 +0200)] 
HBase roster manager: support groups

5 years agofix HBase storage stuff
Bernd Fondermann [Fri, 5 Jul 2013 21:12:40 +0000 (23:12 +0200)] 
fix HBase storage stuff

5 years agoadd HBase storage to distribution
Bernd Fondermann [Fri, 5 Jul 2013 21:12:14 +0000 (23:12 +0200)] 
add HBase storage to distribution

5 years agofirst try of a HBase storage for Vysper
Bernd Fondermann [Fri, 5 Jul 2013 20:11:45 +0000 (22:11 +0200)] 
first try of a HBase storage for Vysper

5 years agoprepare HBase storage module
Bernd Fondermann [Thu, 4 Jul 2013 11:42:11 +0000 (13:42 +0200)] 
prepare HBase storage module

5 years agoVYSPER-345: remove JCR from core spring config, comment to use separate jar
Bernd Fondermann [Thu, 4 Jul 2013 11:38:30 +0000 (13:38 +0200)] 
VYSPER-345: remove JCR from core spring config, comment to use separate jar

5 years agomove JCR storage code over to dedicated module
Bernd Fondermann [Thu, 4 Jul 2013 11:15:08 +0000 (13:15 +0200)] 
move JCR storage code over to dedicated module

5 years agoprepare new module for storage
Bernd Fondermann [Thu, 4 Jul 2013 09:44:56 +0000 (11:44 +0200)] 
prepare new module for storage

5 years agoVYSPER-344: overall improvements of server-to-server: add logging, harden routing...
Bernd Fondermann [Tue, 2 Jul 2013 14:57:29 +0000 (16:57 +0200)] 
VYSPER-344: overall improvements of server-to-server: add logging, harden routing, exeption handling.
fix receiving of keep-alive pings

5 years agoadd new configuration properties to spring-config.xml, add comments
Bernd Fondermann [Tue, 2 Jul 2013 14:47:29 +0000 (16:47 +0200)] 
add new configuration properties to spring-config.xml, add comments

5 years agomake ping result handling resistant against concurrent modification, especially when...
Bernd Fondermann [Tue, 2 Jul 2013 14:46:36 +0000 (16:46 +0200)] 
make ping result handling resistant against concurrent modification, especially when the XmppPinger is removing himself upon notification

5 years agoVYSPER-344: s2s connector: make certificate checking pluggable
Bernd Fondermann [Mon, 1 Jul 2013 12:02:33 +0000 (14:02 +0200)] 
VYSPER-344: s2s connector: make certificate checking pluggable

5 years agoVYSPER-344: s2s connector: improve diagnostic logging vastly, fix closing of connection.
Bernd Fondermann [Mon, 1 Jul 2013 10:53:14 +0000 (12:53 +0200)] 
VYSPER-344: s2s connector: improve diagnostic logging vastly, fix closing of connection.

5 years agoVYSPER-344: deliver s2s presence subscription stanzas not to the initiating entity...
Bernd Fondermann [Mon, 1 Jul 2013 10:50:35 +0000 (12:50 +0200)] 
VYSPER-344: deliver s2s presence subscription stanzas not to the initiating entity (the other server) but to the "from" entity which originally created the request. now subscription works in s2s.

5 years agoallow for the SSLContext's default trust manager to be used.
Bernd Fondermann [Mon, 1 Jul 2013 10:47:44 +0000 (12:47 +0200)] 
allow for the SSLContext's default trust manager to be used.

5 years agoVYSPER-329, VYSPER-344: fix verifying jabber:server namespace, must be possible in...
Bernd Fondermann [Mon, 1 Jul 2013 10:45:32 +0000 (12:45 +0200)] 
VYSPER-329, VYSPER-344: fix verifying jabber:server namespace, must be possible in s2s as well as c2s

5 years agorename BogusTrustManagerFactory to NonCheckingX509TrustManagerFactory, because it...
Bernd Fondermann [Mon, 1 Jul 2013 10:29:20 +0000 (12:29 +0200)] 
rename BogusTrustManagerFactory to NonCheckingX509TrustManagerFactory, because it's not so much bogus as not checking if the certificates are valid.

5 years ago org.apache.httpcomponents:httpclient version bump from 4.0.1 to 4.2.5
Bernd Fondermann [Mon, 1 Jul 2013 10:24:53 +0000 (12:24 +0200)] 
 org.apache.httpcomponents:httpclient version bump from 4.0.1 to 4.2.5

5 years agofast exit on NULL, trivial, idempotent change
Bernd Fondermann [Mon, 1 Jul 2013 10:23:27 +0000 (12:23 +0200)] 
fast exit on NULL, trivial, idempotent change

5 years agoVYSPER-343: enabling federation now possible in spring
Bernd Fondermann [Fri, 21 Jun 2013 15:21:24 +0000 (17:21 +0200)] 
VYSPER-343: enabling federation now possible in spring

5 years agoVYSPER-342: after discussing on ML, now prefer thread local again
Bernd Fondermann [Mon, 17 Jun 2013 12:43:08 +0000 (14:43 +0200)] 
VYSPER-342: after discussing on ML, now prefer thread local again

5 years agoVYSPER-342: simplify charset codec initialization, prefer singleton approach over...
Bernd Fondermann [Mon, 17 Jun 2013 11:43:19 +0000 (13:43 +0200)] 
VYSPER-342: simplify charset codec initialization, prefer singleton approach over thread local

5 years agoVYSPER-342: fix charset decoder initialization issue: apply contributed patch (Mikko...
Bernd Fondermann [Mon, 17 Jun 2013 11:26:24 +0000 (13:26 +0200)] 
VYSPER-342: fix charset decoder initialization issue: apply contributed patch (Mikko Multanen)

5 years agoVysper embedded in WAR:
Bernd Fondermann [Sun, 9 Jun 2013 16:08:05 +0000 (18:08 +0200)] 
Vysper embedded in WAR:
+ fix loading of certificate
+ allow starting WAR easily and support 'mvn jetty:run' by adding jetty maven plugin

5 years agofast fail if TLS certificate password is given, but certificate not loaded
Bernd Fondermann [Sun, 9 Jun 2013 16:03:29 +0000 (18:03 +0200)] 
fast fail if TLS certificate password is given, but certificate not loaded

5 years agomake MUC integration tests pass again
Bernd Fondermann [Sun, 9 Jun 2013 12:36:31 +0000 (14:36 +0200)] 
make MUC integration tests pass again

5 years agoexamples project: fix project.name in pom
Bernd Fondermann [Sat, 8 Jun 2013 11:47:50 +0000 (13:47 +0200)] 
examples project: fix project.name in pom

5 years agoVYSPER-336: fix resource state change to 'interested'
Bernd Fondermann [Fri, 7 Jun 2013 21:22:59 +0000 (23:22 +0200)] 
VYSPER-336: fix resource state change to 'interested'

5 years agoeasy code readability by using static imports
Bernd Fondermann [Fri, 7 Jun 2013 16:12:20 +0000 (18:12 +0200)] 
easy code readability by using static imports

5 years agoVYSPER-341: fix parsing multiple char refs
Bernd Fondermann [Sun, 2 Jun 2013 22:38:58 +0000 (00:38 +0200)] 
VYSPER-341: fix parsing multiple char refs

6 years agounit tests verifying VYSPER-337 trunk
Bernd Fondermann [Tue, 18 Dec 2012 08:44:33 +0000 (08:44 +0000)] 
unit tests verifying VYSPER-337

git-svn-id: https://svn.apache.org/repos/asf/mina/vysper/trunk@1423331 13f79535-47bb-0310-9956-ffa450edef68

6 years agoVYSPER-335: check for NPEs in DefaultResourceRegistry
Bernd Fondermann [Wed, 21 Nov 2012 11:04:42 +0000 (11:04 +0000)] 
VYSPER-335: check for NPEs in DefaultResourceRegistry

git-svn-id: https://svn.apache.org/repos/asf/mina/vysper/trunk@1412056 13f79535-47bb-0310-9956-ffa450edef68

6 years agoVYSPER-334 use UTF-8 to decode plain authentication
Bernd Fondermann [Tue, 20 Nov 2012 08:02:53 +0000 (08:02 +0000)] 
VYSPER-334 use UTF-8 to decode plain authentication

git-svn-id: https://svn.apache.org/repos/asf/mina/vysper/trunk@1411574 13f79535-47bb-0310-9956-ffa450edef68

6 years agoVYSPER-330: pollNext() has been fixed and improved so highestContinuousRid is now...
Bernd Fondermann [Tue, 23 Oct 2012 09:32:55 +0000 (09:32 +0000)] 
VYSPER-330: pollNext() has been fixed and improved so highestContinuousRid is now always uptodate. no more need for handling request window state in BoshBackedSessionContext.writeBoshResponse

git-svn-id: https://svn.apache.org/repos/asf/mina/vysper/trunk@1401217 13f79535-47bb-0310-9956-ffa450edef68

6 years agoVYSPER-330: replace PriorityQueue (where iteration is not ordered) with ArrayList...
Bernd Fondermann [Tue, 23 Oct 2012 09:02:37 +0000 (09:02 +0000)] 
VYSPER-330: replace PriorityQueue (where iteration is not ordered) with ArrayList and handle sorting on addition. add unit tests for RequestsWindow

git-svn-id: https://svn.apache.org/repos/asf/mina/vysper/trunk@1401208 13f79535-47bb-0310-9956-ffa450edef68

6 years agoadd unit test for setting highest continous request
Bernd Fondermann [Tue, 23 Oct 2012 07:15:27 +0000 (07:15 +0000)] 
add unit test for setting highest continous request

git-svn-id: https://svn.apache.org/repos/asf/mina/vysper/trunk@1401180 13f79535-47bb-0310-9956-ffa450edef68

6 years agooptimize imports
Bernd Fondermann [Sun, 14 Oct 2012 09:24:24 +0000 (09:24 +0000)] 
optimize imports

git-svn-id: https://svn.apache.org/repos/asf/mina/vysper/trunk@1398041 13f79535-47bb-0310-9956-ffa450edef68

6 years agoVYSPER-325: correctly encode BoshResponse body as UTF-8
Bernd Fondermann [Mon, 8 Oct 2012 17:27:52 +0000 (17:27 +0000)] 
VYSPER-325: correctly encode BoshResponse body as UTF-8

git-svn-id: https://svn.apache.org/repos/asf/mina/vysper/trunk@1395682 13f79535-47bb-0310-9956-ffa450edef68

6 years agofix javadoc, remove removed param
Bernd Fondermann [Sun, 7 Oct 2012 20:03:53 +0000 (20:03 +0000)] 
fix javadoc, remove removed param

git-svn-id: https://svn.apache.org/repos/asf/mina/vysper/trunk@1395374 13f79535-47bb-0310-9956-ffa450edef68

6 years agoDo not use hardcoded ports in unit tests
Niklas Gustavsson [Sun, 23 Sep 2012 16:35:22 +0000 (16:35 +0000)] 
Do not use hardcoded ports in unit tests

Removed the use of hardcoded ports in BOSH unit test.

git-svn-id: https://svn.apache.org/repos/asf/mina/vysper/trunk@1389089 13f79535-47bb-0310-9956-ffa450edef68

6 years agoClean up tokenizer code and strenghten unit tests
Niklas Gustavsson [Sun, 23 Sep 2012 15:10:29 +0000 (15:10 +0000)] 
Clean up tokenizer code and strenghten unit tests

Clean up the tokenzier to be a bit more clear as to what's going on, and
strenghten the unit tests to better test handling of multi-byte Unicode
characters

git-svn-id: https://svn.apache.org/repos/asf/mina/vysper/trunk@1389075 13f79535-47bb-0310-9956-ffa450edef68

6 years agoFix whitespaces
Niklas Gustavsson [Sun, 23 Sep 2012 14:24:14 +0000 (14:24 +0000)] 
Fix whitespaces

git-svn-id: https://svn.apache.org/repos/asf/mina/vysper/trunk@1389065 13f79535-47bb-0310-9956-ffa450edef68

6 years agoBOSH: store and re-send even reponses already acknowledged by the client
Bernd Fondermann [Wed, 25 Jul 2012 12:30:43 +0000 (12:30 +0000)] 
BOSH: store and re-send even reponses already acknowledged by the client

git-svn-id: https://svn.apache.org/repos/asf/mina/vysper/trunk@1365553 13f79535-47bb-0310-9956-ffa450edef68

6 years agoBOSH: VYSPER-322: introduce RequestsWindow class, better handling of problems, includ...
Bernd Fondermann [Sat, 21 Jul 2012 10:37:10 +0000 (10:37 +0000)] 
BOSH: VYSPER-322: introduce RequestsWindow class, better handling of problems, including client send duplicate RIDs, requests re-sends, requests too often. improved logging.

git-svn-id: https://svn.apache.org/repos/asf/mina/vysper/trunk@1364062 13f79535-47bb-0310-9956-ffa450edef68

6 years agoBOSH: improve naming and structure of handler and context. and, fix VYSPER-309.
Bernd Fondermann [Mon, 16 Jul 2012 19:20:53 +0000 (19:20 +0000)] 
BOSH: improve naming and structure of handler and context. and, fix VYSPER-309.

git-svn-id: https://svn.apache.org/repos/asf/mina/vysper/trunk@1362221 13f79535-47bb-0310-9956-ffa450edef68

6 years agoBOSH: make async processing more robust, improve error reporting
Bernd Fondermann [Sat, 14 Jul 2012 06:01:06 +0000 (06:01 +0000)] 
BOSH: make async processing more robust, improve error reporting

git-svn-id: https://svn.apache.org/repos/asf/mina/vysper/trunk@1361473 13f79535-47bb-0310-9956-ffa450edef68

6 years agoBOSH: add comment
Bernd Fondermann [Thu, 12 Jul 2012 16:38:47 +0000 (16:38 +0000)] 
BOSH: add comment

git-svn-id: https://svn.apache.org/repos/asf/mina/vysper/trunk@1360805 13f79535-47bb-0310-9956-ffa450edef68

6 years agotrailing commit: refactored BOSH test class
Bernd Fondermann [Thu, 12 Jul 2012 16:25:19 +0000 (16:25 +0000)] 
trailing commit: refactored BOSH test class

git-svn-id: https://svn.apache.org/repos/asf/mina/vysper/trunk@1360753 13f79535-47bb-0310-9956-ffa450edef68

6 years agoBOSH improvements:
Bernd Fondermann [Thu, 12 Jul 2012 16:22:23 +0000 (16:22 +0000)] 
BOSH improvements:
InactivityChecker now also removes the session from BoshHandler
InactivityChecker: wait() -> sleep()
improved error handling for berserker clients (do not create new sessions then)
simplify code
improved diagnostics on async errors

git-svn-id: https://svn.apache.org/repos/asf/mina/vysper/trunk@1360750 13f79535-47bb-0310-9956-ffa450edef68

6 years agoVYSPER-321: record timestamps to make monitoring rooms more easy
Bernd Fondermann [Thu, 12 Jul 2012 11:49:56 +0000 (11:49 +0000)] 
VYSPER-321: record timestamps to make monitoring rooms more easy

git-svn-id: https://svn.apache.org/repos/asf/mina/vysper/trunk@1360641 13f79535-47bb-0310-9956-ffa450edef68

6 years agoUpgraded to MINA 2.0.4
Emmanuel Lecharny [Tue, 10 Jul 2012 14:35:22 +0000 (14:35 +0000)] 
Upgraded to MINA 2.0.4

git-svn-id: https://svn.apache.org/repos/asf/mina/vysper/trunk@1359701 13f79535-47bb-0310-9956-ffa450edef68

6 years agomethod to retrieve active sessions, improve InactivityChecker
Bernd Fondermann [Tue, 10 Jul 2012 14:16:40 +0000 (14:16 +0000)] 
method to retrieve active sessions, improve InactivityChecker

git-svn-id: https://svn.apache.org/repos/asf/mina/vysper/trunk@1359694 13f79535-47bb-0310-9956-ffa450edef68

6 years agoVYSPER-14: make relay thread pools customizable and provide reporting methods
Bernd Fondermann [Tue, 10 Jul 2012 14:15:33 +0000 (14:15 +0000)] 
VYSPER-14: make relay thread pools customizable and provide reporting methods

git-svn-id: https://svn.apache.org/repos/asf/mina/vysper/trunk@1359692 13f79535-47bb-0310-9956-ffa450edef68

6 years agoimprove diagnostics
Bernd Fondermann [Tue, 3 Jul 2012 07:47:49 +0000 (07:47 +0000)] 
improve diagnostics

git-svn-id: https://svn.apache.org/repos/asf/mina/vysper/trunk@1356596 13f79535-47bb-0310-9956-ffa450edef68

6 years agoBOSH: simplify inactivity checker, call endSession() to correctly terminate a timed...
Bernd Fondermann [Mon, 2 Jul 2012 18:15:23 +0000 (18:15 +0000)] 
BOSH: simplify inactivity checker, call endSession() to correctly terminate a timed-out BOSH session

git-svn-id: https://svn.apache.org/repos/asf/mina/vysper/trunk@1356386 13f79535-47bb-0310-9956-ffa450edef68

6 years agoVYSPER-320:
Bernd Fondermann [Mon, 11 Jun 2012 20:32:55 +0000 (20:32 +0000)] 
VYSPER-320:
add flag to BoshBackedSessionContext indicating the request to store it in HttpSession
make BoshHandler subclasses capable to override behavior
subclasses of BoshServlet might replace default BoshHandler

git-svn-id: https://svn.apache.org/repos/asf/mina/vysper/trunk@1348996 13f79535-47bb-0310-9956-ffa450edef68

6 years agoVYSPER-318: add option: visitors can speak in unmoderated rooms
Bernd Fondermann [Thu, 7 Jun 2012 15:23:29 +0000 (15:23 +0000)] 
VYSPER-318: add option: visitors can speak in unmoderated rooms

git-svn-id: https://svn.apache.org/repos/asf/mina/vysper/trunk@1347674 13f79535-47bb-0310-9956-ffa450edef68

6 years agoreally, tolerate RosterManager's absense
Bernd Fondermann [Thu, 7 Jun 2012 14:40:39 +0000 (14:40 +0000)] 
really, tolerate RosterManager's absense

git-svn-id: https://svn.apache.org/repos/asf/mina/vysper/trunk@1347645 13f79535-47bb-0310-9956-ffa450edef68

6 years agonew room may not be overwrite existing one
Bernd Fondermann [Thu, 7 Jun 2012 10:02:56 +0000 (10:02 +0000)] 
new room may not be overwrite existing one

git-svn-id: https://svn.apache.org/repos/asf/mina/vysper/trunk@1347557 13f79535-47bb-0310-9956-ffa450edef68

6 years agotolerate RosterManager's absense
Bernd Fondermann [Thu, 7 Jun 2012 09:56:58 +0000 (09:56 +0000)] 
tolerate RosterManager's absense

git-svn-id: https://svn.apache.org/repos/asf/mina/vysper/trunk@1347555 13f79535-47bb-0310-9956-ffa450edef68

6 years agoVYSPER-317: store occupant presences, to provide them to later entering occupants
Bernd Fondermann [Fri, 1 Jun 2012 11:48:05 +0000 (11:48 +0000)] 
VYSPER-317: store occupant presences, to provide them to later entering occupants

git-svn-id: https://svn.apache.org/repos/asf/mina/vysper/trunk@1345088 13f79535-47bb-0310-9956-ffa450edef68

6 years agoVYSPER-316: fix, process type="available"
Bernd Fondermann [Thu, 31 May 2012 16:59:04 +0000 (16:59 +0000)] 
VYSPER-316: fix, process type="available"

git-svn-id: https://svn.apache.org/repos/asf/mina/vysper/trunk@1344814 13f79535-47bb-0310-9956-ffa450edef68

6 years agohandle non-create room, improve logging
Bernd Fondermann [Fri, 25 May 2012 13:42:21 +0000 (13:42 +0000)] 
handle non-create room, improve logging

git-svn-id: https://svn.apache.org/repos/asf/mina/vysper/trunk@1342622 13f79535-47bb-0310-9956-ffa450edef68

6 years agodo return presence error stanzas to the client
Bernd Fondermann [Fri, 25 May 2012 13:02:50 +0000 (13:02 +0000)] 
do return presence error stanzas to the client

git-svn-id: https://svn.apache.org/repos/asf/mina/vysper/trunk@1342607 13f79535-47bb-0310-9956-ffa450edef68

6 years agoMUC: do not report hidden rooms in disco
Bernd Fondermann [Fri, 25 May 2012 09:56:07 +0000 (09:56 +0000)] 
MUC: do not report hidden rooms in disco

git-svn-id: https://svn.apache.org/repos/asf/mina/vysper/trunk@1342551 13f79535-47bb-0310-9956-ffa450edef68

6 years agoVYSPER-314: support serving /crossdomain.xml when BOSH webapp is mapped to "/" and...
Bernd Fondermann [Thu, 24 May 2012 07:49:01 +0000 (07:49 +0000)] 
VYSPER-314: support serving /crossdomain.xml when BOSH webapp is mapped to "/" and "/foo"

git-svn-id: https://svn.apache.org/repos/asf/mina/vysper/trunk@1342165 13f79535-47bb-0310-9956-ffa450edef68

6 years agoVYSPER-313: Make MUC history accessible from outside, record MUC messages as type...
Bernd Fondermann [Wed, 23 May 2012 12:08:26 +0000 (12:08 +0000)] 
VYSPER-313: Make MUC history accessible from outside, record MUC messages as type MessageStanza

git-svn-id: https://svn.apache.org/repos/asf/mina/vysper/trunk@1341844 13f79535-47bb-0310-9956-ffa450edef68

6 years agoVYSPER-312: introduce MUCFeatures, making room history length and nick rewriting...
Bernd Fondermann [Mon, 21 May 2012 16:31:01 +0000 (16:31 +0000)] 
VYSPER-312: introduce MUCFeatures, making room history length and nick rewriting configurable

git-svn-id: https://svn.apache.org/repos/asf/mina/vysper/trunk@1341098 13f79535-47bb-0310-9956-ffa450edef68

6 years agoMUC improvement: make test-specific methods available to tests, specifically.
Bernd Fondermann [Mon, 21 May 2012 15:34:30 +0000 (15:34 +0000)] 
MUC improvement: make test-specific methods available to tests, specifically.

git-svn-id: https://svn.apache.org/repos/asf/mina/vysper/trunk@1341073 13f79535-47bb-0310-9956-ffa450edef68

6 years agoVYSPER-311: close session when invalid sid is received.
Bernd Fondermann [Wed, 16 May 2012 13:15:13 +0000 (13:15 +0000)] 
VYSPER-311: close session when invalid sid is received.
for what it's worth, I don't like private fields very much.

git-svn-id: https://svn.apache.org/repos/asf/mina/vysper/trunk@1339153 13f79535-47bb-0310-9956-ffa450edef68

6 years agoVYSPER-302: add interface for logging stanza content. based on a patch by Stig Runar...
Bernd Fondermann [Tue, 15 May 2012 15:35:50 +0000 (15:35 +0000)] 
VYSPER-302: add interface for logging stanza content. based on a patch by Stig Runar Vangen. thanks for contributing.

git-svn-id: https://svn.apache.org/repos/asf/mina/vysper/trunk@1338756 13f79535-47bb-0310-9956-ffa450edef68

6 years agoImplemented stream close handling to fix VYSPER-18. XMLElementListener now has a...
Mike Mahoney [Wed, 25 Apr 2012 21:20:37 +0000 (21:20 +0000)] 
Implemented stream close handling to fix VYSPER-18. XMLElementListener now has a close() method that is called from the XMPPContentHandler when a </stream:stream> element is sent by the client. This can then be used to close a session.

git-svn-id: https://svn.apache.org/repos/asf/mina/vysper/trunk@1330564 13f79535-47bb-0310-9956-ffa450edef68

6 years ago+ reduce created objects, move helper methods from BoshHandler to static utilities
Bernd Fondermann [Mon, 23 Apr 2012 08:15:51 +0000 (08:15 +0000)] 
+ reduce created objects, move helper methods from BoshHandler to static utilities

git-svn-id: https://svn.apache.org/repos/asf/mina/vysper/trunk@1329113 13f79535-47bb-0310-9956-ffa450edef68

6 years agoIntroduce a JDK 1.6 profile for distribution
Niklas Gustavsson [Sun, 22 Apr 2012 18:48:48 +0000 (18:48 +0000)] 
Introduce a JDK 1.6 profile for distribution

Makes sure that JAR's not built since they require JDK 1.6, does not
included in the distribution

git-svn-id: https://svn.apache.org/repos/asf/mina/vysper/trunk@1328932 13f79535-47bb-0310-9956-ffa450edef68

6 years agoadmin-console also uses Jetty, thus requires Java 1.6
Niklas Gustavsson [Sun, 22 Apr 2012 13:18:23 +0000 (13:18 +0000)] 
admin-console also uses Jetty, thus requires Java 1.6

git-svn-id: https://svn.apache.org/repos/asf/mina/vysper/trunk@1328876 13f79535-47bb-0310-9956-ffa450edef68

6 years agoAdd JDK 1.6 activated profiles for Jetty dependent modules
Niklas Gustavsson [Sun, 22 Apr 2012 12:42:25 +0000 (12:42 +0000)] 
Add JDK 1.6 activated profiles for Jetty dependent modules

Jetty 8 requires Java 1.6 and we depend on it for some of our modules.
This commit adds profiles which are automatically activated on Java 1.6
which adds these modules

git-svn-id: https://svn.apache.org/repos/asf/mina/vysper/trunk@1328867 13f79535-47bb-0310-9956-ffa450edef68

6 years agoImplement web socket support for Tomcat 7.0.27
Niklas Gustavsson [Sun, 22 Apr 2012 12:04:53 +0000 (12:04 +0000)] 
Implement web socket support for Tomcat 7.0.27

Also generalizes the web socket code in general which should
make it easier to adapt for future implementations

git-svn-id: https://svn.apache.org/repos/asf/mina/vysper/trunk@1328861 13f79535-47bb-0310-9956-ffa450edef68

6 years agoUpgrade Jetty to 8.1.3.v20120416
Niklas Gustavsson [Sun, 22 Apr 2012 12:04:17 +0000 (12:04 +0000)] 
Upgrade Jetty to 8.1.3.v20120416

git-svn-id: https://svn.apache.org/repos/asf/mina/vysper/trunk@1328860 13f79535-47bb-0310-9956-ffa450edef68

6 years ago+ rename writeBoshResponse() (again)
Bernd Fondermann [Fri, 20 Apr 2012 15:45:00 +0000 (15:45 +0000)] 
+ rename writeBoshResponse() (again)
+ don't create standard stanzas over and over again
+ create less short-lived objects when merging
+ move helper methods from BoshHandler to static utilities
+ improve error handling and logging

git-svn-id: https://svn.apache.org/repos/asf/mina/vysper/trunk@1328417 13f79535-47bb-0310-9956-ffa450edef68

6 years agojetty-servlet lib still needed for BoshEndpoint
Bernd Fondermann [Thu, 19 Apr 2012 18:09:07 +0000 (18:09 +0000)] 
jetty-servlet lib still needed for BoshEndpoint

git-svn-id: https://svn.apache.org/repos/asf/mina/vysper/trunk@1328059 13f79535-47bb-0310-9956-ffa450edef68

6 years agoVYSPER-307: remove proprietary Jetty Continuations, use pure Async Servlet 3.0....
Bernd Fondermann [Thu, 19 Apr 2012 14:38:39 +0000 (14:38 +0000)] 
VYSPER-307: remove proprietary Jetty Continuations,  use pure Async Servlet 3.0. Contributed by Stig Runar Vangen. Thanks for contributing!

git-svn-id: https://svn.apache.org/repos/asf/mina/vysper/trunk@1327968 13f79535-47bb-0310-9956-ffa450edef68

6 years agoremove close() method from XMLElementListener
Bernd Fondermann [Wed, 18 Apr 2012 23:50:24 +0000 (23:50 +0000)] 
remove close() method from XMLElementListener

git-svn-id: https://svn.apache.org/repos/asf/mina/vysper/trunk@1327743 13f79535-47bb-0310-9956-ffa450edef68

6 years agoVYSPER-304, VYSPER-305: BOSH: guard central context state fields against race conditi...
Bernd Fondermann [Wed, 18 Apr 2012 14:36:32 +0000 (14:36 +0000)] 
VYSPER-304, VYSPER-305: BOSH: guard central context state fields against race conditions, make some methods and var names more expressive, add debug logging, use static final object for empty stanza, do not queue empty stanzas

git-svn-id: https://svn.apache.org/repos/asf/mina/vysper/trunk@1327524 13f79535-47bb-0310-9956-ffa450edef68

6 years agoFix to address VYSPER-18. Modifications to XML parsing/handling in order to recognize...
Mike Mahoney [Mon, 19 Mar 2012 03:09:21 +0000 (03:09 +0000)] 
Fix to address VYSPER-18. Modifications to XML parsing/handling in order to recognize and act on stream close events. This fix adds a closed flag to the XMLElementListener that allows the XMPPDecoder to determine when a stream is closed.

Additionally added a check to the XMLTokenizer that allows it to ignore whitespace when it is in the START state. This prevents is from buffering unnecessary whitespace characters.

git-svn-id: https://svn.apache.org/repos/asf/mina/vysper/trunk@1302264 13f79535-47bb-0310-9956-ffa450edef68

7 years agoRemoving non longer used method
Niklas Gustavsson [Tue, 27 Dec 2011 21:54:03 +0000 (21:54 +0000)] 
Removing non longer used method

git-svn-id: https://svn.apache.org/repos/asf/mina/vysper/trunk@1225023 13f79535-47bb-0310-9956-ffa450edef68

7 years agoVYSPER-299: introduce stop() method to StanzaRelay to be able to properly shutdown...
Bernd Fondermann [Mon, 17 Oct 2011 09:47:42 +0000 (09:47 +0000)] 
VYSPER-299: introduce stop() method to StanzaRelay to be able to properly shutdown resources (like executor services). Patch based on code by Mike Mahoney. Thanks for opening the issue and contributing!

git-svn-id: https://svn.apache.org/repos/asf/mina/vysper/trunk@1185067 13f79535-47bb-0310-9956-ffa450edef68

7 years agoUpdated WebSocket support to use the latest spec. Thanks Chistoph Hartmann for the...
Niklas Gustavsson [Tue, 4 Oct 2011 19:37:01 +0000 (19:37 +0000)] 
Updated WebSocket support to use the latest spec. Thanks Chistoph Hartmann for the patch (VYSPER-295)

git-svn-id: https://svn.apache.org/repos/asf/mina/vysper/trunk@1178927 13f79535-47bb-0310-9956-ffa450edef68

7 years agoFixing typo in Spring config file
Niklas Gustavsson [Thu, 29 Sep 2011 09:19:49 +0000 (09:19 +0000)] 
Fixing typo in Spring config file

git-svn-id: https://svn.apache.org/repos/asf/mina/vysper/trunk@1177234 13f79535-47bb-0310-9956-ffa450edef68

7 years agoFix for JIRA: VYSPER-294
Ashish Paliwal [Mon, 19 Sep 2011 08:59:11 +0000 (08:59 +0000)] 
Fix for JIRA: VYSPER-294

git-svn-id: https://svn.apache.org/repos/asf/mina/vysper/trunk@1172525 13f79535-47bb-0310-9956-ffa450edef68

7 years agoVYSPER-266. introduce interface for ResourceRegistry. initial patch by Sasha Dolgy...
Bernd Fondermann [Fri, 16 Sep 2011 14:32:56 +0000 (14:32 +0000)] 
VYSPER-266. introduce interface for ResourceRegistry. initial patch by Sasha Dolgy. thanks for contributing! (However, I re-created the patch by fully relying on the excellent Intellij IDEA refactoring support)

git-svn-id: https://svn.apache.org/repos/asf/mina/vysper/trunk@1171590 13f79535-47bb-0310-9956-ffa450edef68

7 years agoVYSPER-293: fix class cast
Bernd Fondermann [Fri, 16 Sep 2011 14:11:12 +0000 (14:11 +0000)] 
VYSPER-293: fix class cast

git-svn-id: https://svn.apache.org/repos/asf/mina/vysper/trunk@1171577 13f79535-47bb-0310-9956-ffa450edef68