server/core/src/main/java/org/apache/vysper/xmpp/modules/core/im/handler/PresenceAvailabilityHandler.java (11 lines):
- line 94: // TODO: either use the resource associated with the session
- line 176: // TODO check if we do have to do something about resource priority
- line 187: // TODO (for pres updates): ...and last presence stanza received from the
- line 228: // TODO return error stanza
- line 248: // TODO in case of !isPresenceUpdate, should we check for resourceState !=
- line 289: // TODO: ...and user is not blocking outbound presence notifications above
- line 290: // TODO (for pres updates): ...and last presence stanza received from the
- line 316: // TODO: ...and jid is not blocking inbound presence notification
- line 317: // TODO: optimize: don't send server-local probes when contact's presence is
- line 398: * TODO I don't think this works particulary good.
- line 456: // TODO ?check if user has blocked contact?
server/core/src/main/java/org/apache/vysper/xmpp/modules/core/im/handler/PresenceSubscriptionHandler.java (8 lines):
- line 61: * TODO: review all the printStackTraces and throws and turn them into logs or
- line 80: // TODO: either use the resource associated with the session
- line 206: // TODO do this only once, since inbound is multiplexed on
- line 309: // TODO do this only once, since inbound is multiplexed on
- line 418: * TODO this handling method should be optimized to be processed only once for
- line 449: // TODO do this only once, since inbound is multiplexed on
- line 502: // TODO check if user has blocked contact
- line 519: // TODO schedule a observer which can re-send the request
server/core/src/main/java/org/apache/vysper/xmpp/delivery/inbound/DeliveringInternalInboundStanzaRelay.java (8 lines):
- line 259: // TODO throw relayResult.getProcessingError() in some appropriate context
- line 334: // TODO handle on behalf of the user/client
- line 349: // TODO cannot deliver presence with type AVAIL or UNAVAIL: silently ignore
- line 350: // TODO cannot deliver presence with type SUBSCRIBE: see 3921bis section 3.1.3
- line 351: // TODO cannot deliver presence with type (UN)SUBSCRIBED, UNSUBSCRIBE: silently
- line 360: // TODO cannot deliver ERROR: silently ignore
- line 361: // TODO cannot deliver GROUPCHAT: service n/a
- line 365: // TODO no resource matches: service n/a
server/core/src/main/java/org/apache/vysper/xmpp/server/AbstractSessionContext.java (5 lines):
- line 127: // TODO think about disallow changing the xmlLang a second time after from
- line 150: // TODO find a solution for informing the contacts without breaking test cases
- line 161: // TODO close underlying transport (TCP socket)
- line 170: // TODO we should impose a hard limit on the number of bound resources per
- line 172: // TODO to avoid DoS attacks based on resource binding and to shield against
server/core/src/main/java/org/apache/vysper/xmpp/delivery/StanzaRelayBroker.java (4 lines):
- line 83: // TODO handle by server
- line 85: // TODO if received from another server 'to' MUST be set
- line 86: // TODO if received from another server with no 'to', broadcast to subscribed entities
- line 87: // TODO if received /get/set with no 'to', see 3920bis#11.1.4
server/core/src/main/java/org/apache/vysper/xmpp/modules/core/base/handler/StreamStartHandler.java (4 lines):
- line 71: // TODO is it better to derive c2s or s2s from the type of endpoint and verify
- line 145: // TODO check if toEntity is served by this server
- line 148: // TODO RFC3920: 'from' attribute SHOULD be silently ignored by the receiving
- line 150: // TODO RFC3920bis: 'from' attribute SHOULD be not ignored by the receiving
server/core/src/main/java/org/apache/vysper/xmpp/modules/servicediscovery/handler/DiscoInfoIQHandler.java (3 lines):
- line 74: // TODO if the target entity does not exist, return error/cancel/item-not-found
- line 75: // TODO more strictly, server can also return error/cancel/service-unavailable
- line 149: // TODO check that elementSet contains at least one identity element and on
server/extensions/xep0045-muc/src/main/java/org/apache/vysper/xmpp/modules/extension/xep0045_muc/handler/MUCPresenceHandler.java (3 lines):
- line 99: // TODO handle null
- line 161: // TODO what to use for the room name?
- line 313: // TODO replace with use of X
nbxml/src/main/java/org/apache/vysper/xml/fragment/XMLElement.java (2 lines):
- line 95: // TODO add additional char ranges
- line 338: // TODO the namespace prefix should not matter for equality, only the URI
server/storage/jcr/src/main/java/org/apache/vysper/storage/jcr/roster/JcrRosterManager.java (2 lines):
- line 132: // TODO read groups
- line 164: // TODO think about concurrent updates
server/core/src/main/java/org/apache/vysper/xmpp/modules/core/base/handler/MessageHandler.java (2 lines):
- line 97: // TODO inspect all BODY elements and make sure they conform to the spec
- line 132: // TODO return error stanza
server/core/src/main/java/org/apache/vysper/xmpp/protocol/ProtocolWorker.java (2 lines):
- line 140: // TODO what's the appropriate error? StreamErrorCondition.IMPROPER_ADDRESSING?
- line 146: // TODO what's the appropriate error? StreamErrorCondition.IMPROPER_ADDRESSING?
nbxml/src/main/java/org/apache/vysper/xml/decoder/XMPPContentHandler.java (2 lines):
- line 43: // TODO change into StanzaBuilder when moved into core
- line 70: // TODO handle start and length
server/core/src/main/java/org/apache/vysper/xmpp/delivery/failure/ReturnErrorToSenderFailureStrategy.java (2 lines):
- line 89: // TODO implement 8.2.3 here
- line 105: // TODO what happens with PROBE? 8.1 is silent here, but see 4.3
server/extensions/xep0060-pubsub/src/main/java/org/apache/vysper/xmpp/modules/extension/xep0060_pubsub/handler/owner/PubSubOwnerManageAffiliationsHandler.java (2 lines):
- line 154: return Collections.singletonList(errorStanzaGenerator.generateJIDMalformedErrorStanza(serverJID, sender, stanza)); // TODO not defined in the standard(?)
- line 164: return Collections.singletonList(errorStanzaGenerator.generateBadRequestErrorStanza(serverJID, sender, stanza)); // TODO not defined in the standard(?)
nbxml/src/main/java/org/apache/vysper/xml/fragment/AbstractXMLElementBuilder.java (2 lines):
- line 31: * TODO For now, this is mostly a copy of StanzaBuilder. Both classes needs to be refactored.
- line 94: // TODO assert that name does not contain namespace (":")
server/extensions/xep0060-pubsub/src/main/java/org/apache/vysper/xmpp/modules/extension/xep0060_pubsub/SubscriberPayloadNotificationVisitor.java (2 lines):
- line 83: Stanza event = createMessageEventStanza(nodeName, subscriber, "en", item); // TODO extract the hardcoded "en"
- line 90: // TODO we don't care - do we?
server/storage/jcr/src/main/java/org/apache/vysper/storage/jcr/user/JcrUserManagement.java (2 lines):
- line 101: // TODO remove account?
- line 114: // TODO remove account?
server/extensions/xep0045-muc/src/main/java/org/apache/vysper/xmpp/modules/extension/xep0045_muc/model/Room.java (2 lines):
- line 152: // TODO throw a domain specific exception
- line 252: // TODO is this the right way to determine if the room is private?
server/extensions/xep0045-muc/src/main/java/org/apache/vysper/xmpp/modules/extension/xep0045_muc/handler/MUCIqAdminHandler.java (2 lines):
- line 378: // TODO handle
- line 379: // TODO handle
server/extensions/xep0124-xep0206-bosh/src/main/java/org/apache/vysper/xmpp/extension/xep0124/BoshHandler.java (2 lines):
- line 124: // TODO handle properly by returning an error response
- line 129: // TODO handle properly by returning an error response
nbxml/src/main/java/org/apache/vysper/xml/fragment/XMLElementBuilder.java (1 line):
- line 27: * TODO For now, this is mostly a copy of StanzaBuilder. Both classes needs to be refactored.
server/extensions/xep0045-muc/src/main/java/org/apache/vysper/xmpp/modules/extension/xep0045_muc/model/Affiliations.java (1 line):
- line 38: // TODO should be loaded from the storage provider
server/core/src/main/java/org/apache/vysper/xmpp/uuid/JVMBuiltinUUIDGenerator.java (1 line):
- line 33: // TODO is this random enough?
server/core/src/main/java/org/apache/vysper/xmpp/authentication/Plain.java (1 line):
- line 59: // TODO assure, that connection is secured via TLS. if not, reject SASL PLAIN
server/core/src/main/java/org/apache/vysper/xmpp/modules/roster/RosterSubscriptionMutator.java (1 line):
- line 134: return FAILED; // TODO think about return value
server/core/src/main/java/org/apache/vysper/xmpp/modules/roster/RosterUtils.java (1 line):
- line 71: // TODO: make this errorhandling more intelligent
server/extensions/xep0124-xep0206-bosh/src/main/java/org/apache/vysper/xmpp/extension/xep0124/BoshSaxContentHandler.java (1 line):
- line 68: // TODO handle start and length
server/extensions/websockets/src/main/java/org/apache/vysper/xmpp/extension/websockets/TomcatXmppWebSocketServlet.java (1 line):
- line 110: // TODO subProtocol is always null on Tomcat 7.0.27, reactivate check when fixed
server/extensions/xep0313-mam/src/main/java/org/apache/vysper/xmpp/modules/extension/xep0313_mam/user/UserMessageStanzaBroker.java (1 line):
- line 91: // TODO Check preferences
server/core/src/main/java/org/apache/vysper/xmpp/modules/core/base/handler/async/RunnableFuture.java (1 line):
- line 25: * TODO: change to java.concurrent.RunnableFuture, when this code base changes from Java 1.5 to at least
server/core/src/main/java/org/apache/vysper/xmpp/server/DefaultServerRuntimeContext.java (1 line):
- line 209: return "en"; // TODO must be configurable as of RFC3920
server/core/src/main/java/org/apache/vysper/xmpp/modules/core/base/handler/RelayingIQHandler.java (1 line):
- line 93: // TODO how to handle this exception?
server/core/src/main/java/org/apache/vysper/xmpp/protocol/worker/AbstractStateAwareProtocolWorker.java (1 line):
- line 54: return; // TODO close stream?
server/core/src/main/java/org/apache/vysper/xmpp/modules/core/base/handler/XMLPrologHandler.java (1 line):
- line 56: // TODO check version attribute and other attributes
server/extensions/xep0124-xep0206-bosh/src/main/java/org/apache/vysper/xmpp/extension/xep0124/BoshBackedSessionContext.java (1 line):
- line 235: // TODO do not silently drop this stanza
nbxml/src/main/java/org/apache/vysper/xml/decoder/DocumentContentHandler.java (1 line):
- line 62: // TODO handle start and length
server/core/src/main/java/org/apache/vysper/xmpp/delivery/StanzaReceiverRelay.java (1 line):
- line 77: // TODO needs return here?
server/core/src/main/java/org/apache/vysper/xmpp/writer/DenseStanzaLogRenderer.java (1 line):
- line 121: // TODO render inner elements in case of result etc.
server/core/src/main/java/org/apache/vysper/xmpp/server/components/ComponentStanzaProcessor.java (1 line):
- line 74: // TODO handle
server/core/src/main/java/org/apache/vysper/xmpp/addressing/stringprep/StringPrep.java (1 line):
- line 72: // TODO: 2. normalize -> RFC3454:4
server/extensions/xep0313-mam/src/main/java/org/apache/vysper/xmpp/modules/extension/xep0313_mam/muc/MUCMessageStanzaBroker.java (1 line):
- line 61: // TODO archive
nbxml/src/main/java/org/apache/vysper/xml/sax/impl/DefaultNonBlockingXMLReader.java (1 line):
- line 93: // TODO make configurable features and values easier to manage
server/core/src/main/java/org/apache/vysper/xmpp/modules/core/base/handler/async/AbstractAsyncIQGetHandler.java (1 line):
- line 66: case SET: // TODO make 'set'-IQs async'able, too.
server/extensions/xep0045-muc/src/main/java/org/apache/vysper/xmpp/modules/extension/xep0045_muc/handler/MUCMessageHandler.java (1 line):
- line 202: // TODO correct error?
server/extensions/xep0313-mam/src/main/java/org/apache/vysper/xmpp/modules/extension/xep0313_mam/interceptor/MAMStanzaHandlerInterceptor.java (1 line):
- line 49: // TODO add pubsub
server/core/src/main/java/org/apache/vysper/xmpp/addressing/Entity.java (1 line):
- line 48: // TODO add unit tests for all implementors
server/extensions/websockets/src/main/java/org/apache/vysper/xmpp/extension/websockets/WebSocketBackedSessionContext.java (1 line):
- line 171: // TODO how to handle?
server/core/src/main/java/org/apache/vysper/xmpp/state/presence/SimplePresenceCache.java (1 line):
- line 53: // TODO this is naive and not optimized. the whole key set is traversed every time
server/core/src/main/java/org/apache/vysper/xmpp/modules/core/base/handler/XMPPCoreStanzaHandler.java (1 line):
- line 117: // TODO ensure, that RFC3920 9.1.1 "If the value of the 'to' attribute is
server/extensions/xep0065-socks/src/main/java/org/apache/vysper/xmpp/extension/xep0065_socks/Socks5AcceptorHandler.java (1 line):
- line 127: // TODO charset?
server/core/src/main/java/org/apache/vysper/xmpp/modules/Module.java (1 line):
- line 43: * TODO: think about returning the supported XEPs
server/core/src/main/java/org/apache/vysper/xmpp/delivery/inbound/DeliveringExternalInboundStanzaRelay.java (1 line):
- line 196: // TODO throw relayResult.getProcessingError() in some appropriate context
nbxml/src/main/java/org/apache/vysper/xml/fragment/ResolverNamespaceResolver.java (1 line):
- line 144: // TODO replace with prefix generation
server/core/src/main/java/org/apache/vysper/xmpp/server/response/ServerErrorResponses.java (1 line):
- line 77: * TODO move to a more general error handling
server/core/src/main/config/spring-config.xml (1 line):
- line 72:
server/core/src/main/java/org/apache/vysper/xmpp/protocol/QueuedStanzaProcessor.java (1 line):
- line 34: * TODO: make thread pool configuration managable
server/core/src/main/java/org/apache/vysper/xmpp/server/s2s/FeaturesHandler.java (1 line):
- line 86: // TODO how to handle
server/extensions/xep0045-muc/src/main/java/org/apache/vysper/xmpp/modules/extension/xep0045_muc/stanzas/History.java (1 line):
- line 111: // TODO handle IllegalArgumentException
server/core/src/main/java/org/apache/vysper/xmpp/server/s2s/DefaultXMPPServerConnectorRegistry.java (1 line):
- line 82: // TODO start async, because we are in a synchronized method
server/core/src/main/java/org/apache/vysper/mina/XmppIoHandlerAdapter.java (1 line):
- line 96: // TODO implement
server/core/src/main/java/org/apache/vysper/xmpp/modules/core/sasl/handler/AbortHandler.java (1 line):
- line 47: // TODO do more clean-ups as mechanism requires.
server/core/src/main/java/org/apache/vysper/xmpp/modules/extension/xep0160_offline_storage/MemoryOfflineStorageProvider.java (1 line):
- line 83: // TODO add timestamp to messages
nbxml/src/main/java/org/apache/vysper/xml/sax/impl/XMLParser.java (1 line):
- line 343: // TODO could also be a PI, if we want to support PIs, this code needs further attention
nbxml/src/main/java/org/apache/vysper/xml/fragment/XMLElementVerifier.java (1 line):
- line 33: * TODO add unit test
server/core/src/main/java/org/apache/vysper/xmpp/delivery/OfflineStanzaReceiver.java (1 line):
- line 27: * TODO: this is more or less a placeholder interface currently.