Commit graph

6904 commits

Author SHA1 Message Date
Benoit Marty
9b75da5d4d Clean code 2021-10-27 15:00:14 +02:00
Adam Brown
4ae04fc297 adding normalised room display name field and making use of it when filtering rooms by name
- fixes non latin-1 character set room names from being ignored when searching with inexact casing
2021-10-27 13:09:53 +01:00
ganfra
34cb99e8ae Flow migration: remove Rx completely (rxbinding) 2021-10-27 12:13:49 +02:00
Onuray Sahin
6cee266a95 Create poll UI implementation. 2021-10-27 13:10:01 +03:00
Danial Behzadi
ede8933059 Translated using Weblate (Persian)
Currently translated at 100.0% (2672 of 2672 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fa/
2021-10-26 23:25:49 +00:00
Ihor Hordiichuk
5c4ac897c1 Translated using Weblate (Ukrainian)
Currently translated at 91.6% (2448 of 2672 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2021-10-26 23:25:49 +00:00
random
188e0dbec7 Translated using Weblate (Italian)
Currently translated at 99.8% (2669 of 2672 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/it/
2021-10-26 23:25:45 +00:00
libexus
93ed2dcbbf Translated using Weblate (German)
Currently translated at 97.8% (2615 of 2672 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2021-10-26 23:25:44 +00:00
DUCKCHI
66198805ca Translated using Weblate (Korean)
Currently translated at 49.6% (1326 of 2672 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ko/
2021-10-26 23:25:43 +00:00
Adam Brown
6d9877d79c filtering out redacted simple message events, we handle them by updating the notifications 2021-10-26 20:03:10 +01:00
Adam Brown
a5fe6f7212 removing redacted events from the room notification message list 2021-10-26 20:03:10 +01:00
Adam Brown
b146501f29 avoiding multiple list iterations via mapNotNull 2021-10-26 20:03:10 +01:00
Benoit Marty
be67836a3e Tiny formatting 2021-10-26 20:03:10 +01:00
Benoit Marty
2bd2cbf84e Compact code 2021-10-26 20:03:10 +01:00
Benoit Marty
c56101d227 Do not use the room member avatar as a room avatar 2021-10-26 20:03:10 +01:00
Adam Brown
743a71c78d renaming event lists to give more context and remove the list suffix/inconsistencies 2021-10-26 20:03:10 +01:00
Adam Brown
d1f6db4236 using dedicated ProcessedEvent data class instead of type alias for passing around the process notificatiable events
- also includes @JvmName on all conflicting extensions for consistency
2021-10-26 20:03:10 +01:00
Adam Brown
6fb7faa360 removing unused imports 2021-10-26 20:03:10 +01:00
Adam Brown
a6e47d8b85 replacing notification utils usage with the displayer and removing unused method 2021-10-26 20:03:10 +01:00
Adam Brown
c16e3e09e6 adding missing parameter from rebase and removing no longer needed singleton annotation 2021-10-26 20:03:10 +01:00
Adam Brown
4748a385ea inlining single use extension functions 2021-10-26 20:03:10 +01:00
Adam Brown
9fa09def96 fixing line lengths 2021-10-26 20:03:10 +01:00
Adam Brown
4bbb637ace adding documentation around the two notifiable event lists which act as our notification source of truth 2021-10-26 20:03:10 +01:00
Adam Brown
c67b9ee81e ensuring that we remove read messages when they come through by respecting the processed type when creating the notifications 2021-10-26 20:03:10 +01:00
Adam Brown
0bdc65b47f diffing the notification events against the currently rendered events allow us to dismiss notifications from removed events 2021-10-26 20:03:10 +01:00
Adam Brown
b27fb264fc using a process state of keep/removed rather than mapping to an ignored event id
- this state will be used to diff the currently rendered events against the new ones
2021-10-26 20:03:10 +01:00
Adam Brown
b7b4c01bde splitting the event processing from the rendering
- this allows us to only synchronise of the event list modifications rather than the entire notification creation/rendering which should in turn reduce some of our ANRs https://github.com/vector-im/element-android/issues/4214
2021-10-26 20:03:10 +01:00
Adam Brown
587466e009 relying on the notification refreshing to cancel/update the notifications 2021-10-26 20:03:10 +01:00
Adam Brown
03fe45da60 ensuring that we removing the summary group before removing individual notifications
- adds some comments to explain the positioning
2021-10-26 20:03:10 +01:00
Adam Brown
a94a1a0523 formatting 2021-10-26 20:03:10 +01:00
Adam Brown
8fb6bef503 removing this usages for project convention 2021-10-26 20:03:10 +01:00
Adam Brown
0d316e69de handling creating the summary when notification events are filtered to empty due to only containing removals 2021-10-26 20:03:10 +01:00
Adam Brown
3d567d0dcd removing no longer needed hasBeenDisplayed state, the eventList is our source of truth
- when events have finished being displayed they should be removed from the eventList via notification delete actions
2021-10-26 20:03:10 +01:00
Adam Brown
c85afa96d3 lifting settings change to cancel all notifications out of the renderer
- the renderer's responsibility it handling events
2021-10-26 20:03:10 +01:00
Adam Brown
3023cb4d39 chaining the event process, notification creation and display logic into a NotificationRender
- extract the displaying into its own class to avoid leaking the entire notificationutils
- cancel/display notification actions are completely driven by the event or abscense of event from the eventList
- attempts to avoid redundant render passes by checking if the eventList has changed since the last render
2021-10-26 20:03:10 +01:00
Adam Brown
0f4ec65b7a creating the notifications separate to where they're displayed
- also handles when the event diff means the notifications should be removed
2021-10-26 20:03:10 +01:00
Adam Brown
7b0c483134 creating dedicated class for the processing the serialized events
- updates the logic to track when events are removed as a way for the notifications to remove themselves, null events mean they've been removed
2021-10-26 20:03:10 +01:00
Adam Brown
4459aab558 making the event body non null and immutable to allow less cases to be handled -
also puts in the basis for a separate notification refreshing implementation
2021-10-26 20:03:10 +01:00
Adam Brown
beff5ab821 including the room name in the invitation event if the room sumary is available 2021-10-26 20:03:10 +01:00
Adam Brown
56e2b79774 formatting 2021-10-26 20:03:10 +01:00
Adam Brown
86b500445f updating the push gateway property to reflect that it mean the event can be replaced
- makes the property immutable as only the creation of the event knows if it can be replace eg it came from a push or the /sync event stream
2021-10-26 20:03:10 +01:00
Adam Brown
b44a382893 separating the mutable vars from the immutable ones, they'll be removed or made immutable by the notification redesign 2021-10-26 20:03:10 +01:00
Adam Brown
db5d4ead38 making the noisy property immutable 2021-10-26 20:03:10 +01:00
Adam Brown
c99dd4a615 making the isRedacted event property immutable
- also makes the notifiable events sealed interfaces so that we can copy the data classes with new redacted values when it changes
2021-10-26 20:03:10 +01:00
Adam Brown
89d643a4be removing unused property (written to but never read) 2021-10-26 20:03:10 +01:00
Adam Brown
81da185d8b making non overriden properties immutable by passing the values intro the constructor 2021-10-26 20:03:10 +01:00
Adam Brown
51f7dee952 removing non common properties form the base event 2021-10-26 20:03:10 +01:00
Adam Brown
0c809b5ed1 now that we ignore duplicated invite joined events at the source we can avoid eager notification cancels and rely on the main notification refresh flow 2021-10-26 20:03:10 +01:00
Benoit Marty
a19999a717
Merge pull request #4345 from vector-im/feature/adm/unable-to-join-by-name
Unable to join room by name
2021-10-26 19:35:44 +02:00
Benoit Marty
1d8a4a923a
Merge pull request #4344 from vector-im/feature/bma/device_id_param
Add optional deviceId to the login API
2021-10-26 19:24:09 +02:00
Adam Brown
272baa52ec adding remaining activity missing hilt injection annotations 2021-10-26 17:56:22 +01:00
Adam Brown
881157a725 applying the room navigation interceptor to only the room activity navigation, not the bottomsheets
- the bottomsheets require the activity to stay around as they host the sheet instance, fixes missing join sheets
2021-10-26 17:15:19 +01:00
Adam Brown
49c969601d adding missing bottomsheet handling for displaying the join room sheet when linking from the public rooms
- the activity is still finished causing the popup to not actually display
2021-10-26 17:14:24 +01:00
Benoit Marty
6c485d5f6e Merge hotfix 1.3.6 2021-10-26 17:23:33 +02:00
Adam Brown
792444d1ac adding missing hilt annotation for injectable activity 2021-10-26 16:23:32 +01:00
ganfra
8cf5b727e1 Flow: restore read receipts 2021-10-26 15:57:18 +02:00
ganfra
9479342a64 Flow: remove more rx 2021-10-26 15:16:10 +02:00
Benoit Marty
0236396c59 Add optional deviceId to the login API 2021-10-26 15:10:04 +02:00
ganfra
c936954119 Flow migration: start replacing Rx by Flow 2021-10-26 14:24:23 +02:00
Adam Brown
10df75bd57 allowing the re-emission of identical search terms, fixes the finish setup/give consent steps from not properly updating the UI
- also captures the fragmet resumed event in order to handle returning from the settings page and applying a identity server
2021-10-26 12:25:17 +01:00
Adam Brown
c90dbf2f38 allowing null users in the email search, fixes missing indentity server helpers when inviting by email 2021-10-26 11:55:52 +01:00
Onuray Sahin
cb1d5e888d Create poll fragment with a title. 2021-10-25 20:14:10 +03:00
Onuray Sahin
4af42902a0 Create poll screen components implemented. 2021-10-25 16:41:37 +03:00
Onuray Sahin
3e03db200c Add poll icon to attachment type selector. 2021-10-25 14:47:57 +03:00
Benoit Marty
3354cd1760
Merge pull request #4312 from vector-im/feature/fga/hilt_app_migration
Migrate App DI framework to Hilt
2021-10-25 12:41:02 +02:00
Benoit Marty
8b6e0187d6
Merge pull request #4320 from vector-im/feature/adm/malformed-group-link
Fixing grouped notification causing malformed url
2021-10-25 12:20:04 +02:00
Adam Brown
325e78106e
fixing strange ide extract 2021-10-25 10:51:40 +01:00
Adam Brown
06b3cc3f4b filters the unique notification uris from the link handling
- fixes malformed url errors appearing for uri we only create to force uniqueness in the notifications
2021-10-22 18:29:53 +01:00
ganfra
a82a5c9b32 Fix unread marker not showing #4313 2021-10-22 15:19:39 +02:00
ganfra
e6e8c7f7d1 Hilt: clean code and add changelog 2021-10-22 12:41:06 +02:00
ganfra
e9b58844b3 Merge branch 'develop' into feature/fga/hilt_app_migration 2021-10-22 11:30:49 +02:00
ganfra
b6501ce7b2 Hilt: continue cleaning up 2021-10-22 11:30:09 +02:00
Weblate
f75de0b2b7 Merge branch 'origin/develop' into Weblate. 2021-10-22 08:00:00 +00:00
Jeff Huang
dcda43fc93 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2672 of 2672 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hant/
2021-10-22 07:59:54 +00:00
sr093906
de320e671e Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (2672 of 2672 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hans/
2021-10-22 07:59:54 +00:00
LinAGKar
5a3d1fb7ec Translated using Weblate (Swedish)
Currently translated at 100.0% (2672 of 2672 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sv/
2021-10-22 07:59:54 +00:00
lvre
2ddedf49d4 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2672 of 2672 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
2021-10-22 07:59:54 +00:00
Linerly
df5c05fc1f Translated using Weblate (Indonesian)
Currently translated at 100.0% (2672 of 2672 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
2021-10-22 07:59:53 +00:00
Szimszon
2b0933139a Translated using Weblate (Hungarian)
Currently translated at 100.0% (2672 of 2672 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/hu/
2021-10-22 07:59:53 +00:00
Glandos
3993a45825 Translated using Weblate (French)
Currently translated at 100.0% (2672 of 2672 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fr/
2021-10-22 07:59:53 +00:00
Priit Jõerüüt
b83566c1c0 Translated using Weblate (Estonian)
Currently translated at 100.0% (2672 of 2672 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/et/
2021-10-22 07:59:53 +00:00
waclaw66
bc137af0e2 Translated using Weblate (Czech)
Currently translated at 100.0% (2672 of 2672 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2021-10-22 07:59:52 +00:00
ganfra
d724504662 Hilt: finish migration of latest view models 2021-10-21 20:17:49 +02:00
ariskotsomitopoulos
9d5f84b86a Linter fixes 2021-10-21 20:02:21 +03:00
ariskotsomitopoulos
d6d46d1c21 Avoid using setRawInputType 2021-10-21 19:41:35 +03:00
Benoit Marty
a7d5c6a437
Merge pull request #4281 from vector-im/feature/aris/broken_edittext_4276
Fix Broken EditText when using FromEditTextItem
2021-10-21 17:28:41 +02:00
ariskotsomitopoulos
beab9ab8f1 Refactored for clarity 2021-10-21 17:43:01 +03:00
ariskotsomitopoulos
dc230f1c30 Refactor to handle more cases 2021-10-21 14:31:50 +03:00
ganfra
d33daaf799 Fix voice message record button wrong visibility #4283 2021-10-21 11:35:08 +02:00
ganfra
ac1e4e9e9c Hilt: remove usage of ScreenComponent 2021-10-21 10:10:59 +02:00
ariskotsomitopoulos
3ea7b37df3 Improve imeOptions 2021-10-21 01:54:45 +03:00
ariskotsomitopoulos
b3f6b5e142 Fix Broken EditText when using FromEditTextItem 2021-10-21 01:46:05 +03:00
ganfra
188b4887ba Hilt: continue migrating activities 2021-10-20 18:06:57 +02:00
Benoit Marty
367795ee24 Fix crash reported by the PlayStore, for release 1.3.4
I did not find a way to reproduce, but this change should add some safety
2021-10-20 09:29:15 +02:00
Benoit Marty
628ccdc328 Add English - GB to the list of languages 2021-10-20 09:16:56 +02:00
Weblate
cf5fca082d Merge branch 'origin/develop' into Weblate. 2021-10-20 06:28:17 +00:00
Kiel
c7fa40fd46 Translated using Weblate (English (United Kingdom))
Currently translated at 0.7% (21 of 2672 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/en_GB/
2021-10-20 06:28:08 +00:00
DUCKCHI
d764bb659f Translated using Weblate (Korean)
Currently translated at 48.3% (1292 of 2672 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ko/
2021-10-20 06:28:06 +00:00
ganfra
92cd79c550 Hilt: migrate activities 2021-10-19 18:53:17 +02:00
ganfra
bb68e735f7 Hilt: continue migration VM 2021-10-19 17:31:56 +02:00
Jeff Huang
497d053c5d Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2672 of 2672 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hant/
2021-10-19 15:25:39 +00:00
LinAGKar
803d145892 Translated using Weblate (Swedish)
Currently translated at 100.0% (2672 of 2672 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sv/
2021-10-19 15:25:39 +00:00
Viacheslav Raskulin
bda95fcc5e Translated using Weblate (Russian)
Currently translated at 100.0% (2672 of 2672 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ru/
2021-10-19 15:25:39 +00:00
random
5cb55cb0d3 Translated using Weblate (Italian)
Currently translated at 99.8% (2669 of 2672 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/it/
2021-10-19 15:25:38 +00:00
Linerly
61c64a872d Translated using Weblate (Indonesian)
Currently translated at 100.0% (2672 of 2672 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
2021-10-19 15:25:38 +00:00
Benoit Marty
4626199761 Slash commands: popDraft() only in case of success, and display a loading dialog during processing 2021-10-19 13:56:38 +02:00
Benoit Marty
364654b685 Fix crash on slash commands Exceptions 2021-10-19 12:33:47 +02:00
Benoit Marty
fe2ba28441 Implement /part command, with or without parameter 2021-10-19 11:55:09 +02:00
Benoit Marty
f5eaf2f05f Align wording with Element Web 2021-10-19 11:35:49 +02:00
ganfra
1d73077184 Hilt: continue migration VM 2021-10-18 18:54:30 +02:00
Benoit Marty
2a47acc68a
Merge pull request #4236 from vector-im/feature/adm/fixing-home-menu-options
Fixing developer sync options always displaying
2021-10-18 18:19:20 +02:00
sr093906
be874d9927 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (2672 of 2672 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hans/
2021-10-18 01:25:44 +00:00
LinAGKar
68591f3ddd Translated using Weblate (Swedish)
Currently translated at 100.0% (2672 of 2672 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sv/
2021-10-18 01:25:43 +00:00
joshua
b83a96e1c1 Translated using Weblate (Swedish)
Currently translated at 100.0% (2672 of 2672 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sv/
2021-10-18 01:25:43 +00:00
Besnik Bleta
41167cdc23 Translated using Weblate (Albanian)
Currently translated at 99.3% (2655 of 2672 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sq/
2021-10-18 01:25:41 +00:00
Nikita Epifanov
9b1b35084c Translated using Weblate (Russian)
Currently translated at 100.0% (2672 of 2672 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ru/
2021-10-18 01:25:41 +00:00
lvre
e425532953 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2672 of 2672 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
2021-10-18 01:25:40 +00:00
Linerly
1787a8a358 Translated using Weblate (Indonesian)
Currently translated at 100.0% (2672 of 2672 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
2021-10-18 01:25:40 +00:00
Szimszon
ab5b907b7d Translated using Weblate (Hungarian)
Currently translated at 100.0% (2672 of 2672 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/hu/
2021-10-18 01:25:40 +00:00
Danial Behzadi
0c80f6b8a5 Translated using Weblate (Persian)
Currently translated at 100.0% (2672 of 2672 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fa/
2021-10-18 01:25:39 +00:00
Priit Jõerüüt
ee301bc355 Translated using Weblate (Estonian)
Currently translated at 100.0% (2672 of 2672 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/et/
2021-10-18 01:25:39 +00:00
zeritti
8425358634 Translated using Weblate (Czech)
Currently translated at 100.0% (2672 of 2672 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2021-10-18 01:25:38 +00:00
Zet
bdbe1dd606 Translated using Weblate (Arabic)
Currently translated at 38.9% (1040 of 2672 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ar/
2021-10-18 01:25:38 +00:00
ganfra
968c2e70d2 Hilt: continue migration VM 2021-10-15 19:06:18 +02:00
Benoit Marty
293b255f58
Merge pull request #4256 from RiotTranslateBot/weblate-element-android-element-app
Translations update from Weblate
2021-10-15 17:39:07 +02:00
Weblate
d23bd411b3 Merge branch 'origin/develop' into Weblate. 2021-10-15 15:01:09 +00:00
LinAGKar
ec81920e0a Translated using Weblate (Swedish)
Currently translated at 99.2% (2648 of 2669 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sv/
2021-10-15 15:00:58 +00:00
Michael Mihai
3d63140f48 Translated using Weblate (Romanian)
Currently translated at 12.6% (337 of 2669 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ro/
2021-10-15 15:00:57 +00:00
tanmatsu
dcc3d9846b Translated using Weblate (Romanian)
Currently translated at 12.6% (337 of 2669 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ro/
2021-10-15 15:00:53 +00:00
Viorel-Cătălin Răpițeanu
745d34c722 Translated using Weblate (Romanian)
Currently translated at 12.6% (337 of 2669 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ro/
2021-10-15 15:00:53 +00:00
Glandos
d1b9710fa5 Translated using Weblate (French)
Currently translated at 100.0% (2669 of 2669 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fr/
2021-10-15 15:00:52 +00:00
ganfra
9dd7017131 Hilt: continue migration 2021-10-15 12:49:29 +02:00
ganfra
f8d208fb4f Hilt: introduce MavericksComponent and try on RoomList 2021-10-15 10:27:45 +02:00
ganfra
ff53cf4db9 Hilt: replace the VectorComponent 2021-10-14 18:47:28 +02:00
thomcatdotrocks
32658f6651
Re-enable Android Auto
Commit to complete #4247 after #4222 has been merged.
2021-10-14 10:45:59 -05:00
Benoit Marty
1f74bc986d
Merge pull request #4249 from vector-im/feature/adm/constant-notification-sounds
Constant triggering of notification sounds
2021-10-14 17:06:53 +02:00
Benoit Marty
a208732499
Merge pull request #4238 from vector-im/feature/adm/delayed-sync-duplicated-notification
Reappearing notifications on slow homeservers
2021-10-14 17:01:20 +02:00
Adam Brown
fc793c442b reverting back to using an array for the circular cache, makes preloading and setting the value simpler
- adds unit tests to show it working
2021-10-14 14:02:23 +01:00
Adam Brown
0f07629547 moving comment position to be above the if and cleaning up log copy 2021-10-14 14:02:16 +01:00
Adam Brown
eb70a81afd moving builder call to avoid misaligning the comment 2021-10-14 13:14:36 +01:00
Adam Brown
00beb27b56 updating class doc to mention its not thread safe 2021-10-14 12:25:13 +01:00
Adam Brown
84b44f6093 using generic list for the circular cache instead of a fixed string array 2021-10-14 12:24:06 +01:00
Benoit Marty
7ec0872b78
Merge pull request #4222 from abaker/fix_outgoing_conversation_notifications
Dont set person on sent message notification
2021-10-14 10:45:26 +02:00
LinAGKar
49262a19fe Translated using Weblate (Swedish)
Currently translated at 99.1% (2645 of 2669 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sv/
2021-10-13 21:26:21 +00:00
Ihor Hordiichuk
b06e400291 Translated using Weblate (Ukrainian)
Currently translated at 91.3% (2438 of 2669 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2021-10-13 21:26:16 +00:00
waclaw66
17ddcdd250 Translated using Weblate (Czech)
Currently translated at 100.0% (2669 of 2669 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2021-10-13 21:26:16 +00:00
Jiri Grönroos
58447e9966 Translated using Weblate (Finnish)
Currently translated at 85.1% (2272 of 2669 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fi/
2021-10-13 21:26:15 +00:00
Jeff Huang
af1f1e379f Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2669 of 2669 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hant/
2021-10-13 21:25:44 +00:00
tanmatsu
256f90ae17 Translated using Weblate (Romanian)
Currently translated at 10.9% (293 of 2669 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ro/
2021-10-13 21:25:43 +00:00
Viorel-Cătălin Răpițeanu
e0c059fcba Translated using Weblate (Romanian)
Currently translated at 10.9% (293 of 2669 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ro/
2021-10-13 21:25:42 +00:00
Michael Mihai
961124e7f0 Translated using Weblate (Romanian)
Currently translated at 10.9% (293 of 2669 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ro/
2021-10-13 21:25:42 +00:00
random
9d90a897fc Translated using Weblate (Italian)
Currently translated at 99.8% (2666 of 2669 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/it/
2021-10-13 21:25:40 +00:00
Leonidas Shear
8dcc65dc0a Translated using Weblate (Russian)
Currently translated at 100.0% (2669 of 2669 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ru/
2021-10-13 21:25:37 +00:00
Didek
450c8e629e Translated using Weblate (Polish)
Currently translated at 77.5% (2070 of 2669 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2021-10-13 21:25:35 +00:00
Adam Brown
64c532e54b allowing the first notification for each child of the group to vibrate/make a sound
- by having the group and child notifications alert once we can safetly always update the group and get consistent alertOnce behaviour
2021-10-13 18:42:02 +01:00
Adam Brown
b041876fa6 matching the other notifications and only alerting the group notifiation once
- fixes notification sounds coming through for every message despite only vibrating for the first
2021-10-13 18:00:35 +01:00
Adam Brown
f2da047720 keeping an inmemory cache of the seen ids, fixes delayed sync responses causing already dismissed notifications from being shown again
- uses a simple circular buffer to limit the memory usage
2021-10-13 15:40:42 +01:00
Adam Brown
64dce0638f only updating the visibility of the menu option the home details fragment adds instead of changing all the parent options
- fixes the debug sync options being forced to visible
2021-10-13 13:39:57 +01:00
Benoit Marty
4f51dbdcf9
Merge pull request #3313 from AquaWolf/feature/conversations
Feature/conversations
2021-10-13 11:24:04 +02:00
Benoit Marty
085da6c99a
Merge pull request #4090 from vector-im/feature/aris/presence
Feature/aris/presence
2021-10-13 09:58:22 +02:00
Benoit Marty
37dbaadbcc
Merge pull request #4201 from koh6uawi/scroll_select_font_size
Make the font size selection dialog scrollable
2021-10-12 18:33:11 +02:00
Benoit Marty
13ec4db8a2
Merge pull request #4215 from vector-im/feature/ons/fix_voice_message_resend
Voice message - Do not delete file to be able to resend
2021-10-12 18:30:03 +02:00
Onuray Sahin
39d92d8559 To be able to resend, stop all voice actions without deleting. 2021-10-12 17:53:56 +03:00
Benoit Marty
6c915ea4d1 Cleanup the PR about presence 2021-10-12 16:45:41 +02:00
Benoit Marty
923bc00dcd
Merge branch 'develop' into feature/aris/presence 2021-10-12 15:22:40 +02:00
koh6uawi
c9f69b3fc5 Move XML namespaces to root element 2021-10-12 15:12:26 +02:00
koh6uawi
da28ddfabd Use "wrap_content" instead of "match_parent"
Fix a linter error
2021-10-12 15:10:33 +02:00
Benoit Marty
efc1e9b87c
Merge pull request #4217 from vector-im/sync-emojis
Sync Emojis
2021-10-12 14:54:36 +02:00
Benoit Marty
36d2f8e46b
Merge pull request #4228 from vector-im/feature/adm/suspending_add_pusher
Improved /settings/notifications push toggle error handling
2021-10-12 14:50:01 +02:00
Benoit Marty
b6c483fff0
Merge pull request #4225 from vector-im/feature/adm/delaying-first-sync-until-foreground
Fixing unexpected sync occurring in background
2021-10-12 14:31:57 +02:00
Benoit Marty
e3034e5d11
Merge pull request #4190 from vector-im/feature/fga/mavericks_2
Feature/fga/mavericks 2
2021-10-12 14:11:00 +02:00
Adam Brown
786dec5dc0 observing both the email pushers and email pids so that displayed email pushers are always in sync 2021-10-12 12:49:39 +01:00
Adam Brown
bd51eae741 refreshing the threePids when entering the preference screen, afterwards we're monitoring for changes 2021-10-12 11:44:30 +01:00
Adam Brown
1c1424eafc using verb prefix for http pusher creation function 2021-10-12 11:39:14 +01:00
Adam Brown
e24329e139 reusing the transactional logic for the current session notifications toggle
- uses the synchronous token registering which also means we get error handling
2021-10-12 11:39:14 +01:00
Adam Brown
6c9fcc0d93 extracting the add pusher logic for the worker and delegating to the task from the worker 2021-10-12 11:39:14 +01:00
Adam Brown
b7a54ead68 delaying the first sync until the first process onStart event
- fixes push notifications starting the polling sync thread when the application is created due to push
2021-10-12 09:47:17 +01:00
Alex Baker
42cbdf0a6c Dont set person on sent message notification
Signed-off-by: Alex Baker <alex@beeper.com>
2021-10-11 14:42:22 -05:00
ganfra
a26e43e90c Mavericks 2: clean after PR review 2021-10-11 17:31:27 +02:00
ariskotsomitopoulos
ccc4a43737 Sync Emojis 2021-10-11 14:13:18 +00:00
Onuray Sahin
13aee7d162 Do not delete voice message file to be able to resend. 2021-10-11 16:49:15 +03:00
Benoit Marty
6520729343 ktlint 2021-10-11 14:41:40 +02:00
Benoit Marty
737a290841
Merge pull request #4210 from vector-im/feature/aris/issue_908_user_completion_picket
Feature/aris/issue 908 user completion picket
2021-10-11 12:31:30 +02:00
Benoit Marty
2c8e171911
Merge pull request #4208 from RiotTranslateBot/weblate-element-android-element-app
Translations update from Weblate
2021-10-11 11:29:27 +02:00
ariskotsomitopoulos
a2c790b4a1 Update to support the whole typing name 2021-10-11 12:29:00 +03:00
ariskotsomitopoulos
506dfe5fea Adding trailing space " " or ": " if the user started a sentence by mentioning someone, 2021-10-11 11:46:37 +03:00
discapacidad5
db0e47b133 Translated using Weblate (Spanish)
Currently translated at 100.0% (2669 of 2669 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/es/
2021-10-11 08:39:01 +00:00
Benoit Marty
d309c71d83 Disable Android Auto supports see https://github.com/vector-im/element-android/issues/4205 2021-10-11 10:21:42 +02:00
koh6uawi
1069e990e5
Merge branch 'vector-im:develop' into scroll_select_font_size 2021-10-11 00:19:46 +02:00
Linerly
06e1cfd631 Translated using Weblate (Indonesian)
Currently translated at 100.0% (2669 of 2669 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
2021-10-10 14:36:58 +00:00
sr093906
4ffb30ec4f Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (2669 of 2669 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hans/
2021-10-10 13:25:51 +00:00
Ihor Hordiichuk
fbec4c305e Translated using Weblate (Ukrainian)
Currently translated at 91.3% (2438 of 2669 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2021-10-10 13:25:49 +00:00
Besnik Bleta
820eedc7a3 Translated using Weblate (Albanian)
Currently translated at 99.4% (2653 of 2669 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sq/
2021-10-10 13:25:49 +00:00
lvre
30cc056b61 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2669 of 2669 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
2021-10-10 13:25:48 +00:00
Szimszon
16068d8214 Translated using Weblate (Hungarian)
Currently translated at 100.0% (2669 of 2669 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/hu/
2021-10-10 13:25:47 +00:00
Danial Behzadi
51c83f8bf4 Translated using Weblate (Persian)
Currently translated at 100.0% (2669 of 2669 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fa/
2021-10-10 13:25:46 +00:00
Priit Jõerüüt
fe4475c430 Translated using Weblate (Estonian)
Currently translated at 100.0% (2669 of 2669 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/et/
2021-10-10 13:25:44 +00:00
discapacidad5
fdc3da979e Translated using Weblate (Spanish)
Currently translated at 98.6% (2632 of 2669 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/es/
2021-10-10 13:25:43 +00:00
ganfra
2a29243298 Mavericks 2: clean code, but have warnings 2021-10-08 16:45:29 +02:00
Benoit Marty
0a0dd4ee1b Fix crash when opening Identity Server detail from preference 2021-10-08 16:16:35 +02:00
Benoit Marty
66d4a48930 Remove unused strings 2021-10-08 15:07:52 +02:00
Benoit Marty
090273da14 Fix lint error 2021-10-08 14:55:50 +02:00
Weblate
5c5fc767a4 Merge branch 'origin/develop' into Weblate. 2021-10-08 12:27:26 +00:00
Slimane Selyan AMIRI
5a5832dab7 Translated using Weblate (Kabyle)
Currently translated at 81.0% (2154 of 2658 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/kab/
2021-10-08 12:27:19 +00:00
Ihor Hordiichuk
bf219856a5 Translated using Weblate (Ukrainian)
Currently translated at 91.7% (2440 of 2658 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2021-10-08 12:27:18 +00:00
LinAGKar
999a08c0f5 Translated using Weblate (Swedish)
Currently translated at 98.4% (2617 of 2658 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sv/
2021-10-08 12:27:13 +00:00
ganfra
c66d6aab5c Timeline: dispatch update on a background thread 2021-10-08 12:55:37 +02:00
ganfra
3bdf264a53 Merge develop into feature/fga/mavericks_2 2021-10-08 10:49:43 +02:00
koh6uawi
56b0b28d5e Make "Select text size" dialog scrollable
Wrap the LinearLayout inside a ScrollView.
2021-10-08 01:59:13 +02:00
Benoit Marty
d6af355335
Merge pull request #4184 from vector-im/feature/adm/is-policy
Always display identity server policies
2021-10-07 20:53:03 +02:00
Adam Brown
5365e87777 reducing the discovery policy url text size by using caption style 2021-10-07 17:56:54 +01:00
Adam Brown
cb7260954a renaming xml view to avoid clashing with other file 2021-10-07 17:46:33 +01:00
Adam Brown
259b6d56d7 using singular for the policy copy name to match content 2021-10-07 17:45:30 +01:00
Adam Brown
d00858f83b handling empty policy list by showing empty copy 2021-10-07 17:44:54 +01:00
Adam Brown
cccda9b699 using single action for the updating the policy expanded toggling/state setting 2021-10-07 17:29:50 +01:00
ganfra
79ec0591d2 Mavericks 2: continue removing rx 2021-10-07 15:32:57 +02:00
Adam Brown
496a531072 reverting uneedeed text item changes 2021-10-07 13:57:56 +01:00
Adam Brown
791c92c991 launching the discovery page with policy expanded when tapping the policy link from the consent dialog 2021-10-07 13:54:36 +01:00
Adam Brown
7b5972e3cf expanding the discovery polices on recieving a custom payload
- also meant updating the general link to discovery in order to manually pass the default arguments
2021-10-07 13:50:43 +01:00
Adam Brown
728f34f53c converting the settings activity payload to a sealed class, this allows us to have custom arguments for the sub settings pages 2021-10-07 13:07:30 +01:00
Adam Brown
05166944d8 navigating to the settings discovery page on policy link clicked from non discovery screens 2021-10-07 12:45:59 +01:00
Adam Brown
c0fd266fc4 using consistent naming for the policy and opening a chrome tab when policy is tapped 2021-10-07 12:39:48 +01:00
ganfra
acf3b84781 Mavericks 2: migrate UserListViewModel 2021-10-07 12:24:08 +02:00
Erik Huizinga
64fb94691b Translated using Weblate (Dutch)
Currently translated at 65.1% (1732 of 2658 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/nl/
2021-10-07 09:25:39 +00:00
Adam Brown
2f732affa5 updating policy title to include show/hide 2021-10-07 10:15:37 +01:00
ganfra
362ebcbe42 Revert "Mavericks 2: remove matrix-sdk-android-flow as it will be easier when entirely migrating to flow"
This reverts commit d9b02a20d8.
2021-10-07 11:11:44 +02:00
Adam Brown
7e8ca29ca7 creating dedicated discovery policy items and displaying within an expandable form item 2021-10-07 10:09:03 +01:00
ganfra
0125c7675d Fix SIP user to native user mapping is wrong #4176 (also clear dialpad entry when call is started) 2021-10-06 19:34:04 +02:00
Adam Brown
3111d0b46d updating discovery consent dialog to include policy link which expands the policy urls view 2021-10-06 17:34:02 +01:00
Adam Brown
5a4f320bf9 binding the expanded state as part of the view, allows us to manually control the expansion 2021-10-06 17:20:20 +01:00
Adam Brown
7ce811c227 binding the indentity server policy urls to the discovery page 2021-10-06 17:20:06 +01:00
ariskotsomitopoulos
e4c3457f37 Add public room indicator to RoomDetailFragment & RoomProfileFragment 2021-10-06 19:08:27 +03:00
Adam Brown
04d844b1a9 allowing the expandable scrollbar to be hidden 2021-10-06 16:10:17 +01:00
ariskotsomitopoulos
9ab59a543d * Implement Presence Service:
- Get Presence Status
     - Set Presence Status
* Integrate presence in room details screen
* Integrate presence in room people's view
* Update UI to support presence
* Fix bug when insertOrUpdate was called on RoomMemberEventHandler and override the correct presence value in RoomMemberSummaryEntity
* Improve performance on updateUserPresence in RoomMemberSummaryEntity entity
* Remarks & linter fixes
* Disable presence when there is no m.presence events. In some servers like matrix.org is disabled atm.
* Enhance UI Presence on DM room lists to support dark/light theme
* Restore missing lines in gradle.properties to speed up debugging
2021-10-06 18:00:02 +03:00
Adam Brown
a2f64177eb adding the identity terms to the discovery page state 2021-10-06 15:20:33 +01:00
Erik Huizinga
0e498cc838 Translated using Weblate (Dutch)
Currently translated at 62.6% (1664 of 2658 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/nl/
2021-10-06 08:32:02 +00:00
Evrim
16f6e358dc Translated using Weblate (Dutch)
Currently translated at 62.6% (1664 of 2658 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/nl/
2021-10-06 08:31:28 +00:00
Ihor Hordiichuk
3a65b4c694 Translated using Weblate (Ukrainian)
Currently translated at 89.6% (2382 of 2658 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2021-10-05 20:25:41 +00:00
waclaw66
0cc5b9fbd1 Translated using Weblate (Czech)
Currently translated at 100.0% (2658 of 2658 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2021-10-05 20:25:38 +00:00
Zet
7e1e02973b Translated using Weblate (Arabic)
Currently translated at 39.0% (1037 of 2658 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ar/
2021-10-05 20:25:38 +00:00
ganfra
d9b02a20d8 Mavericks 2: remove matrix-sdk-android-flow as it will be easier when entirely migrating to flow 2021-10-05 18:57:34 +02:00
Philipp Neumann
2223e95f33 fixed ordering and url linting error 2021-10-05 14:59:54 +02:00
Philipp Neumann
95247f8b10 remove also LongLivedShortcuts 2021-10-05 14:59:54 +02:00
Philipp Neumann
214deaa474 added dynamic shortcut for priority conversations for Android 11+ 2021-10-05 14:59:54 +02:00
Benoit Marty
7ebdd7830a
Merge pull request #4158 from vector-im/feature/bma/new_commands
Handle new commands
2021-10-05 13:38:31 +02:00
Benoit Marty
9fd1cc9c8e
Merge pull request #4165 from vector-im/feature/bma/log_error
Add a log to get info when an error occurred when recording / playing voice message
2021-10-05 13:38:11 +02:00
Benoit Marty
f4e50a38a6
Merge pull request #4018 from vector-im/feature/aris/issue_dinsic_618
feature/aris/issue_dinsic_618
2021-10-05 13:36:48 +02:00
ariskotsomitopoulos
f21d89eb29 Minimize the use of exported="true" in android Manifest
- Add comments on Add exported="true" attributes
 - Disable manifest exporting for:
      - (service) VectorConnectionService
      - (receiver) MediaButtonReceiver
2021-10-05 13:57:01 +03:00
Benoit Marty
94bbd37313
Merge pull request #4157 from vector-im/feature/fre/create_dm_improvement
Load existing DM instead of creating a new one
2021-10-05 12:26:22 +02:00
Benoit Marty
06fcee3c46 Add a log to get info when an error occurred when recording / playing voice message
Will help debugging issues like #3904
2021-10-05 11:58:23 +02:00
Benoit Marty
1fcb9f284a
Merge pull request #4155 from vector-im/feature/bma/wording_update
Wording update
2021-10-05 10:04:14 +02:00
Benoit Marty
eceb341986
Merge pull request #4034 from vector-im/feature/bma/displayNameFallback
Add a fallback for user displayName when this one is null or empty
2021-10-04 23:13:28 +02:00
ganfra
fadbb60f90 Mavericks 2: continue replacing Rx 2021-10-04 17:50:45 +02:00
Benoit Marty
068c9393f1 Create extension String.isMxcUrl() 2021-10-04 16:26:15 +02:00
Benoit Marty
5076369173 Improve code 2021-10-04 16:16:56 +02:00
Benoit Marty
9802ed08e3 Merge branch 'feature/bma/new_commands' of github.com:vector-im/element-android into feature/bma/new_commands
# Conflicts:
#	vector/src/main/java/im/vector/app/features/home/room/detail/RoomDetailViewEvents.kt
#	vector/src/main/java/im/vector/app/features/home/room/detail/RoomDetailViewModel.kt
2021-10-04 16:00:31 +02:00
Florian Renaud
17bcf9039d Load existing DM instead of creating a new one 2021-10-04 15:43:20 +02:00
Benoit Marty
2b63ccf70a
Merge branch 'feature/bma/new_commands' into commands 2021-10-04 15:34:14 +02:00
Benoit Marty
677ca57106 Fix compilation issue 2021-10-04 15:14:18 +02:00
Benoit Marty
4fadc84d83
Merge pull request #4154 from vector-im/feature/bma/troubleshoot_fix
Troubleshoot notification: Fix button not clickable
2021-10-04 15:14:03 +02:00
Benoit Marty
52fe3a1669 Message bottom sheet: move "View Reactions" action just below "Add Reaction" 2021-10-04 14:45:23 +02:00
Benoit Marty
6669587ac1 Update wording in message bottom sheet (#3869) 2021-10-04 14:43:21 +02:00
Benoit Marty
c4a03925d4 Troubleshoot notification: Fix button not clickable 2021-10-04 14:17:11 +02:00
ganfra
f72a34ed08 Mavericks 2: continue replacing Rx 2021-10-04 14:09:21 +02:00
Benoit Marty
489aedbc37 Add missing proper configuration for manual publishing of alias 2021-10-04 12:50:50 +02:00
Benoit Marty
7636b4d7a8 limit alias length in candidateAliasFromRoomName() 2021-10-04 12:40:43 +02:00
Benoit Marty
c3b65a9c71 Create MatrixConstants to handle max alias length limitation 2021-10-04 12:30:28 +02:00
Valere
3da5641e2b Client side validation of alias max length 2021-10-04 10:57:54 +02:00
Adam Brown
e0a6e82661
Merge pull request #4124 from vector-im/feature/bca/spaces_fix_3048
Change call to action in filter room when space selected
2021-10-04 09:12:19 +01:00
Benoit Marty
0a6b71d27d ktlint 2021-10-04 09:58:14 +02:00
Benoit Marty
36b7617483 Add comment about copy/paste code 2021-10-04 09:55:01 +02:00
Benoit Marty
289b7e2d53 add missing import after rebase 2021-10-04 09:55:01 +02:00
Benoit Marty
9735bc6ee3 Add a fallback for user displayName when this one is null or empty, so that the application can customize the dispay name 2021-10-04 09:55:01 +02:00
Benoit Marty
a0cd7163c6
Merge pull request #4116 from vector-im/feature/bca/spaces_fix_3933
App doesn't take you to a Space after choosing to Join it
2021-10-04 09:49:42 +02:00
Benoit Marty
f6b6725467 Text is always set at runtime now. 2021-10-04 09:44:53 +02:00
Linerly
01206195ad Translated using Weblate (Indonesian)
Currently translated at 100.0% (2658 of 2658 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
2021-10-03 17:25:32 +00:00
Benoit Marty
b1b5ff8a09
Merge pull request #3772 from pvagner/voiceMessageA11Y
Improve accessibility of voice messages
2021-10-03 15:45:09 +02:00
Ihor Hordiichuk
98ba9d6342 Translated using Weblate (Ukrainian)
Currently translated at 88.1% (2344 of 2658 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2021-10-02 12:26:32 +00:00
Linerly
ca64e9511e Translated using Weblate (Indonesian)
Currently translated at 100.0% (2658 of 2658 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
2021-10-02 12:26:18 +00:00
Benoit Marty
f5375c7af2 Run ./gradlew ktlintFormat 2021-10-02 11:49:28 +02:00
ganfra
0e01c64f69 Mavericks: continue removing reference to old MvRx API 2021-10-01 18:27:36 +02:00
Benoit Marty
1dd2d410e0
Merge pull request #3657 from SpiritCroc/notification_repetition
Do not notify again for old events
2021-10-01 18:20:53 +02:00
ganfra
43c75bdae7 Mavericks 2: replace asyncSubscribe by onAsync 2021-10-01 18:11:41 +02:00
ganfra
96b5d1c96b Mavericks 2: initialize with debug instead of context 2021-10-01 18:11:14 +02:00
ganfra
2ef4cd276b Mavericks 2: replace selectSubscribe by onEach 2021-10-01 18:04:06 +02:00
Benoit Marty
587c634a49
Merge pull request #3957 from vector-im/feature/bma/ktlint_cleanup
Install ktlint plugin
2021-10-01 18:03:38 +02:00
Benoit Marty
242b17294d
Merge pull request #4083 from vector-im/feature/bca/spaces_fix_4045
Fix default encrypted for restricted
2021-10-01 17:59:47 +02:00
Benoit Marty
b4247550ec run ktlint after rebase 2021-10-01 17:20:30 +02:00
ganfra
606cddc826 Mavericks 2: replace MvRxViewModelFactory by MavericksViewModelFactory 2021-10-01 17:11:53 +02:00
ganfra
d63e1ecfea Mavericks 2: replacing rx by flow 2021-10-01 17:08:09 +02:00
ganfra
bbce37e694 Mavericks 2: start replacing rx by flow 2021-10-01 16:34:47 +02:00
Benoit Marty
63d71cf56f
Merge branch 'develop' into feature/bma/ktlint_cleanup 2021-10-01 15:54:21 +02:00
Benoit Marty
679f0a5940 Ensure initial sync progress dialog is hidden when the initial sync is over 2021-10-01 15:03:23 +02:00
Benoit Marty
8644363005
Merge pull request #4125 from vector-im/feature/fga/text_composer_extract
Feature/fga/text composer extract
2021-10-01 14:44:51 +02:00
Benoit Marty
11e7ae3c7e Fix compilation error 2021-10-01 14:24:53 +02:00
Benoit Marty
6983e1be55 Split long lines 2021-10-01 14:24:07 +02:00
Benoit Marty
d1e9f3131a Big annoying commit: execute command ./gradlew ktlintFormat - Fix "colon-spacing" 2021-10-01 13:31:15 +02:00
Benoit Marty
a1caccbcc8 Big annoying commit: execute command ./gradlew ktlintFormat - Fix "chain-wrapping" 2021-10-01 13:31:15 +02:00
Benoit Marty
2ca3c68611 Big annoying commit: execute command ./gradlew ktlintFormat - Fix "import-ordering" 2021-10-01 13:31:15 +02:00
ganfra
f6b81b36d0 Mavericks 2: switch from MvRxState to MavericksState 2021-10-01 10:08:06 +02:00
ganfra
45509a68bb TextComposer: fix ktlint 2021-10-01 09:43:57 +02:00
ganfra
2324bf5d05 Mavericks 2: include the libs and make it compile 2021-09-30 19:52:37 +02:00
Ekaterina Gerasimova
d6da4f7834 Fix typo in string
Signed-off-by: Ekaterina Gerasimova <ekaterinag@element.io>
2021-09-30 15:58:22 +01:00
Benoit Marty
3719382569
Merge pull request #3953 from vector-im/dependabot/gradle/androidx.work-work-runtime-ktx-2.6.0
Bump work-runtime-ktx from 2.5.0 to 2.6.0
2021-09-30 14:25:43 +02:00
Benoit Marty
3f7e810f14 Handle change from WorkManager 2.6.0.
https://developer.android.com/jetpack/androidx/releases/work#2.6.0
2021-09-30 12:06:57 +02:00
ganfra
3df004b035 Merge branch 'develop' into feature/fga/text_composer_extract 2021-09-30 12:02:27 +02:00
ganfra
535a2c931b Clean code and add changelog 2021-09-30 12:02:05 +02:00
Valere
4880df3555 Change call to action in filter room when space selected 2021-09-30 11:58:21 +02:00
ganfra
a171f1912a TextComposer: makes animation ok 2021-09-30 11:57:57 +02:00
Benoit Marty
5d51431c60
Merge pull request #4078 from abaker/android_auto
Add Android Auto notification support
2021-09-30 11:29:58 +02:00
Valere
2605433a3d Code review 2021-09-30 09:15:13 +02:00
ganfra
6b3a407b79 TextComposer: continue reworking. WIP 2021-09-29 19:21:11 +02:00
Benoit Marty
0033378f8b
Merge pull request #4050 from vector-im/dependabot/gradle/kotlin-1.5.31
Bump kotlin from 1.5.30 to 1.5.31
2021-09-29 17:09:39 +02:00
Benoit Marty
c0adde56df
Merge pull request #4027 from vector-im/feature/fre/permalink
Add client base url support for permalinks
2021-09-29 17:08:12 +02:00
Benoit Marty
a9525bf92c
Merge pull request #4118 from vector-im/feature/bca/spaces_fix_3935
Fix do not hide toolbar on scroll
2021-09-29 16:35:56 +02:00
Valere
3d38ec7aeb Fix do no hide toolbar on scroll 2021-09-29 15:09:59 +02:00
Benoit Marty
856fc8f976
Merge pull request #4092 from ryg-git/issue-3869
Focus on search bar when opening reaction view
2021-09-29 15:07:07 +02:00
Benoit Marty
357d7ee338
Merge pull request #4115 from vector-im/feature/adm/login-key-verification-flow
Skipping passphrase screen when no passphrase is available
2021-09-29 15:04:58 +02:00
Valere
cdc6b7e7d5 Remove listener use fragmentCallback 2021-09-29 14:40:18 +02:00
Adam Brown
edce14f48f when the keyinfo doesn't contain a passphrase we shouldn't view the passphrase screen
fixed by handling the back case to skip the passphrase screen if we don't have one
2021-09-29 13:11:19 +01:00
Weblate
e3e18b4ce8 Merge branch 'origin/develop' into Weblate. 2021-09-29 10:05:06 +00:00
Jeff Huang
126478beba Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2658 of 2658 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hant/
2021-09-29 10:01:44 +00:00
sr093906
ad42a966f1 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (2658 of 2658 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hans/
2021-09-29 10:01:40 +00:00
Besnik Bleta
cefe964512 Translated using Weblate (Albanian)
Currently translated at 99.5% (2646 of 2658 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sq/
2021-09-29 10:01:35 +00:00
Nikita Epifanov
ab23a12761 Translated using Weblate (Russian)
Currently translated at 99.2% (2638 of 2658 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ru/
2021-09-29 10:01:31 +00:00
lvre
4fb6404178 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2658 of 2658 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
2021-09-29 10:01:26 +00:00
random
64f07d6fea Translated using Weblate (Italian)
Currently translated at 99.8% (2655 of 2658 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/it/
2021-09-29 10:01:21 +00:00
Szimszon
535c4861ff Translated using Weblate (Hungarian)
Currently translated at 100.0% (2658 of 2658 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/hu/
2021-09-29 10:01:17 +00:00
Danial Behzadi
96b9db2d38 Translated using Weblate (Persian)
Currently translated at 100.0% (2658 of 2658 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fa/
2021-09-29 10:01:12 +00:00
Priit Jõerüüt
36edab888d Translated using Weblate (Estonian)
Currently translated at 100.0% (2658 of 2658 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/et/
2021-09-29 10:01:07 +00:00
Tirifto
455f290a36 Translated using Weblate (Esperanto)
Currently translated at 98.3% (2614 of 2658 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/eo/
2021-09-29 10:01:02 +00:00
libexus
c869427e45 Translated using Weblate (German)
Currently translated at 98.6% (2622 of 2658 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2021-09-29 10:00:55 +00:00
waclaw66
5b80f7b1a8 Translated using Weblate (Czech)
Currently translated at 100.0% (2658 of 2658 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2021-09-29 10:00:52 +00:00
Zet
4077216c1e Translated using Weblate (Arabic)
Currently translated at 36.4% (968 of 2658 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ar/
2021-09-29 10:00:47 +00:00
Benoit Marty
254e849db2
Merge pull request #4105 from vector-im/feature/ons/fix_failed_message_crash
Fix crash to render failed message warning stub
2021-09-29 11:54:35 +02:00
Valere
d24f448c70 App doesn't take you to a Space after choosing to Join it 2021-09-29 10:50:29 +02:00
Benoit Marty
701b0fbeef
Merge pull request #4100 from vector-im/feature/adm/vector-tinting
Missing vector tinting
2021-09-28 22:44:18 +02:00
Onuray Sahin
e4d39880fd Fix crash to render failed message warning stub. 2021-09-28 20:43:54 +03:00
ganfra
9815dfe449 Text composer: start extracting in a dedicated ViewModel/State/Action/Events 2021-09-28 18:54:48 +02:00
Adam Brown
458c423dab removing unused drawable 2021-09-28 15:41:16 +01:00
Alex Baker
2d707720f6 Fix settings crash when accelerometer unavailable
Signed-off-by: Alex Baker <alex@beeper.com>
2021-09-28 09:34:38 -05:00
Adam Brown
12ca487e93 using the existing theme utils logic for reading attributes 2021-09-28 14:57:59 +01:00
Benoit Marty
23615c0038
Merge pull request #4091 from vector-im/feature/adm/verify-exported-keys-output
Verify exported keys output
2021-09-28 15:14:34 +02:00
Adam Brown
0d737a9a5d removing unused import 2021-09-28 13:11:19 +01:00
Adam Brown
2fee68e0d0 tinting the radio buttons to the colorPrimary 2021-09-28 12:42:49 +01:00
Adam Brown
a66d88abb3 tinting the voice locked vector to the colorPrimary
- extracts a helper extension for tinting image resources
2021-09-28 12:35:46 +01:00
Adam Brown
3a79a7595d tinting the in progress recording icon to the colorPrimary
- creates extension helpers for tinting and reading theme attributes
-extracts the background from the recording vector icon and set as a separate tintable background drawable
2021-09-28 12:26:41 +01:00
Adam Brown
0eef248d7d tinting the jump to unread view to the colorPrimary
- the vector itself is set to an obvious red to highlight an incorrect usage (we should tint at the consumer to allow for reuse/preparing for design components/compose)
2021-09-28 11:33:46 +01:00
ryg-git
7d911fff17 Focus on search bar when opening reaction view 2021-09-27 22:41:34 +05:30
Adam Brown
399b2a13ee fixing exception message parameter ordering 2021-09-27 18:08:32 +01:00
Adam Brown
19d1d981c3 linting 2021-09-27 17:39:21 +01:00
Adam Brown
ac0c7067e0 updating the keys exporter to validate the generated file size in an attempt to warn the user of malformed outputs
- injects the io dispatcher to allow the testing
- adds unit tests around the different error flows
2021-09-27 17:23:07 +01:00
Adam Brown
e6eb86538f wrapping the Dispatcher.IO and making it injectable for testing 2021-09-27 16:57:05 +01:00
Benoit Marty
906da76727 Fix warning "This expression will be resolved to Int in future releases. Please add explicit conversion call" 2021-09-27 15:55:58 +02:00
Weblate
28e84d06c4 Merge branch 'origin/develop' into Weblate. 2021-09-27 08:05:09 +00:00
Andrejs
4b5a1d06c3 Translated using Weblate (Latvian)
Currently translated at 77.9% (2039 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/lv/
2021-09-27 08:04:59 +00:00
Valere
97dc07f8c9 Fix default encrypted for restricted
+ hide restricted rule if no current space selected
2021-09-27 09:52:54 +02:00
Graeme Power
3aaffc8a8f Translated using Weblate (Irish)
Currently translated at 7.6% (201 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ga/
2021-09-26 14:25:54 +00:00
Ihor Hordiichuk
ef5208a0e4 Translated using Weblate (Ukrainian)
Currently translated at 83.5% (2185 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2021-09-26 14:25:53 +00:00
Linerly
83b0ada342 Translated using Weblate (Indonesian)
Currently translated at 79.8% (2089 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
2021-09-26 14:25:51 +00:00
artevaeckt
0b2125afe3 Translated using Weblate (German)
Currently translated at 99.1% (2594 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2021-09-26 14:25:30 +00:00
zeritti
cec018915e 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-26 14:25:30 +00:00
Alex Baker
09a25cce4e Add Android Auto notification support
Signed-off-by: Alex Baker <alex@beeper.com>
2021-09-24 16:43:00 -05:00
Benoit Marty
cde6e8cc1b
Merge pull request #4057 from vector-im/feature/bca/quick_invite_card_improvement
Improve invite bottom sheet
2021-09-24 20:46:12 +02:00
Benoit Marty
eb104d8758 Clean up 2021-09-24 20:45:50 +02:00
Benoit Marty
045e4bbf76
Merge pull request #4052 from vector-im/feature/adm/email_notification_toggle
Add email notification toggle
2021-09-24 20:42:44 +02:00
Valere
1fed27961a Code review 2021-09-24 19:35:49 +02:00
Valere
8318f2d38f fix CI 2021-09-24 18:44:04 +02:00
Valere
0acf90d8cd Code review 2021-09-24 18:12:12 +02:00
Valere
91ba17f71b Code review 2021-09-24 18:12:12 +02:00
Valere
5bb3e22868 cleaning 2021-09-24 18:12:12 +02:00
Valere
d59aaa7611 Support entering mail in user invite screen 2021-09-24 18:12:12 +02:00
Adam Brown
4482cbdaa6 using dedicated pusher removal methods for the different types of pushers
- also adds a separate removePusher which supports removing any type of pusher
2021-09-24 17:00:48 +01:00
Adam Brown
7fd794bd7a reusing existing setTextOrHide by adding an additional parameter to hide other views 2021-09-24 15:44:10 +01:00
Benoit Marty
5a8e789435
Merge pull request #4061 from vector-im/feature/bca/spaces_invite_notification_dot
Fix notif badge for space invite
2021-09-24 16:20:11 +02:00
Benoit Marty
ee59fe660f Improve formatting 2021-09-24 15:53:10 +02:00
Benoit Marty
3287980109 Cleanup and add changelog 2021-09-24 15:38:08 +02:00
Benoit Marty
863ba609df
Merge pull request #4029 from vector-im/feature/fga/fix_voip_issues
Feature/fga/fix voip issues
2021-09-24 09:43:39 +02:00
Benoit Marty
9c559a7c2c
Merge pull request #4065 from vector-im/feature/fga/improve_room_detail_start
Feature/fga/improve room detail start
2021-09-23 19:35:28 +02:00
ganfra
8ecaaa08cf Fix MessageActionsBottomSheet not being shown on local echos #4068 2021-09-23 17:14:04 +02:00
Adam Brown
3a1cb1c07a monitoring the ThreePids so that the notifications screen updates when returning from adding an email
- makes use of both sync and async fetching so that the page can avoid jumping around on the initial load
2021-09-23 14:46:07 +01:00
Adam Brown
0302d19f47 formatting 2021-09-23 13:20:01 +01:00
Adam Brown
43eff8b85b reusing existing remove string 2021-09-23 13:05:18 +01:00
Adam Brown
1d4c909b50 adding translator note about the enable email placeholder 2021-09-23 13:02:36 +01:00
Benoit Marty
e27fa5db12 Format 2021-09-23 13:55:04 +02:00
Adam Brown
1865e3c450 hiding the notification url/format UI fields when they're null (which is the case for email pushers) 2021-09-23 12:54:52 +01:00
Benoit Marty
6708d22da5 Kotlin compiler is not clever enough 2021-09-23 13:54:03 +02:00
Benoit Marty
75fb026289 Rename some classes after new feature implemented 2021-09-23 13:54:03 +02:00
Benoit Marty
93506d18fa Display push counter on debug mode 2021-09-23 13:54:03 +02:00
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
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