Commit Graph
100 Commits
Author SHA1 Message Date
PapaTutuWawa 159d6a7937 ui: DownloadProgress -> ProgressWidget 2022-07-26 13:55:40 +02:00
PapaTutuWawa dbba0e726a xmpp: Wrap closing socket in try-catch 2022-07-26 13:55:40 +02:00
PapaTutuWawa e8324dab01 service: Actually set the message's isUploading 2022-07-26 13:55:40 +02:00
PapaTutuWawa ad7b76c8ec service: Update the conversation body on file upload 2022-07-26 13:55:40 +02:00
PapaTutuWawa 634f68a745 meta: Fix linter warnings 2022-07-26 13:55:40 +02:00
PapaTutuWawa 2f995a8c58 service: Rate limit upload progress events 2022-07-26 13:55:40 +02:00
PapaTutuWawa c8c61486f3 meta: Generalise the download progress to facilitate upload progress 2022-07-26 13:55:40 +02:00
PapaTutuWawa 07269aca48 xmpp: Send SFS and OOB data after upload 2022-07-26 13:55:40 +02:00
PapaTutuWawa b687011274 service: Fix mediaUrl not being applied at message creation time 2022-07-26 13:55:40 +02:00
PapaTutuWawa 8bfe591a7b meta: Badly plumb in HTTP File Upload 2022-07-26 13:55:40 +02:00
PapaTutuWawa 4ef79e99a8 ui: Small consistency fixes 2022-07-24 19:46:58 +02:00
PapaTutuWawa 6ae8102fae meta: Fix style issues 2022-07-23 15:27:11 +02:00
PapaTutuWawa cdb31aa15b service: Don't fetch blocklist on push 2022-07-23 15:24:14 +02:00
PapaTutuWawa d2ba743f2e xmpp: Flush before closing the socket 2022-07-23 15:22:34 +02:00
PapaTutuWawa 6ab3d05a3f xmpp: Add _isResumed attribute 2022-07-23 15:22:10 +02:00
PapaTutuWawa bd345a77ff ui: Fix crash while navigating to blocklist 2022-07-23 15:20:09 +02:00
PapaTutuWawa 4bbecd3b79 service: Add logging for connection updated events 2022-07-23 13:28:48 +02:00
PapaTutuWawa be3d41b3ff xmpp: Fix connectAwaitable not working 2022-07-23 13:11:03 +02:00
PapaTutuWawa 25221cba1b ui(wip): Migrate to flutter_blurhash 2022-07-22 20:38:06 +02:00
PapaTutuWawa a5e0df02f6 ui: Add logging to UIDownloadService 2022-07-22 19:22:24 +02:00
PapaTutuWawa 164bac6de5 xmpp: Fix the resume attribute of XmppConnectionState 2022-07-21 23:31:11 +02:00
PapaTutuWawa 2017e77090 service: Register the roster negotiator 2022-07-21 23:21:57 +02:00
PapaTutuWawa a72a1eeab5 xmpp: Fix roster negotiator constructor 2022-07-21 23:21:38 +02:00
PapaTutuWawa 4075d7968b ui: Fix casting issues 2022-07-21 23:18:12 +02:00
PapaTutuWawa 05e28c989b service: Change the avatar strategy 2022-07-21 17:24:28 +02:00
PapaTutuWawa 5f12eeeabe xmpp: Fix crash when downloading file that already exists 2022-07-21 17:16:16 +02:00
PapaTutuWawa 06192b87e7 test: Fix tests 2022-07-19 20:47:19 +02:00
PapaTutuWawa cc290aa5c4 style: Fix linter warnings 2022-07-19 20:22:59 +02:00
PapaTutuWawa 3bb6c457d6 xmpp: Fix stream resumption 2022-07-19 20:21:26 +02:00
PapaTutuWawa 0d1b9f78ec xmpp: Add test for a successful stream resumption 2022-07-19 20:05:55 +02:00
PapaTutuWawa 0908ef8add xmpp: Fix loop in SM negotiation
Fix infinite loop caused by the SM negotiator creating a feedback
loop if the initial resume fails.
2022-07-19 20:02:16 +02:00
PapaTutuWawa c2c11fc3c3 xmpp: Fix Stream Management 2022-07-18 22:03:30 +02:00
PapaTutuWawa 0bc856ec47 xmpp: Make getNegotiatorById behave like getManagerById 2022-07-18 20:05:32 +02:00
PapaTutuWawa bbd4162488 xmpp: Fix switching xmlns and negotiator id 2022-07-18 19:58:03 +02:00
PapaTutuWawa 7be5ddb16f xmpp: Fix the connection state never getting set to connected 2022-07-18 19:54:36 +02:00
PapaTutuWawa 9d9b4bba96 xmpp: Add more logging in relation to pinging 2022-07-18 17:58:16 +02:00
PapaTutuWawa 686124dd6d service: Fix crash on connectivity change 2022-07-18 17:53:37 +02:00
PapaTutuWawa c73c477c79 xmpp: Redact outgoing SASL data 2022-07-17 22:26:08 +02:00
PapaTutuWawa 6be8a75995 style: Fix weird indentation 2022-07-17 22:10:37 +02:00
PapaTutuWawa 109d77d43a Merge pull request 'Lint using very_good_analysis' (#22) from improvement/very-good into master
Reviewed-on: https://codeberg.org/moxxy/moxxyv2/pulls/22
2022-07-17 22:12:54 +02:00
PapaTutuWawa 54046b6796 style: Use those settings permanently 2022-07-17 22:08:00 +02:00
PapaTutuWawa 8aa9c837be ui: Use Logger inside BlurhashChatWidget 2022-07-17 22:05:51 +02:00
PapaTutuWawa 9c7bc7fb1d style: Fix destroying socket 2022-07-17 22:02:58 +02:00
PapaTutuWawa d01b46934f style: Add trailing commas 2022-07-17 22:02:20 +02:00
PapaTutuWawa be8d6ac2ce test: Fix streambuffer test 2022-07-17 21:54:40 +02:00
PapaTutuWawa 50b5d2a9c1 test: Fix tests 2022-07-17 21:50:48 +02:00
PapaTutuWawa 3b60b2acaa style: Fix warnings for JID 2022-07-17 21:50:42 +02:00
PapaTutuWawa 08d83d6b0a xmpp: Allow destroying the socket 2022-07-17 21:30:50 +02:00
PapaTutuWawa 15af2c6c43 meta: Fix startup 2022-07-17 21:26:16 +02:00
PapaTutuWawa dc8e8ff882 style: Migrate to very_good_analysis 2022-07-17 21:20:57 +02:00
PapaTutuWawa 3f480574d9 style: Migrate lib/ui/ to very_good_analysis 2022-07-17 19:24:18 +02:00
PapaTutuWawa 68fb1ec1b5 style: Migrate lib/shared/ to very_good_analysis 2022-07-17 15:02:15 +02:00
PapaTutuWawa 294dce22d9 style: Move lib/xmpp over to very_good_analysis 2022-07-17 14:55:16 +02:00
PapaTutuWawa 49369a9be2 test: Fix tests 2022-07-17 12:28:33 +02:00
PapaTutuWawa 74c4fd7470 Merge pull request 'Implement Stream Features Using a Negotiator System' (#19) from improvement/negotiators into master
Reviewed-on: https://codeberg.org/moxxy/moxxyv2/pulls/19
2022-07-17 12:09:18 +02:00
PapaTutuWawa e067993ec9 service: Register the CSINegotiator 2022-07-17 12:03:47 +02:00
PapaTutuWawa 989f0fd48d service: Register SCRAM negotiators 2022-07-17 12:01:15 +02:00
PapaTutuWawa 69b10ee978 service: Register negotiators during service setup 2022-07-17 11:54:40 +02:00
PapaTutuWawa 6335d85d4c xmpp: Fix small issues 2022-07-17 11:51:47 +02:00
PapaTutuWawa 03ce942364 ui: Fix the GetFeaturesEvent 2022-07-17 11:48:59 +02:00
PapaTutuWawa de468563fc xmpp: Perform disco sweep after negotiation 2022-07-17 11:28:40 +02:00
PapaTutuWawa 30b77c9808 test: Fix negotiator test 2022-07-16 21:53:08 +02:00
PapaTutuWawa a37cf62f70 style: Fix accidental ';' 2022-07-16 21:44:26 +02:00
PapaTutuWawa 04073eba36 test: Fix reconnection test 2022-07-16 21:43:25 +02:00
PapaTutuWawa d7791b275d xmpp: Fix a weird timing issue with ack counting while logging 2022-07-16 21:37:48 +02:00
PapaTutuWawa 1cbb20f90c xmpp: Add test for negotiation behaviour 2022-07-16 21:21:34 +02:00
PapaTutuWawa 77bed4f848 xmpp: Refuse to do SASL on insecure connection 2022-07-16 19:44:50 +02:00
PapaTutuWawa 0ea12f3e56 xmpp: Implement a StartTLS negotiator 2022-07-16 19:40:19 +02:00
PapaTutuWawa 34f2b96b94 xmpp: Add a Stream Management negotiator 2022-07-16 19:27:01 +02:00
PapaTutuWawa f116c93311 xmpp: Fix style issues 2022-07-16 18:46:19 +02:00
PapaTutuWawa 44c5a108ee test: Uncomment all xmpp_test tests 2022-07-16 18:42:45 +02:00
PapaTutuWawa 4b080104a2 xmpp: Fix test 2022-07-16 13:22:09 +02:00
PapaTutuWawa 0c1f4e7c6c xmpp: Fix resource binding 2022-07-16 13:09:35 +02:00
PapaTutuWawa 949ba40328 test: Fix XEP-0352 test 2022-07-16 12:46:23 +02:00
PapaTutuWawa 260d338240 test: Fix linter issues 2022-07-16 12:43:21 +02:00
PapaTutuWawa 49b8e57ba5 xmpp: Reset negotiators when connecting 2022-07-15 22:10:23 +02:00
PapaTutuWawa 2aca85f802 xmpp: Migrate code to negotiators 2022-07-15 22:07:57 +02:00
PapaTutuWawa c85265e16b test: Add helper for enabling logging 2022-07-15 21:48:32 +02:00
PapaTutuWawa 0fe12f5f4a ui: remove human readable SASL error 2022-07-15 21:44:58 +02:00
PapaTutuWawa b03489ed20 xmpp: Remove unused files 2022-07-15 21:44:04 +02:00
PapaTutuWawa c66bf9bd38 test: Fix SCRAM test 2022-07-15 21:43:00 +02:00
PapaTutuWawa c199367149 test: Fix naming 2022-07-15 21:34:18 +02:00
PapaTutuWawa a321cb9bf0 test: Fix kv test 2022-07-15 21:34:00 +02:00
PapaTutuWawa 4fdcb20cbd xmpp: Move Sasl code into the negotiators directory 2022-07-15 21:33:04 +02:00
PapaTutuWawa 89dc2729bf xmpp: Give negotiators an Id 2022-07-15 21:30:20 +02:00
PapaTutuWawa 49c3324340 style: Fix linter warnings 2022-07-15 21:19:58 +02:00
PapaTutuWawa bcac7125aa xmpp: Fix warning about missing cases 2022-07-15 21:12:12 +02:00
PapaTutuWawa 71c442c06c xmpp: Migrate scram to the negotiator design 2022-07-15 21:09:33 +02:00
PapaTutuWawa d3a70f5164 xmpp: Make SASL kinda work 2022-07-15 20:39:10 +02:00
PapaTutuWawa aa2580a919 xmpp: Implement the basic negotiator system 2022-07-15 19:27:28 +02:00
PapaTutuWawa edad4c3657 xmpp: Get the negotiator skeleton 2022-07-14 22:38:07 +02:00
PapaTutuWawa 2f46eab15a service: Request the blocklist once disco is done 2022-07-14 21:27:31 +02:00
PapaTutuWawa d02a944c43 service: Add callback for ServerDiscoDoneEvent 2022-06-26 12:11:40 +02:00
PapaTutuWawa f9a62468d8 xmpp: Fix reply() not including any children 2022-06-26 12:05:54 +02:00
PapaTutuWawa 25be4bc177 xmpp: Fix awaited stanzas being bounced 2022-06-26 11:44:10 +02:00
PapaTutuWawa 0912cdf2b3 xmpp: Remove onBadCertificate code 2022-06-05 20:28:52 +02:00
PapaTutuWawa 0625f0596f style: Remove unused import 2022-06-05 20:27:04 +02:00
PapaTutuWawa e64320a074 service: Remove state tracking from [MoxxyReconnectionPolicy]
Also... Use the policy...
2022-06-05 20:26:21 +02:00
PapaTutuWawa 0fc34649a7 xmpp: Fix _pendingAcks for multi-stanza acks
If we send 5 stanzas, we expect 5 acks. But if the server acks them all
at once, it won't work.
2022-06-05 17:19:20 +02:00
PapaTutuWawa 81e827dda0 feat: Implement a network-connection-aware reconnection
We don't need to do an exponential backoff when we know that
it won't work. So just idle until we are connected again.
2022-06-05 15:40:12 +02:00