Commit graph

7274 commits

Author SHA1 Message Date
Benoit Marty
a1630b5546 androidx.lifecycle:lifecycle-extensions is deprecated
See https://developer.android.com/jetpack/androidx/releases/lifecycle#declaring_dependencies
2021-11-15 12:24:48 +01:00
Benoit Marty
756f846e74 android:exported has to be explicitly set when targeting Android 12 2021-11-15 12:24:48 +01:00
dependabot[bot]
56776aed21 Bump browser from 1.3.0 to 1.4.0
Bumps browser from 1.3.0 to 1.4.0.

---
updated-dependencies:
- dependency-name: androidx.browser:browser
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-15 12:24:48 +01:00
Benoit Marty
f7b2059fe1 Target API 31 - Handle deprecated API 2021-11-15 12:24:48 +01:00
Benoit Marty
31809a595c Temporary fix for Android 12. android:exported has to be explicitly set when targeting Android 12
Do it for services coming from dependencies
2021-11-15 12:24:48 +01:00
Benoit Marty
aa3f36b7b7 Target API 31 - Android 12 - #4262 2021-11-15 12:24:48 +01:00
Onuray Sahin
fff47b8243 Lint fix. 2021-11-15 13:26:31 +03:00
Benoit Marty
ceb16cc301
Merge pull request #4469 from vector-im/sync-emojis
Sync Emojis
2021-11-15 11:03:10 +01:00
bmarty
a33bcbb81a Sync Emojis 2021-11-15 00:01:55 +00:00
Michael Mihai
66bbb02bae Translated using Weblate (Romanian)
Currently translated at 15.3% (410 of 2675 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ro/
2021-11-12 22:25:56 +00:00
Fjoerfoks
41ac1d3b7b Translated using Weblate (Frisian)
Currently translated at 42.3% (1134 of 2675 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fy/
2021-11-12 22:25:51 +00:00
waclaw66
47a8f1afbb 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-12 22:25:46 +00:00
dependabot[bot]
ad48223273
Bump libphonenumber from 8.12.36 to 8.12.37
Bumps [libphonenumber](https://github.com/google/libphonenumber) from 8.12.36 to 8.12.37.
- [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.36...v8.12.37)

---
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-11 23:08:34 +00:00
Onuray Sahin
a6c88b74a4 Hide poll icon from attachment type selector for now. 2021-11-11 13:42:04 +03:00
Onuray Sahin
b6717f4e46 Code review fixes. 2021-11-11 13:38:39 +03:00
Onuray Sahin
89db5a6ecd Lint fixes. 2021-11-11 11:52:01 +03:00
Adam Brown
42648298b6 formatting 2021-11-10 17:09:08 +00:00
Adam Brown
10a8a45391 waiting for the sent message to be rendered in the timeline 2021-11-10 17:07:10 +00:00
Adam Brown
c8ae3f9a83 removing unused imports 2021-11-10 17:07:10 +00:00
Adam Brown
411be43287 waiting for the edited text to appear instead of sleeping 2021-11-10 17:07:10 +00:00
Adam Brown
2583a6d6bf taking screenshots on sanity test failure 2021-11-10 17:07:10 +00:00
Adam Brown
fc865682b1 waiting for the message actions bottom sheet when interacting with the message options 2021-11-10 17:07:10 +00:00
Adam Brown
39b4116699 adding bottomsheet idling resource to wait for expand and hide events 2021-11-10 17:07:10 +00:00
Adam Brown
e5edfe9c73 adding dedicated message menu robot and adding sanity check for developer mode flows 2021-11-10 17:07:10 +00:00
Adam Brown
2a66efb733 adding helper to fetch text from resources 2021-11-10 17:07:10 +00:00
Onuray Sahin
7546071df8 Design review fixes. 2021-11-10 13:47:15 +03:00
Adam Brown
b90b396753 fixing compilation error in unit test 2021-11-10 09:44:16 +00:00
Adam Brown
892129994e
Merge pull request #4424 from dkter/fix-broken-room-icons
Fix incorrect cropping of conversation icons
2021-11-10 09:43:09 +00:00
Benoit Marty
dc486557cf
Merge pull request #4427 from vector-im/feature/bma/shortcut_disabled
Add an explicit reason when shortcut are disabled.
2021-11-09 20:38:21 +01:00
Michael Mihai
0ec022f817 Translated using Weblate (Romanian)
Currently translated at 12.8% (343 of 2675 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ro/
2021-11-09 12:25:51 +00:00
Fjoerfoks
9cbed204bc Translated using Weblate (Frisian)
Currently translated at 36.6% (980 of 2675 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fy/
2021-11-09 12:25:51 +00:00
Glandos
d58a846707 Translated using Weblate (French)
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/fr/
2021-11-09 12:25:45 +00:00
Adam Brown
528c5a3671 adding warning when the signout flow is unexpected 2021-11-08 17:08:53 +00:00
Adam Brown
145ceacf78 fixing auto merge issues 2021-11-08 15:24:08 +00:00
Adam Brown
9e6bd2ee9c checking if the event is an image message to avoid attepting to render non image based attachments 2021-11-08 15:24:08 +00:00
Adam Brown
22f73c80f0 removing debug log 2021-11-08 15:24:08 +00:00
Adam Brown
a37ff83fdc catching any potential errors whilst download/exporting the notification image, will allow us to continue to show the notifications 2021-11-08 15:24:08 +00:00
Adam Brown
8cc68e16d2 supporting images in the room notifications 15:40:32
- downloads and exports any images whilst resolving the notification event
2021-11-08 15:24:08 +00:00
Adam Brown
57037c9ac6 adding test cases around the mutating of the notification event queue 2021-11-08 15:24:08 +00:00
Adam Brown
6bc121ad4a extracting notifiable event fixtures to their own file 2021-11-08 15:24:08 +00:00
Adam Brown
c0ef25756d cleaning up method ordering and visibility 2021-11-08 15:24:08 +00:00
Adam Brown
77e0b22982 extracting notifiable event creation to its own function 2021-11-08 15:24:08 +00:00
Adam Brown
588958c807 moving the notifable queue adding to the queue itself and making onNotifiableEventReceived not synchronised for use within the synchronized batching
- makes the refresh function private as all interactions now come through via update
2021-11-08 15:24:08 +00:00
Adam Brown
9009606e86 flattening some of the onNotifiableEventReceived branches to simplify the chain 2021-11-08 15:24:08 +00:00
Adam Brown
ef348c24a0 extracting the notification event logic to its own class and provide a single update point of entry for mutating the events
- this avoids multiple synchronisation locks by batching updates and ensures a single notification render pass
2021-11-08 15:24:08 +00:00
Adam Brown
5190ef4280 replacing separated push listener callbacks with a single onEvents callback
- simplifies the handling of notifications, will allow us to reduce redundant synchronisations and suspend the entire notification update (will be needed for supporting images)
2021-11-08 15:24:07 +00:00
Adam Brown
3add33eb0d removing unused imports 2021-11-08 15:11:03 +00:00
Adam Brown
579963733b moving verification dismissing to the robot 2021-11-08 15:03:34 +00:00
Adam Brown
f61d20a7f8 adding sign out + re-sign in flows to the robots
- the verification popup if flaky so we're attempting both exit flows if needed
2021-11-08 14:50:58 +00:00
Onuray Sahin
a10253c003 Design review fixes. 2021-11-08 17:26:01 +03:00
Benoit Marty
2b58c0e5ab ktlint 2021-11-08 15:06:23 +01:00
Benoit Marty
cea2206e97
Merge pull request #4420 from vector-im/feature/adm/sanity-check-robot
Sanity tests robot pattern and reliability refactor
2021-11-08 14:54:27 +01:00
Benoit Marty
04c7a300b9 Add an explicit reason when shortcut are disabled.
Also prefer using ShortcutManagerCompat to disable shortcuts
2021-11-08 12:47:32 +01:00
Benoit Marty
b6e5d2cadf
Merge pull request #4339 from vector-im/feature/adm/invite-by-email
Missing ability to invite users by email
2021-11-08 11:05:27 +01:00
Tvirin
d481f3b286 Added translation using Weblate (Macedonian) 2021-11-07 22:27:51 +00:00
waclaw66
053fd7b6bf 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-07 19:25:44 +00:00
Jeff Huang
f2d12aa3d7 Translated using Weblate (Chinese (Traditional))
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/zh_Hant/
2021-11-06 17:26:19 +00:00
sr093906
86b777b922 Translated using Weblate (Chinese (Simplified))
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/zh_Hans/
2021-11-06 17:26:18 +00:00
Ihor Hordiichuk
dca4b87ced Translated using Weblate (Ukrainian)
Currently translated at 91.5% (2449 of 2675 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2021-11-06 17:26:18 +00:00
LinAGKar
71e55692ae Translated using Weblate (Swedish)
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/sv/
2021-11-06 17:26:18 +00:00
Besnik Bleta
1c836df20d Translated using Weblate (Albanian)
Currently translated at 99.5% (2662 of 2675 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sq/
2021-11-06 17:26:17 +00:00
lvre
5c59c5f82c Translated using Weblate (Portuguese (Brazil))
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/pt_BR/
2021-11-06 17:26:17 +00:00
eman luff
231172aa19 Translated using Weblate (Polish)
Currently translated at 89.8% (2403 of 2675 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2021-11-06 17:26:16 +00:00
Adam Tomaja
0e10793e59 Translated using Weblate (Polish)
Currently translated at 89.8% (2403 of 2675 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2021-11-06 17:26:16 +00:00
random
0cbe899007 Translated using Weblate (Italian)
Currently translated at 99.8% (2672 of 2675 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/it/
2021-11-06 17:25:49 +00:00
Linerly
64e281ecc4 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-06 17:25:49 +00:00
Szimszon
019ba178f5 Translated using Weblate (Hungarian)
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/hu/
2021-11-06 17:25:48 +00:00
Danial Behzadi
b6b5e528f5 Translated using Weblate (Persian)
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/fa/
2021-11-06 17:25:47 +00:00
Priit Jõerüüt
2306ac60cb Translated using Weblate (Estonian)
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/et/
2021-11-06 17:25:47 +00:00
Ultimator14
2c5fe79596 Translated using Weblate (German)
Currently translated at 98.3% (2632 of 2675 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2021-11-06 17:25:46 +00:00
waclaw66
f17f4e123f 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-06 17:25:46 +00:00
Zet
b7d040be9f Translated using Weblate (Arabic)
Currently translated at 39.8% (1066 of 2675 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ar/
2021-11-06 17:25:45 +00:00
David Teresi
4b57761d02 Remove broken room shortcut recreation 2021-11-06 13:05:23 -04:00
Adam Brown
78675d4aa1 fixing formatting 2021-11-05 15:48:45 +00:00
Adam Brown
657a613374 ensuring we wait for the create room fragment to be ready 2021-11-05 15:47:21 +00:00
Adam Brown
b1397aee51 relying on createRoom to close itself rather than the newRoom flow 2021-11-05 15:35:57 +00:00
Adam Brown
0405c2df8d adding missing activity wait whilst navigating to the room members 2021-11-05 15:01:06 +00:00
Adam Brown
803929ea45 using static imports for the espresso helpers and reusing existing wait for view 2021-11-05 14:56:29 +00:00
Adam Brown
7b6773f90e removing no longer needed sleeps 2021-11-05 14:44:22 +00:00
Adam Brown
264f49b02c moving settings robots to their own pacakge 2021-11-05 14:41:01 +00:00
Benoit Marty
e8fb408579 Limit the number of pushed shortcuts 2021-11-05 15:38:52 +01:00
Adam Brown
32f5893798 moving the signout to the robot but commenting out whilst a bug is fixed
- also makes waitForActivity stronger by also waiting for child views
2021-11-05 14:38:20 +00:00
Adam Brown
0f1c9f4af5 porting ui base to be a onboarding robot and providing via the element robot 2021-11-05 13:56:51 +00:00
Adam Brown
17789f00bb ensuring we end up back where we started via the root robot helpers 2021-11-05 13:29:45 +00:00
Adam Brown
d2aec09b5b making all waitForViews have an initial 100ms wait this completely removed the flakyness when running the tests on my emulator 2021-11-05 13:29:16 +00:00
Adam Brown
f08d3965c1 replacing sleeps with view waits where possible 2021-11-05 11:26:30 +00:00
Adam Brown
e0544a677d removing sleeps in favour of waiting for the views to become ready
- improves the flakyness around the bottom sheets and dialogs
2021-11-05 11:16:00 +00:00
Adam Brown
5284765149 adding helper for waiting until view is ready 2021-11-05 10:33:19 +00:00
Benoit Marty
f3655d4664
Merge pull request #4363 from vector-im/feature/fga/rx_flow_migration
Feature/fga/rx flow migration
2021-11-04 18:44:48 +01:00
Benoit Marty
bcffbbefd7 Version++ 2021-11-04 18:42:52 +01:00
Adam Brown
557609c175 porting the room flows to the robot pattern 2021-11-04 16:14:51 +00:00
Benoit Marty
78e0109301 Fix crash when filtering the room member list
A Holder as to be uniquely linked to the layout id declared in @EpoxyModelClass, see https://github.com/airbnb/epoxy/issues/854
Fixes https://github.com/matrix-org/element-android-rageshakes/issues/27784
2021-11-04 16:39:20 +01:00
Benoit Marty
21e1766e3e Better code 2021-11-04 16:19:26 +01:00
Benoit Marty
41ab117182 Fix a problem with filtering 3pid invite.
We were using the whole 3pid invite if they were not all filtered.
Also double filtering on RoomThirdPartyInviteContent type is not necessary
2021-11-04 16:19:26 +01:00
Adam Brown
e800c59f57 porting the new direct message checks to the robot pattern 2021-11-04 15:00:15 +00:00
Adam Brown
67fe07a385 porting settings crawling to the robot pattern 2021-11-04 14:46:01 +00:00
Benoit Marty
345dac4a3b rename fun 2021-11-04 15:43:03 +01:00
Adam Brown
2f3716d9b9 using robot pattern to navigate the settings
- will allow reuse of navigating around the app (eg enabling develop options and go back to previous locations)
2021-11-04 12:55:54 +00:00
Adam Brown
ed4f26de81 adding login timeouts to reduce flakyness during login 2021-11-04 12:35:03 +00:00
Adam Brown
85f8f217b5 updating invite copy 2021-11-04 11:55:09 +00:00