Commit graph

6865 commits

Author SHA1 Message Date
Benoit Marty
c163d2e271 Try to fix debug menu visibility. Still broken :/ 2021-09-23 13:54:03 +02:00
Benoit Marty
1ce48c4deb Add a dedicated setting to show debug info on screen 2021-09-23 13:54:03 +02:00
Benoit Marty
1cd6ec4448 Do not log eventId 2021-09-23 13:54:03 +02:00
Benoit Marty
05aff3314d Add error state 2021-09-23 13:54:03 +02:00
Benoit Marty
f5151463e2 Add the number of rooms and toDevice events in the debug data 2021-09-23 13:54:03 +02:00
Benoit Marty
63a84dcb8a Add incremental sync status to the room list and the room detail (only in developer mode) 2021-09-23 13:54:03 +02:00
Adam Brown
d31ad7e187 extracting constants for the pusher kinds and email appId 2021-09-23 12:33:48 +01:00
Adam Brown
4c4f2fce74 catching remove pusher errors in the notification targets screen
- displays a dialog with a human readable version of the error
2021-09-23 12:27:56 +01:00
ganfra
d9e9568c2e Clean code and update CHANGES 2021-09-23 13:19:29 +02:00
ganfra
fc5c6b9b00 RoomDetail: lazy load EmojiDataSource data (+ async) 2021-09-23 13:13:16 +02:00
Adam Brown
efec63e979 documenting the getEmails function and lifting it out of the class as it's not directly tied to the class 2021-09-23 12:02:46 +01:00
Adam Brown
8316728e53 removing this. usages where there's no clashes 2021-09-23 11:45:09 +01:00
Valere
9b02704d5b Code review 2021-09-23 09:52:20 +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
ganfra
ebd5095662 Room detail: use ViewStub for FailedMessagesWarningView 2021-09-22 18:00:56 +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
Valere
636389d584 Fix notif badge for space invite 2021-09-22 17:26:36 +02:00
Valere
195fb6f6fc Improve invite bottom sheet 2021-09-22 14:53:01 +02:00
ganfra
290586948f Room detail: create lazy loaded views holder 2021-09-22 11:36:37 +02:00
random
261797e7ac Translated using Weblate (Italian)
Currently translated at 99.8% (2612 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/it/
2021-09-22 09:25:29 +00:00
Priit Jõerüüt
e113880ae8 Translated using Weblate (Estonian)
Currently translated at 100.0% (2615 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/et/
2021-09-22 09:25:28 +00:00
ganfra
fb10e9f113 Room detail : lazy load EmojiPopup and AutocompleteMemberPresenter 2021-09-22 11:07:36 +02:00
ganfra
5bf1761f27 Room detail: use StubView for InviteView 2021-09-21 18:31:17 +02:00
Adam Brown
0617179c20 removing trailing comma for lint 2021-09-21 15:59:29 +01:00
Adam Brown
03eb36636d capturing the original switch state at the point of clicking the switch rather than when the listener is initially set 2021-09-21 15:26:51 +01:00
Adam Brown
710f2f92cb cleaning up the notification email group xml definition to include a self closing tag
- the category is dynamically populated so we shouldn't be adding anything static here anyways!
2021-09-21 13:46:23 +01:00
Adam Brown
2c25efc36a making the removePusher more generic as it can handle email and http pushers
- Updates the doc to reflect that to remove emails an appId of m.email is required
2021-09-21 13:46:18 +01:00
Adam Brown
78d70eab12 enforcing emails pushes to always be appended
- always appending allows the same email to be used for other accounts see https://github.com/matrix-org/matrix-react-sdk/pull/2727 https://github.com/matrix-org/matrix-react-sdk/pull/2727/files#diff-ec232520bf51337e5e6939b885d21f428ad6da3306c8e17a3ff660b2b341179dR165
2021-09-21 11:32:33 +01:00
Adam Brown
516bb6ed95 lifting the email branding to its own parameter so clients of the sdk can configure it 2021-09-21 11:26:11 +01:00
Adam Brown
0b293d08cc handling errors when enabling/disabling email notifications
- Extracts out a transactional switch helper to handle reverting the switch back to its original state if an error occurs
- Reuses existing toast message for unknown error
- Does not include the isAdded to the async callback as the couroutine is tied to the fragment lifecycle scope
2021-09-21 11:16:09 +01:00
Adam Brown
410cf5c062 adding UI toggle for email notifications in /settings/notifications
- will display a _no emails_ when the matrix account has no emails set and tapping will navigate to the emails and phone numbers screen where the user can add an email
- toggling the email notification with register and unregister push notification for the given email address
2021-09-21 10:47:03 +01:00
Adam Brown
1591375aa2 adding ability to remove push targets from the notification target screen 2021-09-20 16:35:53 +01:00
Valere
8036f50a6e Show mxto bottom sheet when tapping invite notification 2021-09-20 12:07:45 +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
Linerly
a48813003e Translated using Weblate (Indonesian)
Currently translated at 70.6% (1848 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
2021-09-18 14:26:01 +00:00
waclaw66
bc85ae4bc9 Translated using Weblate (Czech)
Currently translated at 100.0% (2615 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2021-09-18 14:25:27 +00:00
Benoit Marty
f418683da5
Merge pull request #4014 from vector-im/feature/fga/hide_jitsi_event
Jitsi: introduces ConferenceEvent
2021-09-17 18:07:33 +02:00
Benoit Marty
b5f7351564
Merge pull request #4008 from vector-im/feature/fga/small_timeline_optimisation
Feature/fga/small timeline optimisation
2021-09-17 18:06:58 +02:00
Valere
33273955cb Fix unused var 2021-09-17 14:54:05 +02:00
Valere
d2af7e3f91 Code review 2021-09-17 14:26:25 +02:00
Valere
6d023188da code review 2021-09-17 10:26:32 +02:00
Valere
f79681b343 Clean unneeded beta pills 2021-09-17 09:22:10 +02:00
Valere
932a43ef58 Add subspace action 2021-09-17 09:22:10 +02:00
ganfra
82864b2b98 Fix other call not always refreshed when ended #4028 2021-09-16 18:53:41 +02:00
Quang Trung
8092e8958d Translated using Weblate (Vietnamese)
Currently translated at 54.3% (1420 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/vi/
2021-09-16 15:25:53 +00:00
Ihor Hordiichuk
7bf414ec8c Translated using Weblate (Ukrainian)
Currently translated at 82.8% (2167 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2021-09-16 15:25:48 +00:00
Linerly
653acee9de Translated using Weblate (Indonesian)
Currently translated at 53.0% (1386 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
2021-09-16 15:25:45 +00:00
SpiritCroc
d4a3e3828c Make caching of mxid-based colors theme-friendly
Change-Id: I09b811c2cf1131914ab025c4a4fb5d4da74e3d88
2021-09-16 17:12:23 +02:00
ganfra
226b0e6c9d Fix call screen stuck with some hanging up scenarios #4026 2021-09-16 12:04:18 +02:00
ganfra
bd9a187597 Fix sticky end call notification #4019 2021-09-16 11:50:26 +02:00
Valere
100ac49cac
Merge pull request #4000 from vector-im/feature/bca/fix_space_parent
Fix parent relation handling
2021-09-16 11:45:29 +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
Valere
421c2ae0ba Fix missing string resource 2021-09-16 10:30:43 +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
Valere
94f88c80fc Fix parent relation handling 2021-09-16 09:33:06 +02:00
Valere
cfed0f839b Code review 2021-09-16 09:20:25 +02:00
Valere
9a9a3d8cc6 Cherry pick room on leave space 2021-09-16 09:20:25 +02:00
Valere
8fd784e275 Improve leave space (all + none) 2021-09-16 09:20:25 +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
Valere
70ebb3a3f2 Code review 2021-09-15 18:48:40 +02:00
Valere
2c1435f08c Change default power to invite in private space + setting 2021-09-15 18:47:38 +02:00
ganfra
0460a48c0c Fix DTMF not working #4015 2021-09-15 11:25:08 +02:00
S1m
fbfacc68a4 Unifiedpush: Add default notification if none
Avoid a crash
2021-09-15 10:17:32 +02:00
Benoit Marty
1b59c7b451
Merge pull request #3989 from vector-im/feature/bca/space_fix_3956
Fix /  Kick user dialog for spaces talks about rooms
2021-09-14 20:35:40 +02:00
Benoit Marty
3575157f1c
Merge pull request #3976 from vector-im/feature/bca/space_team_invite_mail
Add invite by email screen in create space flow
2021-09-14 20:18:35 +02:00
ganfra
27d4f60578 Jitsi: introduces ConferenceEvent to avoid using directly Jitsi sdk from fragments/activities 2021-09-14 18:50:51 +02:00
Valere
c0b01dff70 code review 2021-09-14 15:25:40 +02:00
Le Dang Trung
c69f0db5b4 Translated using Weblate (Vietnamese)
Currently translated at 52.3% (1368 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/vi/
2021-09-14 08:25:40 +00:00
Nikita Epifanov
59d5cfbb24 Translated using Weblate (Russian)
Currently translated at 99.3% (2597 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ru/
2021-09-14 08:25:30 +00:00
random
0dc88c71ab Translated using Weblate (Italian)
Currently translated at 99.8% (2612 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/it/
2021-09-14 08:25:26 +00: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
ddceeaff0d Automatic SchildiChat string correction
Change-Id: I9447b4a54567537195c0bf814e8d001a438ccd2f
2021-09-13 15:37:58 +02:00
SpiritCroc
70b8b3a22f Automatic revert to unchanged upstream strings, pt.1
Change-Id: I831bc3b9509ded5c8bea671810a2c067e8c1f984
2021-09-13 14:18:47 +02:00
Le Dang Trung
9c94fd26e2 Translated using Weblate (Vietnamese)
Currently translated at 47.8% (1250 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/vi/
2021-09-12 08:25:35 +00:00
Ihor Hordiichuk
66ec25d8eb Translated using Weblate (Ukrainian)
Currently translated at 81.5% (2132 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2021-09-12 08:25:28 +00:00
jannikac
b5c08a13ff Translated using Weblate (German)
Currently translated at 98.8% (2585 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2021-09-12 08:25:28 +00:00
libexus
370b9cabf7 Translated using Weblate (German)
Currently translated at 98.8% (2585 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2021-09-12 08:25:27 +00: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
75a9c748af Hide secure backup "backing up keys" banner
Change-Id: I432561ac30d70509c38e07e8ed3ea4cecb9fe4b2
2021-09-11 10:00:46 +02:00
SpiritCroc
9d25264a19 Merge remote-tracking branch 'p1gp1g/unifiedpush' into sc
Change-Id: I3c3bd1405fad1eba0974e65f089dcbdd4c152671
2021-09-11 09:41:59 +02:00
Le Dang Trung
49821805d1 Translated using Weblate (Vietnamese)
Currently translated at 44.9% (1175 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/vi/
2021-09-10 21:25:50 +00:00
Ihor Hordiichuk
13ac4851fc Translated using Weblate (Ukrainian)
Currently translated at 81.5% (2132 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2021-09-10 21:25:29 +00:00
Glandos
0e956f1f5a Translated using Weblate (French)
Currently translated at 100.0% (2615 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fr/
2021-09-10 21:25:28 +00:00
Benoit Marty
449eac0d99 Fix annoying issue detected by lint (CheckResult) and consider that's errors from now 2021-09-10 18:14:39 +02:00
SpiritCroc
1b8874e8cb Expose and theme some upstream colors concerning video conferences
Change-Id: I8ed960c119c2b87a9e8af0bce60bbf60034f5a61
2021-09-10 12:26:56 +02:00