Commit Graph

15231 Commits

Author SHA1 Message Date
SpiritCroc b2dd42ac6e Increment version
Change-Id: Ic672c3b2f370fc0d69d6168aa9d9ec839498d084
2022-03-19 10:24:10 +01:00
SpiritCroc ecbc3aca81 Merge remote-tracking branch 'weblate/sc' into sc
Change-Id: I63ac77874e5360e61327b31f19aff0d2bbc6c232
2022-03-19 10:16:49 +01:00
waclaw66 52b8155cfa Translated using Weblate (Czech)
Currently translated at 100.0% (139 of 139 strings)

Translation: SchildiChat/SchildiChat-android
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/schildichat-android/cs/
2022-03-19 08:52:58 +01:00
SpiritCroc 0d2c851788 Dbg unread state
Change-Id: Ifa6c12b30338516c87a4f535a4756942af130192
2022-03-18 15:52:25 +01:00
Linerly 759daf6c15 Translated using Weblate (Indonesian)
Currently translated at 100.0% (139 of 139 strings)

Translation: SchildiChat/SchildiChat-android
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/schildichat-android/id/
2022-03-18 08:12:35 +01:00
Felix E a62962d72c Translated using Weblate (German)
Currently translated at 86.3% (120 of 139 strings)

Translation: SchildiChat/SchildiChat-android
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/schildichat-android/de/
2022-03-18 08:12:35 +01:00
waclaw66 aaa78e74b9 Translated using Weblate (Czech)
Currently translated at 100.0% (139 of 139 strings)

Translation: SchildiChat/SchildiChat-android
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/schildichat-android/cs/
2022-03-18 08:12:35 +01:00
Linerly 385bf0b8f6 Translated using Weblate (Indonesian)
Currently translated at 100.0% (138 of 138 strings)

Translation: SchildiChat/SchildiChat-android
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/schildichat-android/id/
2022-03-18 08:12:35 +01:00
waclaw66 31386424c5 Translated using Weblate (Czech)
Currently translated at 100.0% (138 of 138 strings)

Translation: SchildiChat/SchildiChat-android
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/schildichat-android/cs/
2022-03-18 08:12:35 +01:00
SpiritCroc ab9caef466 TokenChunkEventPersistor: always link all matching chunks
The previous fix only works around the issue when it is detected. This
may require re-entering the room once when it gets stuck. If we ensure
proper linking from the beginning, hopefully we don't run into any
issues at all.

Change-Id: Idf0f1882ec4f197f58f3818e63386a4def838b25
2022-03-18 08:08:51 +01:00
SpiritCroc 0d43fc6861 Ensure proper double linking of TimelineChunks
We need both directions so getOffsetIndex() produces correct results in
all cases.

Change-Id: Icbb3810c664febba976b81ae882a6581dc0f6056
2022-03-17 11:10:01 +01:00
SpiritCroc b982841ed5 Add read event tracking debugging
Change-Id: If9cc30f32af7bcadda9df6b04ad89ae248166da8
2022-03-17 10:58:39 +01:00
SpiritCroc 57fee29645 Revert "Reduce time required before updating read marker"
This reverts commit 922b62f9f5.

Change-Id: I32fed90bdfa04d5e3dd7f222a330f84f3476d805
2022-03-17 10:58:35 +01:00
SpiritCroc 6b060bf1bb Increase toolbar subtitle text size a little
Change-Id: I3990d59a431fb3b35520a8862e0ff911f6cb4011
2022-03-16 15:58:54 +01:00
SpiritCroc 922b62f9f5 Reduce time required before updating read marker
Change-Id: Ia242b3e031deac313e7db161ccf7dae64ed66e7c
2022-03-16 15:40:03 +01:00
SpiritCroc d92ce97f84 Open at unread: Do not show loading animation if already reached end
Change-Id: I90b0a92cddb779651983f69871fa1942f2f45785
2022-03-16 15:39:16 +01:00
SpiritCroc 581c0ffcb0 Fix endless loading timeline due to conflicting chunks
Change-Id: I46918ed17b0bd5b2ac6797bfd2a9e3ffa42f14b8
2022-03-16 14:33:28 +01:00
SpiritCroc da43865733 [TMP] More ReadMarker debugging
Change-Id: I1defffc997864db74e15fe6b06645adeed7b67fe
2022-03-16 09:27:48 +01:00
SpiritCroc d3c69a71a2 Fix remembering section expand-status in some cases
Change-Id: If5f08cb895874fddb2621632f970f0179b026439
2022-03-15 20:50:17 +01:00
SpiritCroc cd1449d9bb RoomListFragment: Use proper way to observe space changes
Change-Id: I30d65c3e653eb82f4095ed538aec9a4c8c2de337
2022-03-15 20:32:01 +01:00
SpiritCroc 31c01c98de Possibility to hide start call buttons from the toolbar
Change-Id: Ica35e0dfd6b82beb90754dd5997fa0d756d816a5
2022-03-15 20:20:21 +01:00
SpiritCroc 5bdb6a5dfd Setting whether chat notifications should repeatedly alert
Closes https://github.com/SchildiChat/SchildiChat-android/issues/111

Change-Id: I4c963caabdb10fa601799d3cb3fed2ad96d3d54c
2022-03-15 20:07:35 +01:00
SpiritCroc 4bb246ffe1 Fix local echos not being shown when re-opening rooms
Change-Id: Ib07f290028b7e97b64f3712c2cac01b5038f8dc8
2022-03-15 19:43:07 +01:00
SpiritCroc 4d8cedf6e5 Annoy-developer-toast: don't show for normal local echos
Change-Id: Ibec75423c5f7f7d4145e48f2da36e2b02f0caf7c
2022-03-15 16:11:22 +01:00
SpiritCroc 56cae372b4 Add Schildi-dbg settings
To control more invasive debugging

Change-Id: I7ee2980388db8999a76992ee7fffc70d8383a283
2022-03-15 11:19:53 +01:00
SpiritCroc c214c2233f [TMP] Update timeline debugging
And clean up some debugging that's probably not needed anymore

Change-Id: I3b154280487f02479f7c40b543da43ca39e9e2e3
2022-03-15 10:57:34 +01:00
SpiritCroc f8971a9ba1 Merge remote-tracking branch 'weblate/sc' into sc
Change-Id: I4f47d43a3750c16cebee1d67348b378ea4416631
2022-03-15 09:04:26 +01:00
SpiritCroc 03863a9585 Update FEATURES.md
Change-Id: I0d3678219babe3e53e4af296b564d9de29615904
2022-03-15 09:01:07 +01:00
Linerly e442782c7a Translated using Weblate (Indonesian)
Currently translated at 100.0% (129 of 129 strings)

Translation: SchildiChat/SchildiChat-android
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/schildichat-android/id/
2022-03-15 08:59:35 +01:00
waclaw66 1bcba4b135 Translated using Weblate (Czech)
Currently translated at 100.0% (129 of 129 strings)

Translation: SchildiChat/SchildiChat-android
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/schildichat-android/cs/
2022-03-15 08:59:35 +01:00
Linerly 83fc1d2130 Translated using Weblate (Indonesian)
Currently translated at 100.0% (122 of 122 strings)

Translation: SchildiChat/SchildiChat-android
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/schildichat-android/id/
2022-03-15 08:59:35 +01:00
waclaw66 cf23176ae0 Translated using Weblate (Czech)
Currently translated at 100.0% (122 of 122 strings)

Translation: SchildiChat/SchildiChat-android
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/schildichat-android/cs/
2022-03-15 08:59:35 +01:00
mezysinc a4aab40c54 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (121 of 121 strings)

Translation: SchildiChat/SchildiChat-android
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/schildichat-android/pt_BR/
2022-03-15 08:59:35 +01:00
Allan Nordhøy 784eed8ce3 Translated using Weblate (Norwegian Bokmål)
Currently translated at 48.7% (59 of 121 strings)

Translation: SchildiChat/SchildiChat-android
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/schildichat-android/nb_NO/
2022-03-15 08:59:35 +01:00
SpiritCroc 4009277193 Update FEATURES.md
Change-Id: I0d3678219babe3e53e4af296b564d9de29615904
2022-03-15 08:59:04 +01:00
SpiritCroc b9b5bd6519 Fix SC bubbles crash for chats with verification-request
Change-Id: Ie5527a5bf5d89b8421759f9acab3c426a8a09cfa
2022-03-14 15:57:01 +01:00
SpiritCroc ead93dc8ad Don't switch space on clicking a notification
Change-Id: Ieadd6b900152d0ebf2ea7cc97d9e06afccf50439
2022-03-13 14:33:08 +01:00
SpiritCroc d0909c1790 [TMP] Show inconsistencies toast for developers investigating this
Change-Id: I06165bddcae980db60750ef77925c7b65704f3a2
2022-03-12 10:38:02 +01:00
SpiritCroc 647dd4398e Fix modifying the wrong events in TimelineChunk
I was observing cases where builtEvents[modificationIndex] was not
having the same eventId as the udpatedEntity in.
In particular, I observed both cases that
- there was no item in the list yet with the same eventId as the updated
  one
- there was an item with the same eventId already in the list, but at a
  different position.

Whenever this happened, the timeline would render missing, duplicated,
or swapped messages in the timeline.

Instead of relying on the modificationIndex to be the same for both the
change set and builtEvents, look up the proper index by eventId.

Change-Id: Ic03bdcc8210ec87b786795848f31e9085096b903
2022-03-12 09:32:25 +01:00
SpiritCroc 8d04a48157 Fix ChunkEntity.isMoreRecentThan() if both chunks linked to last forward
Imagine scenario:

[this] -> [chunkToCheck] -> [lastForwardChunk]

Then, both `isLastForward` checks will not return, and also the `chunkToCheck.doesNextChunksVerifyCondition { it == this }` will return false.
Since both chunks are connected to the last forward chunk, `isMoreRecent()` will still return `true`, which is wrong in this case.
So do not only check if chunkToCheck has this as any of the next chunks, but also the other way round.

Change-Id: I98727d85837e9b38a42297568df82f957b3a2dca
2022-03-11 11:29:43 +01:00
SpiritCroc 24133ba7b5 isReadMarkerMoreRecent(): use helper to properly compare chunks
Change-Id: I878b8145d3a9c85ea815f369e5d8f810343c8f62
2022-03-11 11:29:39 +01:00
SpiritCroc 6aabb38c3b [TMP] Update some readmarker debugging
Change-Id: Ia1de156f39622d90cc1433f0b16776bd00e2a462
2022-03-11 10:04:40 +01:00
SpiritCroc 12e4853c59 [TMP] More missing message debugging
Change-Id: Ia6ad08fa6a51365ba6f4e5a880f9ce804f3026c5
2022-03-11 08:50:17 +01:00
SpiritCroc 38cfd2ab2f Restore pre-v1.4.4 toolbar
New one has borked presence indicator, and overall doesn't look as nice
as the old one, including the new typing indicator, imo.

Change-Id: I9e1fa0f6677905d051f0d9557f8a79b3c4c86e2b
2022-03-10 20:06:32 +01:00
Tiago Loureiro 9cb64f0592 Fix huge picture crash on timeline
Change-Id: Ie9e4b68c8525a033b06e7f500e86aab73a718f40
2022-03-10 17:43:13 +01:00
SpiritCroc 5b07dbbeb9 Fix possible class cast exception in url preview
Change-Id: Ibab1f314591abca7669f89df51dade70ddab383f
2022-03-10 17:20:11 +01:00
SpiritCroc 10c77f2b59 Don't reserve space for typing view until somebody is typing
Once we show it, keep it, to not make the timeline jump around too much.

Change-Id: I8f863d8d21f3b06ff86f62615d8e6aefe81bde2e
2022-03-10 13:42:48 +01:00
SpiritCroc 27fd6a2819 Automatic SchildiChat string correction
Change-Id: I728d41658c2b1148b40644e28b67016f5e420c70
2022-03-10 13:26:54 +01:00
SpiritCroc db3891b4c3 Automatic upstream merge postprocessing
Change-Id: I60e8f659740659d74f1d918525abff353d5f2cfc
2022-03-10 13:26:53 +01:00
SpiritCroc 8f93b55b59 Automatic color correction
Change-Id: I0ac188dce1148b8defeaffd70062691a8ee2e9da
2022-03-10 13:26:52 +01:00