Commit Graph
100 Commits
Author SHA1 Message Date
PapaTutuWawa d9fbb9e102 fix(xep,core): Ensure in-order processing of incoming stanzas 2023-09-29 19:58:43 +02:00
PapaTutuWawa aba90f2e90 feat(example): Print the number of users in the MUC 2023-09-27 18:58:17 +02:00
PapaTutuWawa 9211963390 fix(xep): Fix ending presence processing too early if containing a photo 2023-09-27 18:57:42 +02:00
PapaTutuWawa c7d58c3d3f feat(core): Add logging for when a manager ends processing early 2023-09-27 18:57:13 +02:00
PapaTutuWawa 6dbbf08be4 feat(xep): Add an event for when someone leaves the MUC
ci/woodpecker/push/woodpecker Pipeline was successful
2023-09-26 23:42:49 +02:00
PapaTutuWawa 7ca648c478 feat(xep): Add MUC events
ci/woodpecker/push/woodpecker Pipeline was successful
2023-09-26 23:34:53 +02:00
PapaTutuWawa 814f99436b fix(xep): Do not automatically request vCards
ci/woodpecker/push/woodpecker Pipeline was successful
2023-09-26 14:16:41 +02:00
PapaTutuWawa 5bd2466c54 feat(xep): Parse the room info from the extended disco info
ci/woodpecker/push/woodpecker Pipeline was successful
2023-09-26 14:00:27 +02:00
PapaTutuWawa 14b62cef96 fix(xep): Fix crash for messages with no id 2023-09-26 13:59:51 +02:00
PapaTutuWawa c3088f9046 fix(xep): Make leaving the room non-awaitable
ci/woodpecker/push/woodpecker Pipeline was successful
2023-09-25 21:08:24 +02:00
PapaTutuWawa 64b93b536e fix(xep): Add missing metadata
ci/woodpecker/push/woodpecker Pipeline was successful
2023-09-24 18:44:23 +02:00
PapaTutuWawa c1c48d0a83 feat(xep): Provide an implementation of XEP-0392 2023-09-24 18:43:06 +02:00
PapaTutuWawa 4a681b9483 fix(xep): Somehow fix reconnection issues
ci/woodpecker/push/woodpecker Pipeline was successful
2023-09-23 22:19:06 +02:00
PapaTutuWawa c504afc944 fix(xep): Fix joining a MUC making it stuck
ci/woodpecker/push/woodpecker Pipeline was successful
2023-09-23 14:14:23 +02:00
PapaTutuWawa 76a9f7be7a feat(xep): Allow adding MUCs to join later
ci/woodpecker/push/woodpecker Pipeline was successful
2023-09-22 21:43:56 +02:00
PapaTutuWawa afa3927720 feat(xep): Rejoin groupchats on a new stream 2023-09-22 21:22:18 +02:00
PapaTutuWawa 5f36289f50 fix(all): Fix linter warnings 2023-09-22 20:57:05 +02:00
PapaTutuWawa fbe3b90200 feat(xep): Implement ignoring the message reflection 2023-09-22 20:42:45 +02:00
PapaTutuWawa d7c13abde6 feat(xep): Allow ignoring the discussion history
Also allow specifying the amount of stanzas of discussion history we
want.
2023-09-22 19:23:35 +02:00
PapaTutuWawa d4416c8a47 fix(xep): Fix null-deference
ci/woodpecker/push/woodpecker Pipeline was successful
2023-09-17 20:19:50 +02:00
PapaTutuWawa 9666557655 feat(xep): Make avatar queries more explicit
ci/woodpecker/push/woodpecker Pipeline was successful
2023-09-17 20:10:53 +02:00
PapaTutuWawa 1625f912b0 chore(docs): Fix moxxmpp docs
ci/woodpecker/push/woodpecker Pipeline was successful
2023-09-04 21:11:00 +02:00
PapaTutuWawa 864cc0e747 feat(meta): Remove omemo_dart override
ci/woodpecker/push/woodpecker Pipeline was successful
2023-08-22 20:21:16 +02:00
PapaTutuWawa c9e817054d fix(ci): Fix moxxmpp test pipeline
ci/woodpecker/push/woodpecker Pipeline failed
2023-08-22 20:07:50 +02:00
PapaTutuWawa d57bf2ef80 fix(ci): Use the pubcached pub.dev cache
ci/woodpecker/push/woodpecker Pipeline failed
2023-08-22 20:02:43 +02:00
PapaTutuWawa 8bfdd5e54a fix(ci): Remove event restriction
ci/woodpecker/manual/woodpecker Pipeline failed
ci/woodpecker/push/woodpecker Pipeline failed
2023-08-19 22:49:16 +02:00
PapaTutuWawa e58082bf38 feat(ci): Notify on build failure
ci/woodpecker/manual/woodpecker Pipeline failed
2023-08-19 22:47:29 +02:00
PapaTutuWawa dbb945b424 fix(docs): Remove duplicate <programming-language /> 2023-08-10 15:00:11 +02:00
PapaTutuWawa 2431eafa6c fix(docs): Fix broken DOAP 2023-08-10 14:58:16 +02:00
PapaTutuWawa 264ab130ee chore(docs): Update DOAP 2023-08-10 14:44:57 +02:00
PapaTutuWawa 38dba0e6b7 fix(xep): Export JingleContentThumbnail 2023-08-06 13:14:57 +02:00
PapaTutuWawa 94d6fe4925 Merge branch 'feat/remove-eft' 2023-08-06 13:05:55 +02:00
PapaTutuWawa c8b903e5df chore(all): Fix linter issues 2023-08-06 13:04:12 +02:00
PapaTutuWawa b14363319a feat(xep): Remove Extensible File Thumbnails 2023-08-06 13:01:28 +02:00
PapaTutuWawa a18507cc3a chore(flake): Update flake 2023-08-06 12:23:46 +02:00
PapaTutuWawa 93418f0127 fix(xep): Fix missing handling of StanzaError
Fixes #48.
2023-07-29 19:27:40 +02:00
PapaTutuWawa 1e7279e23b Merge pull request 'Implement XEP-0045 support in moxxmpp' (#46) from ikjot-2605/moxxmpp:xep_0045 into master
Reviewed-on: https://codeberg.org/moxxy/moxxmpp/pulls/46
2023-07-01 19:42:12 +00:00
PapaTutuWawa b92e825bc1 fix(xep): Fix handling StanzaErrors from the DiscoManager 2023-07-01 13:19:26 +02:00
PapaTutuWawa a928c5c877 feat(xep): Also potentially return "generic" stanza errors 2023-06-29 21:12:30 +02:00
PapaTutuWawa 77a1acb0e7 fix(moxxmpp): Somewhat fix (and break) moxxmpp_socket_tcp integration tests 2023-06-25 12:47:47 +02:00
PapaTutuWawa 05e3d804a4 feat(example): Fix omemo_dart dependency 2023-06-20 16:36:49 +02:00
PapaTutuWawa b5efc2dfae feat(xep): Expose new/replaced ratchets in the MessageEvent 2023-06-20 16:35:51 +02:00
PapaTutuWawa d35b955259 fix(xep): Accidentally left getUnackedStanzas exposed 2023-06-19 23:15:29 +02:00
PapaTutuWawa 30dca67fb6 feat(all): Remove freezed
Fixes #43.
2023-06-19 23:11:58 +02:00
PapaTutuWawa 2db44e2f51 fix(xep): Fix resend behaviour leading to period disconnects
It seems that we were expecting acks "in the future" for old stanzas.
Also, this commit should prevent E2EE implementations from re-encrypting
resent stanzas.

Fixes #38.
2023-06-19 22:55:50 +02:00
PapaTutuWawa 4f9a0605c7 Merge pull request 'OMEMO Improvements' (#47) from omemo-changes into master
Reviewed-on: https://codeberg.org/moxxy/moxxmpp/pulls/47
2023-06-18 19:58:05 +00:00
PapaTutuWawa 3621f2709a chore(docs): Update changelog 2023-06-18 21:57:53 +02:00
PapaTutuWawa 9da6d319a3 feat(all): Use 0.5.0 of omemo_dart 2023-06-18 21:30:35 +02:00
PapaTutuWawa e3ca83670a feat(example): Implement common argument parsing 2023-06-18 21:16:47 +02:00
PapaTutuWawa fbbe413148 feat(example): Improve the example code 2023-06-18 20:59:54 +02:00
PapaTutuWawa 9fd2daabb2 feat(xep): Adjust to more omemo_dart changes 2023-06-17 23:51:52 +02:00
PapaTutuWawa 8252472fae feat(xep): Adjust to omemo_dart changes 2023-06-17 23:37:08 +02:00
PapaTutuWawa 3cb5a568ce feat(xep,core): Migrate to moxlib's Result type 2023-06-17 21:45:00 +02:00
PapaTutuWawa c2f62e2967 feat(xep): Implement an OMEMO example client 2023-06-17 21:28:54 +02:00
PapaTutuWawa 29a5417b31 Merge pull request 'Add support for XEP-0421.' (#45) from ikjot-2605/moxxmpp:feat_xep_0421 into master
Reviewed-on: https://codeberg.org/moxxy/moxxmpp/pulls/45
2023-06-12 10:58:32 +00:00
PapaTutuWawa fa2ce7c2d1 feat(xep): FASTSaslNegotiator now only takes a string as its token 2023-06-11 22:22:45 +02:00
PapaTutuWawa aa71d3ed5d feat(xep): Allow changing the SASL2 user agent 2023-06-11 16:30:49 +02:00
PapaTutuWawa f2d8c6a009 fix(xep): Fix parsing user avatar data with newlines 2023-06-10 21:06:30 +02:00
PapaTutuWawa 88545e3308 fix(xep): Fix the OOB fallback for SFS 2023-06-09 00:07:18 +02:00
PapaTutuWawa 925a46c0da feat(xep): Move to JID 2023-06-09 00:07:05 +02:00
PapaTutuWawa 327f695a40 Merge pull request 'Replace StanzaHandlerData with something more extensible' (#42) from feat/type-map-rework into master
Reviewed-on: https://codeberg.org/moxxy/moxxmpp/pulls/42
2023-06-07 21:44:28 +00:00
PapaTutuWawa 8266765ff8 feat(core): Add encryption info to MessageEvent 2023-06-07 23:42:05 +02:00
PapaTutuWawa e234c812ff feat(core): Add a shorthand for MessageEvent.extensions.get 2023-06-07 21:11:11 +02:00
PapaTutuWawa 4ff2992a03 fix(all): Last minute fixes 2023-06-07 21:04:05 +02:00
PapaTutuWawa 09fd5845aa feat(core): Re-fix the subscription functions 2023-06-07 18:54:05 +02:00
PapaTutuWawa 963f3f2cd9 feat(core): Check if we can do subscription pre-approval 2023-06-07 18:41:08 +02:00
PapaTutuWawa da1d28a6d6 feat(core): Remove the PresenceReceivedEvent 2023-06-07 15:12:34 +02:00
PapaTutuWawa cbd90b1163 feat(core): Add a list constructor to TypedMap 2023-06-07 14:13:46 +02:00
PapaTutuWawa f0538b0447 feat(xep): Write a test for XEP-0334 2023-06-06 21:46:33 +02:00
PapaTutuWawa 968604b0ba fix(tests): Fix SFS parsing test 2023-06-06 21:31:14 +02:00
PapaTutuWawa 60279a84e0 feat(all): Restrict extensions to StanzaHandlerExtension 2023-06-06 21:19:42 +02:00
PapaTutuWawa cf3287ccf4 feat(core): Remove freezed artifact 2023-06-06 20:26:35 +02:00
PapaTutuWawa 1ab0ed856f feat(all): Bump version to 0.4.0 2023-06-06 20:22:13 +02:00
PapaTutuWawa 10a5046431 feat(core): Rework [MessageEvent] 2023-06-06 16:19:16 +02:00
PapaTutuWawa 4d76b9f57a feat(core): Remove [MessageDetails] 2023-06-06 15:57:55 +02:00
PapaTutuWawa 0ec3777f44 feat(xep): Managers register the sending callback 2023-06-06 15:14:19 +02:00
PapaTutuWawa 6f5de9c4dc feat(xep): Implement the message sending callbacks 2023-06-06 14:12:49 +02:00
PapaTutuWawa 79d7e3ba64 feat(all): Move all managers to the new data system 2023-06-04 21:53:47 +02:00
PapaTutuWawa 8270185027 feat(core): Implement a typed map 2023-06-03 00:41:23 +02:00
PapaTutuWawa 9e0f38154e feat(all): Various changes
- Fix unavailable presence being sent *after* connecting
- Migrate more APIs to the JID class
- Advertise +notify for user avatar metadata
2023-06-02 22:00:44 +02:00
PapaTutuWawa 1475cb542f fix(xep): Just receiving <stanza-id/>s does not require disco
It is only required when we try to use them.
2023-05-25 12:42:42 +02:00
PapaTutuWawa b949ec6ff5 fix(docs): Fix typo 2023-05-24 23:44:48 +02:00
PapaTutuWawa c3be199cca Merge pull request 'Stanza send queue' (#40) from feat/send-queue into master
Reviewed-on: https://codeberg.org/moxxy/moxxmpp/pulls/40
2023-05-24 20:50:03 +00:00
PapaTutuWawa 83ebe58c47 feat(tests): Test emptying stanza queue on connect 2023-05-24 22:03:17 +02:00
PapaTutuWawa 4db0ef6b34 feat(core): Expose StanzaDetails 2023-05-24 20:41:02 +02:00
PapaTutuWawa b95e75329d feat(all): Remove StanzaAddFrom 2023-05-24 20:27:01 +02:00
PapaTutuWawa 3163101f82 feat(all): Migrate to the new StanzaDetails API 2023-05-24 14:28:42 +02:00
PapaTutuWawa bd4e1d28ea feat(core): Implement the send queue 2023-05-24 13:34:36 +02:00
PapaTutuWawa b1da6e5a53 chore(xep): Move DiscoManager from String to JID 2023-05-23 17:28:20 +02:00
PapaTutuWawa c6552968d5 feat(core): Remove resumed from connection state change events 2023-05-23 15:56:38 +02:00
PapaTutuWawa 1d87c0ce95 feat(xep): Separate XEP-0030 and XEP-0115 support
Also, we now validate whatever we get in terms of disco#info
and capability hashes before caching.
2023-05-23 15:52:48 +02:00
PapaTutuWawa da591a552d fix(xep): Fix discovery of XEP-0191 and XEP-0280 2023-05-16 19:06:50 +02:00
PapaTutuWawa 47b679d168 fix(xep): Do not set C2S counter to 0 after connecting 2023-05-16 13:45:52 +02:00
PapaTutuWawa 320f4a8d4c fix(xep): Fix issues with enhanced enums 2023-05-16 00:59:50 +02:00
PapaTutuWawa 1fdefacd52 feat(xep): Improve API using enhanced enums 2023-05-15 20:40:39 +02:00
PapaTutuWawa 09b8613c80 fix(style): Style fixes 2023-05-07 00:15:37 +02:00
PapaTutuWawa f3d906e69b feat(core): Re-add xmlns for StanzaHandler 2023-05-07 00:13:25 +02:00
PapaTutuWawa 483cb0d7f1 fix(core): Fix stream parsing breaking after some time 2023-05-07 00:09:35 +02:00
PapaTutuWawa f73daf4d1c fix(core): Fix getting stuck on invalid stream ends
Whenever the stream ends in a weird state, for example with
`<some-tag`, initiating a new stream will confuse the XML parser
and lead errors causing the connection to get stuck.

To fix this, we had to work around xml's extension methods and implement
the extensions in the new "stream parser" where we can reset the parser
(and by reset I mean replace) and thus continue with a fresh parsing state
whenever we reconnect (or connect).
2023-05-06 20:58:34 +02:00
PapaTutuWawa a8693da262 chore(xep): Formatting 2023-04-09 13:17:21 +02:00