Commit graph

7595 commits

Author SHA1 Message Date
Benoit Marty
530f4a8851 Analytics: sign out 2021-12-02 14:10:03 +01:00
Benoit Marty
a3173d89e5 Analytics: manage account data 2021-12-02 14:10:03 +01:00
Benoit Marty
8752fe1e69 Analytics: observe the store and react 2021-12-02 14:10:03 +01:00
Benoit Marty
995e1e3d49 Analytics: add screen API 2021-12-02 14:10:03 +01:00
Benoit Marty
5c5a547aeb Analytics: add capture API 2021-12-02 14:10:03 +01:00
Benoit Marty
b33cddf0e3 Analytics: add PostHog library 2021-12-02 14:10:03 +01:00
Benoit Marty
8608230fa0 Analytics: add config to build.gradle 2021-12-02 14:10:03 +01:00
Benoit Marty
5606a5bfe7 Analytics: ask user consent at startup (we may iterate later) 2021-12-02 14:10:03 +01:00
Benoit Marty
b68e9e1f7f Analytics: setup the first classes 2021-12-02 14:10:03 +01:00
Benoit Marty
6cb8a2458f Remove extra new lines in XML 2021-12-01 23:06:49 +01:00
Benoit Marty
d42473becb More cleanup, remove useless attribute "orientation" 2021-12-01 22:58:21 +01:00
Benoit Marty
696c537f96 All the cleanup and rework end up by fixing some mistakes :) 2021-12-01 22:49:16 +01:00
Benoit Marty
6624039413 Use @id and not @+id when referencing ids in layouts - RelativeLayout and toolbarId 2021-12-01 22:44:07 +01:00
Benoit Marty
c84642aa33 Use @id and not @+id when referencing ids in xml 2021-12-01 22:27:57 +01:00
Benoit Marty
e106ff8de0 Use @id and not @+id when referencing ids in layouts - ConstraintLayout 2021-12-01 22:19:33 +01:00
Benoit Marty
2d17156861 Use @id and not @+id when referencing ids in layouts - accessibilityTraversal 2021-12-01 22:16:28 +01:00
Benoit Marty
6d3df0d802 Use @id and not @+id when referencing ids in layouts - ConstraintLayout 2021-12-01 22:13:21 +01:00
Benoit Marty
fa256cca25
Merge pull request #4603 from vector-im/feature/aris/remove_not_needed_job_cancel_4602
There is no need to call job.cancel() when we are using viewModelScope()
2021-12-01 18:24:06 +01:00
ariskotsomitopoulos
578a012f93 Remove unused onCleared() from viewModels 2021-12-01 16:04:56 +00:00
ariskotsomitopoulos
f8f5e7ecd3 Remove some other not needed setData(null) in controllers 2021-12-01 16:03:04 +00:00
Benoit Marty
f80069604c Version++ 2021-12-01 17:03:00 +01:00
Benoit Marty
9253a3664b
Merge pull request #4607 from vector-im/feature/bma/cursor_crash
Add robustness when getting data from cursors.
2021-12-01 16:48:50 +01:00
Adam Brown
81ee141330 only converting the voice messages when we're sending them
- stops us from eagerly converting to .ogg on android L and below devices whilst the draft phase/playback phase is ongoing, fixes unexpected .ogg when playing drafts
2021-12-01 15:18:24 +00:00
Benoit Marty
84f7eb29e0 Add robustness when getting data from cursors.
Use androidx.core.database extension for better nullability check, and ignore uncomplete data.
2021-12-01 16:09:12 +01:00
ariskotsomitopoulos
9f1e327fa5 There is no need to call job.cancel() when we are using viewModelScope() 2021-12-01 13:15:03 +00:00
ariskotsomitopoulos
7fedcbb998 Fix issue 4600 that search results sometimes are not displayed properly 2021-12-01 13:04:20 +00:00
Weblate
9726e258b5 Merge branch 'origin/develop' into Weblate. 2021-12-01 10:38:05 +00:00
Fjoerfoks
c855465e62 Translated using Weblate (Frisian)
Currently translated at 49.7% (1339 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fy/
2021-11-30 20:25:58 +00:00
Benoit Marty
3a8fd42513
Merge pull request #4558 from vector-im/feature/adm/voice-draft
Adding support for voice drafts
2021-11-30 20:44:49 +01:00
Benoit Marty
02a609164c
Merge pull request #4592 from vector-im/feature/aris/epoxy_controller_init_improvement
Feature/aris/epoxy controller init improvement
2021-11-30 18:50:32 +01:00
ariskotsomitopoulos
3f29130332 Remove requestModelBuild() from epoxy Controllers init block 2021-11-30 17:06:47 +00:00
Benoit Marty
9d6ac08a18 Move to their own file since those class are used at different places now 2021-11-30 17:46:20 +01:00
ganfra
f0ecfbbab2 Tests: TestMatrix should only be used internally by sdk tests 2021-11-30 17:22:50 +01:00
Benoit Marty
b66aff457a Iterate on the consent dialog of the identity server - handle the other places. 2021-11-30 16:34:16 +01:00
Benoit Marty
3d5d9ad154 Iterate on the consent dialog of the identity server. 2021-11-30 15:46:27 +01:00
Adam Brown
aaba62813c removing unused import 2021-11-30 10:22:25 +00:00
Adam Brown
cdb5376a19 Adding support for voice drafts
- introduces a new Voice draft and sender mode type
- initializes the voice recorder with a previously recorded file (the draft)
- renames RecordingUiStates to map to their actual UI states
2021-11-30 10:22:25 +00:00
Benoit Marty
df23cc4e09
Merge pull request #4567 from vector-im/feature/adm/stuck-voip
Always showing hang up button in VOIP calls
2021-11-29 16:24:16 +01:00
Benoit Marty
7beec1c726
Merge pull request #4557 from vector-im/feature/adm/voice-keep-screen-on
Keep device screen on during voice message playback and recording
2021-11-29 14:29:30 +01:00
Benoit Marty
b59ae53805
Merge pull request #4556 from vector-im/feature/adm/voice-rotation
Supporting rotation during voice recordings
2021-11-29 11:40:55 +01:00
Benoit Marty
b889641f2b
Merge pull request #4565 from vector-im/feature/adm/dismissing-listening-for-notification-on-signout
Dismissing Fdroid variant `Listening for notifications` on sign out
2021-11-29 11:33:53 +01:00
Benoit Marty
173ccc6bd4
Merge pull request #4566 from vector-im/feature/adm/typing-emoji-leftovers
Emoji insertion leftover characters
2021-11-29 11:32:22 +01:00
Ihor Hordiichuk
31b521e925 Translated using Weblate (Ukrainian)
Currently translated at 94.7% (2549 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2021-11-29 09:25:54 +00:00
Szimszon
8e807be7b0 Translated using Weblate (Hungarian)
Currently translated at 100.0% (2690 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/hu/
2021-11-29 09:25:53 +00:00
Zet
e0ba2a26d4 Translated using Weblate (Arabic)
Currently translated at 39.5% (1065 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ar/
2021-11-29 09:25:52 +00:00
Adam Brown
bcbfc13f0a allowing idle and create offer call states to hang up
- fixes the CallActivity looking stuck with no way to exit the call
2021-11-26 16:40:59 +00:00
Adam Brown
7b691cc433
updating comment to mention the cursor position 2021-11-26 16:21:57 +00:00
Adam Brown
20241f852a basing the emoji ':' search on the current edit text selection to avoid always replacing the last occurrence 2021-11-26 12:05:54 +00:00
Adam Brown
dffed4445d fixing single character emoji searches retaining the original query
- not entirely sure why this works but replacing the replace with separate delete + insert commands allows the previous query to be fully removed
2021-11-26 11:57:47 +00:00
Adam Brown
4986e9713b stopping the guard service on sign out
- fixes the listening the notifications lingering around when it's not needed
2021-11-26 09:36:55 +00:00
dependabot[bot]
8a8fa066f9
Bump libphonenumber from 8.12.37 to 8.12.38
Bumps [libphonenumber](https://github.com/google/libphonenumber) from 8.12.37 to 8.12.38.
- [Release notes](https://github.com/google/libphonenumber/releases)
- [Changelog](https://github.com/google/libphonenumber/blob/master/making-metadata-changes.md)
- [Commits](https://github.com/google/libphonenumber/compare/v8.12.37...v8.12.38)

---
updated-dependencies:
- dependency-name: com.googlecode.libphonenumber:libphonenumber
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-25 23:06:20 +00:00
Adam Brown
034725ef91 ignoring duplicated state updates 2021-11-25 14:49:31 +00:00
Adam Brown
9e9116df2f marking the playback tracker as idle when the voice recording stops
- fixes missing EndkeepScreenOn
2021-11-25 14:49:11 +00:00
Adam Brown
fdfac8d20a adding doc for the default clock time provision 2021-11-25 10:03:09 +00:00
Adam Brown
28af0a637f using instance based playback activity listener and updating param name to give more context 2021-11-25 09:48:14 +00:00
m1chj
c34e425ada Translated using Weblate (Polish)
Currently translated at 98.2% (2643 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2021-11-25 09:25:55 +00:00
Fjoerfoks
a77bfa058d Translated using Weblate (Frisian)
Currently translated at 46.8% (1261 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fy/
2021-11-25 09:25:54 +00:00
Danial Behzadi
5b7673c8d9 Translated using Weblate (Persian)
Currently translated at 100.0% (2690 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fa/
2021-11-25 09:25:52 +00:00
Zet
adf18d881b Translated using Weblate (Arabic)
Currently translated at 39.5% (1065 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ar/
2021-11-25 09:25:51 +00:00
Adam Brown
5d1812008d adding clock abstraction for avoiding directly using the System.currentTimeMillis 2021-11-24 16:37:53 +00:00
Adam Brown
8fa264589a removing unused imports 2021-11-24 16:37:53 +00:00
Adam Brown
4a5e21ad21 avoiding stopping any active recording if we're rotating
- had to keep track of the recording start time in order to maintain the current length counter
2021-11-24 16:37:52 +00:00
Adam Brown
c2c495c49d keeping device screen on during any voice playback/recording within the room details activity
- Fixes playback and recording stopping due to device inactivity
- Adds a separate activity listener for monitoring if any audio is playing or being recording and keeping the screen on if so
2021-11-24 16:24:39 +00:00
Adam Brown
bbb3a6139f avoiding duplicated drag event updates 2021-11-24 14:35:45 +00:00
Adam Brown
755e3fe932 switching the player tracker to a singleton to avoid losing state on rotation
- this means we need to be extra careful about releasing any listeners
2021-11-24 14:35:45 +00:00
Benoit Marty
32441eb81b
Merge pull request #4553 from vector-im/feature/adm/stricter-voice-file-deletion
Unable to upload .ogg to rooms
2021-11-24 13:55:31 +01:00
Adam Brown
aa3631f328 fixing recursive call 2021-11-24 10:58:21 +00:00
Adam Brown
00059e7b70 adding missing . for file extension 2021-11-24 10:33:53 +00:00
Adam Brown
5ee379e10d including a new voice message attachment type
- allows for us to explictly delete voice message after uploading rather than inferring that audio message with the .ogg extension are voice messages which could have caused us to delete users files
2021-11-24 10:21:12 +00:00
Benoit Marty
bd423db98a
Merge pull request #4548 from vector-im/feature/adm/sealed-class-cleanup
Voice related sealed class cleanup
2021-11-24 11:10:10 +01:00
Ihor Hordiichuk
d1cd09acd0 Translated using Weblate (Ukrainian)
Currently translated at 94.3% (2537 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2021-11-23 20:26:07 +00:00
LinAGKar
5fd4775257 Translated using Weblate (Swedish)
Currently translated at 100.0% (2690 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sv/
2021-11-23 20:26:02 +00:00
m1chj
2472978756 Translated using Weblate (Polish)
Currently translated at 97.8% (2632 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2021-11-23 20:26:00 +00:00
Fjoerfoks
5025170117 Translated using Weblate (Frisian)
Currently translated at 45.9% (1235 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fy/
2021-11-23 20:25:55 +00:00
Glandos
e982dd48e8 Translated using Weblate (French)
Currently translated at 99.9% (2689 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fr/
2021-11-23 20:25:51 +00:00
Adam Brown
6838e701b5 reformating 2021-11-23 18:22:47 +00:00
Adam Brown
70d25653c8 removing unused base property from the sealed classes and switching to interfaces 2021-11-23 18:21:42 +00:00
Adam Brown
d1102f7be4 fixing wrong cased data class names 2021-11-23 18:19:33 +00:00
Adam Brown
56cfee572f fixing message edits thinking there's an active voice recording 2021-11-23 18:02:12 +00:00
Adam Brown
251c54ecfe creating unique files for each voice recording
- stops the recording flow from deleting/overwriting pending voice messages
2021-11-23 18:02:11 +00:00
Benoit Marty
eba6ae592b
Merge pull request #4539 from vector-im/feature/fre/fix_duplicated_settings
Remove duplicated settings declaration
2021-11-22 19:15:08 +01:00
Florian Renaud
6c81bf6ee8 Remove duplicated settings declaration 2021-11-22 18:03:07 +01:00
Benoit Marty
ca34812f82
Merge pull request #4537 from vector-im/feature/bma/more_cleanup
Feature/bma/more cleanup
2021-11-22 18:00:00 +01:00
Benoit Marty
62293e3a4e ktlint 2021-11-22 17:59:38 +01:00
Benoit Marty
e95d603dc5 Rename fun 2021-11-22 17:19:25 +01:00
Benoit Marty
e546587efb Better ViewState 2021-11-22 17:18:11 +01:00
Benoit Marty
aee34ad552 Cleanup the ViewModels 2021-11-22 16:45:18 +01:00
Benoit Marty
e10af6476f invalidate does not work on Activity :/ 2021-11-22 16:24:14 +01:00
Benoit Marty
aa0f031910 invalidate does not work on Activity :/ 2021-11-22 16:18:57 +01:00
Benoit Marty
86d76e76a4 Fix DI 2021-11-22 15:41:54 +01:00
Benoit Marty
2586b376f5 Add a debug screen to display private settings, and use it to force display of Dialpad Tab 2021-11-22 15:05:18 +01:00
Benoit Marty
97a44a5632
Merge pull request #4523 from vector-im/feature/adm/voice-composer
Moving voice logic to the MessageComposer
2021-11-22 15:01:40 +01:00
m1chj
f3ccf83051 Translated using Weblate (Polish)
Currently translated at 95.6% (2573 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2021-11-22 11:14:19 +00:00
Jacob
1ffa28b079 Translated using Weblate (Polish)
Currently translated at 95.6% (2573 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2021-11-22 11:14:18 +00:00
Benoit Marty
e520a374e4 Format code 2021-11-22 10:45:45 +01:00
m1chj
4add0d06d9 Translated using Weblate (Polish)
Currently translated at 95.1% (2560 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2021-11-22 09:16:36 +00:00
Jacob
e5436dc395 Translated using Weblate (Polish)
Currently translated at 95.1% (2560 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2021-11-22 09:16:35 +00:00
m1chj
bdb39d2dca Translated using Weblate (Polish)
Currently translated at 95.1% (2559 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2021-11-22 09:09:42 +00:00
Jacob
a796f04c1c Translated using Weblate (Polish)
Currently translated at 95.1% (2559 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2021-11-22 09:09:41 +00:00
Jeff Huang
c6df159323 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2690 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hant/
2021-11-20 19:26:11 +00:00
sr093906
ba1acf02f6 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (2690 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hans/
2021-11-20 19:26:09 +00:00
Ihor Hordiichuk
71e25f4276 Translated using Weblate (Ukrainian)
Currently translated at 91.7% (2469 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2021-11-20 19:26:08 +00:00
lvre
2afa850e96 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2690 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
2021-11-20 19:26:06 +00:00
m1chj
a7f9790f95 Translated using Weblate (Polish)
Currently translated at 93.4% (2514 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2021-11-20 19:26:04 +00:00
random
d3accdd524 Translated using Weblate (Italian)
Currently translated at 99.8% (2687 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/it/
2021-11-20 19:26:01 +00:00
Linerly
294876942f Translated using Weblate (Indonesian)
Currently translated at 100.0% (2690 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
2021-11-20 19:26:00 +00:00
Fjoerfoks
3ff0870692 Translated using Weblate (Frisian)
Currently translated at 44.2% (1191 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fy/
2021-11-20 19:25:58 +00:00
Priit Jõerüüt
0972ce780b Translated using Weblate (Estonian)
Currently translated at 100.0% (2690 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/et/
2021-11-20 19:25:53 +00:00
libexus
1f77d1487b Translated using Weblate (German)
Currently translated at 98.4% (2647 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2021-11-20 19:25:51 +00:00
waclaw66
4ddd52137e Translated using Weblate (Czech)
Currently translated at 100.0% (2690 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2021-11-20 19:25:50 +00:00
Benoit Marty
72360104fb
Merge pull request #4526 from vector-im/feature/bma/setarguments
Some cleanup on Fragment argument
2021-11-19 21:05:31 +01:00
Benoit Marty
e709896fb0 ktlint 2021-11-19 18:27:30 +01:00
Adam Brown
c0f8984d16 updating workaround factory doc 2021-11-19 16:45:38 +00:00
Benoit Marty
35ee555252 Moar cleanup 2021-11-19 17:35:02 +01:00
Benoit Marty
4af2780ad9 Password hidden by default 2021-11-19 17:31:04 +01:00
ganfra
69720ffdd3 Android tests: introduce TestBackgroundDetectionObserver so sync is not cancelled while testing + fix small warnings 2021-11-19 17:18:39 +01:00
Benoit Marty
23f726a2f0 Cleanup API 2021-11-19 17:17:23 +01:00
ganfra
67975e0c83 Matrix: introduce MatrixWorkerFactory to remove internal usage of Matrix.getInstance 2021-11-19 17:15:39 +01:00
Benoit Marty
0f42f379c6 Cleanup: use setArguments() and avoid direct usage of Mavericks.KEY_ARG
`fun <T : Fragment> T.withArgs` should not be used anymore
2021-11-19 17:12:38 +01:00
Benoit Marty
292c09b176 Cleanup: Use extension, use setArguments() and avoid direct usage of Mavericks.KEY_ARG 2021-11-19 17:03:18 +01:00
Benoit Marty
d0f5a10c76 Use extension 2021-11-19 16:45:32 +01:00
Benoit Marty
909e93b6d6 Fix crash (#4520) 2021-11-19 16:42:56 +01:00
Benoit Marty
430e171f85 Remove useless module, it's a miss of the migration to hilt 2021-11-19 16:09:27 +01:00
Benoit Marty
eb32fd95e4
Merge pull request #4521 from vector-im/feature/bma/di_cleanup
Fix "@JvmStatic used for @Provides function in an object class" Lint warning
2021-11-19 16:08:32 +01:00
Adam Brown
cca50ed669 using project terminoloy for rendering ui states on views 2021-11-19 15:03:37 +00:00
Adam Brown
9ce228c5bc fixing import ordering 2021-11-19 15:03:01 +00:00
Adam Brown
f140dbc0a0 update text composer classes to message composer (as they include voice not just text) 2021-11-19 15:03:01 +00:00
Adam Brown
8837640b5a renaming text composer files to message composer 2021-11-19 15:03:01 +00:00
Adam Brown
b5055453d1 moving voice recording logic to the TextComposerViewModel (name to be updated) from the RoomDetailViewModel 2021-11-19 15:03:01 +00:00
Benoit Marty
35f9bef94a
Merge pull request #4515 from vector-im/feature/adm/voice-state
Voice recording UI state in ViewModel
2021-11-19 15:59:17 +01:00
Benoit Marty
0240aa15a6
Merge pull request #4506 from vector-im/feature/adm/non-dismissing-notifications
Non dismissing notifications
2021-11-19 15:45:49 +01:00
Benoit Marty
d80a25feac Fix "@JvmStatic used for @Provides function in an object class" Lint warning.
See https://github.com/google/dagger/releases/tag/dagger-2.25.2 point 2.ii. : @Module object classes no longer need @JvmStatic on the provides methods.
Ensure this warning does not appear again.
2021-11-19 15:29:11 +01:00
Adam Brown
331bcbfc8a separating the drag state from the main UI state in order to clarify which actions should be handled in each layer 2021-11-19 11:31:10 +00:00
ryg-git
289339f2db
Issue 4343 (#4490)
Remove image in text composer if message to be replied is updated to message that does not have image or show image in text composer if message to be replied is updated to message that has image.
2021-11-19 10:39:19 +01:00
Adam Brown
7693f3bc6c lifting the persistence out of the notification state 2021-11-19 09:33:28 +00:00
Adam Brown
55fd362b3d removing unused default constructor param and making queue a data class since it's only manipulating its own internal data 2021-11-19 09:14:18 +00:00
Benoit Marty
f622468f3b
Merge pull request #4516 from vector-im/feature/adm/ui-test-ci-tweaks
UI test CI tweaks
2021-11-19 09:32:18 +01:00
Benoit Marty
7d35891b01
Merge pull request #4504 from vector-im/feature/bma/upgrade_jitsi
Jitsi android-sdk-3.1.0 -> android-sdk-3.10.0
2021-11-19 09:27:46 +01:00
Adam Brown
cc27c37c1e fixing ktlint errors 2021-11-18 18:50:51 +00:00
Adam Brown
08f9fad23e adding logs to try and find out where the github actions are failing 2021-11-18 18:43:59 +00:00
Adam Brown
1c6b2ceb4b adding retrying to the reaction long pressing and extra visibilty check for dialogs 2021-11-18 17:53:52 +00:00
Adam Brown
1b5868644a add wait for dialogs 2021-11-18 17:53:34 +00:00
Adam Brown
38f0640d2c tapping the timeline settings via the overflow small devices can't tap the title
- waiting for the message edits bottom sheet
- waiting for the reactions bottom sheet
2021-11-18 17:52:45 +00:00
Adam Brown
97d768e392 adding expected open/closed state to the bottom sheet waiting 2021-11-18 17:52:20 +00:00
Adam Brown
69745ea74e waiting until the room avatar item is ready as the title and list have a loading state 2021-11-18 17:51:57 +00:00
Adam Brown
b57d414189 increase app timeout as sign out can block for a long time 2021-11-18 17:51:34 +00:00
Adam Brown
7d262ebc32 removing no longer needed message delete on animation end, we delete the file straight away 2021-11-18 17:28:08 +00:00
Adam Brown
1afc1b51e5 separating the cancelled and ended events to make the consumption simpler 2021-11-18 17:25:30 +00:00
Adam Brown
4dbb150ac2 clarifying why we do nothing when the state is locked on voice recording ended 2021-11-18 17:21:03 +00:00
Adam Brown
16ca7d5040 adding sending of voice message on send pressed 2021-11-18 17:18:13 +00:00
Adam Brown
c5746a59ae updating voice view interface method names for consistency 2021-11-18 17:11:10 +00:00
Adam Brown
734e7df910 renaming display function as its updating state, rather than directly displaying 2021-11-18 17:00:47 +00:00
Adam Brown
bf374371b8 removing no longer needed cancelled status check 2021-11-18 15:14:46 +00:00
Adam Brown
dfc67b832c updating the state rather than calling display directly 2021-11-18 15:06:43 +00:00
Benoit Marty
5e99972d95 Remove dead code 2021-11-18 16:01:01 +01:00
Adam Brown
be685bc56a aligning the locked recording view to the send message button without the margin, fixes the layout jumping when the mic button switches to a send 2021-11-18 14:59:06 +00:00
Benoit Marty
e233915c0f Jitsi android-sdk-3.1.0 -> android-sdk-3.10.0 2021-11-18 15:58:40 +01:00
Adam Brown
9ae03b76cd allows locking and cancelling to occur after choosing either option
- fixes other quirks caused by porting to the inverted display logic
2021-11-18 14:15:55 +00:00
Adam Brown
e895dbd923 replacing chained ifs with when 2021-11-18 14:15:55 +00:00
Adam Brown
2ad121e96e moving the recording ui state to the textcomposer view model and state 2021-11-18 14:15:55 +00:00
Adam Brown
40d762c37d lifting current recording state out of the view 2021-11-18 14:15:55 +00:00
Adam Brown
f2690552a2 lifting voice display logic out of the view and to the layer above 2021-11-18 14:15:55 +00:00
Adam Brown
f0ef9e9706 inverting and splitting the voice message view into logic and views
- creates a display entry point which will be called externally
2021-11-18 14:15:55 +00:00
Adam Brown
fef604bfb9 fixing line lengths 2021-11-18 13:45:01 +00:00
Adam Brown
f61474cb83 lifting the seenIds cache to the event queue rather than chaining it through, allows us to simplify the state model 2021-11-18 13:39:07 +00:00
Adam Brown
fb5e3cdfcd extracting the queued notification events persistence to its own file 2021-11-18 13:17:41 +00:00
Adam Brown
940fe634c4 fixing notifications not dismissing when the in memory state becomes out of sync
- lazily loads the initial notification state as we rely on a current session to exist
- extracts all the notification state manipulation to a separate state class
2021-11-18 13:11:43 +00:00
m1chj
ebf6231ab1 Translated using Weblate (Polish)
Currently translated at 91.9% (2474 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2021-11-18 07:38:54 +00:00
mohzart
ec3071c971 Translated using Weblate (Polish)
Currently translated at 91.9% (2474 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2021-11-18 07:38:53 +00:00
m1chj
591f8d9877 Translated using Weblate (Polish)
Currently translated at 91.9% (2473 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2021-11-18 07:36:16 +00:00
mohzart
1a029fe84b Translated using Weblate (Polish)
Currently translated at 91.9% (2473 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2021-11-18 07:36:16 +00:00
eman luff
0bddba1930 Translated using Weblate (Polish)
Currently translated at 91.8% (2471 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2021-11-18 06:28:35 +00:00
mohzart
a62ed45cba Translated using Weblate (Polish)
Currently translated at 91.8% (2471 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2021-11-18 06:28:34 +00:00
Valere
78bdef4e2d Code review 2021-11-17 16:39:24 +01:00
Valere
1a204c6b5a Use borderless shield for verification (web parity) 2021-11-17 16:39:24 +01:00
Valere
dc708438a6 Update shields to match web 2021-11-17 16:39:24 +01:00
Benoit Marty
a8f6efd5e8 Version++ 2021-11-17 16:07:07 +01:00
Benoit Marty
36ffb3b073 Fix lint issue 2021-11-17 14:18:12 +01:00
Benoit Marty
31837390bc
Merge pull request #4484 from RiotTranslateBot/weblate-element-android-element-app
Translations update from Weblate
2021-11-17 11:48:00 +01:00
Benoit Marty
0fd29d763c
Markdown and sploiler in roomlist + spoiler in notifications (#4483)
Render markdown in room list and make notifications spoiler aware, per MSC3124
Reorder when case to put the most common on top

Co-authored-by: Onuray Sahin <onurays@element.io>
Co-authored-by: Wasabi\preston <1337paf92@gmail.com>
2021-11-17 10:21:48 +00:00
Weblate
e279ffa1d8 Merge branch 'origin/develop' into Weblate. 2021-11-17 09:59:36 +00:00
Ihor Hordiichuk
b4751bc75c Translated using Weblate (Ukrainian)
Currently translated at 91.7% (2454 of 2675 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2021-11-17 09:59:23 +00:00
m1chj
fb2a2ec252 Translated using Weblate (Polish)
Currently translated at 92.2% (2469 of 2675 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2021-11-17 09:59:22 +00:00
Line
1b8c747b00 Translated using Weblate (Latvian)
Currently translated at 90.5% (2421 of 2675 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/lv/
2021-11-17 09:59:22 +00:00
Linerly
b84aebb7d8 Translated using Weblate (Indonesian)
Currently translated at 100.0% (2675 of 2675 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
2021-11-17 09:58:50 +00:00
Fjoerfoks
c0bd299b04 Translated using Weblate (Frisian)
Currently translated at 42.4% (1135 of 2675 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fy/
2021-11-17 09:58:50 +00:00
waclaw66
f533fed55d Translated using Weblate (Czech)
Currently translated at 100.0% (2675 of 2675 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2021-11-17 09:58:50 +00:00
m1chj
f8042893c8 Translated using Weblate (Polish)
Currently translated at 92.2% (2469 of 2675 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2021-11-17 07:26:33 +00:00
eman luff
c070cfc2af Translated using Weblate (Polish)
Currently translated at 92.2% (2469 of 2675 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2021-11-17 07:26:33 +00:00
Benoit Marty
be3aafeef2
Merge pull request #4433 from vector-im/feature/bma/android12
Android12
2021-11-16 13:27:33 +01:00
Benoit Marty
dddcbfbe7d Fix "PendingIntents attached to actions with remote inputs must be mutable"
Room notifications are now working on Android 12 emulator
2021-11-16 12:27:54 +01:00
m1chj
b158b8f899 Translated using Weblate (Polish)
Currently translated at 92.2% (2467 of 2675 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2021-11-16 10:39:50 +00:00
eman luff
5258cbd0c2 Translated using Weblate (Polish)
Currently translated at 92.2% (2467 of 2675 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2021-11-16 10:39:50 +00:00
m1chj
3887692a8e Translated using Weblate (Polish)
Currently translated at 92.1% (2466 of 2675 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2021-11-16 10:08:41 +00:00
eman luff
f53dd33472 Translated using Weblate (Polish)
Currently translated at 92.1% (2466 of 2675 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2021-11-16 10:08:41 +00:00
m1chj
597da4f9e3 Translated using Weblate (Polish)
Currently translated at 92.0% (2463 of 2675 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2021-11-16 09:18:30 +00:00
eman luff
3a1b50f6a2 Translated using Weblate (Polish)
Currently translated at 92.0% (2463 of 2675 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2021-11-16 09:18:30 +00:00
mohzart
db299a2c33 Translated using Weblate (Polish)
Currently translated at 92.0% (2463 of 2675 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2021-11-16 09:17:37 +00:00
Adam Tomaja
2077eda611 Translated using Weblate (Polish)
Currently translated at 92.0% (2463 of 2675 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2021-11-16 09:17:37 +00:00
m1chj
f59ac641bb Translated using Weblate (Polish)
Currently translated at 92.0% (2463 of 2675 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2021-11-16 09:17:37 +00:00