Commit Graph

1966 Commits

Author SHA1 Message Date
3dd0ac1754 ui: Add a (useless) debugging page 2022-02-04 18:38:26 +01:00
22f40f1164 xmpp: Fix us spamming the server with a stuck stanza 2022-02-04 14:59:05 +01:00
4a86f239ff refactor: Move lib/data/ into lib/ui/ 2022-01-26 12:31:48 +01:00
720798814c refactor: Make helpers and constants shared 2022-01-26 12:28:49 +01:00
8a0621c5e1 refactor: Make models shared 2022-01-26 12:26:56 +01:00
6182487f82 refactor: Move lib/repositories and lib/db into lib/service 2022-01-26 12:25:05 +01:00
d439d72371 ui: Fix being stuck on the splash screen 2022-01-26 12:19:02 +01:00
25506d57bf docs: Remove unneeded comments 2022-01-26 09:29:43 +01:00
2bdde821d9 docs: Remove note for XEP-368 2022-01-26 09:29:06 +01:00
346c012c08 xmpp: Finally use the system resolver using miniDNS 2022-01-25 21:21:00 +01:00
8dec2e5859 refactor: Handle data from the background service somewhere else 2022-01-25 16:40:41 +01:00
6f596b7fca refactor: Move lib/redux into lib/ui/ 2022-01-25 16:19:24 +01:00
68ccbf2744 style: Replace navigation strings with constants 2022-01-25 16:14:32 +01:00
0e53cdcc9f refactor: Move [SplashScreen] into its own file 2022-01-25 15:59:32 +01:00
4fd1056195 refactor: Move all XmppEvents into events.dart 2022-01-25 15:56:20 +01:00
9eb0387ab3 refactor: Remove the nonzas/ folder 2022-01-25 15:53:52 +01:00
367970a06e refactor: Remove the stanzas/ folder 2022-01-25 15:50:25 +01:00
cc52fa9128 refactor: Move lib/types into lib/xmpp 2022-01-25 15:46:34 +01:00
7d5b389f35 refactor: Remove backend/account.dart 2022-01-25 12:35:54 +01:00
112e0aded0 ui: Remove GetIt usage 2022-01-24 19:18:32 +01:00
b4ea7e2af4 meta: Set the version to 0.0.1 2022-01-23 22:23:18 +01:00
630dfe276b xmpp: Fix notification not saying 'connected' after boot 2022-01-23 22:17:08 +01:00
6c060b2425 style: Move the custom managers into their own file 2022-01-23 20:40:10 +01:00
bfc47eca38 android: Fix crash at boot 2022-01-23 19:03:22 +01:00
844b22d887 xmpp: Factor out moxxy specific disco features 2022-01-23 16:17:00 +01:00
5efdb718c5 style: Fix style issue 2022-01-23 15:33:42 +01:00
3336383592 ui: Stub out functionality not yet implemented 2022-01-23 15:33:16 +01:00
3fbe0adfe3 xmpp: Add a bit more logging 2022-01-23 15:31:01 +01:00
63b698ee8e xmpp: Fix logic error for chat markers 2022-01-23 15:29:53 +01:00
e8bf35cc76 xmpp: Fix issue with nonza handlers running for stanzas 2022-01-23 15:21:16 +01:00
dbeae3751f xmpp: Fix the Stream Management implementation
There was a bug that on resumption messages would be received again.
The cause of this was probably that we send a <resume /> with an
h equal to the stanzas we sent. If we sent and received an equal amount,
no problem. But if we receive more than we sent, then duplicates will
start flooding in.
2022-01-23 13:41:51 +01:00
3dbff2b4a1 style: Use const constructors 2022-01-23 12:27:23 +01:00
ba384ef5b6 style: Let the linter ignore isar's build artifact 2022-01-23 12:26:33 +01:00
5b4fd33cc2 xmpp: Explicitly handle [RoutingState.error] 2022-01-23 12:25:00 +01:00
2aee1a814f style: Remove unneccessary 'initializer' 2022-01-23 12:23:10 +01:00
b1c58d9d29 style: Replace Container with SizedBox 2022-01-23 12:20:53 +01:00
3073321ecd style: Fix filename issues 2022-01-23 12:18:30 +01:00
317726c102 style: Convert some classes to [StatefulWidget]s 2022-01-23 12:11:51 +01:00
e49a115847 ui: Fix syntax error 2022-01-23 11:52:41 +01:00
6ba186cd6a style: Make all imports absolute 2022-01-21 17:48:20 +01:00
f8acf98ebd style: Spent 6h fixing linter warnings 2022-01-21 17:44:48 +01:00
cbce0fb3df xmpp: Factor out the double loops 2022-01-21 11:50:11 +01:00
13000dfdad docs: Update README 2022-01-21 11:39:45 +01:00
72db9039f8 test: Add tests for the XEP-0352 implementation 2022-01-21 11:36:12 +01:00
1b4872f016 xmpp: Improve tests and fix our first vulnerability
In order to test the [RosterManager], I decided to add a test to ensure
vulnerabilities like CVE-2015-8688 won't happen. But as it turns out,
I got the logic wrong in the [RosterManager] base implementation which
would've allowed a malicious actor to inject a roster push. oof.
2022-01-21 11:23:09 +01:00
dadd659eba xmpp: Remove a TODO 2022-01-21 09:39:12 +01:00
abadc0214f xmpp: Implement plain resource binding 2022-01-21 09:34:38 +01:00
f678f1b26d xmpp: Fix missing import 2022-01-21 09:02:05 +01:00
5abb3059bf xmpp: Re-implement read-only support of chat markers 2022-01-20 22:06:01 +01:00
c09184597c xmpp: Make StanzaHandler callbacks async 2022-01-20 17:55:26 +01:00