Commit Graph

17820 Commits

Author SHA1 Message Date
SpiritCroc 3b6b51748e Fix clearing read but not synced messages in notifications
When lots (> 10) of messages arrive in a chat, such that not all get
/sync'ed, the app couldn't properly check if events that were not synced
are before or after the read marker.
The previous way to handle this was just to always assume these events
would be unread, which caused some old messages show in notifications
and not dismiss themselves when appropriate.

Unfortunately, we can not safely assume that if the read marker is in the
latest chunk, the missing events would be read, since we may be showing
"fastlane" notifications from fcm/push before the /sync finished.

Thus, with this commit, we now remove messages that weren't synced or
paginated if they meet the following heuristic:

1. The read marker is in the latest chunk and
2. The read marker points at an event with a timestamp later than the one of the missing event.

Change-Id: I8053252e95a3b2142512f93244647a86b6f1a231
2022-06-22 12:36:16 +02:00
SpiritCroc 45b7d7882c Fix sending emotes or user pills in replies
Change-Id: Idc47d2fcfb28359bda89308a8d830469991d268c
2022-06-21 21:54:26 +02:00
SpiritCroc 59db6af93e Setting to always follow system language
Change-Id: Id441ca08b89d5bf3a9b23b2c4639ecf71a22e334
2022-06-21 20:56:52 +02:00
SpiritCroc e47183de8b Support MSC2545 global room image packs for custom emojis
Change-Id: Ic2e2961e5a75b098c2d1ad46f9bf0f36eef85b2e
2022-06-21 18:57:41 +02:00
SpiritCroc 07e4581021 Increment version
Change-Id: Idb782d175f5e306af91b57290cea16bc1dbc0d26
2022-06-17 13:25:29 +02:00
Linerly a582598c5d Translated using Weblate (Indonesian)
Currently translated at 100.0% (160 of 160 strings)

Translation: SchildiChat/SchildiChat-android
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/schildichat-android/id/
2022-06-16 16:43:37 +02:00
waclaw66 e51479364d Translated using Weblate (Czech)
Currently translated at 100.0% (160 of 160 strings)

Translation: SchildiChat/SchildiChat-android
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/schildichat-android/cs/
2022-06-16 16:43:36 +02:00
SpiritCroc 7e6565aefa Do not exclude auto-space-added DMs from orphans in home
Change-Id: I50dae52334d3a2473ff43e398a6448de652afc7f
2022-06-16 16:41:52 +02:00
SpiritCroc 1daf8ac51a Fix DM tab space orphan filter
Change-Id: I460c3b1230c5003fcea904ae341dd8115ec88b17
2022-06-16 16:14:14 +02:00
SpiritCroc 2631d5c3a2 Fix crash for huge inline pictures
Change-Id: I9968e7fd95aa11d524a57c2186d518262fed5aa0
2022-06-16 12:37:50 +02:00
SpiritCroc fd34eba596 Experimental: Allow sending custom emotes ("emojis")
Using MSC2545 image packs

TODO:
- not use pills, or make them look differently here?
- edits and drafts lose it
    note: upstream issue, same for user pills

Change-Id: I27daf5835e32b818e512b61b57c09bea8c205e94
2022-06-16 09:51:58 +02:00
SpiritCroc 7f9a3dfbe6 Fix space swipes not persisting across DM/group tab changes
Change-Id: I0785dee62d4bb3d1ad3cdd877b164de16af99f33
2022-06-15 11:51:15 +02:00
SpiritCroc 2ac877fe74 [TEST] Improve RR reliability
Change-Id: Icfc371829dcbe9103cf4cad40c5371e83db8e23c
2022-06-14 18:39:14 +02:00
SpiritCroc 837972a7be Fix direct share shortcut category declaration
Change-Id: Ic87b34249a0b45215bd3872aac512ef9c8ea63c3
2022-06-14 18:38:53 +02:00
SpiritCroc 3058ee8f9e Add more sync logging
It looks like we're spending some time in the untimed area of the sync

Change-Id: Ifa0fcccf5da74a72ab2b10491114a8a14a94a7ab
2022-06-14 18:38:47 +02:00
SpiritCroc 399332311e Automatic SchildiChat string correction
Change-Id: I4062e81180d979445c7a55bb59ec8626073e1337
2022-06-14 10:14:06 +02:00
SpiritCroc 5bce0e1300 Automatic upstream merge postprocessing
Change-Id: Id7304f3ef6101969915853b88b0a06a596548295
2022-06-14 10:14:05 +02:00
SpiritCroc ff65f2d704 Merge tag 'v1.4.20' into sc
Change-Id: I8d93dd3caa86ff7c68aacbd037dca60591ec254c
2022-06-14 10:06:37 +02:00
SpiritCroc 4778d7cb5b [TMP] Automatic upstream merge preparation
Change-Id: Icf897adc9be76c7d19e4ee8bd1369c6532d0852d
2022-06-14 10:05:26 +02:00
SpiritCroc e76c6f4290 Automatic revert to unchanged upstream strings, pt.1
Change-Id: I38d65505ad01d3e725e1a534c6444cae29ca5d21
2022-06-14 10:05:25 +02:00
Benoit Marty 31bc66717f Merge branch 'hotfix/1.4.20' into main 2022-06-13 14:08:50 +02:00
Benoit Marty 4fa8e70276 Prepare hotfix 1.4.20 2022-06-13 12:37:39 +02:00
ganfra 2a9ac539e4 Change after PR review 2022-06-13 12:35:39 +02:00
ganfra c384a3de8d Fix EventInsertLiveObserver gets blocked by reverting and adding lock instead 2022-06-13 12:35:20 +02:00
Valere 65bb1a7ddc Fix space orphan filtering 2022-06-13 12:33:14 +02:00
SpiritCroc 98140b16af Merge remote-tracking branch 'weblate/sc' into sc
Change-Id: Ic1369bd35cb53615da5ebfe8f5e9220b21054153
2022-06-11 16:18:17 +02:00
SpiritCroc 6fd70c6164 Make spaces back navigation a setting, disabled by default
Adds back support for those also in viewPager navigation mode, but still
don't build the stack when swiping.

Change-Id: Ib800eab558875e74b590967e7c5432a909bac60a
2022-06-11 10:31:18 +02:00
Hiajen 6a4848924c Translated using Weblate (German)
Currently translated at 94.8% (146 of 154 strings)

Translation: SchildiChat/SchildiChat-android
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/schildichat-android/de/
2022-06-08 22:04:17 +02:00
SpiritCroc d093b17da0 More hidden events developer quick settings
Change-Id: Ic5f716ec7bac1e292284a3706ac7b252b367b03f
2022-06-08 15:14:55 +02:00
SpiritCroc d3c6356a3f Merge remote-tracking branch 'weblate/sc' into sc
Change-Id: Iee089b2368a86f485472fb79b96f871cec297c37
2022-06-08 14:36:34 +02:00
SpiritCroc 6344a3982d Merge remote-tracking branch 'origin/merge-v1.4.19' into sc
Change-Id: Idbdbece462fff520912ab0f356a74585989d6d14
2022-06-08 14:35:25 +02:00
SpiritCroc 89f129c657 Material red for warnings and errors in SC themes
Change-Id: Ic7f8550f4a15b8128b4c6c83fb9f8aa3498c915e
2022-06-07 18:28:03 +02:00
SpiritCroc f79edd64a6 Disable space stack for viewpager navigation
Change-Id: I7b895cc8cd945f2038bf0be07cdc140496394428
2022-06-07 16:03:40 +02:00
SpiritCroc 977ef3cd08 Automatic SchildiChat string correction
Change-Id: I2df543e0b4e2aac6f44a59f10a250a1fee7eaffa
2022-06-07 15:33:59 +02:00
SpiritCroc 49121000c5 Automatic upstream merge postprocessing
Change-Id: I8e5240c6060b2585a5e6be7f95fca5a48346dd75
2022-06-07 15:33:58 +02:00
SpiritCroc de179f1d29 Merge tag 'v1.4.19' into merge-v1.4.19
Change-Id: Id486dab5c9b6c545e7035355fe921240c34409a6
2022-06-07 15:33:53 +02:00
SpiritCroc 753da88597 [TMP] Automatic upstream merge preparation
Change-Id: I83744c522088410f134452fd7e33b16996c6b01c
2022-06-07 15:33:50 +02:00
SpiritCroc f53a2fa6cb Automatic revert to unchanged upstream strings, pt.1
Change-Id: Iaa543dafc06b45922fa6c02754b5400f08580d66
2022-06-07 15:33:50 +02:00
Benoit Marty 4ea2b19351 Merge branch 'hotfix/v1.4.19' into main 2022-06-07 15:14:48 +02:00
Benoit Marty b2f67f971b Prepare v1.4.19 2022-06-07 15:11:46 +02:00
ericdecanini 6513210904 Changes space subtitle in explore rooms from joined string to direct space parent 2022-06-07 15:02:15 +02:00
Valere a6113526d0 code review 2022-06-07 15:01:57 +02:00
Valere 2fa25f8b5e Fix param name 2022-06-07 15:01:29 +02:00
Valere d67f86a1e0 fix slow paged room list 2022-06-07 15:00:54 +02:00
SpiritCroc 6ca55d41d8 Translated using Weblate (German)
Currently translated at 94.1% (145 of 154 strings)

Translation: SchildiChat/SchildiChat-android
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/schildichat-android/de/
2022-06-05 13:17:24 +02:00
Linerly 52f993a2d3 Translated using Weblate (Indonesian)
Currently translated at 100.0% (154 of 154 strings)

Translation: SchildiChat/SchildiChat-android
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/schildichat-android/id/
2022-06-05 13:17:23 +02:00
joshua 3bf50f3711 Translated using Weblate (Swedish)
Currently translated at 100.0% (154 of 154 strings)

Translation: SchildiChat/SchildiChat-android
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/schildichat-android/sv/
2022-06-05 13:17:23 +02:00
waclaw66 fb981e03e2 Translated using Weblate (Czech)
Currently translated at 100.0% (154 of 154 strings)

Translation: SchildiChat/SchildiChat-android
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/schildichat-android/cs/
2022-06-05 13:17:23 +02:00
pixelcode ffcae2e069 Translated using Weblate (German)
Currently translated at 95.3% (145 of 152 strings)

Translation: SchildiChat/SchildiChat-android
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/schildichat-android/de/
2022-06-05 13:17:23 +02:00
SpiritCroc a1e6e50ad4 Raise sync timing log level
Change-Id: I6b7d98675c2a5d03510d357ea147d46d35f5a903
2022-06-05 12:46:35 +02:00