Commit 843e21d6 authored by André's avatar André

Remove obsolete namespace constants

parent e559a3f8
Pipeline #6011 passed with stages
in 30 seconds
......@@ -32,184 +32,6 @@ from nbxmpp.namespaces import Namespace
def ascii_upper(s):
return s.upper()
NS_ACTIVITY = 'http://jabber.org/protocol/activity' # XEP-0108
NS_ADDRESS = 'http://jabber.org/protocol/address' # XEP-0033
NS_AGENTS = 'jabber:iq:agents'
NS_AMP = 'http://jabber.org/protocol/amp'
NS_AMP_ERRORS = NS_AMP + '#errors'
NS_ARCHIVE = 'urn:xmpp:archive' # XEP-0136
NS_ARCHIVE_AUTO = NS_ARCHIVE + ':auto' # XEP-0136
NS_ARCHIVE_MANAGE = NS_ARCHIVE + ':manage' # XEP-0136
NS_ARCHIVE_MANUAL = NS_ARCHIVE + ':manual' # XEP-0136
NS_ARCHIVE_PREF = NS_ARCHIVE + ':pref'
NS_ATOM = 'http://www.w3.org/2005/Atom'
NS_ATTENTION = 'urn:xmpp:attention:0' # XEP-0224
NS_AUTH = 'jabber:iq:auth'
NS_AVATAR = 'http://www.xmpp.org/extensions/xep-0084.html#ns-metadata'
NS_AVATAR_METADATA = 'urn:xmpp:avatar:metadata' # XEP-0084
NS_AVATAR_DATA = 'urn:xmpp:avatar:data' # XEP-0084
NS_BIND = 'urn:ietf:params:xml:ns:xmpp-bind'
NS_BLOCKING = 'urn:xmpp:blocking' # XEP-0191
NS_BOB = 'urn:xmpp:bob' # XEP-0231
NS_BOOKMARKS = 'storage:bookmarks' # XEP-0048
NS_BOOKMARKS_2 = 'urn:xmpp:bookmarks:0' # XEP-0402
NS_BOOKMARKS_COMPAT = 'urn:xmpp:bookmarks:0#compat' # XEP-0402
NS_BROWSE = 'jabber:iq:browse'
NS_BROWSING = 'http://jabber.org/protocol/browsing' # XEP-0195
NS_BYTESTREAM = 'http://jabber.org/protocol/bytestreams' # XEP-0065
NS_CAPS = 'http://jabber.org/protocol/caps' # XEP-0115
NS_CAPTCHA = 'urn:xmpp:captcha' # XEP-0158
NS_CARBONS = 'urn:xmpp:carbons:2' # XEP-0280
NS_CHATMARKERS = 'urn:xmpp:chat-markers:0' # XEP-0333
NS_CHATSTATES = 'http://jabber.org/protocol/chatstates' # XEP-0085
NS_CHATTING = 'http://jabber.org/protocol/chatting' # XEP-0194
NS_CLIENT = 'jabber:client'
NS_CONDITIONS = 'urn:xmpp:muc:conditions:1' # XEP-0306
NS_COMMANDS = 'http://jabber.org/protocol/commands'
NS_COMPONENT_ACCEPT = 'jabber:component:accept'
NS_COMPONENT_1 = 'http://jabberd.jabberstudio.org/ns/component/1.0'
NS_COMPRESS = 'http://jabber.org/protocol/compress' # XEP-0138
NS_CONFERENCE = 'jabber:x:conference'
NS_CORRECT = 'urn:xmpp:message-correct:0' # XEP-0308
NS_DATA = 'jabber:x:data' # XEP-0004
NS_DATA_MEDIA = 'urn:xmpp:media-element' # XEP-0221
NS_DELAY = 'jabber:x:delay'
NS_DELAY2 = 'urn:xmpp:delay'
NS_DIALBACK = 'jabber:server:dialback'
NS_DISCO = 'http://jabber.org/protocol/disco'
NS_DISCO_INFO = NS_DISCO + '#info'
NS_DISCO_ITEMS = NS_DISCO + '#items'
NS_EME = 'urn:xmpp:eme:0' # XEP-0380
NS_ENCRYPTED = 'jabber:x:encrypted' # XEP-0027
NS_ESESSION = 'http://www.xmpp.org/extensions/xep-0116.html#ns'
NS_ESESSION_INIT = 'http://www.xmpp.org/extensions/xep-0116.html#ns-init' # XEP-0116
NS_EVENT = 'jabber:x:event' # XEP-0022
NS_FEATURE = 'http://jabber.org/protocol/feature-neg'
NS_FILE = 'http://jabber.org/protocol/si/profile/file-transfer' # XEP-0096
NS_FORWARD = 'urn:xmpp:forward:0' # XEP-0297
NS_GAMING = 'http://jabber.org/protocol/gaming' # XEP-0196
NS_GATEWAY = 'jabber:iq:gateway' # XEP-0100
NS_GEOLOC = 'http://jabber.org/protocol/geoloc' # XEP-0080
NS_GROUPCHAT = 'gc-1.0'
NS_MSG_HINTS = 'urn:xmpp:hints' # XEP-0280
NS_HTTP_AUTH = 'http://jabber.org/protocol/http-auth' # XEP-0070
NS_HTTP_BIND = 'http://jabber.org/protocol/httpbind' # XEP-0124
NS_HTTPUPLOAD = 'urn:xmpp:http:upload' # XEP-0363
NS_HTTPUPLOAD_0 = 'urn:xmpp:http:upload:0' # XEP-0363
NS_IBB = 'http://jabber.org/protocol/ibb'
NS_IDLE = 'urn:xmpp:idle:1' # XEP-0319
NS_INVISIBLE = 'presence-invisible' # Jabberd2
NS_IQ = 'iq' # Jabberd2
NS_JINGLE ='urn:xmpp:jingle:1' # XEP-0166
NS_JINGLE_ERRORS = 'urn:xmpp:jingle:errors:1' # XEP-0166
NS_JINGLE_RTP = 'urn:xmpp:jingle:apps:rtp:1' # XEP-0167
NS_JINGLE_RTP_AUDIO = 'urn:xmpp:jingle:apps:rtp:audio' # XEP-0167
NS_JINGLE_RTP_VIDEO = 'urn:xmpp:jingle:apps:rtp:video' # XEP-0167
NS_JINGLE_FILE_TRANSFER = 'urn:xmpp:jingle:apps:file-transfer:3' # XEP-0234
NS_JINGLE_FILE_TRANSFER_5 = 'urn:xmpp:jingle:apps:file-transfer:5' # XEP-0234
NS_JINGLE_XTLS='urn:xmpp:jingle:security:xtls:0' # XTLS: EXPERIMENTAL security layer of jingle
NS_JINGLE_RAW_UDP = 'urn:xmpp:jingle:transports:raw-udp:1' # XEP-0177
NS_JINGLE_ICE_UDP = 'urn:xmpp:jingle:transports:ice-udp:1' # XEP-0176
NS_JINGLE_BYTESTREAM ='urn:xmpp:jingle:transports:s5b:1' # XEP-0260
NS_JINGLE_IBB = 'urn:xmpp:jingle:transports:ibb:1' # XEP-0261
NS_LAST = 'jabber:iq:last'
NS_LOCATION = 'http://jabber.org/protocol/geoloc' # XEP-0080
NS_MAM = 'urn:xmpp:mam:0' # XEP-0313
NS_MAM_1 = 'urn:xmpp:mam:1' # XEP-0313
NS_MAM_2 = 'urn:xmpp:mam:2' # XEP-0313
NS_MESSAGE = 'message' # Jabberd2
NS_MOOD = 'http://jabber.org/protocol/mood' # XEP-0107
NS_MUC = 'http://jabber.org/protocol/muc'
NS_MUC_USER = NS_MUC + '#user'
NS_MUC_ADMIN = NS_MUC + '#admin'
NS_MUC_OWNER = NS_MUC + '#owner'
NS_MUC_UNIQUE = NS_MUC + '#unique'
NS_MUC_CONFIG = NS_MUC + '#roomconfig'
NS_MUC_REQUEST = NS_MUC + '#request'
NS_MUC_INFO = NS_MUC + '#roominfo'
NS_NICK = 'http://jabber.org/protocol/nick' # XEP-0172
NS_OFFLINE = 'http://www.jabber.org/jeps/jep-0030.html' # XEP-0013
NS_PHYSLOC = 'http://jabber.org/protocol/physloc' # XEP-0112
NS_PING = 'urn:xmpp:ping' # XEP-0199
NS_PRESENCE = 'presence' # Jabberd2
NS_PRIVACY = 'jabber:iq:privacy'
NS_PRIVATE = 'jabber:iq:private'
NS_PROFILE = 'http://jabber.org/protocol/profile' # XEP-0154
NS_PUBSUB = 'http://jabber.org/protocol/pubsub' # XEP-0060
NS_PUBSUB_EVENT = 'http://jabber.org/protocol/pubsub#event'
NS_PUBSUB_PUBLISH_OPTIONS = NS_PUBSUB + '#publish-options' # XEP-0060
NS_PUBSUB_OWNER = 'http://jabber.org/protocol/pubsub#owner' # XEP-0060
NS_PUBSUB_CONFIG = 'http://jabber.org/protocol/pubsub#node_config' # XEP-0060
NS_REGISTER = 'jabber:iq:register'
NS_REGISTER_FEATURE = 'http://jabber.org/features/iq-register'
NS_ROSTER = 'jabber:iq:roster'
NS_ROSTERNOTES = 'storage:rosternotes'
NS_ROSTERX = 'http://jabber.org/protocol/rosterx' # XEP-0144
NS_ROSTER_VER = 'urn:xmpp:features:rosterver' # XEP-0273
NS_RPC = 'jabber:iq:rpc' # XEP-0009
NS_RSM = 'http://jabber.org/protocol/rsm'
NS_SASL = 'urn:ietf:params:xml:ns:xmpp-sasl'
NS_SECLABEL = 'urn:xmpp:sec-label:0'
NS_SECLABEL_CATALOG = 'urn:xmpp:sec-label:catalog:2'
NS_SEARCH = 'jabber:iq:search'
NS_SERVER = 'jabber:server'
NS_SESSION = 'urn:ietf:params:xml:ns:xmpp-session'
NS_SI = 'http://jabber.org/protocol/si' # XEP-0096
NS_SI_PUB = 'http://jabber.org/protocol/sipub' # XEP-0137
NS_SID = 'urn:xmpp:sid:0' # XEP-0359
NS_SIGNED = 'jabber:x:signed' # XEP-0027
NS_SIMS = 'urn:xmpp:sims:1' # XEP-0385
NS_SSN = 'urn:xmpp:ssn' # XEP-0155
NS_STANZA_CRYPTO = 'http://www.xmpp.org/extensions/xep-0200.html#ns' # XEP-0200
NS_STANZAS = 'urn:ietf:params:xml:ns:xmpp-stanzas'
NS_STREAM = 'http://affinix.com/jabber/stream'
NS_STREAMS = 'http://etherx.jabber.org/streams'
NS_TIME = 'jabber:iq:time' # XEP-0900
NS_TIME_REVISED = 'urn:xmpp:time' # XEP-0202
NS_TLS = 'urn:ietf:params:xml:ns:xmpp-tls'
NS_TUNE = 'http://jabber.org/protocol/tune' # XEP-0118
NS_VACATION = 'http://jabber.org/protocol/vacation'
NS_VCARD = 'vcard-temp'
NS_GMAILNOTIFY = 'google:mail:notify'
NS_GTALKSETTING = 'google:setting'
NS_VCARD_UPDATE = NS_VCARD + ':x:update'
NS_VERSION = 'jabber:iq:version'
NS_VIEWING = 'http://jabber.org/protocol/viewing' # XEP--197
NS_WAITINGLIST = 'http://jabber.org/protocol/waitinglist' # XEP-0130
NS_XHTML_IM = 'http://jabber.org/protocol/xhtml-im' # XEP-0071
NS_XHTML = 'http://www.w3.org/1999/xhtml' # "
NS_X_OOB = 'jabber:x:oob' # XEP-0066
NS_DATA_LAYOUT = 'http://jabber.org/protocol/xdata-layout' # XEP-0141
NS_DATA_VALIDATE = 'http://jabber.org/protocol/xdata-validate' # XEP-0122
NS_XMPP_STREAMS = 'urn:ietf:params:xml:ns:xmpp-streams'
NS_RECEIPTS = 'urn:xmpp:receipts'
NS_PUBKEY_PUBKEY = 'urn:xmpp:pubkey:2' # XEP-0189
NS_PUBKEY_REVOKE = 'urn:xmpp:revoke:2'
NS_PUBKEY_ATTEST = 'urn:xmpp:attest:2'
NS_STREAM_MGMT = 'urn:xmpp:sm:3' # XEP-198
NS_HASHES = 'urn:xmpp:hashes:1' # XEP-300
NS_HASHES_2 = 'urn:xmpp:hashes:2' # XEP-300
NS_HASHES_MD5 = 'urn:xmpp:hash-function-text-names:md5'
NS_HASHES_SHA1 = 'urn:xmpp:hash-function-text-names:sha-1'
NS_HASHES_SHA256 = 'urn:xmpp:hash-function-text-names:sha-256'
NS_HASHES_SHA512 = 'urn:xmpp:hash-function-text-names:sha-512'
NS_HASHES_SHA3_256 = 'urn:xmpp:hash-function-text-names:sha3-256'
NS_HASHES_SHA3_512 = 'urn:xmpp:hash-function-text-names:sha3-512'
NS_HASHES_BLAKE2B_256 = 'urn:xmpp:hash-function-text-names:id-blake2b256'
NS_HASHES_BLAKE2B_512 = 'urn:xmpp:hash-function-text-names:id-blake2b512'
NS_OPENPGP = 'urn:xmpp:openpgp:0'
NS_OPENPGP_PK = 'urn:xmpp:openpgp:0:public-keys'
NS_OPENPGP_SK = 'urn:xmpp:openpgp:0:secret-key'
NS_OMEMO_TEMP = 'eu.siacs.conversations.axolotl'
NS_OMEMO_TEMP_DL = 'eu.siacs.conversations.axolotl.devicelist'
NS_OMEMO_TEMP_BUNDLE = 'eu.siacs.conversations.axolotl.bundles'
NS_BOOKMARK_CONVERSION = 'urn:xmpp:bookmarks-conversion:0'
NS_DOMAIN_BASED_NAME = 'urn:xmpp:domain-based-name:1'
NS_HINTS = 'urn:xmpp:hints'
NS_MUCLUMBUS = 'https://xmlns.zombofant.net/muclumbus/search/1.0'
NS_FRAMING = 'urn:ietf:params:xml:ns:xmpp-framing'
SASL_AUTH_MECHS = [
'SCRAM-SHA-256-PLUS',
'SCRAM-SHA-256',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment