Commit Graph

143 Commits

Author SHA1 Message Date
0c36207df8 service,xmpp: Fix roster not appearing 2022-04-19 16:02:50 +02:00
9171112d6f wip: Migrate flutter_background_service to 2.0.0 2022-04-15 12:46:08 +02:00
fac8066dad meta: Set flutter_background_service to 0.2.2 2022-04-15 01:35:28 +02:00
402f1ed72c service: wip: Upgrade flutter_background_service 2022-04-15 00:23:58 +02:00
c60ee2ee27 service: Give each [RosterItem] their avatar hash, if available 2022-04-14 23:29:40 +02:00
7a793bfe12 service: Request roster avatars when we connect without resuming 2022-04-13 22:39:22 +02:00
d18a157993 service: Fix accidentally populating the cache 2022-04-13 11:56:53 +02:00
febc052d7b service: Add [MessageService] and update [RosterService] 2022-04-12 22:47:37 +02:00
8556f61012 style: Fix a lot of linter warnings 2022-04-10 22:57:04 +02:00
1485731b63 service: Notify also when the app is in the background 2022-04-10 20:02:53 +02:00
5762bce056 meta: Fully implement chat states 2022-04-10 17:45:37 +02:00
8f17d2cb02 service: Cleanup of the [_onMessage] event handler 2022-04-10 16:36:27 +02:00
6566f64963 meta: Create the [ConversationService] to keep track of chat states 2022-04-10 14:39:31 +02:00
ae545ce26d ui: Implement a basic chat state indicator 2022-04-10 12:30:20 +02:00
dcc19c461d service: Correctly deal with carbon messages 2022-04-09 11:46:15 +02:00
08ccc7246e ui: Request our own avatar in case it differs from the local value 2022-04-06 17:55:23 +02:00
d31373fa78 service: Remove duplicate tracking of the resumption Id 2022-04-06 14:52:17 +02:00
75811d7dee service: Make [XmppState] and [PreferencesState] migratable 2022-04-06 14:46:08 +02:00
7274fe1e74 ui: "Finish" the ImageChatWidget 2022-03-31 12:25:44 +02:00
b94aba095e service: Fix background notification not changing title 2022-03-27 12:22:41 +02:00
b08fe670bf service: Move the xmpp service over to an [EventHandler] 2022-03-27 12:09:12 +02:00
c7dd5961f7 ui: Convert the settings to Bloc 2022-03-26 14:32:41 +01:00
aea3371c8c service: Implement all [MessageUpdatedEvent]s 2022-03-25 19:04:20 +01:00
62a02d73bf ui: Fix conversation ordering 2022-03-25 18:25:39 +01:00
89f37e6204 ui: Fix UI sometimes waiting for the next UI update 2022-03-25 18:15:57 +01:00
f6e60bfa4e ui: Allow sending messages 2022-03-25 12:25:32 +01:00
4f769c6cc8 xmpp: Add an awaitable connect method 2022-03-23 12:22:19 +01:00
7fcaca6491 service: Implement the [EventHandler] 2022-03-22 13:27:47 +01:00
01399bb6ae meta: Implement the [AwaitableDataSender] in a test phase 2022-03-21 19:03:31 +01:00
815936bf1e ui: First steps towards Bloc 2022-03-19 22:34:36 +01:00
e39463dc0a ui: Kind of implement setting an avatar 2022-03-17 11:40:57 +01:00
5d21177841 meta: Implement user blocking 2022-03-14 20:58:32 +01:00
5aabed45fd ui: Implement the sent marker 2022-03-13 13:06:52 +01:00
07c573aec3 xmpp: Allow other stanza handlers to add custom data 2022-03-13 12:40:06 +01:00
e1b0c562a6 service: Process message replies 2022-03-13 12:36:42 +01:00
52898f7299 service: Fix not being able to process chat markers 2022-03-13 12:17:51 +01:00
5b0073af1f xmpp: Implement XEP-0198 resumption location 2022-03-09 11:02:19 +01:00
92731677a3 meta: Implement swipe-to-quote 2022-03-08 14:13:58 +01:00
820a1a7de6 service: Implement download size restrictions 2022-03-05 20:35:52 +01:00
37f2c3f17f service: Make auto-downloads a bit more configurable 2022-03-05 19:11:28 +01:00
bea3eb69a5 service: Improve Chat Marker/Delivery Receipt handling 2022-03-04 15:43:07 +01:00
213d777750 ui: Add privacy settings 2022-03-04 15:26:30 +01:00
347c45163b xmpp: Implement XEP-0060 and XEP-0084 2022-03-03 18:04:34 +01:00
9144ab7493 service: Create the [AvatarService]
Also fetch an avatar when adding a roster entry.
2022-03-03 14:08:52 +01:00
d344e82792 xmpp: Implement read-only avatars using XEP-0053 and XEP-0153 2022-03-03 13:05:23 +01:00
0a280caa01 service: Fix removing items from the roster 2022-03-02 15:52:04 +01:00
d29235cbb7 meta: Implement Chat Markers and Delivery Receipts
- Implement Delivery Receipts in the XMPP library
- Plumb Delivery Receipts into the UI
- Plumb Chat Markers into the UI
2022-03-02 12:40:27 +01:00
fd4134d61b service: Improve media messages 2022-02-28 16:06:08 +01:00
c1b83b917d ui: Implement a stubbed download button 2022-02-28 12:39:40 +01:00
c77b457c21 service: Unify thumbnail handling for SFS and SIMS 2022-02-27 22:12:05 +01:00
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