├── .build ├── dependencies.props ├── info.props ├── sign.props └── version.props ├── .gitignore ├── .vscode ├── launch.json └── tasks.json ├── COPYING ├── COPYING .gpl ├── COPYING.thirdparty ├── MatriX-vNext.sln ├── README.md ├── UpdateAssemblyVersion.ps1 ├── build.cake ├── build.ps1 ├── build.sh ├── docs └── ReadMe.md ├── examples ├── ConsoleClient │ ├── ConsoleClient.csproj │ ├── MucManager.cs │ ├── MyLoggingHandler.cs │ ├── Program.cs │ └── VersionHandler.cs └── Server │ ├── ExampleHelper.cs │ ├── Handlers │ ├── BindHandler.cs │ ├── RosterHandler.cs │ ├── SaslPlainHandler.cs │ ├── SaslScramHelper.cs │ ├── ServerConnectionHandler.cs │ ├── SessionHandler.cs │ └── StartTlsHandler.cs │ ├── ICertificateProvider.cs │ ├── IStreamFeature.cs │ ├── PfxCertificateProvider.cs │ ├── Program.cs │ ├── Server.csproj │ ├── Server.xproj.DotSettings │ ├── ServerSettings.cs │ ├── appsettings.json │ └── dotnetty.com.pfx ├── matrix.snk ├── src ├── Directory.Build.props ├── Matrix.Extensions │ ├── Client │ │ ├── Disco │ │ │ ├── DiscoBuilder.cs │ │ │ └── DiscoExtensions.cs │ │ ├── Message │ │ │ └── MessageExtensions.cs │ │ ├── Presence │ │ │ └── PresenceExtensions.cs │ │ ├── PubSub │ │ │ ├── PubSubBuilder.cs │ │ │ └── PubSubExtensions.cs │ │ ├── Roster │ │ │ ├── RosterBuilder.cs │ │ │ └── RosterExtensions.cs │ │ ├── Subscription │ │ │ └── SubscriptionExtensions.cs │ │ └── XmppClientStanzaHandler.cs │ └── Matrix.Extensions.csproj ├── Matrix.Srv │ ├── Matrix.Srv.csproj │ └── SrvNameResolver.cs └── Matrix │ ├── Attributes │ ├── NameAttribute.cs │ └── XmppTagAttribute.cs │ ├── AuthenticationException.cs │ ├── BareJidComparer.cs │ ├── BindException.cs │ ├── ByteExtensions.cs │ ├── CompressionException.cs │ ├── Configuration │ └── ClientConfiguration.cs │ ├── Contract.cs │ ├── Crypt │ ├── Hash.cs │ ├── HashAlgorithms.cs │ └── Randoms.cs │ ├── DistinctBehaviorSubject.cs │ ├── DotNettyExtensions.cs │ ├── Enum.cs │ ├── EnumExtensions.cs │ ├── ExponentialBackoff.cs │ ├── FullJidComparer.cs │ ├── IClientIqSender.cs │ ├── IO │ └── Compression │ │ ├── Checksums │ │ ├── Adler32.cs │ │ └── IChecksum.cs │ │ ├── CompressionHelper.cs │ │ ├── Deflater.cs │ │ ├── DeflaterConstants.cs │ │ ├── DeflaterEngine.cs │ │ ├── DeflaterHuffman.cs │ │ ├── DeflaterPending.cs │ │ ├── Inflater.cs │ │ ├── InflaterDynHeader.cs │ │ ├── InflaterHuffmanTree.cs │ │ ├── LICENSE.txt │ │ ├── PendingBuffer.cs │ │ ├── SharpZipBaseException.cs │ │ └── Streams │ │ ├── OutputWindow.cs │ │ └── StreamManipulator.cs │ ├── IRegister.cs │ ├── ISession.cs │ ├── IStanzaSender.cs │ ├── Id.cs │ ├── IdType.cs │ ├── Idn │ ├── CombiningClass.cs │ ├── Composition.cs │ ├── DecompositionKeys.cs │ ├── DecompositionMappings.cs │ ├── NFKC.cs │ ├── RFC3454.cs │ ├── StringPrep.cs │ └── StringPrepException.cs │ ├── IntegerExtensions.cs │ ├── Jid.cs │ ├── Matrix.csproj │ ├── Network │ ├── AlwaysAcceptCertificateValidator.cs │ ├── Codecs │ │ ├── IActive.cs │ │ ├── UTF8StringEncoder.cs │ │ ├── XmlStreamDecoder.cs │ │ ├── XmlStreamEvent.cs │ │ ├── XmlStreamEventType.cs │ │ ├── XmppXElementEncoder.cs │ │ ├── ZlibDecoder.cs │ │ └── ZlibEncoder.cs │ ├── DefaultCertificateValidator.cs │ ├── DefaultClientTlsHandlerProvider.cs │ ├── DefaultClientTlsSettingsProvider.cs │ ├── Handlers │ │ ├── CatchAllXmppStanzaHandler.cs │ │ ├── DisconnectHandler.cs │ │ ├── KeepAliveHandler.cs │ │ ├── ReconnectHandler.cs │ │ ├── StanzaCounter.cs │ │ ├── StreamFooterHandler.cs │ │ ├── StreamManagementHandler.cs │ │ ├── XmppLoggingHandler.cs │ │ ├── XmppPingHandler.cs │ │ ├── XmppStanzaHandler.cs │ │ └── XmppStreamEventHandler.cs │ ├── ICertificateValidator.cs │ ├── IDirectTls.cs │ ├── ITlsHandlerProvider.cs │ ├── ITlsSettingsProvider.cs │ └── Resolver │ │ ├── NameResolver.cs │ │ └── StaticNameResolver.cs │ ├── ObjectExtensions.cs │ ├── RegisterException.cs │ ├── Sasl │ ├── Anonymous │ │ └── AnonymousProcessor.cs │ ├── CiscoVtgToken │ │ └── CiscoVtgTokenProcessor.cs │ ├── DefaultSaslHandler.cs │ ├── Digest │ │ ├── DigestMd5Processor.cs │ │ ├── Step1.cs │ │ └── Step2.cs │ ├── IAuthenticate.cs │ ├── ISaslProcessor.cs │ ├── Plain │ │ └── PlainProcessor.cs │ ├── SaslException.cs │ ├── Scram │ │ ├── ScramHelper.cs │ │ └── ScramSha1Processor.cs │ └── WebexToken │ │ └── WebexTokenProcessor.cs │ ├── SessionEvent.cs │ ├── SessionState.cs │ ├── StreamErrorException.cs │ ├── StreamManagementAckRequestException.cs │ ├── StreamManagementException.cs │ ├── TaskExtensions.cs │ ├── Time.cs │ ├── TimeConstants.cs │ ├── Xml │ ├── Extensions.cs │ ├── Factory.cs │ ├── Parser │ │ ├── ByteBuffer.cs │ │ ├── NamespaceStack.cs │ │ └── StreamParser.cs │ └── XmppXElement.cs │ ├── Xmpp │ ├── AdHocCommands │ │ ├── Action.cs │ │ ├── Actions.cs │ │ ├── Command.cs │ │ ├── Note.cs │ │ ├── NoteType.cs │ │ └── Status.cs │ ├── AdvancedMessageProcessing │ │ ├── Action.cs │ │ ├── Amp.cs │ │ ├── Condition.cs │ │ ├── InvalidRules.cs │ │ ├── Rule.cs │ │ ├── UnsupportedActions.cs │ │ └── UnsupportedConditions.cs │ ├── Attention │ │ └── Attention.cs │ ├── Auth │ │ └── Auth.cs │ ├── Avatar │ │ ├── Data.cs │ │ ├── Info.cs │ │ └── Metadata.cs │ ├── Base │ │ ├── Affiliation.cs │ │ ├── Affiliations.cs │ │ ├── Error.cs │ │ ├── ErrorCondition.cs │ │ ├── ErrorType.cs │ │ ├── Group.cs │ │ ├── Iq.cs │ │ ├── Item.cs │ │ ├── Message.cs │ │ ├── Presence.cs │ │ ├── RosterItem.cs │ │ ├── Sasl.cs │ │ ├── Stream.cs │ │ ├── Subscription.cs │ │ ├── Subscriptions.cs │ │ ├── XmppXElementWithAddress.cs │ │ ├── XmppXElementWithAddressAndId.cs │ │ ├── XmppXElementWithAddressAndIdAndVersion.cs │ │ ├── XmppXElementWithAddressAndIdAttribute.cs │ │ ├── XmppXElementWithAddressAndIdAttributeAndItemCollection.cs │ │ ├── XmppXElementWithBased64Value.cs │ │ ├── XmppXElementWithIdAttribute.cs │ │ ├── XmppXElementWithItemCollection.cs │ │ ├── XmppXElementWithJidAttribute.cs │ │ ├── XmppXElementWithNameAttribute.cs │ │ ├── XmppXElementWithResultSet.cs │ │ ├── XmppXElementWithResultSetAndXData.cs │ │ ├── XmppXElementWithResultSetAndXDataAndItemCollection.cs │ │ ├── XmppXElementWithRules.cs │ │ └── XmppXElementWithXData.cs │ ├── Bind │ │ └── Bind.cs │ ├── Blocking │ │ ├── Block.cs │ │ ├── BlockBase.cs │ │ ├── Blocklist.cs │ │ ├── Item.cs │ │ └── Unblock.cs │ ├── Bookmarks │ │ ├── Conference.cs │ │ └── Storage.cs │ ├── Bosh │ │ ├── Body.cs │ │ ├── Condition.cs │ │ └── Type.cs │ ├── Bytestreams │ │ ├── Activate.cs │ │ ├── Bytestream.cs │ │ ├── Mode.cs │ │ ├── Streamhost.cs │ │ └── StreamhostUsed.cs │ ├── Capabilities │ │ └── Caps.cs │ ├── ChatStates │ │ ├── Active.cs │ │ ├── Chatstate.cs │ │ ├── Composing.cs │ │ ├── Gone.cs │ │ ├── Inactive.cs │ │ └── Paused.cs │ ├── Client │ │ ├── AuthIq.cs │ │ ├── BindIq.cs │ │ ├── BookmarkStorageIq.cs │ │ ├── BytestreamIq.cs │ │ ├── DiscoInfoIq.cs │ │ ├── DiscoItemsIq.cs │ │ ├── Error.cs │ │ ├── Iq.cs │ │ ├── IqQuery.cs │ │ ├── JingleIq.cs │ │ ├── LastIq.cs │ │ ├── Message.cs │ │ ├── OobIq.cs │ │ ├── PingIq.cs │ │ ├── Presence.cs │ │ ├── PrivacyIq.cs │ │ ├── PrivateIq.cs │ │ ├── PubSubIq.cs │ │ ├── PubSubOwnerIq.cs │ │ ├── RegisterIq.cs │ │ ├── RosterIq.cs │ │ ├── RpcIq.cs │ │ ├── SearchIq.cs │ │ ├── SessionIq.cs │ │ ├── Stream.cs │ │ ├── TimeIq.cs │ │ ├── VcardIq.cs │ │ └── VersionIq.cs │ ├── Component │ │ ├── Error.cs │ │ ├── Handshake.cs │ │ ├── Iq.cs │ │ ├── IqQuery.cs │ │ ├── Message.cs │ │ ├── PingIq.cs │ │ ├── Presence.cs │ │ └── Stream.cs │ ├── Compression │ │ ├── Compresed.cs │ │ ├── Compress.cs │ │ ├── Compression.cs │ │ ├── Failure.cs │ │ ├── FailureCondition.cs │ │ ├── Features │ │ │ └── Method.cs │ │ ├── Method.cs │ │ └── Methods.cs │ ├── Delay │ │ ├── Delay.cs │ │ └── XDelay.cs │ ├── Dialback │ │ ├── Verify.cs │ │ └── VerifyType.cs │ ├── Disco │ │ ├── Feature.cs │ │ ├── Identity.cs │ │ ├── Info.cs │ │ ├── Item.cs │ │ └── Items.cs │ ├── ExtendedStanzaAddressing │ │ ├── Address.cs │ │ ├── Addresses.cs │ │ └── Type.cs │ ├── FeatureNegotiation │ │ └── Feature.cs │ ├── Framing │ │ ├── Close.cs │ │ └── Open.cs │ ├── GeoLoc │ │ └── GeoLoc.cs │ ├── Google │ │ ├── Mobile │ │ │ └── Gcm.cs │ │ └── Push │ │ │ ├── Data.cs │ │ │ ├── Item.cs │ │ │ ├── Recipient.cs │ │ │ └── Subscribe.cs │ ├── HttpUpload │ │ ├── Get.cs │ │ ├── Header.cs │ │ ├── HeaderNames.cs │ │ ├── Put.cs │ │ ├── Request.cs │ │ └── Slot.cs │ ├── IBB │ │ ├── Close.cs │ │ ├── Data.cs │ │ ├── Open.cs │ │ └── StanzaType.cs │ ├── IqType.cs │ ├── Jingle │ │ ├── Action.cs │ │ ├── AlternativeSession.cs │ │ ├── Apps │ │ │ └── Rtp │ │ │ │ ├── Description.cs │ │ │ │ └── PayloadType.cs │ │ ├── CandidateType.cs │ │ ├── Candidates │ │ │ ├── CandidateIceUdp.cs │ │ │ └── CandidateRawUdp.cs │ │ ├── Condition.cs │ │ ├── Content.cs │ │ ├── Creator.cs │ │ ├── Disposition.cs │ │ ├── Jingle.cs │ │ ├── Media.cs │ │ ├── Protocol.cs │ │ ├── Reason.cs │ │ ├── Senders.cs │ │ └── Transports │ │ │ ├── TransportIbb.cs │ │ │ ├── TransportIceUdp.cs │ │ │ └── TransportRawUdp.cs │ ├── Last │ │ └── Last.cs │ ├── LastMessageCorrection │ │ └── Replace.cs │ ├── MessageArchiveManagement │ │ ├── Always.cs │ │ ├── DefaultPreference.cs │ │ ├── Final.cs │ │ ├── Jid.cs │ │ ├── MessageArchive.cs │ │ ├── Never.cs │ │ ├── PolicyBase.cs │ │ ├── Preferences.cs │ │ └── Result.cs │ ├── MessageArchiving │ │ ├── ArchiveBase.cs │ │ ├── ArchiveEvent.cs │ │ ├── ArchiveItem.cs │ │ ├── Auto.cs │ │ ├── Changed.cs │ │ ├── Chat.cs │ │ ├── Default.cs │ │ ├── From.cs │ │ ├── Item.cs │ │ ├── ItemRemove.cs │ │ ├── Link.cs │ │ ├── List.cs │ │ ├── MessageItem.cs │ │ ├── Method.cs │ │ ├── MethodType.cs │ │ ├── Modified.cs │ │ ├── Next.cs │ │ ├── Note.cs │ │ ├── OtrType.cs │ │ ├── Preferences.cs │ │ ├── Previous.cs │ │ ├── Remove.cs │ │ ├── Removed.cs │ │ ├── Retrieve.cs │ │ ├── Save.cs │ │ ├── SaveType.cs │ │ ├── Session.cs │ │ ├── To.cs │ │ └── UseType.cs │ ├── MessageCarbons │ │ ├── CarbonBase.cs │ │ ├── Disable.cs │ │ ├── Enable.cs │ │ ├── ForwardContainer.cs │ │ ├── Forwarded.cs │ │ ├── Private.cs │ │ ├── Received.cs │ │ └── Sent.cs │ ├── MessageEvents │ │ ├── Event.cs │ │ └── EventType.cs │ ├── MessageType.cs │ ├── Mood │ │ ├── Mood.cs │ │ └── Moods.cs │ ├── Muc │ │ ├── Admin │ │ │ ├── AdminIq.cs │ │ │ ├── AdminQuery.cs │ │ │ └── Item.cs │ │ ├── Affiliation.cs │ │ ├── Conference.cs │ │ ├── History.cs │ │ ├── Item.cs │ │ ├── Owner │ │ │ ├── Destroy.cs │ │ │ ├── OwnerIq.cs │ │ │ └── OwnerQuery.cs │ │ ├── Role.cs │ │ ├── User │ │ │ ├── Actor.cs │ │ │ ├── Continue.cs │ │ │ ├── Decline.cs │ │ │ ├── Destroy.cs │ │ │ ├── Invite.cs │ │ │ ├── Item.cs │ │ │ ├── Status.cs │ │ │ ├── StatusCode.cs │ │ │ └── X.cs │ │ └── X.cs │ ├── Namespaces.cs │ ├── Nickname │ │ └── Nick.cs │ ├── Oob │ │ ├── Oob.cs │ │ └── XOob.cs │ ├── Ping │ │ └── Ping.cs │ ├── PresenceType.cs │ ├── Privacy │ │ ├── Action.cs │ │ ├── Active.cs │ │ ├── Default.cs │ │ ├── Item.cs │ │ ├── List.cs │ │ ├── Privacy.cs │ │ ├── Stanza.cs │ │ └── Type.cs │ ├── Private │ │ └── Private.cs │ ├── PubSub │ │ ├── Affiliation.cs │ │ ├── AffiliationType.cs │ │ ├── Affiliations.cs │ │ ├── Configure.cs │ │ ├── Create.cs │ │ ├── Delete.cs │ │ ├── Event │ │ │ ├── Associate.cs │ │ │ ├── Collection.cs │ │ │ ├── Configuration.cs │ │ │ ├── Delete.cs │ │ │ ├── Disassociate.cs │ │ │ ├── Event.cs │ │ │ ├── Item.cs │ │ │ ├── Items.cs │ │ │ ├── PubSubEventType.cs │ │ │ ├── Purge.cs │ │ │ ├── Retract.cs │ │ │ └── Subscription.cs │ │ ├── Item.cs │ │ ├── Items.cs │ │ ├── Options.cs │ │ ├── Owner │ │ │ ├── Affiliation.cs │ │ │ ├── Affiliations.cs │ │ │ ├── Configure.cs │ │ │ ├── Delete.cs │ │ │ ├── Pubsub.cs │ │ │ ├── PubsubOwnerType.cs │ │ │ ├── Purge.cs │ │ │ ├── Subscription.cs │ │ │ └── Subscriptions.cs │ │ ├── PubSub.cs │ │ ├── Publish.cs │ │ ├── Purge.cs │ │ ├── Retract.cs │ │ ├── Subscribe.cs │ │ ├── SubscribeOptions.cs │ │ ├── Subscription.cs │ │ ├── SubscriptionState.cs │ │ ├── Subscriptions.cs │ │ └── Unsubscribe.cs │ ├── Receipts │ │ ├── Received.cs │ │ └── Request.cs │ ├── Register │ │ └── Register.cs │ ├── ResultSetManagement │ │ ├── First.cs │ │ └── Set.cs │ ├── Roster │ │ ├── Ask.cs │ │ ├── Roster.cs │ │ ├── RosterItem.cs │ │ └── Subscription.cs │ ├── RosterItemExchange │ │ ├── Action.cs │ │ ├── Exchange.cs │ │ └── RosterExchangeItem.cs │ ├── Rpc │ │ ├── Array.cs │ │ ├── Data.cs │ │ ├── Fault.cs │ │ ├── Member.cs │ │ ├── MethodCall.cs │ │ ├── MethodResponse.cs │ │ ├── Name.cs │ │ ├── Param.cs │ │ ├── Parameters.cs │ │ ├── Params.cs │ │ ├── Rpc.cs │ │ ├── Struct.cs │ │ ├── StructParameter.cs │ │ ├── Value.cs │ │ ├── XML-RPC.htm │ │ ├── XmlRpcBase.cs │ │ ├── XmlRpcException.cs │ │ ├── XmlRpcParser.cs │ │ └── XmlRpcWriter.cs │ ├── Sasl │ │ ├── Auth.cs │ │ ├── Challenge.cs │ │ ├── Failure.cs │ │ ├── FailureCondition.cs │ │ ├── Hostname.cs │ │ ├── Mechanism.cs │ │ ├── Mechanisms.cs │ │ ├── Response.cs │ │ ├── SaslMechanism.cs │ │ └── Success.cs │ ├── Search │ │ ├── Search.cs │ │ └── SearchItem.cs │ ├── SecurityLabels │ │ ├── Catalog.cs │ │ ├── Color.cs │ │ ├── ColorAttribute.cs │ │ ├── DisplayMarking.cs │ │ ├── EquivalentLabel.cs │ │ ├── EssSecurityLabel.cs │ │ ├── Item.cs │ │ ├── Label.cs │ │ └── SecurityLabel.cs │ ├── Server │ │ ├── Error.cs │ │ ├── Iq.cs │ │ ├── IqQuery.cs │ │ ├── Message.cs │ │ ├── PingIq.cs │ │ ├── Presence.cs │ │ └── Stream.cs │ ├── Session │ │ └── Session.cs │ ├── Shim │ │ ├── Header.cs │ │ ├── HeaderNames.cs │ │ └── Headers.cs │ ├── Show.cs │ ├── Stream │ │ ├── Error.cs │ │ ├── ErrorCondition.cs │ │ ├── Errors │ │ │ └── SeeOtherHost.cs │ │ ├── Features │ │ │ ├── Auth.cs │ │ │ ├── Bidi.cs │ │ │ ├── Compression.cs │ │ │ ├── MessageArchiving.cs │ │ │ ├── Register.cs │ │ │ ├── RosterVersioning.cs │ │ │ ├── StreamFeature.cs │ │ │ └── StreamManagement.cs │ │ └── StreamFeatures.cs │ ├── StreamManagement │ │ ├── Ack │ │ │ ├── Answer.cs │ │ │ └── Request.cs │ │ ├── Enable.cs │ │ ├── Enabled.cs │ │ ├── Failed.cs │ │ ├── Resume.cs │ │ └── Resumed.cs │ ├── Tag.cs │ ├── Time │ │ └── Time.cs │ ├── Tls │ │ ├── Proceed.cs │ │ └── StartTls.cs │ ├── Tune │ │ └── Tune.cs │ ├── Vcard │ │ ├── Address.cs │ │ ├── Email.cs │ │ ├── ImageFormat.cs │ │ ├── Photo.cs │ │ ├── Telephone.cs │ │ ├── Update │ │ │ └── X.cs │ │ ├── Vcard.cs │ │ └── Vcard.zip │ ├── Version │ │ └── Version.cs │ ├── XData │ │ ├── Data.cs │ │ ├── Field.cs │ │ ├── FieldContainer.cs │ │ ├── FieldType.cs │ │ ├── FormType.cs │ │ ├── Item.cs │ │ ├── Option.cs │ │ ├── Reported.cs │ │ └── Value.cs │ └── XHtmlIM │ │ ├── Body.cs │ │ ├── Html.cs │ │ ├── XHtmlIMElement.cs │ │ └── XHtmlIMElements.cs │ ├── XmppClient.cs │ ├── XmppConnection.cs │ ├── XmppException.cs │ ├── XmppSessionEvent.cs │ ├── XmppSessionState.cs │ └── XpNet │ ├── ContentToken.cs │ ├── EmptyTokenException.cs │ ├── Encoding.cs │ ├── EndOfPrologException.cs │ ├── InvalidTokenException.cs │ ├── Position.cs │ ├── Readme.md │ ├── Token.cs │ ├── TokenException.cs │ ├── Tokens.cs │ ├── UTF8Encoding.cs │ └── copying.txt ├── test ├── Matrix.Core.Tests │ └── Matrix.Core.Tests.csproj ├── Matrix.Extensions.Tests │ ├── Client │ │ ├── MessageExtensionsTests.cs │ │ ├── PubSubExtensionsTests.cs │ │ ├── RosterExtensionsTests.cs │ │ └── SubscriptionExtensionsTests.cs │ ├── EchoClient.cs │ ├── Matrix.Extensions.Tests.csproj │ └── XElementShouldBeTestExtensions.cs.cs ├── Matrix.Srv.Tests │ ├── Matrix.Srv.Tests.csproj │ └── SrvTests.cs └── Matrix.Tests │ ├── ClientEnd2End │ ├── ClientTests.Register.cs │ ├── ClientTests.StreamManagement.cs │ ├── ClientTests.cs │ ├── ExceptionCatchHandler.cs │ ├── NettyBaseServer.cs │ ├── TestServerHandler.cs │ ├── stream1.xml │ ├── stream2.xml │ ├── stream_compression_failed.xml │ ├── stream_error_host_unknown.xml │ ├── stream_management_resume_failure.xml │ ├── stream_management_resume_success.xml │ ├── stream_no_server_reply_to_bind.xml │ ├── stream_not_authorized.xml │ ├── stream_registeraccount_failed1.xml │ ├── stream_registeraccount_failed2.xml │ ├── stream_registeraccount_success.xml │ └── stream_resource_conflict.xml │ ├── Configuration │ └── ClientConfigurationTests.cs │ ├── Crypt │ └── HashTests.cs │ ├── DotNettyExtensionsTests.cs │ ├── DotnNettyExtensionsTests.cs │ ├── EnumTests.cs │ ├── JidTests.cs │ ├── Matrix.Tests.csproj │ ├── Network │ ├── Handlers │ │ └── StanzaCounterTests.cs │ └── Resolver │ │ ├── NameResolverTest.cs │ │ └── StaticNameResolverTests.cs │ ├── ObjectExtensionsTests.cs │ ├── Resource.cs │ ├── Sasl │ └── DigestMd5Tests.cs │ ├── XElementShouldBeTestExtensions.cs │ ├── Xml │ ├── ByteBufferTests.cs │ ├── ExtensionsTest.cs │ ├── FactoryTest.cs │ ├── StreamParserTests.cs │ ├── XmppXElementTests.cs │ ├── cdata1.xml │ ├── message.xml │ ├── stream1.xml │ ├── stream_partial1.xml │ └── stream_partial2.xml │ ├── Xmpp │ ├── AdHocCommands │ │ ├── ActionsTests.cs │ │ ├── CommandTests.cs │ │ └── NoteTests.cs │ ├── AdvancedMessageProcessing │ │ ├── AmpTest.cs │ │ ├── RuleTest.cs │ │ ├── amp1.xml │ │ ├── amp2.xml │ │ ├── amp3.xml │ │ ├── amp4.xml │ │ ├── rule1.xml │ │ ├── rule2.xml │ │ └── rule3.xml │ ├── Archiving │ │ ├── ArchivingTests.cs │ │ ├── chat.xml │ │ ├── iq1.xml │ │ ├── iq2.xml │ │ ├── list.xml │ │ └── pref.xml │ ├── Auth │ │ ├── AuthTest.cs │ │ └── query.xml │ ├── Avatar │ │ ├── DataTest.cs │ │ ├── InfoTests.cs │ │ ├── MetadataTest.cs │ │ ├── data.xml │ │ ├── info.xml │ │ └── metadata.xml │ ├── Base │ │ ├── XmppXElementWithJidAttributeTest.cs │ │ ├── mucuser1.xml │ │ └── mucuser2.xml │ ├── Bookmarks │ │ ├── ConferenceTest.cs │ │ ├── StorageTest.cs │ │ ├── conference1.xml │ │ └── storage1.xml │ ├── Bosh │ │ ├── BoshTest.cs │ │ ├── bosh1.xml │ │ ├── bosh2.xml │ │ ├── bosh3.xml │ │ ├── bosh4.xml │ │ └── bosh5.xml │ ├── Bytestreams │ │ ├── BytestreamTest.cs │ │ ├── activate1.xml │ │ ├── activate2.xml │ │ ├── query1.xml │ │ ├── streamhost-used.xml │ │ ├── streamhost1.xml │ │ └── streamhost2.xml │ ├── Capabilities │ │ ├── CapsTest.cs │ │ ├── discoinfo1.xml │ │ ├── discoinfo2.xml │ │ ├── discoinfo3.xml │ │ ├── discoinfo4.xml │ │ ├── discoinfo5.xml │ │ └── streamfeatures.xml │ ├── Chatstates │ │ ├── ChatstatesTest.cs │ │ ├── message1.xml │ │ ├── message2.xml │ │ └── message3.xml │ ├── Client │ │ ├── Error.cs │ │ ├── IqQueryTest.cs │ │ ├── PresenceTest.cs │ │ ├── TimeIqTest.cs │ │ ├── XHTML.cs │ │ ├── error1.xml │ │ ├── error10.xml │ │ ├── error11.xml │ │ ├── error12.xml │ │ ├── error2.xml │ │ ├── error3.xml │ │ ├── error4.xml │ │ ├── error5.xml │ │ ├── error6.xml │ │ ├── error7.xml │ │ ├── error8.xml │ │ ├── error9.xml │ │ ├── message1.xml │ │ ├── message2.xml │ │ ├── paragraph.xml │ │ ├── rosteriq1.xml │ │ ├── rosteriq2.xml │ │ ├── rosteriq3.xml │ │ ├── rosteriq4.xml │ │ └── timeiq.xml │ ├── Compression │ │ ├── CompressionTest.cs │ │ ├── compress1.xml │ │ ├── compress2.xml │ │ ├── compression1.xml │ │ ├── compression2.xml │ │ ├── compression3.xml │ │ ├── streamfeatures1.xml │ │ └── streamfeatures2.xml │ ├── Dialback │ │ ├── DialbackTest.cs │ │ ├── stream.xml │ │ ├── verify1.xml │ │ ├── verify2.xml │ │ └── verify3.xml │ ├── Disco │ │ ├── DiscoInfoTest.cs │ │ ├── DiscoTest.cs │ │ ├── FeatureTest.cs │ │ ├── IdendityTest.cs │ │ ├── ItemTest.cs │ │ ├── discoinfo1.xml │ │ ├── discoitems1.xml │ │ ├── feature1.xml │ │ ├── idendity1.xml │ │ ├── iq1.xml │ │ ├── iq2.xml │ │ └── item1.xml │ ├── ExtendedStanzaAddressing │ │ ├── AddressTest.cs │ │ ├── address1.xml │ │ ├── address2.xml │ │ ├── address3.xml │ │ ├── address4.xml │ │ └── address5.xml │ ├── Google │ │ └── GCM │ │ │ ├── GcmTest.cs │ │ │ └── message1.xml │ ├── HttpUpload │ │ ├── GetTest.cs │ │ ├── HeaderTest.cs │ │ ├── SlotRequestTest.cs │ │ ├── get.xml │ │ ├── header-authorization.xml │ │ ├── header-cookie.xml │ │ ├── slot-request-iq.xml │ │ └── slot-request.xml │ ├── IBB │ │ ├── IBBTest.cs │ │ ├── close1.xml │ │ ├── data1.xml │ │ ├── open1.xml │ │ └── open2.xml │ ├── Jingle │ │ ├── JingleTest.cs │ │ ├── Transports │ │ │ ├── TransportTest.cs │ │ │ └── transport1.xml │ │ ├── candidate1.xml │ │ ├── content1.xml │ │ ├── content2.xml │ │ ├── description1.xml │ │ ├── description2.xml │ │ ├── jingle1.xml │ │ ├── jingle_iq1.xml │ │ ├── payload-type1.xml │ │ ├── reason1.xml │ │ └── reason2.xml │ ├── MessageArchiveManagement │ │ ├── FinalTest.cs │ │ ├── MessageArchiveManagementTest.cs │ │ ├── PreferencesTest.cs │ │ └── ResultTest.cs │ ├── MessageCarbons │ │ ├── MessageCarbonTest.cs │ │ ├── forwarded1.xml │ │ └── message_carbons1.xml │ ├── Mood │ │ ├── MoodTest.cs │ │ ├── mood1.xml │ │ ├── mood2.xml │ │ └── pubsub1.xml │ ├── Muc │ │ ├── Admin │ │ │ ├── AdminIqTest.cs │ │ │ ├── admin_iq1.xml │ │ │ └── admin_query1.xml │ │ ├── MucManagerTest.cs │ │ ├── User │ │ │ ├── ActorTest.cs │ │ │ ├── DeclineTest.cs │ │ │ ├── GTalkTest.cs │ │ │ ├── InviteTest.cs │ │ │ ├── XTest.cs │ │ │ ├── actor1.xml │ │ │ ├── decline1.xml │ │ │ ├── invite1.xml │ │ │ ├── presence_gtalk1.xml │ │ │ └── userx1.xml │ │ ├── XTest.cs │ │ ├── message1.xml │ │ ├── x1.xml │ │ └── x2.xml │ ├── Nickname │ │ ├── Nick.cs │ │ ├── nick1.xml │ │ └── presence1.xml │ ├── Privacy │ │ ├── ItemTest.cs │ │ ├── PrivacyTest.cs │ │ ├── item1.xml │ │ ├── item2.xml │ │ ├── item3.xml │ │ ├── item4.xml │ │ └── privacy_query1.xml │ ├── Private │ │ ├── PrivateTest.cs │ │ └── private1.xml │ ├── PubSub │ │ ├── AffiliationTest.cs │ │ ├── ConfigureTest.cs │ │ ├── CreateTest.cs │ │ ├── Event │ │ │ ├── AssociateTest.cs │ │ │ ├── CollectionTest.cs │ │ │ ├── DisassociateTest.cs │ │ │ ├── EventTest.cs │ │ │ ├── associate1.xml │ │ │ ├── collection1.xml │ │ │ ├── collection2.xml │ │ │ ├── disassociate1.xml │ │ │ ├── event1.xml │ │ │ ├── event2.xml │ │ │ ├── event3.xml │ │ │ ├── event4.xml │ │ │ ├── event5.xml │ │ │ ├── event6.xml │ │ │ └── event7.xml │ │ ├── Owner │ │ │ ├── AffiliationsTest.cs │ │ │ ├── ConfigureTest.cs │ │ │ ├── DeleteTest.cs │ │ │ ├── PubSubTest.cs │ │ │ ├── PurgeTest.cs │ │ │ ├── SubscriptionsTest.cs │ │ │ ├── affiliations1.xml │ │ │ ├── affiliations2.xml │ │ │ ├── affiliations4.xml │ │ │ ├── affiliations_iq1.xml │ │ │ ├── configure1.xml │ │ │ ├── configure2.xml │ │ │ ├── configure3.xml │ │ │ ├── create1.xml │ │ │ ├── pubsub1.xml │ │ │ ├── pubsub2.xml │ │ │ ├── pubsub3.xml │ │ │ ├── pubsub_delete_iq1.xml │ │ │ ├── purge1.xml │ │ │ └── subscriptions1.xml │ │ ├── PubSubIqTest.cs │ │ ├── PubSubManagerTest.cs │ │ ├── PublishTest.cs │ │ ├── RetractTest.cs │ │ ├── SubscribeTest.cs │ │ ├── SubscriptionTest.cs │ │ ├── UnsubscribeTest.cs │ │ ├── publish1.xml │ │ ├── publish_iq1.xml │ │ ├── publish_iq2.xml │ │ ├── retract1.xml │ │ ├── subscribe1.xml │ │ ├── subscription1.xml │ │ ├── subscription2.xml │ │ └── unsubscribe1.xml │ ├── Register │ │ ├── RegisterTest.cs │ │ ├── register_query1.xml │ │ ├── register_query2.xml │ │ ├── register_query3.xml │ │ ├── register_query4.xml │ │ ├── register_query5.xml │ │ ├── register_query6.xml │ │ └── register_query7.xml │ ├── ResultSetManagement │ │ ├── ResultSetManagementTest.cs │ │ ├── set1.xml │ │ └── set2.xml │ ├── Roster │ │ ├── RosterTest.cs │ │ ├── item1.xml │ │ ├── item2.xml │ │ ├── item3.xml │ │ ├── item4.xml │ │ ├── item5.xml │ │ ├── item6.xml │ │ └── roster_iq1.xml │ ├── RosterItemExchange │ │ ├── RosterXTest.cs │ │ ├── item1.xml │ │ ├── item2.xml │ │ ├── item3.xml │ │ ├── x1.xml │ │ └── x2.xml │ ├── Rpc │ │ ├── RpcTest.cs │ │ ├── rpc_iq1.xml │ │ ├── rpc_iq2.xml │ │ ├── rpc_iq3.xml │ │ ├── rpc_query1.xml │ │ ├── rpc_query2.xml │ │ ├── rpc_query_response1.xml │ │ ├── rpc_query_response2.xml │ │ └── rpc_query_response3.xml │ ├── Sasl │ │ ├── AuthTest.cs │ │ ├── ChallengeTest.cs │ │ ├── CiscoVtgTokenProcessorTest.cs │ │ ├── FailureTest.cs │ │ ├── MechanismTest.cs │ │ ├── MechanismsTest.cs │ │ ├── Response.cs │ │ ├── WebexTokenProcessorTest.cs │ │ ├── auth1.xml │ │ ├── challenge1.xml │ │ ├── failure1.xml │ │ ├── failure2.xml │ │ ├── mechanism1.xml │ │ ├── mechanisms1.xml │ │ ├── mechanisms2.xml │ │ ├── mechanisms3.xml │ │ └── response1.xml │ ├── Search │ │ ├── SearchTest.cs │ │ ├── search_query1.xml │ │ ├── search_query2.xml │ │ ├── search_query3.xml │ │ └── search_query4.xml │ ├── SecurityLabels │ │ ├── SecurityLabelsTests.cs │ │ ├── catalog1.xml │ │ ├── message1.xml │ │ └── securitylabel1.xml │ ├── Shim │ │ ├── ShimTests.cs │ │ ├── headers1.xml │ │ └── headers2.xml │ ├── Stream │ │ ├── ErrorTest.cs │ │ ├── Errors │ │ │ ├── SeeOtherHostTest.cs │ │ │ ├── see_other_host1.xml │ │ │ └── see_other_host2.xml │ │ ├── Features │ │ │ ├── FeatureTest.cs │ │ │ ├── ver1.xml │ │ │ └── ver2.xml │ │ ├── FeaturesTest.cs │ │ ├── compression1.xml │ │ ├── compression2.xml │ │ ├── stream_error1.xml │ │ ├── stream_error2.xml │ │ └── stream_features1.xml │ ├── StreamManagement │ │ ├── StreamManagementTest.cs │ │ ├── a1.xml │ │ ├── enable1.xml │ │ ├── enabled1.xml │ │ ├── enabled2.xml │ │ ├── enabled3.xml │ │ ├── failed1.xml │ │ ├── failed2.xml │ │ ├── failed3.xml │ │ ├── r1.xml │ │ ├── resume1.xml │ │ ├── resumed1.xml │ │ ├── sm1.xml │ │ ├── stream_features1.xml │ │ └── stream_features2.xml │ ├── Tune │ │ ├── TuneTest.cs │ │ └── tune1.xml │ ├── Vcard │ │ ├── AddressTest.cs │ │ ├── EmailTest.cs │ │ ├── PhotoTest.cs │ │ ├── TelephoneTest.cs │ │ ├── VCardTest.cs │ │ ├── address1.xml │ │ ├── email1.xml │ │ ├── email2.xml │ │ ├── photo1.xml │ │ ├── photo2.xml │ │ ├── photo3.xml │ │ ├── telephone1.xml │ │ ├── telephone2.xml │ │ ├── telephone3.xml │ │ ├── telephone4.xml │ │ ├── telephone5.xml │ │ ├── telephone6.xml │ │ └── vcard_iq1.xml │ └── XData │ │ ├── XDataTest.cs │ │ ├── field1.xml │ │ ├── field2.xml │ │ ├── xdata1.xml │ │ ├── xdata2.xml │ │ └── xdata3.xml │ └── XmppClientTests.cs └── tools ├── nuget.exe ├── packages.config └── packages.config.md5sum /.build/dependencies.props: -------------------------------------------------------------------------------- 1 | 2 | 3 | 0.6.0 4 | 4.1.2 5 | 6 | -------------------------------------------------------------------------------- /.build/info.props: -------------------------------------------------------------------------------- 1 | 2 | 3 | Copyright © Alexander Gnauck, AG-Software 4 | AG-Software 5 | GPL-3.0-or-later 6 | true 7 | xmpp;jabber;im;instant messaging 8 | 9 | 10 | -------------------------------------------------------------------------------- /.build/sign.props: -------------------------------------------------------------------------------- 1 | 2 | 3 | ../../matrix.snk 4 | true 5 | true 6 | 7 | 8 | -------------------------------------------------------------------------------- /.build/version.props: -------------------------------------------------------------------------------- 1 | 2 | 3 | 2.4.5 4 | 2.4.5 5 | 2.4.5 6 | 7 | 8 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.suo 2 | *.user 3 | _ReSharper.* 4 | bin 5 | obj 6 | packages 7 | .vs 8 | .idea 9 | temp 10 | .lock.json 11 | *.lock.json 12 | /tools/Cake 13 | TestResults 14 | /license_header.txt 15 | -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "0.2.0", 3 | "configurations": [ 4 | 5 | { 6 | "name": ".NET Core Launch (console)", 7 | "type": "coreclr", 8 | "request": "launch", 9 | "preLaunchTask": "build", 10 | "program": "${workspaceRoot}/examples/ConsoleClient/bin/Debug/netcoreapp1.0/ConsoleClient.dll", 11 | "args": [], 12 | "cwd": "${workspaceRoot}", 13 | "stopAtEntry": false, 14 | "externalConsole": false 15 | }, 16 | { 17 | "name": ".NET Core Attach", 18 | "type": "coreclr", 19 | "request": "attach", 20 | "processId": "${command.pickProcess}" 21 | } 22 | ] 23 | } -------------------------------------------------------------------------------- /.vscode/tasks.json: -------------------------------------------------------------------------------- 1 | { 2 | // See https://go.microsoft.com/fwlink/?LinkId=733558 3 | // for the documentation about the tasks.json format 4 | "version": "0.1.0", 5 | "command": "dotnet", 6 | "isShellCommand": true, 7 | "args": [], 8 | "tasks": [ 9 | { 10 | "taskName": "build", 11 | "args": [ "MatriX-vnext.sln"], 12 | "isBuildCommand": true, 13 | "showOutput": "silent", 14 | "problemMatcher": "$msCompile" 15 | } 16 | ] 17 | } -------------------------------------------------------------------------------- /COPYING: -------------------------------------------------------------------------------- 1 | The MatriX vNext XMPP SDK is released under a dual license. 2 | 3 | MatriX vNext can be used under either of the following two licenses 4 | 5 | 1) A commercial license which is probably the most appropriate for commercial corporate use and closed source projects. Please contact info@ag-software.net for more information about commercial licensing. 6 | 7 | 2) The GPL v3 License which is the most appropriate for inclusion in other open source projects. -------------------------------------------------------------------------------- /COPYING.thirdparty: -------------------------------------------------------------------------------- 1 | # SharpZipLib 2 | https://github.com/icsharpcode/SharpZipLib 3 | License: MIT License 4 | 5 | # DotNetty 6 | https://github.com/Azure/DotNetty 7 | License: MIT License 8 | 9 | # DnsClient.NET 10 | http://dnsclient.michaco.net/ 11 | License: Apache License 12 | 13 | # XPNet 14 | https://github.com/agnauck/XpNet 15 | License: http://www.jclark.com/xml/xp/copying.txt 16 | XpNet is a port of James Clark's Java XP parser/tokenizer to c#/.net -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | MatriX vNext was renamed to __XmppDotNet__. This repo will e archived soon. 2 | Please goto: https://github.com/agnauck/XmppDotNet 3 | -------------------------------------------------------------------------------- /docs/ReadMe.md: -------------------------------------------------------------------------------- 1 | TODO... -------------------------------------------------------------------------------- /examples/ConsoleClient/ConsoleClient.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | netcoreapp3.1 5 | Exe 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /examples/Server/ICertificateProvider.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | using System.Security.Cryptography.X509Certificates; 23 | 24 | namespace Server 25 | { 26 | public interface ICertificateProvider 27 | { 28 | X509Certificate2 RequestCertificate(string xmppDomain); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /examples/Server/IStreamFeature.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | using Matrix.Xmpp.Stream; 23 | using Server.Handlers; 24 | 25 | namespace Server 26 | { 27 | public interface IStreamFeature 28 | { 29 | void AddStreamFeatures(ServerConnectionHandler serverSession, StreamFeatures features); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /examples/Server/Server.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | Exe 5 | netcoreapp3.1 6 | 7 | 8 | 9 | 10 | PreserveNewest 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /examples/Server/Server.xproj.DotSettings: -------------------------------------------------------------------------------- 1 |  2 | True -------------------------------------------------------------------------------- /examples/Server/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "ssl": "false", 3 | "port": "5222", 4 | 5 | "hosts": { 6 | "ag-software.de": { 7 | "ssl": "true", 8 | "certificate": { 9 | "path": "dotnetty.com.pfx", 10 | "secret": "password" 11 | } 12 | }, 13 | "localhost": { 14 | "ssl": "true", 15 | "certificate": { 16 | "path": "dotnetty.com.pfx", 17 | "secret": "password" 18 | } 19 | } 20 | } 21 | } -------------------------------------------------------------------------------- /examples/Server/dotnetty.com.pfx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matrix-xmpp/matrix-vnext/a62ecc83174310d7cd4a480f99619d03a6857064/examples/Server/dotnetty.com.pfx -------------------------------------------------------------------------------- /matrix.snk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matrix-xmpp/matrix-vnext/a62ecc83174310d7cd4a480f99619d03a6857064/matrix.snk -------------------------------------------------------------------------------- /src/Directory.Build.props: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/Matrix.Extensions/Matrix.Extensions.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | MatriX vNext 4 | Matrix vNext Extensions 5 | netstandard2.0;net46 6 | Matrix.Extensions 7 | Matrix.vNext.Extensions 8 | True 9 | 10 | 11 | 12 | $(DefineConstants) 13 | 14 | 15 | 16 | $(DefineConstants) 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /src/Matrix.Srv/Matrix.Srv.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | MatriX vNext 4 | Matrix vNext Srv Resolver 5 | netstandard2.0;netstandard2.1;net46 6 | Matrix.Srv 7 | Matrix.vNext.Srv 8 | True 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /src/Matrix/Attributes/XmppTagAttribute.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | using System; 23 | 24 | namespace Matrix.Attributes 25 | { 26 | [AttributeUsage(AttributeTargets.Class, AllowMultiple = true)] 27 | public class XmppTagAttribute : Attribute 28 | { 29 | public string Name { get; set; } 30 | public string Namespace { get; set; } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/Matrix/AuthenticationException.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | using Matrix.Xml; 23 | 24 | namespace Matrix 25 | { 26 | public class AuthenticationException : XmppException 27 | { 28 | public AuthenticationException(XmppXElement stanza) : base(stanza) { } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/Matrix/BindException.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | using Matrix.Xml; 23 | 24 | namespace Matrix 25 | { 26 | public class BindException : XmppException 27 | { 28 | public BindException(XmppXElement stanza) : base(stanza) { } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/Matrix/CompressionException.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | using Matrix.Xml; 23 | 24 | namespace Matrix 25 | { 26 | public class CompressionException : XmppException 27 | { 28 | public CompressionException(XmppXElement stanza) : base(stanza) { } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/Matrix/Contract.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | using System; 23 | 24 | namespace Matrix 25 | { 26 | public static class Contract 27 | { 28 | public static void Requires(bool result, string message) where T : Exception 29 | { 30 | if (!result) throw (T)Activator.CreateInstance(typeof(T), message); 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /src/Matrix/IO/Compression/DeflaterPending.cs: -------------------------------------------------------------------------------- 1 | namespace Matrix.IO.Compression 2 | { 3 | /// 4 | /// This class stores the pending output of the Deflater. 5 | /// 6 | /// author of the original java version : Jochen Hoenicke 7 | /// 8 | public class DeflaterPending : PendingBuffer 9 | { 10 | /// 11 | /// Construct instance with default buffer size 12 | /// 13 | public DeflaterPending() : base(DeflaterConstants.PENDING_BUF_SIZE) 14 | { 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/Matrix/IO/Compression/LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright © 2000-2016 SharpZipLib Contributors 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this 4 | software and associated documentation files (the "Software"), to deal in the Software 5 | without restriction, including without limitation the rights to use, copy, modify, merge, 6 | publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons 7 | to whom the Software is furnished to do so, subject to the following conditions: 8 | 9 | The above copyright notice and this permission notice shall be included in all copies or 10 | substantial portions of the Software. 11 | 12 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, 13 | INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR 14 | PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE 15 | FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR 16 | OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 17 | DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------------------- /src/Matrix/ISession.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | namespace Matrix 23 | { 24 | public interface ISession 25 | { 26 | XmppSessionState XmppSessionState { get; } 27 | XmppSessionEvent XmppSessionEvent { get; } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/Matrix/Idn/StringPrepException.cs: -------------------------------------------------------------------------------- 1 | #if STRINGPREP 2 | using System; 3 | 4 | namespace Matrix.Idn 5 | { 6 | internal class StringPrepException : Exception 7 | { 8 | public static string CONTAINS_UNASSIGNED = "Contains unassigned code points."; 9 | public static string CONTAINS_PROHIBITED = "Contains prohibited code points."; 10 | public static string BIDI_BOTHRAL = "Contains both R and AL code points."; 11 | public static string BIDI_LTRAL = "Leading and trailing code points not both R or AL."; 12 | 13 | public StringPrepException(string message) : base(message) 14 | { 15 | } 16 | } 17 | } 18 | #endif -------------------------------------------------------------------------------- /src/Matrix/Network/Codecs/IActive.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | namespace Matrix.Network.Codecs 23 | { 24 | /// 25 | /// Interface for decoders which can be active or inactive in the pipeline. 26 | /// 27 | public interface IActive 28 | { 29 | bool Active { get; set; } 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /src/Matrix/Network/ITlsHandlerProvider.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | using DotNetty.Transport.Channels; 23 | using System.Threading.Tasks; 24 | 25 | namespace Matrix.Network 26 | { 27 | /// 28 | /// Interface to provide custom TLS handlers. 29 | /// 30 | public interface ITlsHandlerProvider 31 | { 32 | Task ProvideAsync(XmppClient xmppClient); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /src/Matrix/Network/ITlsSettingsProvider.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | using DotNetty.Handlers.Tls; 23 | using System.Threading.Tasks; 24 | 25 | namespace Matrix.Network 26 | { 27 | /// 28 | /// Interface to provide custom Tls settings. 29 | /// 30 | public interface ITlsSettingsProvider 31 | { 32 | Task ProvideAsync(XmppConnection xmppConnection); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /src/Matrix/RegisterException.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | using Matrix.Xml; 23 | 24 | namespace Matrix 25 | { 26 | /// 27 | /// This exception is thrown on failures during new account creation (XEP-0077) 28 | /// 29 | public class RegisterException : XmppException 30 | { 31 | public RegisterException(XmppXElement stanza) : base(stanza) { } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /src/Matrix/Sasl/IAuthenticate.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | using System.Threading.Tasks; 23 | using Matrix.Xml; 24 | using Matrix.Xmpp.Sasl; 25 | using System.Threading; 26 | 27 | namespace Matrix.Sasl 28 | { 29 | public interface IAuthenticate 30 | { 31 | Task AuthenticateAsync(Mechanisms mechanisms, XmppClient xmppClient, CancellationToken cancellationToken); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /src/Matrix/Sasl/ISaslProcessor.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | using System.Threading.Tasks; 23 | using Matrix.Xml; 24 | using System.Threading; 25 | 26 | namespace Matrix.Sasl 27 | { 28 | public interface ISaslProcessor 29 | { 30 | Task AuthenticateClientAsync(XmppClient xmppClient, CancellationToken cancellationToken); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/Matrix/Sasl/SaslException.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | using System; 23 | 24 | namespace Matrix.Sasl 25 | { 26 | public class SaslException : Exception 27 | { 28 | public SaslException(string message) : base(message) 29 | { 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/Matrix/StreamErrorException.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | using Matrix.Xml; 23 | 24 | namespace Matrix 25 | { 26 | public class StreamErrorException : XmppException 27 | { 28 | public StreamErrorException(XmppXElement stanza) : base(stanza) { } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/Matrix/StreamManagementAckRequestException.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | using Matrix.Xml; 23 | 24 | namespace Matrix 25 | { 26 | public class StreamManagementAckRequestException : StreamManagementException 27 | { 28 | public StreamManagementAckRequestException(XmppXElement stanza, string message) : base(stanza, message) { } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/Matrix/StreamManagementException.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | using Matrix.Xml; 23 | 24 | namespace Matrix 25 | { 26 | public class StreamManagementException : XmppException 27 | { 28 | public StreamManagementException(XmppXElement stanza) : base(stanza) { } 29 | 30 | public StreamManagementException(XmppXElement stanza, string message) : base(stanza, message) {} 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/Matrix/Xmpp/AdHocCommands/NoteType.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | namespace Matrix.Xmpp.AdHocCommands 23 | { 24 | public enum NoteType 25 | { 26 | /// 27 | /// 28 | /// 29 | Error, 30 | Info, 31 | Warn 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /src/Matrix/Xmpp/AdHocCommands/Status.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | namespace Matrix.Xmpp.AdHocCommands 23 | { 24 | public enum Status 25 | { 26 | None = -1, 27 | Canceled, 28 | Completed, 29 | Executing 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /src/Matrix/Xmpp/Base/Sasl.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | namespace Matrix.Xmpp.Base 23 | { 24 | public abstract class Sasl : XmppXElementWithBased64Value 25 | { 26 | protected Sasl(string tag) : base(Namespaces.Sasl, tag) 27 | { 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/Matrix/Xmpp/Blocking/Block.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | using Matrix.Attributes; 23 | 24 | namespace Matrix.Xmpp.Blocking 25 | { 26 | [XmppTag(Name = "block", Namespace = Namespaces.Blocking)] 27 | public class Block : BlockBase 28 | { 29 | public Block() 30 | : base("block") 31 | { 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /src/Matrix/Xmpp/Blocking/Blocklist.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | using Matrix.Attributes; 23 | 24 | namespace Matrix.Xmpp.Blocking 25 | { 26 | [XmppTag(Name = "blocklist", Namespace = Namespaces.Blocking)] 27 | public class Blocklist : BlockBase 28 | { 29 | public Blocklist() : base("blocklist") 30 | { 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /src/Matrix/Xmpp/Blocking/Item.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | using Matrix.Attributes; 23 | using Matrix.Xmpp.Base; 24 | 25 | namespace Matrix.Xmpp.Blocking 26 | { 27 | [XmppTag(Name = Tag.Item, Namespace = Namespaces.Blocking)] 28 | public class Item : XmppXElementWithJidAttribute 29 | { 30 | public Item() : base(Namespaces.Blocking, "item") 31 | {} 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /src/Matrix/Xmpp/Blocking/Unblock.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | using Matrix.Attributes; 23 | 24 | namespace Matrix.Xmpp.Blocking 25 | { 26 | [XmppTag(Name = "unblock", Namespace = Namespaces.Blocking)] 27 | public class Unblock : BlockBase 28 | { 29 | public Unblock() 30 | : base("unblock") 31 | { 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /src/Matrix/Xmpp/Bosh/Type.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | namespace Matrix.Xmpp.Bosh 23 | { 24 | public enum Type 25 | { 26 | None = -1, 27 | Error, 28 | Terminate 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/Matrix/Xmpp/Bytestreams/Mode.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | using Matrix.Attributes; 23 | 24 | namespace Matrix.Xmpp.Bytestreams 25 | { 26 | public enum Mode 27 | { 28 | None = -1, 29 | 30 | [Name("tcp")] 31 | Tcp, 32 | 33 | [Name("udp")] 34 | Udp 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /src/Matrix/Xmpp/Component/Stream.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | namespace Matrix.Xmpp.Component 23 | { 24 | /// 25 | /// Represents a XMPP client to server stream header 26 | /// 27 | public class Stream : Base.Stream 28 | { 29 | public Stream() 30 | { 31 | SetAttribute("xmlns", Namespaces.Accept); 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /src/Matrix/Xmpp/Compression/Methods.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | using Matrix.Attributes; 23 | 24 | namespace Matrix.Xmpp.Compression 25 | { 26 | public enum Methods 27 | { 28 | [Name("")] 29 | Unknown = -1, 30 | 31 | [Name("zlib")] 32 | Zlib, 33 | 34 | [Name("lzw")] 35 | Lzw 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /src/Matrix/Xmpp/Dialback/VerifyType.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | namespace Matrix.Xmpp.Dialback 23 | { 24 | public enum VerifyType 25 | { 26 | None = -1, 27 | Error, 28 | Invalid, 29 | Valid 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /src/Matrix/Xmpp/Google/Mobile/Gcm.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | using Matrix.Attributes; 23 | using Matrix.Xml; 24 | 25 | namespace Matrix.Xmpp.Google.Mobile 26 | { 27 | [XmppTag(Name = "gcm", Namespace = Namespaces.GoogleMobileData)] 28 | public class Gcm : XmppXElement 29 | { 30 | public Gcm() : base(Namespaces.GoogleMobileData, "gcm") 31 | { 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /src/Matrix/Xmpp/HttpUpload/HeaderNames.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | using Matrix.Attributes; 23 | 24 | namespace Matrix.Xmpp.HttpUpload 25 | { 26 | public enum HeaderNames 27 | { 28 | [Name("Authorization")] 29 | Authorization, 30 | 31 | [Name("Cookie")] 32 | Cookie, 33 | 34 | [Name("Expires")] 35 | Expires 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /src/Matrix/Xmpp/IBB/StanzaType.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | using Matrix.Attributes; 23 | 24 | namespace Matrix.Xmpp.IBB 25 | { 26 | public enum StanzaType 27 | { 28 | [Name("iq")] 29 | Iq = -1, 30 | 31 | [Name("message")] 32 | Message, 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /src/Matrix/Xmpp/Jingle/Creator.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | namespace Matrix.Xmpp.Jingle 23 | { 24 | public enum Creator 25 | { 26 | Initiator, 27 | Responder 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/Matrix/Xmpp/Jingle/Protocol.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | namespace Matrix.Xmpp.Jingle 23 | { 24 | public enum Protocol 25 | { 26 | //Tcp, 27 | Udp 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/Matrix/Xmpp/Jingle/Transports/TransportIbb.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | using Matrix.Attributes; 23 | 24 | namespace Matrix.Xmpp.Jingle.Transports 25 | { 26 | [XmppTag(Name = "transport", Namespace = Namespaces.JingleTransportIbb)] 27 | public class TransportIbb : IBB.Open 28 | { 29 | public TransportIbb() : base(Namespaces.JingleTransportIbb, "transport") 30 | {} 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/Matrix/Xmpp/MessageArchiveManagement/Always.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | using Matrix.Attributes; 23 | 24 | namespace Matrix.Xmpp.MessageArchiveManagement 25 | { 26 | [XmppTag(Name = "always", Namespace = Namespaces.MessageArchiveManagement)] 27 | public class Always : PolicyBase 28 | { 29 | public Always() : base("always") 30 | { 31 | } 32 | } 33 | } -------------------------------------------------------------------------------- /src/Matrix/Xmpp/MessageArchiveManagement/Never.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | using Matrix.Attributes; 23 | 24 | namespace Matrix.Xmpp.MessageArchiveManagement 25 | { 26 | [XmppTag(Name = "never", Namespace = Namespaces.MessageArchiveManagement)] 27 | public class Never : PolicyBase 28 | { 29 | public Never() : base("never") 30 | { 31 | } 32 | } 33 | } -------------------------------------------------------------------------------- /src/Matrix/Xmpp/MessageArchiving/Chat.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | using Matrix.Attributes; 23 | 24 | namespace Matrix.Xmpp.MessageArchiving 25 | { 26 | [XmppTag(Name = "chat", Namespace = Namespaces.Archiving)] 27 | public class Chat : ArchiveBase 28 | { 29 | public Chat() : base("chat") 30 | { 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /src/Matrix/Xmpp/MessageArchiving/From.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | using Matrix.Attributes; 23 | 24 | namespace Matrix.Xmpp.MessageArchiving 25 | { 26 | [XmppTag(Name = "from", Namespace = Namespaces.Archiving)] 27 | public class From : MessageItem 28 | { 29 | public From() : base("from") 30 | { 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /src/Matrix/Xmpp/MessageArchiving/Next.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | using Matrix.Attributes; 23 | 24 | namespace Matrix.Xmpp.MessageArchiving 25 | { 26 | [XmppTag(Name = "next", Namespace = Namespaces.Archiving)] 27 | public class Next : Link 28 | { 29 | public Next() : base("next") 30 | { 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /src/Matrix/Xmpp/MessageArchiving/Previous.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | using Matrix.Attributes; 23 | 24 | namespace Matrix.Xmpp.MessageArchiving 25 | { 26 | [XmppTag(Name = "previous", Namespace = Namespaces.Archiving)] 27 | public class Previous : Link 28 | { 29 | public Previous() : base("previous") 30 | { 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /src/Matrix/Xmpp/MessageArchiving/Save.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | using Matrix.Attributes; 23 | 24 | namespace Matrix.Xmpp.MessageArchiving 25 | { 26 | [XmppTag(Name = "save", Namespace = Namespaces.Archiving)] 27 | public class Save : ArchiveBase 28 | { 29 | public Save() : base("save") 30 | { 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /src/Matrix/Xmpp/MessageArchiving/To.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | using Matrix.Attributes; 23 | 24 | namespace Matrix.Xmpp.MessageArchiving 25 | { 26 | [XmppTag(Name = "to", Namespace = Namespaces.Archiving)] 27 | public class To : MessageItem 28 | { 29 | public To() : base("to") 30 | { 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /src/Matrix/Xmpp/MessageCarbons/CarbonBase.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | using Matrix.Xml; 23 | 24 | namespace Matrix.Xmpp.MessageCarbons 25 | { 26 | public abstract class CarbonBase : XmppXElement 27 | { 28 | protected CarbonBase(string tag) : base(Namespaces.MessageCarbons, tag) 29 | { 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/Matrix/Xmpp/MessageCarbons/Disable.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | using Matrix.Attributes; 23 | 24 | namespace Matrix.Xmpp.MessageCarbons 25 | { 26 | [XmppTag(Name = "disable", Namespace = Namespaces.MessageCarbons)] 27 | public class Disable : CarbonBase 28 | { 29 | public Disable() : base("disable") { } 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /src/Matrix/Xmpp/MessageCarbons/Enable.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | using Matrix.Attributes; 23 | 24 | namespace Matrix.Xmpp.MessageCarbons 25 | { 26 | [XmppTag(Name = "enable", Namespace = Namespaces.MessageCarbons)] 27 | public class Enable : CarbonBase 28 | { 29 | public Enable() : base("enable") { } 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /src/Matrix/Xmpp/MessageCarbons/Forwarded.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | using Matrix.Attributes; 23 | using Matrix.Xml; 24 | 25 | namespace Matrix.Xmpp.MessageCarbons 26 | { 27 | [XmppTag(Name = "forwarded", Namespace = Namespaces.Forward)] 28 | public class Forwarded : XmppXElement 29 | { 30 | public Forwarded() : base(Namespaces.Forward, "forwarded") { } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/Matrix/Xmpp/MessageCarbons/Private.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | using Matrix.Attributes; 23 | 24 | namespace Matrix.Xmpp.MessageCarbons 25 | { 26 | [XmppTag(Name = "private", Namespace = Namespaces.MessageCarbons)] 27 | public class Private : CarbonBase 28 | { 29 | public Private() : base("private") { } 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /src/Matrix/Xmpp/MessageCarbons/Received.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | using Matrix.Attributes; 23 | 24 | namespace Matrix.Xmpp.MessageCarbons 25 | { 26 | [XmppTag(Name = "received", Namespace = Namespaces.MessageCarbons)] 27 | public class Received : ForwardContainer 28 | { 29 | public Received() : base("received") { } 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /src/Matrix/Xmpp/MessageCarbons/Sent.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | using Matrix.Attributes; 23 | 24 | namespace Matrix.Xmpp.MessageCarbons 25 | { 26 | [XmppTag(Name = "sent", Namespace = Namespaces.MessageCarbons)] 27 | public class Sent : ForwardContainer 28 | { 29 | public Sent() : base("sent") { } 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /src/Matrix/Xmpp/Muc/Owner/Destroy.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | using Matrix.Attributes; 23 | 24 | namespace Matrix.Xmpp.Muc.Owner 25 | { 26 | [XmppTag(Name = "destroy", Namespace = Namespaces.MucOwner)] 27 | public class Destroy : User.Destroy 28 | { 29 | public Destroy() : base(Namespaces.MucOwner) 30 | {} 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/Matrix/Xmpp/Privacy/Active.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | using Matrix.Attributes; 23 | 24 | namespace Matrix.Xmpp.Privacy 25 | { 26 | [XmppTag(Name = "active", Namespace = Namespaces.IqPrivacy)] 27 | public class Active : Base.XmppXElementWithNameAttribute 28 | { 29 | public Active() : base(Namespaces.IqPrivacy, "active") 30 | { 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /src/Matrix/Xmpp/PubSub/Event/Configuration.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | using Matrix.Attributes; 23 | 24 | namespace Matrix.Xmpp.PubSub.Event 25 | { 26 | [XmppTag(Name = "configuration", Namespace = Namespaces.PubsubEvent)] 27 | public class Configuration : Configure 28 | { 29 | public Configuration() : base(Namespaces.PubsubEvent, "configuration") 30 | { 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /src/Matrix/Xmpp/PubSub/Event/Delete.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | using Matrix.Attributes; 23 | 24 | namespace Matrix.Xmpp.PubSub.Event 25 | { 26 | [XmppTag(Name = "delete", Namespace = Namespaces.PubsubEvent)] 27 | public class Delete : Xmpp.PubSub.Delete 28 | { 29 | public Delete() : base(Namespaces.PubsubEvent) 30 | { 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /src/Matrix/Xmpp/PubSub/Event/PubSubEventType.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | namespace Matrix.Xmpp.PubSub.Event 23 | { 24 | public enum PubSubEventType 25 | { 26 | Collection, 27 | Configuration, 28 | Delete, 29 | Items, 30 | Purge, 31 | Subscription, 32 | None 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /src/Matrix/Xmpp/PubSub/Event/Purge.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | using Matrix.Attributes; 23 | 24 | namespace Matrix.Xmpp.PubSub.Event 25 | { 26 | [XmppTag(Name = "purge", Namespace = Namespaces.PubsubEvent)] 27 | public class Purge : Xmpp.PubSub.Purge 28 | { 29 | public Purge() : base(Namespaces.PubsubEvent) 30 | { 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /src/Matrix/Xmpp/PubSub/Owner/Configure.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | using Matrix.Attributes; 23 | 24 | namespace Matrix.Xmpp.PubSub.Owner 25 | { 26 | [XmppTag(Name = "configure", Namespace = Namespaces.PubsubOwner)] 27 | public class Configure : Xmpp.PubSub.Configure 28 | { 29 | public Configure() : base(Namespaces.PubsubOwner) 30 | { 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /src/Matrix/Xmpp/PubSub/Owner/PubsubOwnerType.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | namespace Matrix.Xmpp.PubSub.Owner 23 | { 24 | public enum PubSubOwnerType 25 | { 26 | Affiliations, 27 | Configure, 28 | Delete, 29 | Purge, 30 | Subscriptions, 31 | None 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /src/Matrix/Xmpp/PubSub/Owner/Purge.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | using Matrix.Attributes; 23 | 24 | namespace Matrix.Xmpp.PubSub.Owner 25 | { 26 | [XmppTag(Name = "purge", Namespace = Namespaces.PubsubOwner)] 27 | public class Purge : Xmpp.PubSub.Purge 28 | { 29 | public Purge() : base(Namespaces.PubsubOwner) 30 | { 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /src/Matrix/Xmpp/PubSub/Owner/Subscription.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | using Matrix.Attributes; 23 | 24 | namespace Matrix.Xmpp.PubSub.Owner 25 | { 26 | [XmppTag(Name = "subscription", Namespace = Namespaces.PubsubOwner)] 27 | public class Subscription : Base.Subscription 28 | { 29 | public Subscription() : base(Namespaces.PubsubOwner) 30 | { 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /src/Matrix/Xmpp/Roster/Ask.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | using Matrix.Attributes; 23 | 24 | namespace Matrix.Xmpp.Roster 25 | { 26 | public enum Ask 27 | { 28 | None = -1, 29 | 30 | [Name("subscribe")] 31 | Subscribe, 32 | 33 | [Name("unsubscribe")] 34 | Unsubscribe 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /src/Matrix/Xmpp/RosterItemExchange/Action.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | namespace Matrix.Xmpp.RosterItemExchange 23 | { 24 | public enum Action 25 | { 26 | Add, 27 | Delete, 28 | Modify 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/Matrix/Xmpp/Rpc/Array.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | using Matrix.Attributes; 23 | using Matrix.Xml; 24 | 25 | namespace Matrix.Xmpp.Rpc 26 | { 27 | [XmppTag(Name = "array", Namespace = Namespaces.IqRpc)] 28 | internal class Array : XmppXElement 29 | { 30 | public Array() 31 | : base(Namespaces.IqRpc, "array") 32 | { 33 | } 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /src/Matrix/Xmpp/Rpc/Data.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | using Matrix.Attributes; 23 | using Matrix.Xml; 24 | 25 | namespace Matrix.Xmpp.Rpc 26 | { 27 | [XmppTag(Name = "data", Namespace = Namespaces.IqRpc)] 28 | internal class Data : XmppXElement 29 | { 30 | public Data() 31 | : base(Namespaces.IqRpc, "data") 32 | { 33 | } 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /src/Matrix/Xmpp/Rpc/Fault.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | using Matrix.Attributes; 23 | using Matrix.Xml; 24 | 25 | namespace Matrix.Xmpp.Rpc 26 | { 27 | [XmppTag(Name = "fault", Namespace = Namespaces.IqRpc)] 28 | internal class Fault : XmppXElement 29 | { 30 | public Fault() 31 | : base(Namespaces.IqRpc, "fault") 32 | { 33 | } 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /src/Matrix/Xmpp/Rpc/Member.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | using Matrix.Attributes; 23 | using Matrix.Xml; 24 | 25 | namespace Matrix.Xmpp.Rpc 26 | { 27 | [XmppTag(Name = "member", Namespace = Namespaces.IqRpc)] 28 | internal class Member : XmppXElement 29 | { 30 | public Member() 31 | : base(Namespaces.IqRpc, "member") 32 | { 33 | } 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /src/Matrix/Xmpp/Rpc/Name.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | using Matrix.Attributes; 23 | using Matrix.Xml; 24 | 25 | namespace Matrix.Xmpp.Rpc 26 | { 27 | [XmppTag(Name = "name", Namespace = Namespaces.IqRpc)] 28 | internal class Name : XmppXElement 29 | { 30 | public Name() 31 | : base(Namespaces.IqRpc, "name") 32 | { 33 | } 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /src/Matrix/Xmpp/Rpc/Param.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | using Matrix.Attributes; 23 | using Matrix.Xml; 24 | 25 | namespace Matrix.Xmpp.Rpc 26 | { 27 | [XmppTag(Name = "param", Namespace = Namespaces.IqRpc)] 28 | internal class Param : XmppXElement 29 | { 30 | public Param() 31 | : base(Namespaces.IqRpc, "param") 32 | { 33 | } 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /src/Matrix/Xmpp/Rpc/Parameters.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | using System.Collections.Generic; 23 | 24 | namespace Matrix.Xmpp.Rpc 25 | { 26 | public class Parameters : List 27 | { 28 | public Parameters() {} 29 | public Parameters(IEnumerable collection) : base(collection) {} 30 | public Parameters(int capacity) : base(capacity) {} 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/Matrix/Xmpp/Rpc/Params.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | using Matrix.Attributes; 23 | using Matrix.Xml; 24 | 25 | namespace Matrix.Xmpp.Rpc 26 | { 27 | [XmppTag(Name = "params", Namespace = Namespaces.IqRpc)] 28 | internal class Params : XmppXElement 29 | { 30 | public Params() : base(Namespaces.IqRpc, "params") 31 | { 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /src/Matrix/Xmpp/Rpc/Struct.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | using Matrix.Attributes; 23 | using Matrix.Xml; 24 | 25 | namespace Matrix.Xmpp.Rpc 26 | { 27 | [XmppTag(Name = "struct", Namespace = Namespaces.IqRpc)] 28 | internal class Struct : XmppXElement 29 | { 30 | public Struct() 31 | : base(Namespaces.IqRpc, "struct") 32 | { 33 | } 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /src/Matrix/Xmpp/Rpc/Value.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | using Matrix.Attributes; 23 | using Matrix.Xml; 24 | 25 | namespace Matrix.Xmpp.Rpc 26 | { 27 | [XmppTag(Name = "value", Namespace = Namespaces.IqRpc)] 28 | internal class Value : XmppXElement 29 | { 30 | public Value() : base(Namespaces.IqRpc, "value") 31 | { 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /src/Matrix/Xmpp/SecurityLabels/ColorAttribute.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | using System; 23 | using System.Collections.Generic; 24 | using System.Text; 25 | 26 | namespace Matrix.Xmpp.SecurityLabels 27 | { 28 | public class ColorAttribute : Attribute 29 | { 30 | public string Hex { get; set; } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/Matrix/Xmpp/SecurityLabels/EquivalentLabel.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | using Matrix.Attributes; 23 | 24 | namespace Matrix.Xmpp.SecurityLabels 25 | { 26 | [XmppTag(Name = "equivalentlabel", Namespace = Namespaces.SecurityLabel)] 27 | public class EquivalentLabel : Label 28 | { 29 | public EquivalentLabel() 30 | : base("equivalentlabel") 31 | { 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /src/Matrix/Xmpp/Stream/Features/Auth.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | using Matrix.Attributes; 23 | using Matrix.Xml; 24 | 25 | namespace Matrix.Xmpp.Stream.Features 26 | { 27 | [XmppTag(Name = "auth", Namespace = Namespaces.FeatureAuth)] 28 | public class Auth : XmppXElement 29 | { 30 | public Auth() 31 | : base(Namespaces.FeatureAuth, "auth") 32 | { 33 | } 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /src/Matrix/Xmpp/Stream/Features/Bidi.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | using Matrix.Attributes; 23 | using Matrix.Xml; 24 | 25 | namespace Matrix.Xmpp.Stream.Features 26 | { 27 | [XmppTag(Name = "bidi", Namespace = Namespaces.FeatureBidi)] 28 | public class Bidi : XmppXElement 29 | { 30 | public Bidi() : base(Namespaces.FeatureBidi, "bidi") 31 | { 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /src/Matrix/Xmpp/Stream/Features/MessageArchiving.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | namespace Matrix.Xmpp.Stream.Features 23 | { 24 | public class MessageArchiving : StreamFeature 25 | { 26 | public MessageArchiving() : base(Namespaces.Archiving, "feature") 27 | { 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/Matrix/Xmpp/StreamManagement/Failed.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | using Matrix.Attributes; 23 | 24 | namespace Matrix.Xmpp.StreamManagement 25 | { 26 | [XmppTag(Name = "failed", Namespace = Namespaces.FeatureStreamManagement)] 27 | public class Failed : Base.Error 28 | { 29 | public Failed() : base(Namespaces.FeatureStreamManagement, "failed") 30 | { 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /src/Matrix/Xmpp/StreamManagement/Resumed.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | using Matrix.Attributes; 23 | 24 | namespace Matrix.Xmpp.StreamManagement 25 | { 26 | [XmppTag(Name = "resumed", Namespace = Namespaces.FeatureStreamManagement)] 27 | public class Resumed : Resume 28 | { 29 | public Resumed() : base("resumed") 30 | { 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /src/Matrix/Xmpp/Vcard/Vcard.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matrix-xmpp/matrix-vnext/a62ecc83174310d7cd4a480f99619d03a6857064/src/Matrix/Xmpp/Vcard/Vcard.zip -------------------------------------------------------------------------------- /src/Matrix/Xmpp/XHtmlIM/XHtmlIMElement.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | using Matrix.Xml; 23 | 24 | namespace Matrix.Xmpp.XHtmlIM 25 | { 26 | public abstract class XHtmlIMElement : XmppXElement 27 | { 28 | protected XHtmlIMElement(string tagName) : base(Namespaces.Xhtml, tagName) 29 | { 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/Matrix/XmppSessionEvent.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | namespace Matrix 23 | { 24 | public class XmppSessionEvent : DistinctBehaviorSubject 25 | { 26 | public XmppSessionEvent() : base(SessionEvent.SessionInitialized) 27 | { 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/Matrix/XmppSessionState.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2020 by AG-Software 3 | * 4 | * All Rights Reserved. 5 | * See the COPYING file for more information. 6 | * 7 | * This file is part of the MatriX project. 8 | * 9 | * NOTICE: All information contained herein is, and remains the property 10 | * of AG-Software and its suppliers, if any. 11 | * The intellectual and technical concepts contained herein are proprietary 12 | * to AG-Software and its suppliers and may be covered by German and Foreign Patents, 13 | * patents in process, and are protected by trade secret or copyright law. 14 | * 15 | * Dissemination of this information or reproduction of this material 16 | * is strictly forbidden unless prior written permission is obtained 17 | * from AG-Software. 18 | * 19 | * Contact information for AG-Software is available at http://www.ag-software.de 20 | */ 21 | 22 | namespace Matrix 23 | { 24 | public class XmppSessionState : DistinctBehaviorSubject 25 | { 26 | public XmppSessionState(): base(SessionState.Disconnected) 27 | { 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/Matrix/XpNet/EmptyTokenException.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2017 by Alexander Gnauck, AG-Software 3 | * All Rights Reserved. 4 | * Contact information for AG-Software is available at http://www.ag-software.de 5 | * 6 | * xpnet is a deriviative of James Clark's XP parser. 7 | * See copying.txt for more info. 8 | */ 9 | namespace Matrix.XpNet 10 | { 11 | /// 12 | /// An empty token was detected. This only happens with a buffer of length 0 is passed in 13 | /// to the parser. 14 | /// 15 | internal class EmptyTokenException : TokenException 16 | { 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/Matrix/XpNet/EndOfPrologException.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2017 by Alexander Gnauck, AG-Software 3 | * All Rights Reserved. 4 | * Contact information for AG-Software is available at http://www.ag-software.de 5 | * 6 | * xpnet is a deriviative of James Clark's XP parser. 7 | * See copying.txt for more info. 8 | */ 9 | namespace Matrix.XpNet 10 | { 11 | /// 12 | /// End of prolog. 13 | /// 14 | internal class EndOfPrologException : TokenException 15 | { 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/Matrix/XpNet/Position.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2017 by Alexander Gnauck, AG-Software 3 | * All Rights Reserved. 4 | * Contact information for AG-Software is available at http://www.ag-software.de 5 | * 6 | * xpnet is a deriviative of James Clark's XP parser. 7 | * See copying.txt for more info. 8 | */ 9 | namespace Matrix.XpNet 10 | { 11 | /// 12 | /// Represents a position in an entity. 13 | /// A position can be modified by Encoding.movePosition. 14 | /// Creates a position for the start of an entity: the line number is 15 | /// 1 and the column number is 0. 16 | /// 17 | public class Position 18 | { 19 | /// 20 | /// Returns the line number. 21 | /// The first line number is 1. 22 | /// 23 | public int LineNumber { get; set; } = 1; 24 | 25 | /// 26 | /// Returns the column number. 27 | /// The first column number is 0. 28 | /// A tab character is not treated specially. 29 | /// 30 | public int ColumnNumber { get; set; } = 0; 31 | } 32 | } -------------------------------------------------------------------------------- /src/Matrix/XpNet/Readme.md: -------------------------------------------------------------------------------- 1 | # XpNet Xml Parser 2 | 3 | XpNet is a port of [James Clark's Java XP parser](http://www.jclark.com/xml/xp/). Its a non blocking Xml parser optimized for parsing streaming Xml. 4 | See also copying.txt 5 | 6 | ## NuGet 7 | * Official releases are on [NuGet](https://www.nuget.org/packages/XpNet/). -------------------------------------------------------------------------------- /src/Matrix/XpNet/TokenException.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2017 by Alexander Gnauck, AG-Software 3 | * All Rights Reserved. 4 | * Contact information for AG-Software is available at http://www.ag-software.de 5 | * 6 | * xpnet is a deriviative of James Clark's XP parser. 7 | * See copying.txt for more info. 8 | */ 9 | using System; 10 | 11 | namespace Matrix.XpNet 12 | { 13 | /// 14 | /// Base class for other exceptions 15 | /// 16 | internal class TokenException : Exception 17 | { 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /test/Matrix.Extensions.Tests/Matrix.Extensions.Tests.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | netcoreapp3.1 5 | Matrix.Extensions.Tests 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /test/Matrix.Srv.Tests/Matrix.Srv.Tests.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | netcoreapp3.1 5 | Matrix.Srv.Tests 6 | Matrix.Srv.Tests 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /test/Matrix.Tests/ClientEnd2End/stream_error_host_unknown.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | ]]> 4 | 5 | 6 | 7 | 8 | 10 | ]]> 11 | 12 | 13 | 14 | ]]> 15 | 16 | 17 | ]]> 18 | 19 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Sasl/DigestMd5Tests.cs: -------------------------------------------------------------------------------- 1 | using Matrix.Sasl.Digest; 2 | using Shouldly; 3 | using Xunit; 4 | 5 | namespace Matrix.Tests.Sasl 6 | { 7 | public class DigestMd5Tests 8 | { 9 | [Fact] 10 | public void Should_Use_XmppDomain_As_Default_Realm() 11 | { 12 | // Arrange 13 | string serverStep1 = "nonce=\"3828753646\",qop=\"auth\",charset=utf-8,algorithm=md5-sess"; 14 | var step1 = new Step1(serverStep1); 15 | var xmppClient = new XmppClient() { Username = "alex", XmppDomain = "server.com", Password = "secret"}; 16 | var step2 = new Step2(step1, xmppClient); 17 | 18 | // Assert 19 | step2.GetMessage().ShouldContain("realm=\"server.com\""); 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xml/FactoryTest.cs: -------------------------------------------------------------------------------- 1 | using Matrix.Xml; 2 | using Matrix.Xmpp.Client; 3 | using Shouldly; 4 | using Xunit; 5 | 6 | namespace Matrix.Tests.Xml 7 | { 8 | public class FactoryTest 9 | { 10 | [Fact] 11 | public void ShouldReturnXName() 12 | { 13 | Factory.GetXName().ShouldBe("{jabber:client}message"); 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xml/cdata1.xml: -------------------------------------------------------------------------------- 1 |  2 | 4 | 5 | Psi + 6 | 7 | 8 | ]]> 9 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xml/stream1.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | PLAIN 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xml/stream_partial1.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | PLAIN 5 | 6 | 7 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xml/stream_partial2.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | alex@localhost/MatriX 14 | 15 | 16 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/AdvancedMessageProcessing/amp1.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/AdvancedMessageProcessing/amp2.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/AdvancedMessageProcessing/amp3.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/AdvancedMessageProcessing/amp4.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/AdvancedMessageProcessing/rule1.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/AdvancedMessageProcessing/rule2.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/AdvancedMessageProcessing/rule3.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Archiving/chat.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | Art thou not Romeo, and a Montague? 7 | 8 | 9 | Neither, fair saint, if either thee dislike. 10 | 11 | 12 | How cam'st thou hither, tell me, and wherefore? 13 | 14 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Archiving/iq1.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Archiving/iq2.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 100 7 | 8 | 9 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Archiving/list.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Archiving/pref.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Auth/query.xml: -------------------------------------------------------------------------------- 1 | 2 | gnauck 3 | 4 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Avatar/data.xml: -------------------------------------------------------------------------------- 1 |  2 | SGVsbG8gV29ybGQ= 3 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Avatar/info.xml: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Avatar/metadata.xml: -------------------------------------------------------------------------------- 1 |  2 | 8 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Base/mucuser1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Base/mucuser2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Bookmarks/conference1.xml: -------------------------------------------------------------------------------- 1 | 5 | Puck 6 | secret 7 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Bookmarks/storage1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Alex 4 | 5 | 6 | Alex 7 | 8 | 9 | Alex 10 | 11 | 12 | Alex 13 | 14 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Bosh/bosh1.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Bosh/bosh2.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Bosh/bosh3.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Bosh/bosh4.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Bosh/bosh5.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Bytestreams/activate1.xml: -------------------------------------------------------------------------------- 1 | target@example.org/bar -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Bytestreams/activate2.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Bytestreams/query1.xml: -------------------------------------------------------------------------------- 1 | 4 | 8 | 12 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Bytestreams/streamhost-used.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Bytestreams/streamhost1.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Bytestreams/streamhost2.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Capabilities/discoinfo1.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | urn:xmpp:dataforms:softwareinfo 12 | 13 | 14 | ipv4 15 | ipv6 16 | 17 | 18 | Mac 19 | 20 | 21 | 10.5.1 22 | 23 | 24 | Psi 25 | 26 | 27 | 0.11 28 | 29 | 30 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Capabilities/discoinfo3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Capabilities/streamfeatures.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Chatstates/message1.xml: -------------------------------------------------------------------------------- 1 | 5 | Who's there? 6 | 7 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Chatstates/message2.xml: -------------------------------------------------------------------------------- 1 | 5 | Who's there? 6 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Chatstates/message3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Client/error1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | dummy text 4 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Client/error10.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Client/error11.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Client/error12.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Client/error2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Client/error3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Client/error4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Client/error5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Client/error6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Client/error7.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Client/error8.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Client/error9.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Client/message1.xml: -------------------------------------------------------------------------------- 1 | 2 | Wow, I'm green with envy! 3 | 4 | 5 |

6 | Wow, I'm green 7 | with envy! 8 |

9 | 10 | 11 |
-------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Client/message2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 |

Hello World

4 | 5 |
-------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Client/paragraph.xml: -------------------------------------------------------------------------------- 1 |

2 | Wow, I'm green 3 | with envy! 4 |

-------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Client/rosteriq1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Client/rosteriq2.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Client/rosteriq3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Client/rosteriq4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Client/timeiq.xml: -------------------------------------------------------------------------------- 1 |  5 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Compression/compress1.xml: -------------------------------------------------------------------------------- 1 | 2 | zlib 3 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Compression/compress2.xml: -------------------------------------------------------------------------------- 1 | 2 | Zlib 3 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Compression/compression1.xml: -------------------------------------------------------------------------------- 1 | 2 | zlib 3 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Compression/compression2.xml: -------------------------------------------------------------------------------- 1 | 2 | Zlib 3 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Compression/compression3.xml: -------------------------------------------------------------------------------- 1 | 2 | FooBar 3 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Compression/streamfeatures1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | CRAM-MD5 5 | LOGIN 6 | PLAIN 7 | DIGEST-MD5 8 | SCRAM-SHA-1 9 | 10 | 11 | zlib 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Compression/streamfeatures2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | zlib 4 | 5 | 6 | SCRAM-SHA-1 7 | ANONYMOUS 8 | DIGEST-MD5 9 | PLAIN 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Dialback/stream.xml: -------------------------------------------------------------------------------- 1 |  8 | 37c69b1cf07a3f67c04a5ef5902fa5114f2c76fe4a2686482ba5b89323075643 12 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Dialback/verify1.xml: -------------------------------------------------------------------------------- 1 | 37c69b1cf07a3f67c04a5ef5902fa5114f2c76fe4a2686482ba5b89323075643 -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Dialback/verify2.xml: -------------------------------------------------------------------------------- 1 | 37c69b1cf07a3f67c04a5ef5902fa5114f2c76fe4a2686482ba5b89323075643 -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Dialback/verify3.xml: -------------------------------------------------------------------------------- 1 | 37c69b1cf07a3f67c04a5ef5902fa5114f2c76fe4a2686482ba5b89323075643 -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Disco/discoinfo1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | http://jabber.org/protocol/muc#roominfo 14 | 15 | 16 | Premier League 17 | 18 | 19 | 20 | 21 | 22 | 3 23 | 24 | 25 | 20090318T10:01:47 26 | 27 | 28 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Disco/discoitems1.xml: -------------------------------------------------------------------------------- 1 | 3 | 6 | 9 | 12 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Disco/feature1.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Disco/idendity1.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Disco/iq1.xml: -------------------------------------------------------------------------------- 1 | 6 | 8 | 11 | 13 | 15 | 16 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Disco/iq2.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Disco/item1.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/ExtendedStanzaAddressing/address1.xml: -------------------------------------------------------------------------------- 1 |
-------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/ExtendedStanzaAddressing/address2.xml: -------------------------------------------------------------------------------- 1 |
-------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/ExtendedStanzaAddressing/address3.xml: -------------------------------------------------------------------------------- 1 |
-------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/ExtendedStanzaAddressing/address4.xml: -------------------------------------------------------------------------------- 1 |
-------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/ExtendedStanzaAddressing/address5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 |
5 | 6 | Hello, world! 7 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Google/GCM/message1.xml: -------------------------------------------------------------------------------- 1 | 2 | {'to':'REGISTRATION_ID'} 3 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/HttpUpload/get.xml: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/HttpUpload/header-authorization.xml: -------------------------------------------------------------------------------- 1 | 
Basic Base64String==
-------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/HttpUpload/header-cookie.xml: -------------------------------------------------------------------------------- 1 | 
foo=bar; user=romeo
-------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/HttpUpload/slot-request-iq.xml: -------------------------------------------------------------------------------- 1 |  6 | 7 | 8 |
Basic Base64String==
9 |
foo=bar; user=romeo
10 |
11 | 12 |
13 |
-------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/HttpUpload/slot-request.xml: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/IBB/close1.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/IBB/data1.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/IBB/open1.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/IBB/open2.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Jingle/Transports/transport1.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Jingle/candidate1.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Jingle/content1.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Jingle/content2.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Jingle/description1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Jingle/description2.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Jingle/jingle1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Jingle/jingle_iq1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Jingle/payload-type1.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Jingle/reason1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Jingle/reason2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | b84tkkwlmb48kgfb 4 | 5 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/MessageCarbons/forwarded1.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/MessageCarbons/message_carbons1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | blarg 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Mood/mood1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | curse my nurse! 4 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Mood/mood2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Mood/pubsub1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | curse my nurse! 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Muc/Admin/admin_iq1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | my reason! 5 | 6 | 7 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Muc/Admin/admin_query1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | my reason! 4 | 5 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Muc/MucManagerTest.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matrix-xmpp/matrix-vnext/a62ecc83174310d7cd4a480f99619d03a6857064/test/Matrix.Tests/Xmpp/Muc/MucManagerTest.cs -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Muc/User/actor1.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Muc/User/decline1.xml: -------------------------------------------------------------------------------- 1 | 2 | Sorry, I'm too busy right now. 3 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Muc/User/invite1.xml: -------------------------------------------------------------------------------- 1 | 2 | The reason. 3 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Muc/User/presence_gtalk1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Working. DND! 6 | 7 | Alex 8 | dnd 9 | 10 | a8bb03071cb085b5705d49b43f32f7b7cb9c9a6c 11 | 12 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Muc/User/userx1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | cauldronburn 4 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Muc/message1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | FOO 5 | 6 | cauldronburn 7 | 8 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Muc/x1.xml: -------------------------------------------------------------------------------- 1 | 2 | secret 3 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Muc/x2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Nickname/nick1.xml: -------------------------------------------------------------------------------- 1 | Ishmael -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Nickname/presence1.xml: -------------------------------------------------------------------------------- 1 | 2 | away 3 | writing 4 | Ishmael 5 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Privacy/item1.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Privacy/item2.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Privacy/item3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Privacy/item4.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Privacy/privacy_query1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Private/private1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/PubSub/Event/associate1.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/PubSub/Event/collection1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/PubSub/Event/collection2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/PubSub/Event/disassociate1.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/PubSub/Event/event1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | [ ... ENTRY ... ] 5 | 6 | 7 | [ ... ENTRY ... ] 8 | 9 | 10 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/PubSub/Event/event2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/PubSub/Event/event3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/PubSub/Event/event4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/PubSub/Event/event5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/PubSub/Event/event6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/PubSub/Event/event7.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/PubSub/Owner/affiliations1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/PubSub/Owner/affiliations2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/PubSub/Owner/affiliations4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/PubSub/Owner/affiliations_iq1.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/PubSub/Owner/configure1.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/PubSub/Owner/configure3.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/PubSub/Owner/create1.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/PubSub/Owner/pubsub1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/PubSub/Owner/pubsub2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/PubSub/Owner/pubsub3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/PubSub/Owner/pubsub_delete_iq1.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/PubSub/Owner/purge1.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/PubSub/Owner/subscriptions1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/PubSub/PubSubManagerTest.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matrix-xmpp/matrix-vnext/a62ecc83174310d7cd4a480f99619d03a6857064/test/Matrix.Tests/Xmpp/PubSub/PubSubManagerTest.cs -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/PubSub/publish1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/PubSub/publish_iq1.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/PubSub/publish_iq2.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/PubSub/retract1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/PubSub/subscribe1.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/PubSub/subscription1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/PubSub/subscription2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/PubSub/unsubscribe1.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Register/register_query1.xml: -------------------------------------------------------------------------------- 1 | 2 | instructions 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Register/register_query2.xml: -------------------------------------------------------------------------------- 1 | 2 | instructions 3 | user 4 | 12345 5 | name 6 | first 7 | last 8 | user@email.com 9 | nick 10 | misc 11 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Register/register_query3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Register/register_query4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | jabber:iq:register 5 | 6 | 7 | Juliet 8 | 9 | 10 | Capulet 11 | 12 | 13 | juliet@capulet.com 14 | 15 | 16 | F 17 | 18 | 19 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Register/register_query5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Register/register_query6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Instructions 4 | Alex 5 | 12345 6 | alex@server.org 7 | 8 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Register/register_query7.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/ResultSetManagement/set1.xml: -------------------------------------------------------------------------------- 1 | 2 | 10 3 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/ResultSetManagement/set2.xml: -------------------------------------------------------------------------------- 1 | 2 | stpeter@jabber.org 3 | peterpan@neverland.lit 4 | 800 5 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Roster/item1.xml: -------------------------------------------------------------------------------- 1 | 5 | Friends 6 | Friends2 7 | Friends3 8 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Roster/item2.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Roster/item3.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Roster/item4.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Roster/item5.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Roster/item6.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Roster/roster_iq1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | Friends 7 | 8 | 11 | Friends 12 | 13 | 16 | Friends 17 | Friends2 18 | Friends3 19 | 20 | 21 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/RosterItemExchange/item1.xml: -------------------------------------------------------------------------------- 1 | 5 | Visitors 6 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/RosterItemExchange/item2.xml: -------------------------------------------------------------------------------- 1 | 4 | Visitors 5 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/RosterItemExchange/item3.xml: -------------------------------------------------------------------------------- 1 | 5 | Visitors 6 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/RosterItemExchange/x1.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/RosterItemExchange/x2.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | Visitors 6 | 7 | 10 | Visitors 11 | 12 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Rpc/rpc_iq1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | bid 5 | 6 | 7 | 8 | 9 | 10 | symbol 11 | 12 | RHAT 13 | 14 | 15 | 16 | limit 17 | 18 | 2.25 19 | 20 | 21 | 22 | expires 23 | 24 | 20020709T20:00:00 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Rpc/rpc_iq2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | com.collabng.net.remoteable.ViewpointRemoteable.setViewpoint 5 | 6 | 7 | 8 | viewpoint_BackView_collabng 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Rpc/rpc_iq3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | bid 5 | 6 | 7 | 8 | 9 | 10 | symbol 11 | RHAT 12 | 13 | 14 | limit 15 | 2.25 16 | 17 | 18 | some_array 19 | 20 | 21 | 22 | A 23 | B 24 | C 25 | D 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Rpc/rpc_query1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | bid 4 | 5 | 6 | 7 | 8 | 9 | symbol 10 | 11 | RHAT 12 | 13 | 14 | 15 | limit 16 | 17 | 2.25 18 | 19 | 20 | 21 | expires 22 | 23 | 20020709T20:00:00 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Rpc/rpc_query2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | examples.getStateName 4 | 5 | 6 | 7 | 6 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Rpc/rpc_query_response1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | faultCode 8 | 9 | 23 10 | 11 | 12 | 13 | faultString 14 | 15 | Unknown stock symbol ABCD 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Rpc/rpc_query_response2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Colorado 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Rpc/rpc_query_response3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | faultCode 7 | 8 | 23 9 | 10 | 11 | 12 | faultString 13 | 14 | Unknown stock symbol ABCD 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Sasl/auth1.xml: -------------------------------------------------------------------------------- 1 | ZHVtbXkgdmFsdWU= -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Sasl/challenge1.xml: -------------------------------------------------------------------------------- 1 | ZHVtbXkgdmFsdWU= -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Sasl/failure1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Sasl/failure2.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Sasl/mechanism1.xml: -------------------------------------------------------------------------------- 1 | GSSAPI -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Sasl/mechanisms1.xml: -------------------------------------------------------------------------------- 1 | 2 | DIGEST-MD5 3 | PLAIN 4 | GSSAPI 5 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Sasl/mechanisms2.xml: -------------------------------------------------------------------------------- 1 | 2 | GSSAPI 3 | DIGEST-MD5 4 | auth42.us.example.com 5 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Sasl/mechanisms3.xml: -------------------------------------------------------------------------------- 1 | 2 | GSSAPI 3 | DIGEST-MD5 4 | auth43.us.example.com 5 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Sasl/response1.xml: -------------------------------------------------------------------------------- 1 | ZHVtbXkgdmFsdWU= -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Search/search_query1.xml: -------------------------------------------------------------------------------- 1 |  2 | foo 3 | 4 | 5 | 6 | gnauck@ag-software.de 7 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Search/search_query2.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Juliet 4 | Capulet 5 | JuliC 6 | juliet@shakespeare.lit 7 | 8 | 9 | Tybalt 10 | Capulet 11 | ty 12 | tybalt@shakespeare.lit 13 | 14 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Search/search_query3.xml: -------------------------------------------------------------------------------- 1 |  2 | Tybalt 3 | Capulet 4 | ty 5 | tybalt@shakespeare.lit 6 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Search/search_query4.xml: -------------------------------------------------------------------------------- 1 |  4 | 5 | 6 | Juliet 7 | Capulet 8 | JuliC 9 | juliet@shakespeare.lit 10 | 11 | 12 | Tybalt 13 | Capulet 14 | ty 15 | tybalt@shakespeare.lit 16 | 17 | 18 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/SecurityLabels/message1.xml: -------------------------------------------------------------------------------- 1 | 2 | This content is classified. 3 | 4 | SECRET 5 | 8 | 9 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/SecurityLabels/securitylabel1.xml: -------------------------------------------------------------------------------- 1 | 2 | SECRET 3 | 6 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Shim/headers1.xml: -------------------------------------------------------------------------------- 1 | 2 |
2004-09-21T03:01:52Z
3 |
-------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Shim/headers2.xml: -------------------------------------------------------------------------------- 1 | 2 |
3 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Stream/Errors/see_other_host1.xml: -------------------------------------------------------------------------------- 1 | foo.com -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Stream/Errors/see_other_host2.xml: -------------------------------------------------------------------------------- 1 | foo.com:80 -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Stream/Features/ver1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Stream/Features/ver2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Stream/compression1.xml: -------------------------------------------------------------------------------- 1 | 2 | zlib 3 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Stream/compression2.xml: -------------------------------------------------------------------------------- 1 | 2 | FooBar 3 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Stream/stream_error1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Stream/stream_error2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Stream/stream_features1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | CRAM-MD5 5 | LOGIN 6 | PLAIN 7 | DIGEST-MD5 8 | SCRAM-SHA-1 9 | 10 | 11 | zlib 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/StreamManagement/a1.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/StreamManagement/enable1.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/StreamManagement/enabled1.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/StreamManagement/enabled2.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/StreamManagement/enabled3.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/StreamManagement/failed1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/StreamManagement/failed2.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/StreamManagement/failed3.xml: -------------------------------------------------------------------------------- 1 |  3 | 4 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/StreamManagement/r1.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/StreamManagement/resume1.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/StreamManagement/resumed1.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/StreamManagement/sm1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/StreamManagement/stream_features1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/StreamManagement/stream_features2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Tune/tune1.xml: -------------------------------------------------------------------------------- 1 | 2 | Yes 3 | 686 4 | 8 5 | Yessongs 6 | Heart of the Sunrise 7 | 3 8 | http://www.yesworld.com/lyrics/Fragile.html#9 9 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Vcard/address1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Suite 600 4 | 1899 Wynkoop Street 5 | Denver 6 | CO 7 | 80202 8 | USA 9 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Vcard/email1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | info@ag-software.de 4 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Vcard/email2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | stpeter@jabber.org 5 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Vcard/photo2.xml: -------------------------------------------------------------------------------- 1 | 2 | image/jpeg 3 | 4 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Vcard/photo3.xml: -------------------------------------------------------------------------------- 1 | 2 | image/jpeg 3 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Vcard/telephone1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 303-308-3282 5 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Vcard/telephone2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 12345 5 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Vcard/telephone3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 67890 5 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Vcard/telephone4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 12345 4 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Vcard/telephone5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 12345 5 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/Vcard/telephone6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 12345 5 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/XData/field1.xml: -------------------------------------------------------------------------------- 1 | 2 | queue1 3 | queue2 4 | queue3 5 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/XData/field2.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/XData/xdata1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | field-value 8 | 9 | 10 | 11 | 12 | field-value 13 | 14 | 15 | -------------------------------------------------------------------------------- /test/Matrix.Tests/Xmpp/XData/xdata3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | value1 4 | 5 | 6 | value2 7 | 8 | -------------------------------------------------------------------------------- /tools/nuget.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matrix-xmpp/matrix-vnext/a62ecc83174310d7cd4a480f99619d03a6857064/tools/nuget.exe -------------------------------------------------------------------------------- /tools/packages.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /tools/packages.config.md5sum: -------------------------------------------------------------------------------- 1 | CC-F2-4A-54-72-6D-04-F8-6C-50-05-13-FE-01-76-F3 2 | --------------------------------------------------------------------------------