This is an automated email from the ASF dual-hosted git repository. ralaoui pushed a change to branch xep-0313 in repository https://gitbox.apache.org/repos/asf/mina-vysper.git.
discard 5a8a4dd XEP-0313 Message Archive Management add db6bfe2 Remove Spring specific code add e6df72e Move S2S handlers to StanzaHandlerLookup add 2bfe52c Revert "Move S2S handlers to StanzaHandlerLookup" add c0d3b2b Add StanzaHandlerExecutor and make it unavoidable to execute a StanzaHandler add e54ef1e Add StanzaHandlerExecutor and make it unavoidable to execute a StanzaHandler add 42fd131 Pass the current SessionContext to the StanzaRelay add 4cd9794 Make StanzaHandler use StanzaBroker instead of returning stanzas for reply new 2eb9b00 XEP-0313 Message Archive Management This update added new revisions after undoing existing revisions. That is to say, some revisions that were in the old version of the branch are not in the new version. This situation occurs when a user --force pushes a change and generates a repository containing something like this: * -- * -- B -- O -- O -- O (5a8a4dd) \ N -- N -- N refs/heads/xep-0313 (2eb9b00) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .../org/apache/vysper/spring/AddUserHelper.java | 64 ----- .../spring/ResourceBasedTLSContextFactory.java | 46 ---- .../java/org/apache/vysper/spring/ServerMain.java | 42 --- ...pringCompatibleDefaultServerRuntimeContext.java | 81 ------ .../vysper/spring/SpringCompatibleXMPPServer.java | 100 ------- .../vysper/xmpp/delivery/RecordingStanzaRelay.java | 3 +- .../vysper/xmpp/delivery/StanzaReceiverRelay.java | 18 +- .../apache/vysper/xmpp/delivery/StanzaRelay.java | 27 +- .../vysper/xmpp/delivery/StanzaRelayBroker.java | 7 +- .../DeliveringExternalInboundStanzaRelay.java | 3 +- .../DeliveringInternalInboundStanzaRelay.java | 29 ++- .../core/base/handler/RelayingIQHandler.java | 2 +- .../core/base/handler/StreamStartHandler.java | 74 +++--- .../core/base/handler/XMLPrologHandler.java | 7 +- .../core/base/handler/XMPPCoreStanzaHandler.java | 97 +++---- .../handler/async/AbstractAsyncIQGetHandler.java | 3 +- .../modules/core/sasl/handler/AbortHandler.java | 7 +- .../core/sasl/handler/AbstractSASLHandler.java | 37 ++- .../modules/core/sasl/handler/AuthHandler.java | 8 +- .../core/starttls/handler/StartTLSHandler.java | 19 +- .../xep0220_server_dailback/DbResultHandler.java | 41 ++- .../xep0220_server_dailback/DbVerifyHandler.java | 85 +++--- .../vysper/xmpp/protocol/ProtocolWorker.java | 19 +- .../ServiceUnavailableStanzaErrorHandler.java | 12 +- .../vysper/xmpp/protocol/SimpleStanzaBroker.java | 12 +- .../SimpleStanzaHandlerExecutor.java} | 21 +- .../SimpleStanzaHandlerExecutorFactory.java} | 13 +- .../apache/vysper/xmpp/protocol/StanzaHandler.java | 18 +- .../xmpp/protocol/StanzaHandlerExecutor.java} | 23 +- .../protocol/StanzaHandlerExecutorFactory.java} | 9 +- .../worker/AbstractStateAwareProtocolWorker.java | 38 +-- .../worker/AuthenticatedProtocolWorker.java | 10 +- .../protocol/worker/EncryptedProtocolWorker.java | 10 +- .../worker/EncryptionStartedProtocolWorker.java | 14 +- .../protocol/worker/EndOrClosedProtocolWorker.java | 10 +- .../worker/InboundStanzaProtocolWorker.java | 22 +- .../protocol/worker/InitiatedProtocolWorker.java | 10 +- .../protocol/worker/StartedProtocolWorker.java | 10 +- .../protocol/worker/UnconnectedProtocolWorker.java | 10 +- .../server/ComponentStanzaProcessorFactory.java | 10 +- .../xmpp/server/DefaultServerRuntimeContext.java | 17 +- .../org/apache/vysper/xmpp/server/XMPPServer.java | 25 +- .../AlterableComponentRegistry.java | 5 +- .../server/{ => components}/ComponentRegistry.java | 2 +- .../components/ComponentStanzaProcessor.java | 38 +-- .../{ => components}/SimpleComponentRegistry.java | 5 +- .../server/s2s/DefaultXMPPServerConnector.java | 29 +-- .../s2s/DefaultXMPPServerConnectorRegistry.java | 18 +- .../vysper/xmpp/server/s2s/FeaturesHandler.java | 53 ++-- .../vysper/xmpp/server/s2s/TlsProceedHandler.java | 7 +- .../stanzasession/StanzaSessionTestCase.java | 28 +- .../xmpp/delivery/StanzaRelayBrokerTestCase.java | 26 +- ...liveringExternalInboundStanzaRelayTestCase.java | 21 +- ...eliveringInteralInboundStanzaRelayTestCase.java | 32 ++- .../core/base/handler/IQHandlerTestCase.java | 32 +-- .../base/handler/MessageHandlerRelayTestCase.java | 14 +- .../base/handler/RelayingIQHandlerTestCase.java | 39 +-- .../handler/async/AsyncIQGetHandlerTestCase.java | 26 +- .../AuthCompatibilityIQHandlerTestCase.java | 28 +- .../core/sasl/handler/AbortHandlerTestCase.java | 30 +-- .../handler/AuthHandlerPlainMechanismTestCase.java | 43 +-- .../AuthHandlerUnavailableMechanismTestCase.java | 18 +- .../session/handler/SessionIQHandlerTestCase.java | 55 ++-- .../starttls/handler/StartTLSHandlerTestCase.java | 18 +- .../PrivateDataIQHandlerTestCase.java | 280 ++++++++++---------- .../VcardTempIQHandlerTestCase.java | 56 ++-- .../InBandRegistrationHandlerTestCase.java | 287 +++++++++++---------- .../XmppPingIQHandlerTestCase.java | 79 +++--- .../DbVerifyHandlerTestCase.java | 16 +- .../roster/handler/RosterIQHandlerTestCase.java | 7 +- .../protocol/AbstractProtocolStateTestCase.java | 2 +- .../xmpp/protocol/CallTestStanzaHandler.java | 5 +- .../protocol/CallTestStanzaHandlerResponse.java | 12 +- .../protocol/ProtocolWorkerProcessTestCase.java | 2 +- .../ProtocolWorkerStateAwarenessTestCase.java | 5 +- .../xmpp/protocol/RecordingStanzaBroker.java} | 61 ++--- .../vysper/xmpp/server/TestSessionContext.java | 9 +- .../ComponentStanzaProcessorTestCase.java | 56 ++-- .../xmpp/server/s2s/FeaturesHandlerTestCase.java | 27 +- .../xmpp/server/s2s/TlsProceedHandlerTestCase.java | 28 +- .../xep0045_muc/AbstractDiscoTestCase.java | 14 +- .../AbstractMUCOccupantDiscoTestCase.java | 13 +- .../xep0045_muc/RecordingStanzaBroker.java} | 65 ++--- .../extension/xep0045_muc/TestSessionContext.java | 11 +- .../handler/AbstractMUCHandlerTestCase.java | 13 +- .../handler/AbstractMUCMessageHandlerTestCase.java | 14 +- .../xep0045_muc/handler/ChangeNickTestCase.java | 15 +- .../xep0045_muc/handler/ChangeStatusTestCase.java | 13 +- .../xep0045_muc/handler/EnterRoomTestCase.java | 13 +- .../xep0045_muc/handler/ExitRoomTestCase.java | 14 +- .../handler/PubSubPublishHandler.java | 28 +- .../org/apache/vysper/RecordingStanzaBroker.java} | 69 +++-- .../AbstractPublishSubscribeTestCase.java | 10 +- .../xep0060_pubsub/TestSessionContext.java | 11 +- .../disco/PubSubDiscoInfoTestCase.java | 38 +-- .../disco/PubSubDiscoItemsTestCase.java | 25 +- .../handler/PubSubCreateNodeTestCase.java | 13 +- .../handler/PubSubPublishTestCase.java | 32 ++- .../PubSubRetrieveAffiliationsTestCase.java | 12 +- .../PubSubRetrieveSubscriptionsTestCase.java | 19 +- .../handler/PubSubSubscribeTestCase.java | 39 ++- .../handler/PubSubUnsubscribeTestCase.java | 58 ++--- .../handler/owner/PubSubDeleteNodeTestCase.java | 23 +- .../PubSubOwnerModifyAffiliationsTestCase.java | 41 ++- .../PubSubOwnerRetrieveAffiliationsTestCase.java | 23 +- 105 files changed, 1449 insertions(+), 1789 deletions(-) delete mode 100644 server/core/src/main/java/org/apache/vysper/spring/AddUserHelper.java delete mode 100644 server/core/src/main/java/org/apache/vysper/spring/ResourceBasedTLSContextFactory.java delete mode 100644 server/core/src/main/java/org/apache/vysper/spring/ServerMain.java delete mode 100644 server/core/src/main/java/org/apache/vysper/spring/SpringCompatibleDefaultServerRuntimeContext.java delete mode 100644 server/core/src/main/java/org/apache/vysper/spring/SpringCompatibleXMPPServer.java copy server/core/src/main/java/org/apache/vysper/xmpp/{server/ComponentStanzaProcessorFactory.java => protocol/SimpleStanzaHandlerExecutor.java} (55%) copy server/core/src/main/java/org/apache/vysper/xmpp/{server/ComponentStanzaProcessorFactory.java => protocol/SimpleStanzaHandlerExecutorFactory.java} (74%) copy server/{extensions/xep0313-mam/src/main/java/org/apache/vysper/xmpp/modules/extension/xep0313_mam/query/QueryHandler.java => core/src/main/java/org/apache/vysper/xmpp/protocol/StanzaHandlerExecutor.java} (54%) copy server/core/src/main/java/org/apache/vysper/{event/EventBus.java => xmpp/protocol/StanzaHandlerExecutorFactory.java} (82%) rename server/core/src/main/java/org/apache/vysper/xmpp/server/{ => components}/AlterableComponentRegistry.java (87%) rename server/core/src/main/java/org/apache/vysper/xmpp/server/{ => components}/ComponentRegistry.java (95%) rename server/core/src/main/java/org/apache/vysper/xmpp/server/{ => components}/SimpleComponentRegistry.java (93%) copy server/core/src/{main/java/org/apache/vysper/xmpp/protocol/SimpleStanzaBroker.java => test/java/org/apache/vysper/xmpp/protocol/RecordingStanzaBroker.java} (52%) copy server/{core/src/main/java/org/apache/vysper/xmpp/protocol/SimpleStanzaBroker.java => extensions/xep0045-muc/src/test/java/org/apache/vysper/xmpp/modules/extension/xep0045_muc/RecordingStanzaBroker.java} (51%) copy server/{core/src/main/java/org/apache/vysper/xmpp/protocol/SimpleStanzaBroker.java => extensions/xep0060-pubsub/src/test/java/org/apache/vysper/RecordingStanzaBroker.java} (54%)