Commit Graph

412 Commits

Author SHA1 Message Date
57e04efb98 xmpp: Move sendMessage to MessageManager 2022-01-20 16:57:10 +01:00
a37ae65588 test: Fix them 2022-01-20 13:18:34 +01:00
868290baca xmpp: Add persistence overrides for RosterManager 2022-01-20 13:15:34 +01:00
cc2b837340 xmpp: Allow persistence overriding StreamManagementManager 2022-01-20 12:58:35 +01:00
7799de5030 meta: Use gitlint 2022-01-19 18:58:17 +01:00
136a1f0cef xmpp: Move CSI into its own manager 2022-01-19 18:55:38 +01:00
8daee01915 xmpp: Move roster functions into the RosterManager 2022-01-19 16:28:09 +01:00
adc9979df8 xmpp: Huge rework of stanza handling
Instead of putting everything into [XmppConnection], let's put
everything into its own [XmppManagerBase] base subclass.

- Improves testability
- Makes extensions easier
- Allows easier usage of lib/xmpp as its own library
2022-01-19 15:59:48 +01:00
4de3ac8d5f xmpp: Generate IDs using UUIDv4 2022-01-18 15:58:25 +01:00
7cf0a8a826 xmpp: Implement XEP-0115 2022-01-18 12:07:50 +01:00
725f195ef4 xmpp: Make the stream header completely XMLNode 2022-01-17 22:56:04 +01:00
4c87cae569 xmpp: Implement CSI 2022-01-17 22:46:23 +01:00
c1d9b50d8d xmpp: Listen to the error stream 2022-01-17 16:55:16 +01:00
58b3ce5d6e redux: Hide password on login 2022-01-17 15:38:03 +01:00
17b97d8c03 style: Small improvement 2022-01-17 14:13:54 +01:00
dd76e219ea xmpp: Improve the socket 2022-01-17 14:12:04 +01:00
54cf44706a xmpp: Make reconnecting work 2022-01-17 14:04:30 +01:00
05c8f40ae6 WIP: Fix crash when reconnecting 2022-01-16 21:43:33 +01:00
abb58b39c8 xmpp: Prepare network state watching 2022-01-16 21:29:01 +01:00
e2049bfa10 xmpp: Improve notification title
Show the conversation title if sender is in the user's roster, their
bare JID otherwise.
2022-01-16 18:16:12 +01:00
b95fc032b0 ui: Again fix issue with conversations not loading
Again: If we receive a message before first loading a
conversation, it won't load it on open.
2022-01-16 18:12:42 +01:00
eb744bc9a4 WIP: Add notifications 2022-01-16 18:03:17 +01:00
870869c3a1 test: Modularize the StubSocket 2022-01-16 13:33:52 +01:00
a384087c09 ui: Hackily fix account state not being loaded 2022-01-16 12:20:28 +01:00
01613853a6 service: Fix notification title not changing 2022-01-16 12:14:52 +01:00
e28f4482c1 ui: Fix messages having weird corners 2022-01-16 12:04:32 +01:00
2e27d5f790 main: Fix typo 2022-01-15 21:01:19 +01:00
4e88c6aaaa WIP: Re-implement sending messages 2022-01-15 20:19:26 +01:00
ac913116b8 WIP: Re-implement removing roster items 2022-01-15 20:04:25 +01:00
d45721a41e WIP: Fix receiving messages 2022-01-15 17:05:40 +01:00
d78088b096 ui: Oops... Better use a middleware 2022-01-15 17:00:03 +01:00
8571f70f05 ui: Make setting the current conversation work 2022-01-15 16:58:46 +01:00
145fe58dd1 WIP: Fix message loading 2022-01-15 16:50:20 +01:00
65a71790b5 main: Fix some weird casting issue 2022-01-15 16:36:49 +01:00
a21f257a3e repository: Fix small typo 2022-01-15 16:30:06 +01:00
a96f71db7f WIP: Messages appear on the conversation screen 2022-01-15 16:29:12 +01:00
56f3089a01 WIP: Fix serialization issue 2022-01-14 23:47:55 +01:00
a5142bb6e0 xmpp: Add some comments 2022-01-14 21:52:19 +01:00
907caf20d7 WIP: Move the XMPP connection into a foreground service 2022-01-14 21:37:54 +01:00
a1588488cb ui: Keep the message list scrolled 2022-01-11 14:41:53 +01:00
a6ca1ef127 xmpp: Somewhat implement a send queue 2022-01-10 20:33:52 +01:00
d71c2ebbce redux: Fix message multiplication bug
If you receive a message before having opened a chat before, opening
it after receiving the message will result in the same messages appearing
multiple times.
2022-01-10 20:15:28 +01:00
ba8a13e0b9 ui: Fix the conversation list not updating on update 2022-01-10 19:23:29 +01:00
750dc8e145 ui: Add icons to dismissible 2022-01-10 19:04:50 +01:00
fb578da419 redux: Fix conversation updates not being saved 2022-01-10 19:02:50 +01:00
b3a26d9a49 ui: Add icon on swipe 2022-01-10 18:56:53 +01:00
e4500514ec ui: Show AddContactPage errors 2022-01-10 16:14:07 +01:00
f79824510a style: Replace single quotes with double quotes 2022-01-10 15:47:51 +01:00
5c8d85ecc4 ui: Remove old TODOs 2022-01-10 15:37:05 +01:00
eb06e8b863 ui: Add showConfirmationDialog 2022-01-10 15:35:44 +01:00