Commit graph

11224 commits

Author SHA1 Message Date
SpiritCroc
b51bd743c7 Revert "Revert "Use Java 11 source code""
This will make the latest upstream merge easier.

This reverts commit 302b2865264ec94471c59041ce8efdc45d3764f4.
2021-09-29 09:13:59 +02:00
SpiritCroc
45c6a4e9ba Restore old hasUnread detection algorithm to include notices
Change-Id: Ib934a381cad1fec18815e222d61350240ba9d93f
2021-09-25 17:16:53 +02:00
SpiritCroc
3563e76432 Update local unreadCount when marking chat as read
Change-Id: I12718de30fb36b701fe4d5e63ccae96e13b9e34c
2021-09-24 15:51:49 +02:00
SpiritCroc
d190cc9f0f Fix background ripple for VectorPreferences
Change-Id: I03c7ab6b69e70f4552658725c52919efacdbb143
2021-09-24 10:14:19 +02:00
SpiritCroc
a7680ddbac View filename in audio message if waveform message
Change-Id: I80f85abf74566d8fdfbf4fad1c213612c753a87d
2021-09-23 18:59:04 +02:00
SpiritCroc
e3b590bb8e Use voice message player also for audio messages
Closes https://github.com/SchildiChat/SchildiChat-android/issues/88

Change-Id: I815a039dd638b7ec7dfcf186777e2042814d26a5
2021-09-23 18:27:45 +02:00
SpiritCroc
eadc990675 Scroll to bottom of chat after sending a message
Change-Id: I54f71bfe5e5b9f0bbeeafa1b0faa3e9992da442c
2021-09-23 18:18:18 +02:00
SpiritCroc
586f565c23 Properly hide unread counts if not supported by homeserver
Showing a "1" for every unread chat doesn't make too much sense.

Change-Id: I8e49f2bf20477f9b58039005c411041269ca6652
2021-09-23 18:13:15 +02:00
SpiritCroc
e1546cec06 Fix wrong notification count calculation
Change-Id: Ia136933c3afe60a99362076566b6a5991f4a1ac7
2021-09-22 22:31:27 +02:00
SpiritCroc
ad8751cd99 Merge remote-tracking branch 'weblate/sc' into sc
Change-Id: If3dfc59d80aa64549b0a359b0605983bc79a55e3
2021-09-22 20:07:15 +02:00
SpiritCroc
9b6ea76880 Remove outdated translations
Change-Id: Ice65fa33f998381198b3c3df160f4dcd58c73fa5
2021-09-22 20:05:11 +02:00
dc7ia
8444c74b03 Translated using Weblate (Swedish)
Currently translated at 95.4% (105 of 110 strings)

Translation: SchildiChat/SchildiChat-android
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/schildichat-android/sv/
2021-09-22 19:52:03 +02:00
SpiritCroc
8d267649eb Setting to count unread rooms instead of messages in aggregates
Change-Id: I557741771ba8b83cc2ce7bb6c90501ebc14a7736
2021-09-22 19:41:25 +02:00
SpiritCroc
d1273985b8 Apply unread count setting upon change
Change-Id: Idf3d32045bdfca462a281ccf13d5c758fed2e2c5
2021-09-22 17:50:30 +02:00
SpiritCroc
cc13146f81 Update unread counter handling
Change-Id: I2f5738b822b4161d18de28074385c5664f3d1f98
2021-09-22 17:50:24 +02:00
SpiritCroc
45746dfbbf Use MSC 2654 server-reported unread counts
Change-Id: I6569f9c07c109bcb17dab48ad7f32480a22efb54
2021-09-22 16:55:46 +02:00
SpiritCroc
bcc59b3b09 Update github issue template
Change-Id: I115603618ee7f5a7be71a4b8265324d968e4e30e
2021-09-18 22:52:59 +02:00
SpiritCroc
f97549073e Increment version
Change-Id: If37db85f2d3e0affd140961f9efc87c8440c5033
2021-09-18 20:38:14 +02:00
SpiritCroc
6ec4f1bb1a Merge remote-tracking branch 'weblate/sc' into sc
Change-Id: I0d98fa27615da35eb9067bb7cd094d63d9e64d63
2021-09-18 20:29:43 +02:00
SpiritCroc
756529e565 Revert "Use Java 11 source code"
This seems to break device compatibility with a ZTE Blade L3, Android
5.0.2, stock ROM - even though the Google Play Developer Console views
the device as supported.

Not sure how long we want to stick to Java 8, but we should at least
give everyone who had v1.2.0 installed the chance to get to v1.2.2, to
get a version with the recent security vulerability fix.

This reverts commit 80f23f1f3c.

Change-Id: If599d9154e9385a33f10b6df17469cd86deccb7b
2021-09-18 20:26:29 +02:00
Vib
01d996d51a Translated using Weblate (Romanian)
Currently translated at 84.5% (93 of 110 strings)

Translation: SchildiChat/SchildiChat-android
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/schildichat-android/ro/
2021-09-18 20:23:30 +02:00
su-ex
46637dd2f4 Translated using Weblate (German)
Currently translated at 78.1% (86 of 110 strings)

Translation: SchildiChat/SchildiChat-android
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/schildichat-android/de/
2021-09-18 20:23:30 +02:00
waclaw66
45a18ff16b Translated using Weblate (Czech)
Currently translated at 100.0% (110 of 110 strings)

Translation: SchildiChat/SchildiChat-android
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/schildichat-android/cs/
2021-09-18 20:23:30 +02:00
Vib
11fe938641 Translated using Weblate (Romanian)
Currently translated at 84.7% (89 of 105 strings)

Translation: SchildiChat/SchildiChat-android
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/schildichat-android/ro/
2021-09-18 20:23:30 +02:00
Vib
3da78cfe87 Added translation using Weblate (Romanian) 2021-09-18 20:23:30 +02:00
RandomItalianGuy
30e3d52828 Translated using Weblate (Italian)
Currently translated at 11.4% (12 of 105 strings)

Translation: SchildiChat/SchildiChat-android
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/schildichat-android/it/
2021-09-18 20:23:30 +02:00
dc7ia
f070a389f7 Translated using Weblate (Swedish)
Currently translated at 93.3% (98 of 105 strings)

Translation: SchildiChat/SchildiChat-android
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/schildichat-android/sv/
2021-09-18 20:23:29 +02:00
waclaw66
6f21586ae7 Translated using Weblate (Czech)
Currently translated at 100.0% (105 of 105 strings)

Translation: SchildiChat/SchildiChat-android
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/schildichat-android/cs/
2021-09-18 20:23:29 +02:00
RandomItalianGuy
dd36ac2324 Added translation using Weblate (Italian) 2021-09-18 20:23:29 +02:00
dc7ia
88874e1823 Added translation using Weblate (Swedish) 2021-09-18 20:23:29 +02:00
SpiritCroc
d4a3e3828c Make caching of mxid-based colors theme-friendly
Change-Id: I09b811c2cf1131914ab025c4a4fb5d4da74e3d88
2021-09-16 17:12:23 +02:00
SpiritCroc
8005f44768 Add option to force allow background sync in addition to push
Change-Id: I545475f1f8b36a43712613493173c9a6638cc7f6
2021-09-16 10:45:48 +02:00
SpiritCroc
adfa2b36af UP: Setting to force re-register UP
Also move all notification settings to notification settings

Change-Id: I8eee2d289e67e16b61542930a55706bb29b361af
2021-09-16 10:21:03 +02:00
SpiritCroc
d87c03c505 Theme mxid-based username colors
TODO for follow-up commit: same for mxid-based room colors (maybe with
an extra setting?)

Change-Id: I827bd967e615f20e12f205c0ae5b24a777e90d45
2021-09-16 09:04:13 +02:00
S1m
fbfacc68a4 Unifiedpush: Add default notification if none
Avoid a crash
2021-09-15 10:17:32 +02:00
SpiritCroc
61662b9774 Troubleshoot FCM: this should not be a format string right now
Change-Id: Ifff301e55530c2f14c0a54b6e909f199e1706717
2021-09-14 10:00:29 +02:00
SpiritCroc
b96f150dd0 Add labs setting to use UP endpoint as gateway directly
Change-Id: I8117a4bd15d67703d15be20023146dec8ceec07f
2021-09-14 09:57:26 +02:00
SpiritCroc
c38ece586e Increment version
Change-Id: I70c18491f03854898fa9989add666530dbc0b668
2021-09-13 16:20:06 +02:00
SpiritCroc
ddceeaff0d Automatic SchildiChat string correction
Change-Id: I9447b4a54567537195c0bf814e8d001a438ccd2f
2021-09-13 15:37:58 +02:00
SpiritCroc
99549b0827 Automatic upstream merge postprocessing
Change-Id: Ie0be3b5c124ab589b52fa585e9e330f8c906bd6a
2021-09-13 15:37:57 +02:00
SpiritCroc
741ac9f3f6 Merge tag 'v1.2.2' into sc
Change-Id: Icda1859305bac1e48f3d1889282a23049dd83c29
2021-09-13 15:37:54 +02:00
Benoit Marty
bcbe8d3144 Merge branch 'hotfix/1.2.2' into main 2021-09-13 15:26:16 +02:00
Benoit Marty
cccf812906 Version++ (1.2.2) 2021-09-13 15:25:56 +02:00
Valere
8d2f95d5db Store device key in SharedSessionEntity
Code review changes


Fix database migraiton


Fix wrong self assignement + comment
2021-09-13 15:25:30 +02:00
SpiritCroc
b084febf96 [TMP] Automatic upstream merge preparation
Change-Id: I49e0bface447e2900d1133a5b14895591a99887c
2021-09-13 14:18:47 +02:00
SpiritCroc
70b8b3a22f Automatic revert to unchanged upstream strings, pt.1
Change-Id: I831bc3b9509ded5c8bea671810a2c067e8c1f984
2021-09-13 14:18:47 +02:00
SpiritCroc
4f1cde6c07 Add some secret setting
Change-Id: I8f43d720c556389555128da07e8c6571afea13c3
2021-09-11 11:16:37 +02:00
SpiritCroc
8a8ad86806 Drawer notif count badge: use total count
Upstream decided to only count notifications for other spaces than the
currently selected one for the drawer icon. This however leads to
notification counts multiplying for rooms present in multiple spaces.
Instead, it's more useful to just show the total notification count,
without doing any kind of space-based filtering.

Fixes https://github.com/SchildiChat/SchildiChat-android/issues/79

Change-Id: I2a76d4fbc768b36470d9183741f57a5f834d374a
2021-09-11 10:22:23 +02:00
SpiritCroc
4803fbbc05 merge_helpers.sh: Allow restoring upstream files deleted downstream
Change-Id: Ib02d37f4c5e2414b04e5fdf6006e6e3c13f4827a
2021-09-11 10:01:11 +02:00
SpiritCroc
75a9c748af Hide secure backup "backing up keys" banner
Change-Id: I432561ac30d70509c38e07e8ed3ea4cecb9fe4b2
2021-09-11 10:00:46 +02:00