Commit Graph

  • 370c500a5e
    xmpp: Add reply and stanza ID serialization/deserialization master uwaru 2024-11-04 04:46:30 +0100
  • 7154bfeb76
    Update module Wim 2024-05-24 01:01:55 +0200
  • 243a438354
    Implement XMPP message ID and message correction functionality ValdikSS 2018-05-29 20:44:44 +0300
  • e9123cc4b3 Make use of FAST configurable. Martin Dosch 2024-05-11 15:05:41 +0200
  • 4be597a84a Add commit that Client.Mechanism is the SCRAM mechanism used. Martin Dosch 2024-05-11 14:55:32 +0200
  • 464fbe04ef Update go modules. Martin Dosch 2024-05-06 21:16:36 +0200
  • e223dcf94b Only set from if connection is encrypted. Martin Dosch 2024-04-23 21:24:34 +0200
  • 321c2b14a5 FAST: Add option to invalidate current fast token. Martin Dosch 2024-04-13 12:08:36 +0200
  • 9161feef4d FAST: Check that connection is encrypted. Martin Dosch 2024-04-12 17:27:33 +0200
  • fc3ed9a0b8 Update go modules. Martin Dosch 2024-04-12 12:56:37 +0200
  • d9df620fa4 Revert "FAST success: New token OR reduced expiry not AND." Martin Dosch 2024-04-12 11:51:56 +0200
  • f067814851 FAST success: New token OR reduced expiry not AND. Martin Dosch 2024-04-12 10:53:15 +0200
  • 961b7e435e FAST: Check for changed token after sasl2Success. Martin Dosch 2024-04-12 10:25:55 +0200
  • 12a04e0950 Set shutdown earlier to further reduce probability of races. Martin Dosch 2024-04-11 09:50:28 +0200
  • 2f331ed19c
    Merge pull request #188 from mdosch/fast Martin 2024-04-10 15:14:39 +0200
  • b0f55a8f7f Basic FAST support. Martin Dosch 2024-04-10 15:13:20 +0200
  • 7486b7a363
    Add support for SASL2 and BIND2 (#187) Martin 2024-04-09 10:53:38 +0200
  • da2377ecb0 Recv: Return error on stream error. Martin Dosch 2024-04-07 11:25:16 +0200
  • 44095406a2 Update go modules. Martin Dosch 2024-04-07 00:59:08 +0200
  • d7aee6b636 Harmonize newlines. Martin Dosch 2024-04-05 11:57:09 +0200
  • 0324b31f56 Update go modules. Martin Dosch 2024-04-04 11:05:14 +0200
  • ca4e49201e Do not try to read from the xml stream if it's going to be closed. Martin Dosch 2024-04-02 16:32:30 +0200
  • 6e5d6e449e Remove checking for xml.Endelement in nextStart(). Martin Dosch 2024-04-02 15:48:34 +0200
  • 0ae62a33a2 Further reduce possible data races. Martin Dosch 2024-04-02 13:39:45 +0200
  • ce687243c1 NextEnd: Use Token() instead of RawToken() Martin Dosch 2024-03-31 15:50:04 +0200
  • 78d07e9eee XEP-0478: Further improve error message. Martin Dosch 2024-03-28 18:17:45 +0100
  • 416bb6e7b7 XEP-0478: Be more verbose in error if max stanza size is exceeded. Martin Dosch 2024-03-28 18:07:23 +0100
  • aef1257ed1 Fix timeout when server doesn't reply with closing stream element. Martin Dosch 2024-03-28 17:22:02 +0100
  • da17a46e6f Also read stream limits after authentication Martin Dosch 2024-03-28 15:57:56 +0100
  • eedd7259cb Generate new ID for session (fixes #67) Martin Dosch 2024-03-28 15:53:09 +0100
  • 07196efcf3 Add support for XEP-0478: Stream Limits Advertisement. Martin Dosch 2024-03-28 15:49:08 +0100
  • bbd90cc04b Copy token in nextStart function. Martin Dosch 2024-03-27 21:12:42 +0100
  • 0c7ee22452 Revert "Don't copy token." Martin Dosch 2024-03-27 21:09:43 +0100
  • 862c21f845 Make XEP-0474 configurable (default off). Martin Dosch 2024-03-26 21:34:51 +0100
  • bc81053dbc Don't copy token. Martin Dosch 2024-03-26 19:26:19 +0100
  • 94ab540b80
    Merge pull request #186 from vcabbage/move-mutex Martin 2024-03-26 19:18:05 +0100
  • f6a9836fdf move nextMutex to Client to prevent blocking separate Clients Kale Blankenship 2024-03-26 11:02:05 -0700
  • 8ab32d885f Fix race condition for nextStart and nextEnd. Martin Dosch 2024-03-16 19:04:09 +0100
  • 73f06c9f3d Catch stream error after bind request. Martin Dosch 2024-03-10 13:44:33 +0100
  • 9c5e758356 Use RawToken() instead of Token() for finding nextEnd. Martin Dosch 2024-03-10 11:30:39 +0100
  • ea4874e8c9 SCRAM: Check for SASL failure after sending auth message. Martin Dosch 2024-03-09 19:51:47 +0100
  • dab6865bd2 Update go modules. Martin Dosch 2024-03-06 21:01:03 +0100
  • c051d69509 Improve closing the stream. Martin Dosch 2024-03-03 12:10:45 +0100
  • aed021cf3e Wait for the server closing the stream before closing the connection. Martin Dosch 2024-03-02 14:17:47 +0100
  • 2c4708e724
    [gofumpt]: Remove empty line. Martin Dosch 2024-02-27 22:26:58 +0100
  • 746409f074
    Update dependencies. Martin Dosch 2024-02-26 23:04:17 +0100
  • 9684a8ff69 Close stream before closing connection. Martin Dosch 2024-02-25 12:25:57 +0100
  • b7ea9f4be1 Update dependencies. Martin Dosch 2024-02-23 13:55:02 +0100
  • e2bc7bf6d7 Remove unused type clientPubsub. Martin Dosch 2024-02-22 18:59:22 +0100
  • 0bcc057225 Remove unused types. Martin Dosch 2024-02-22 17:58:48 +0100
  • 49054ca9e9 Remove unused function saslDigestResponse. Martin Dosch 2024-02-22 17:55:38 +0100
  • b369b7df10
    Merge pull request #183 from mdosch/update-docs Martin 2024-02-01 13:58:52 +0800
  • cc481e54e7 Update import path in examples. Martin Dosch 2024-02-01 13:58:04 +0800
  • 88855eac82
    Merge pull request #182 from mdosch/gofumpt Martin 2024-02-01 13:56:27 +0800
  • 0cc0a72c15 [gofumpt] Improve formatting. Martin Dosch 2024-02-01 13:54:58 +0800
  • d6e9a15f29
    Merge pull request #181 from mdosch/scram-improvement Martin 2024-02-01 13:52:47 +0800
  • 6ffd595a06 Improve RFC5802 compatibility. Martin Dosch 2024-02-01 13:35:55 +0800
  • 62928b3483
    Merge pull request #180 from mdosch/fix-134 Martin 2024-01-18 20:04:09 +0100
  • d67787ca0f Filter invalid UTF8 from message body. Martin Dosch 2024-01-18 19:46:18 +0100
  • f8a24505f4 Update dependencies. Martin Dosch 2024-01-14 00:15:36 +0100
  • 685570cbd8
    Merge pull request #179 from mdosch/socks Martin 2024-01-13 14:58:10 +0100
  • 7bfa331758 Add support for SOCKS5 proxies. Martin Dosch 2024-01-13 14:05:35 +0100
  • 3f0cbac307
    Merge pull request #178 from mdosch/server-end-point Martin 2024-01-12 12:12:52 +0100
  • 7ccad52e63 (Indirectly) check that TLS was not renegotioated when using "tls-server-end-point". Martin Dosch 2024-01-12 12:10:06 +0100
  • 705f68d1a5 Simplify tls-server-end-point channel binding code. Martin Dosch 2024-01-12 11:56:32 +0100
  • b49bdce100 Merge branch 'master' into server-end-point Martin Dosch 2024-01-12 11:54:03 +0100
  • f4c732fdc7
    SCRAM: Add support for tls-server-end-point channel binding. (#177) Martin 2024-01-11 13:33:32 +0100
  • d3d16d5db9 SCRAM: Add support for tls-server-end-point channel binding. Martin Dosch 2024-01-11 13:29:59 +0100
  • 34d683d25a
    Extend SendPresence() stub func to allow send useful statuses (#150) Eleksir 2024-01-11 01:24:28 +0300
  • dffa92c129
    Remove DIGEST-MD5 (#171) Martin 2024-01-10 22:41:08 +0100
  • 8531e2e36a
    improve no more auth err msg (#176) Martin 2024-01-10 16:17:02 +0100
  • e7d5b17113
    Readability improvements. (#175) Martin 2024-01-10 16:04:40 +0100
  • c1b9689e75
    Change import path to xmppo/go-xmpp (#174) Martin 2024-01-10 15:52:41 +0100
  • 424970d23c
    Fix manual choice of auth mechanism. (#173) Martin 2024-01-10 15:49:08 +0100
  • 5fdcf18a81
    Simplify authentication choice code. (#169) Martin 2024-01-10 14:53:36 +0100
  • 794ed98f9f
    Provide access to xml:lang information. (#168) Martin 2024-01-10 13:57:27 +0100
  • 2f9bd427e8
    Merge pull request #167 from mdosch/master Martin 2024-01-10 13:18:48 +0100
  • 70c2fe6900 Update dependencies. Martin Dosch 2024-01-10 13:17:25 +0100
  • 39f5b80375
    Authentication improvements. (#165) Martin 2024-01-09 10:24:56 +0100
  • 2449f4192b Remove debugging stuff. Martin Dosch 2024-01-08 19:48:13 +0100
  • 3462085098 Add missing error handling. Martin Dosch 2024-01-08 19:32:08 +0100
  • 6c9243326e Add XEP-0474 support. Martin Dosch 2024-01-08 19:30:17 +0100
  • 31c7eb6919
    Merge pull request #155 from mdosch/rework-newlines Martin 2023-11-11 15:10:53 +0100
  • 9dcf67c0ad Merge branch 'master' into rework-newlines Martin Dosch 2023-11-11 14:37:59 +0100
  • 4c385a334c
    Add SCRAM PLUS variants. (#163) Martin 2023-11-11 13:08:17 +0100
  • 24e0f536cb
    add go.mod Yasuhiro Matsumoto 2023-11-11 21:04:41 +0900
  • a6b124c9b2
    Fix typo. (#158) Martin 2023-09-24 16:18:19 +0200
  • 6138e9dbe5 Harmonize newlines Martin Dosch 2023-08-14 10:28:33 +0200
  • 98ff0d4df7
    Rework printing of sent stanzas when debug is enabled (#148) Martin 2023-07-28 16:42:12 +0200
  • bef3e549f7
    add scram auth (#147) Martin 2023-05-21 09:26:59 +0200
  • 9129a110df
    fix syntax errors (#145) Martin 2023-03-02 16:20:58 +0100
  • d72a0f3154
    Implement Disco queries against other entities (#124) PapaTutuWawa 2023-03-02 05:23:29 +0100
  • 9fc0b1236c
    Print sent stanzas in debug mode. (#141) Martin 2023-03-02 05:22:44 +0100
  • 05cd75074a
    success msg (#144) Martin 2023-03-02 05:20:49 +0100
  • 369824c83a
    Update xmpp_subscription.go (#131) vakalmikov 2023-03-02 04:32:52 +0300
  • 2eb234970c
    Remove unnecessary newline. (#140) Martin 2022-07-13 00:17:24 +0200
  • 3b26f73300
    [codespell] Fix typo. (#139) Martin 2022-07-10 19:58:21 +0200
  • 1411b9cc8b
    Add xml attribute support for XMLElement (#136) milampi 2022-05-13 11:24:06 +0300
  • 99ddfc1aa4
    Return all pubsub IQs. (#137) Martin 2022-04-10 13:46:12 +0800
  • e773596ea0
    Provide error replies for IQs. (#135) Martin 2022-03-19 21:58:56 +0800