Commit Graph
100 Commits
Author SHA1 Message Date
PapaTutuWawa 4a17ec9812 ui: Refactor the ConversationPage
This refactor was needed to add the line for adding a conversation
to the user's roster or block them.

This also removed one unnecessary event.
2022-03-08 18:18:33 +01:00
PapaTutuWawa 96c92f0a6a meta: Update DOAP 2022-03-08 16:18:27 +01:00
PapaTutuWawa 92731677a3 meta: Implement swipe-to-quote 2022-03-08 14:13:58 +01:00
PapaTutuWawa 76118d0cc5 ui: Allow quoting messages 2022-03-07 20:32:29 +01:00
PapaTutuWawa 7f8cc962b9 ui: Make background images cover the container fully 2022-03-06 17:01:13 +01:00
PapaTutuWawa 6d9d6bb0a1 ui: Delete old background images on setting and removing 2022-03-06 17:00:58 +01:00
PapaTutuWawa 43041ba4ce ui: Implement chat backgrounds 2022-03-06 16:52:32 +01:00
PapaTutuWawa 59e4306eca xmpp: Raise the connection ping duration and make it configurable 2022-03-06 12:07:20 +01:00
PapaTutuWawa 3664cb68ec xmpp: Improve the Stream Management implementation
Give each stanza, by default, 10 seconds to be acked. This helps
in handling bursts during which we sent a lot of stanzas and the
acks start trickling in, which causes a lot of stanzas to be
uselessly retransmitted.
2022-03-06 12:02:18 +01:00
PapaTutuWawa 820a1a7de6 service: Implement download size restrictions 2022-03-05 20:35:52 +01:00
PapaTutuWawa 37f2c3f17f service: Make auto-downloads a bit more configurable 2022-03-05 19:11:28 +01:00
PapaTutuWawa e8984a813d xmpp: Also discover all server items 2022-03-05 12:02:34 +01:00
PapaTutuWawa cb2607f35e xmpp: Fix the disco handlers grabbing a stanza before the awaitable can 2022-03-05 12:01:23 +01:00
PapaTutuWawa 7ea4ad62e2 xmpp: Implement XEP-0004 2022-03-04 23:03:56 +01:00
PapaTutuWawa bea3eb69a5 service: Improve Chat Marker/Delivery Receipt handling 2022-03-04 15:43:07 +01:00
PapaTutuWawa 213d777750 ui: Add privacy settings 2022-03-04 15:26:30 +01:00
PapaTutuWawa 347c45163b xmpp: Implement XEP-0060 and XEP-0084 2022-03-03 18:04:34 +01:00
PapaTutuWawa 3cdaccbdf7 service: Prevent the vCard request from blocking the addition process 2022-03-03 14:41:39 +01:00
PapaTutuWawa d338248b9c ui: Fix the closing chat dialog 2022-03-03 14:41:12 +01:00
PapaTutuWawa 2804636fa2 service: Fix crash in the roster service 2022-03-03 14:23:29 +01:00
PapaTutuWawa 9144ab7493 service: Create the [AvatarService]
Also fetch an avatar when adding a roster entry.
2022-03-03 14:08:52 +01:00
PapaTutuWawa d344e82792 xmpp: Implement read-only avatars using XEP-0053 and XEP-0153 2022-03-03 13:05:23 +01:00
PapaTutuWawa 6fee2176bd xmpp: Update the File Thumbnails implementation 2022-03-02 17:33:44 +01:00
PapaTutuWawa 57baaeb74c xmpp: Implement File Upload Notification 2022-03-02 17:32:46 +01:00
PapaTutuWawa 51cb07ff71 xmpp: Add a function for accepting a subscription request 2022-03-02 17:02:26 +01:00
PapaTutuWawa a1378740c3 service: Use the 'get*Manager' functions 2022-03-02 16:58:57 +01:00
PapaTutuWawa 2a6fc4a938 style: Use const constructor 2022-03-02 15:52:23 +01:00
PapaTutuWawa 0a280caa01 service: Fix removing items from the roster 2022-03-02 15:52:04 +01:00
PapaTutuWawa f77ce5be8f ui: Use done_all for received and read 2022-03-02 15:07:24 +01:00
PapaTutuWawa ce1ad23502 meta: Update DOAP 2022-03-02 12:49:02 +01:00
PapaTutuWawa 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
PapaTutuWawa be701a5e0f xmpp: Begin writing a onBadCertificate function 2022-03-01 20:36:45 +01:00
PapaTutuWawa 91c5bfcf57 xmpp: Implement Message Carbons 2022-03-01 20:26:55 +01:00
PapaTutuWawa cba898c388 style: Fix style 2022-03-01 18:06:47 +01:00
PapaTutuWawa e15ea736e2 ui: Allow opening images and videos 2022-03-01 16:00:46 +01:00
PapaTutuWawa 430cb8ca24 xmpp: Possibly fix #4 2022-03-01 14:49:51 +01:00
PapaTutuWawa 7e681480ea ui: Implement a bad video widget 2022-03-01 12:50:40 +01:00
PapaTutuWawa f6a2430ca8 service: Fix download button 2022-02-28 21:18:01 +01:00
PapaTutuWawa a3f680b6c6 ui: Deal with not-found images better 2022-02-28 21:09:47 +01:00
PapaTutuWawa 8e3ceaf52b ui: Deal with files that are not found 2022-02-28 20:58:49 +01:00
PapaTutuWawa fd4134d61b service: Improve media messages 2022-02-28 16:06:08 +01:00
PapaTutuWawa 9683fedc39 service: Guard Big Picture notifications against anything not an image 2022-02-28 14:40:35 +01:00
PapaTutuWawa 6507f5fd86 service: Extend the peekFile function 2022-02-28 13:25:34 +01:00
PapaTutuWawa 4af9ee96a1 service: Implement the download request 2022-02-28 12:57:35 +01:00
PapaTutuWawa 7e0ebf58a7 service: Fix exception when progress reaches 1.0 2022-02-28 12:41:09 +01:00
PapaTutuWawa c1b83b917d ui: Implement a stubbed download button 2022-02-28 12:39:40 +01:00
PapaTutuWawa 786ddc9ec2 service: Improve the request success check 2022-02-27 22:29:03 +01:00
PapaTutuWawa 1759c0725c style: Fix comment style 2022-02-27 22:19:40 +01:00
PapaTutuWawa c77b457c21 service: Unify thumbnail handling for SFS and SIMS 2022-02-27 22:12:05 +01:00
PapaTutuWawa 19bfca16ac xmpp: Implement Stateless Inline Media Sharing 2022-02-27 22:00:20 +01:00
PapaTutuWawa 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
PapaTutuWawa b96eeaf606 ui: Factor out the bottom of message bubbles 2022-02-27 13:43:22 +01:00
PapaTutuWawa ae2a0bc9f9 ui: Implement an inline widget fallback for media files 2022-02-27 13:33:18 +01:00
PapaTutuWawa 5e38d5793f docs: Fix README 2022-02-27 12:06:24 +01:00
PapaTutuWawa 1de953667e ui: Fix wrong feature being not available 2022-02-27 12:05:56 +01:00
PapaTutuWawa c15b33b2ed service: Fix messages disappearing when switching the chat 2022-02-27 11:57:53 +01:00
PapaTutuWawa 40bd5b0dd1 service: Implement file download progress 2022-02-27 11:55:00 +01:00
PapaTutuWawa b41a54717f style: Use const constructors 2022-02-26 20:50:04 +01:00
PapaTutuWawa 0a61abdc22 service: Fix notifications appearing if the chat is open 2022-02-26 20:49:50 +01:00
PapaTutuWawa 9ae41293fe service: Fix syntax error 2022-02-26 20:35:28 +01:00
PapaTutuWawa 81f9f99355 ui: Fix image padding issues 2022-02-26 20:35:14 +01:00
PapaTutuWawa bfb2bc8148 service: Save downloaded images to the gallery 2022-02-26 20:32:27 +01:00
PapaTutuWawa 150df70b11 xmpp: Implement the basis for XEP-0446 and XEP-0447 2022-02-26 18:41:34 +01:00
PapaTutuWawa b5e1da839a service: Migrate all F2S commands to classes 2022-02-26 18:16:56 +01:00
PapaTutuWawa 2836f3d432 ui: Fix rounding of the image overlay 2022-02-26 13:36:35 +01:00
PapaTutuWawa 5f0075d04d service: Port over all Service-to-Foreground events to classes 2022-02-26 13:27:54 +01:00
PapaTutuWawa 8394728f3b service: Port over the first events to classes 2022-02-26 12:19:19 +01:00
PapaTutuWawa 6816f0446b service: Fix the roster duplicating 2022-02-25 21:55:52 +01:00
PapaTutuWawa 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
PapaTutuWawa ca0f6d20b1 service: Do not show the full URL in the notification or conversation 2022-02-25 11:45:56 +01:00
PapaTutuWawa ef4826c619 meta: Receive images using OOB data 2022-02-24 21:47:30 +01:00
PapaTutuWawa f8fc2d2719 xmpp: Prepare for Message Carbons 2022-02-24 12:58:37 +01:00
PapaTutuWawa 93cef687d4 xmpp: Implement XEP-0066 2022-02-24 12:42:37 +01:00
PapaTutuWawa 8ad6e745e8 xmpp: Implement Unique and Stable Stanza ID 2022-02-24 12:31:10 +01:00
PapaTutuWawa bf85c12c43 meta: Tag version 0.0.2 2022-02-23 14:42:21 +01:00
PapaTutuWawa 7c55434c50 ui: Restore the 'Debug enabled' switch 2022-02-23 14:35:46 +01:00
PapaTutuWawa e8919e4132 style: Remove accidental semicola 2022-02-23 13:21:13 +01:00
PapaTutuWawa 563252a5ef service: Fix sending a roster request after stream resumption 2022-02-23 13:18:59 +01:00
PapaTutuWawa f0552888c9 service: Fix bug where roster items duplicate 2022-02-23 13:00:15 +01:00
PapaTutuWawa 6f022b873f xmpp: Implement a DiscoCacheManager 2022-02-23 12:44:47 +01:00
PapaTutuWawa 0b9431638c style: Refactor Repositories to Services 2022-02-22 22:10:52 +01:00
PapaTutuWawa 64e257b9f8 xmpp: Once again fix XEP-0198 2022-02-22 21:51:20 +01:00
PapaTutuWawa 0acabce757 xmpp: Fix roster pushes again 2022-02-22 21:21:31 +01:00
PapaTutuWawa 8c40acda96 xmpp: Fix the roster code 2022-02-22 16:25:12 +01:00
PapaTutuWawa 5fca82f58b service: Improve the roster handling 2022-02-22 15:37:10 +01:00
PapaTutuWawa 54356ccb0c service: Improve the service state management 2022-02-21 19:50:28 +01:00
PapaTutuWawa ad1810abea flake: Add pycryptodome 2022-02-17 13:03:33 +01:00
PapaTutuWawa c92f2275d0 xmpp: Remove '(xml)' logging prefix 2022-02-17 12:58:40 +01:00
PapaTutuWawa 2cc5942ca4 xmpp: Make xep_0030.dart a bit cleaner 2022-02-17 12:41:45 +01:00
PapaTutuWawa d0aca8d879 lint: Fix most linter warnings 2022-02-17 12:34:35 +01:00
PapaTutuWawa ade501c044 meta: Improve the logging system 2022-02-17 12:28:30 +01:00
PapaTutuWawa 0fa62f904a meta: Add an UDP logger 2022-02-16 20:38:15 +01:00
PapaTutuWawa 3eaf113cdb meta: Upgrade Flutter and isar 2022-02-16 18:29:01 +01:00
PapaTutuWawa 0572226dd2 xmpp: Query-disco on presence 2022-02-16 13:02:36 +01:00
PapaTutuWawa 8bce32dcaf test: The list must be 'mutable' as we sort it 2022-02-06 19:05:12 +01:00
PapaTutuWawa 0636d8cb27 xmpp: Factor out the <auth /> nonza 2022-02-06 19:04:49 +01:00
PapaTutuWawa 5be7e4a563 xmpp: Have the [CSIManager] remember its last state 2022-02-06 18:57:15 +01:00
PapaTutuWawa e33b290d24 style: Fix linter issues 2022-02-06 18:48:59 +01:00
PapaTutuWawa bfcccde5cf xmpp: Clean the code a bit 2022-02-06 18:44:20 +01:00
PapaTutuWawa 973982e55d xmpp: Communicate stream closure from the buffer 2022-02-06 18:38:23 +01:00