Commit Graph

141 Commits

Author SHA1 Message Date
c88003bea1 feat(service): Remove shared media entry on message retraction
Also: Fix some ordering oddities with the shared media widget and page.
2022-11-22 19:51:28 +01:00
bd6aaa07c8 feat(service): Replace the Migrator system with the database 2022-11-15 13:16:32 +01:00
d02fe73952 refactor(meta): Migrate to using moxxmpp
Fixes #139.
2022-11-09 16:41:38 +01:00
ed4ee53fdb fix(tests): Fix tests 2022-11-04 21:52:06 +01:00
ba1b79f657 test(xmpp): Test hash parsing for SFS 2022-11-04 21:52:06 +01:00
4479506ee0 fix(xmpp): Fix the Stream Management not counting awaited stanzas 2022-11-04 21:52:06 +01:00
359d4508b1 test(xmpp): Write test to ensure early-ended stanzas are counted 2022-11-04 21:52:06 +01:00
1f65397be0 shared: Replace lock extension with a safeSynchronized function 2022-08-17 17:01:02 +02:00
8eb4351d81 test: Test the reconnection a bit more 2022-08-12 18:59:04 +02:00
97244a067a service: Use random backoff instead 2022-08-12 18:34:10 +02:00
e94e48bad6 xmpp: Add a test for SCRAM-SHA-256 2022-08-07 15:41:48 +02:00
236de4c37f test: Fix tests 2022-08-03 20:12:28 +02:00
73a2946bba ui: Fix datebubble not displaying 'Yesterday' 2022-07-31 11:20:12 +02:00
e08a175798 test: Fix test failures 2022-07-28 22:49:54 +02:00
3bb273a88b xmpp: Add tests for disco#info batching 2022-07-28 22:35:52 +02:00
6b41a76e24 test: Test resetting the SCRAM negotiator 2022-07-26 19:14:23 +02:00
5f12eeeabe xmpp: Fix crash when downloading file that already exists 2022-07-21 17:16:16 +02:00
06192b87e7 test: Fix tests 2022-07-19 20:47:19 +02:00
3bb6c457d6 xmpp: Fix stream resumption 2022-07-19 20:21:26 +02:00
0d1b9f78ec xmpp: Add test for a successful stream resumption 2022-07-19 20:05:55 +02:00
0908ef8add xmpp: Fix loop in SM negotiation
Fix infinite loop caused by the SM negotiator creating a feedback
loop if the initial resume fails.
2022-07-19 20:02:16 +02:00
0bc856ec47 xmpp: Make getNegotiatorById behave like getManagerById 2022-07-18 20:05:32 +02:00
be8d6ac2ce test: Fix streambuffer test 2022-07-17 21:54:40 +02:00
50b5d2a9c1 test: Fix tests 2022-07-17 21:50:48 +02:00
294dce22d9 style: Move lib/xmpp over to very_good_analysis 2022-07-17 14:55:16 +02:00
49369a9be2 test: Fix tests 2022-07-17 12:28:33 +02:00
30b77c9808 test: Fix negotiator test 2022-07-16 21:53:08 +02:00
04073eba36 test: Fix reconnection test 2022-07-16 21:43:25 +02:00
d7791b275d xmpp: Fix a weird timing issue with ack counting while logging 2022-07-16 21:37:48 +02:00
1cbb20f90c xmpp: Add test for negotiation behaviour 2022-07-16 21:21:34 +02:00
0ea12f3e56 xmpp: Implement a StartTLS negotiator 2022-07-16 19:40:19 +02:00
34f2b96b94 xmpp: Add a Stream Management negotiator 2022-07-16 19:27:01 +02:00
f116c93311 xmpp: Fix style issues 2022-07-16 18:46:19 +02:00
44c5a108ee test: Uncomment all xmpp_test tests 2022-07-16 18:42:45 +02:00
0c1f4e7c6c xmpp: Fix resource binding 2022-07-16 13:09:35 +02:00
949ba40328 test: Fix XEP-0352 test 2022-07-16 12:46:23 +02:00
260d338240 test: Fix linter issues 2022-07-16 12:43:21 +02:00
c85265e16b test: Add helper for enabling logging 2022-07-15 21:48:32 +02:00
c66bf9bd38 test: Fix SCRAM test 2022-07-15 21:43:00 +02:00
c199367149 test: Fix naming 2022-07-15 21:34:18 +02:00
a321cb9bf0 test: Fix kv test 2022-07-15 21:34:00 +02:00
4fdcb20cbd xmpp: Move Sasl code into the negotiators directory 2022-07-15 21:33:04 +02:00
71c442c06c xmpp: Migrate scram to the negotiator design 2022-07-15 21:09:33 +02:00
d3a70f5164 xmpp: Make SASL kinda work 2022-07-15 20:39:10 +02:00
aa2580a919 xmpp: Implement the basic negotiator system 2022-07-15 19:27:28 +02:00
f9a62468d8 xmpp: Fix reply() not including any children 2022-06-26 12:05:54 +02:00
0625f0596f style: Remove unused import 2022-06-05 20:27:04 +02:00
e64320a074 service: Remove state tracking from [MoxxyReconnectionPolicy]
Also... Use the policy...
2022-06-05 20:26:21 +02:00
0fc34649a7 xmpp: Fix _pendingAcks for multi-stanza acks
If we send 5 stanzas, we expect 5 acks. But if the server acks them all
at once, it won't work.
2022-06-05 17:19:20 +02:00
81e827dda0 feat: Implement a network-connection-aware reconnection
We don't need to do an exponential backoff when we know that
it won't work. So just idle until we are connected again.
2022-06-05 15:40:12 +02:00