Commit Graph

143 Commits

Author SHA1 Message Date
19bfca16ac xmpp: Implement Stateless Inline Media Sharing 2022-02-27 22:00:20 +01:00
8f70bdc945 ui: Implement thumbnails when receiving an image
This requires
- The sender uses Stateless File Sharing
- A thumbnail according to File Thumbnails (Custom XEP) is specified
- The file is an image (duh)
2022-02-27 19:12:38 +01:00
40bd5b0dd1 service: Implement file download progress 2022-02-27 11:55:00 +01:00
0a61abdc22 service: Fix notifications appearing if the chat is open 2022-02-26 20:49:50 +01:00
5f0075d04d service: Port over all Service-to-Foreground events to classes 2022-02-26 13:27:54 +01:00
cdaf57c761 service: Replace awesome_notifications
Replace awesome_notifications with flutter_local_notifications,
which allows big picture notifications to be used.
2022-02-25 13:18:31 +01:00
ca0f6d20b1 service: Do not show the full URL in the notification or conversation 2022-02-25 11:45:56 +01:00
ef4826c619 meta: Receive images using OOB data 2022-02-24 21:47:30 +01:00
8ad6e745e8 xmpp: Implement Unique and Stable Stanza ID 2022-02-24 12:31:10 +01:00
563252a5ef service: Fix sending a roster request after stream resumption 2022-02-23 13:18:59 +01:00
0b9431638c style: Refactor Repositories to Services 2022-02-22 22:10:52 +01:00
0acabce757 xmpp: Fix roster pushes again 2022-02-22 21:21:31 +01:00
5fca82f58b service: Improve the roster handling 2022-02-22 15:37:10 +01:00
54356ccb0c service: Improve the service state management 2022-02-21 19:50:28 +01:00
ade501c044 meta: Improve the logging system 2022-02-17 12:28:30 +01:00
0fa62f904a meta: Add an UDP logger 2022-02-16 20:38:15 +01:00
3eaf113cdb meta: Upgrade Flutter and isar 2022-02-16 18:29:01 +01:00
e33b290d24 style: Fix linter issues 2022-02-06 18:48:59 +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
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
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
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
3fbe0adfe3 xmpp: Add a bit more logging 2022-01-23 15:31:01 +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
3073321ecd style: Fix filename issues 2022-01-23 12:18:30 +01:00
f8acf98ebd style: Spent 6h fixing linter warnings 2022-01-21 17:44:48 +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
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
4c87cae569 xmpp: Implement CSI 2022-01-17 22:46:23 +01:00
01613853a6 service: Fix notification title not changing 2022-01-16 12:14:52 +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
145fe58dd1 WIP: Fix message loading 2022-01-15 16:50:20 +01:00
a96f71db7f WIP: Messages appear on the conversation screen 2022-01-15 16:29:12 +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