Commit Graph

152 Commits

Author SHA1 Message Date
3467ef9227 fix(service): Be less strict about what avatars we accept 2023-09-19 16:08:01 +02:00
c49228b37f fix(service): Fetch a matching hash if the avatar file does not exist 2023-09-18 14:01:02 +02:00
b9e953ddad feat(service): Add a test for the new AvatarService behaviour 2023-09-17 20:14:16 +02:00
d969622675 feat(service): Replace the notification channels to apply new options 2023-08-30 15:51:51 +02:00
2a25cd44cf fix(service): Fix invalid hashes being sent with stickers
Fixes #273.

Also fixes:
- Weird (wrong) serialization of the hash maps
- An issue with migrations when passing a const list

NOTE: If you ran Moxxy between the merge of #267 and this commit, you
have to remove Moxxy's data and start anew.
2023-05-16 01:07:40 +02:00
6f4abebb32 feat(service): Make adding migrations less of a hassle 2023-05-14 18:07:08 +02:00
27d4ed1781 feat(ui): Test that padding the reactions list works 2023-05-14 12:26:25 +02:00
c8c0239e36 feat(tests): Add tests for getPrefixedSubMap 2023-05-10 00:34:07 +02:00
7c56383601 chore(all): Lint and format tests and migrations 2023-03-21 16:32:34 +01:00
Karthikeyan S
29b22b7dd9 feat: use dart format to format code 2023-03-06 10:19:10 +05:30
95d1e1ed38 feat(meta): Paginate shared media loading 2023-02-23 16:59:15 +01:00
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