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
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
Adam Tomaja
e167db2bb7
Feature/4292 fix capitalisation on initial sync screen ( #4410 )
...
#4292 - Fix Capitalisation On Initial Sync Screen
Co-authored-by: Adam Tomaja <cydercode@gmail.com>
2021-11-04 11:39:50 +00:00
Benoit Marty
6f58cbd6c5
Merge pull request #4314 from vector-im/feature/adm/fdroid-notification-reliability
...
F-Droid variant permanent notification to fix missing notifications
2021-11-04 12:28:20 +01:00
Benoit Marty
97089e4394
Fix lint issue
2021-11-04 12:20:39 +01:00
Weblate
e4135e4524
Merge branch 'origin/develop' into Weblate.
2021-11-04 10:21:40 +00:00
Jim
488c081d0c
Translated using Weblate (Vietnamese)
...
Currently translated at 56.2% (1504 of 2672 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/vi/
2021-11-04 10:21:35 +00:00
Jim
6c74fec0fa
Translated using Weblate (Vietnamese)
...
Currently translated at 56.1% (1500 of 2672 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/vi/
2021-11-04 10:20:07 +00:00
Linerly
fdcad764d2
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-11-04 10:19:59 +00:00
waclaw66
5d013b0433
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-11-04 10:19:59 +00:00
Adam Brown
432d4801c9
removing unused import
2021-11-04 10:12:24 +00:00
Adam Brown
036a81d60b
extending from the vector service to avoid extra service boilerplate
2021-11-04 09:47:16 +00:00
Adam Brown
48678382ba
adding new copy for the foreground listening notification
2021-11-04 09:45:59 +00:00
Adam Brown
c173adb783
removing google play background task starting, we should rely on play services
2021-11-04 09:45:59 +00:00
Adam Brown
a6eadfe894
removing unused starter field
2021-11-04 09:45:59 +00:00
Adam Brown
006ad10392
removing extra blank line
2021-11-04 09:45:59 +00:00
Adam Brown
ace9f89569
always trigger guard service start when a session is activated
...
- fixes missing guard after login
2021-11-04 09:45:59 +00:00
Adam Brown
c14ffefe7c
updating background sync function docs with more information
2021-11-04 09:45:59 +00:00
Adam Brown
56d5a38e80
reverting parts of the rapid periodic sync, unfortunately it suffers from the same issue as the one shot workers -
...
the system can ignore them if the application process is in the background
2021-11-04 09:45:59 +00:00
Adam Brown
71b27bfd5d
making the guard service a noop, lifeline scheduling will be brought back if we confirm the service by itself is not enough
...
- reuses the sync foreground notification for the guard foreground service
2021-11-04 09:45:59 +00:00
Marcel Langner
c6b942cd31
fixed ktlint complaining and errors in italian translation file
2021-11-04 09:45:59 +00:00
Marcel Langner
97b4fd69b4
fixed typo
2021-11-04 09:45:59 +00:00
Marcel Langner
e14fb16db2
initial commit of a permanent GuardService for fdroid background syncing
2021-11-04 09:45:59 +00:00
Andrew Aylett
d261dd705d
Periodic sync to re-kick-off rapid sync
2021-11-04 09:45:59 +00:00
Onuray Sahin
cbe07c4aee
Code review fixes.
2021-11-04 11:35:35 +03:00
Ihor Hordiichuk
e6b359c7f7
Translated using Weblate (Ukrainian)
...
Currently translated at 91.6% (2449 of 2672 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2021-11-03 19:25:44 +00:00
Adam Brown
06d4ee9df8
adding missing tints to the dev tools toolbar
2021-11-03 16:12:39 +00:00
ganfra
ce5ccd4dab
Timeline: remove useless methods
2021-11-03 12:06:17 +01:00
ganfra
e4896cad38
Merge branch 'develop' into feature/fga/timeline_chunks_rework
2021-11-02 17:13:23 +01:00
Benoit Marty
b8ca520552
Make the poll option visible so that it can be tested from the PR
2021-11-02 16:34:44 +01:00
waclaw66
2eba5f1f4d
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-11-02 14:25:43 +00:00
ganfra
e43bfaebc6
Flow migration: more update after PR reviews
2021-11-02 11:50:56 +01:00
Benoit Marty
d1294f9a71
Merge pull request #4380 from vector-im/feature/adm/key-request
...
Key request screen crash on launch
2021-11-02 10:53:09 +01:00
Benoit Marty
23a8ac6231
Merge pull request #4381 from vector-im/feature/adm/looping-call-ringtones
...
Force call ringtones to loop
2021-11-02 09:59:56 +01:00
Benoit Marty
26f8f5d1fb
Merge pull request #4379 from vector-im/feature/adm/sso-ordering
...
Sorting social providers by priority
2021-11-02 09:53:32 +01:00
Benoit Marty
b450102f2a
Merge pull request #4372 from vector-im/dependabot/gradle/com.google.firebase-firebase-messaging-23.0.0
...
Bump firebase-messaging from 22.0.0 to 23.0.0
2021-11-02 09:51:38 +01:00
Adam Brown
66737c6ec9
looping the call ringtones instead of relying on the ringtone to contain looping metadata
2021-11-01 14:41:25 +00:00
Adam Brown
e75c5a6b9a
adding missing view model provision
2021-11-01 12:35:09 +00:00
Adam Brown
1c9f1808ba
sorting the social providers by their defined priority
2021-11-01 12:13:50 +00:00
Jonas
0aa0858921
Translated using Weblate (Danish)
...
Currently translated at 18.1% (486 of 2672 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/da/
2021-10-31 19:25:42 +00:00
Zet
44068304e0
Translated using Weblate (Arabic)
...
Currently translated at 39.1% (1046 of 2672 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ar/
2021-10-30 16:25:42 +00:00
dependabot[bot]
959e6b67e3
Bump firebase-messaging from 22.0.0 to 23.0.0
...
Bumps firebase-messaging from 22.0.0 to 23.0.0.
---
updated-dependencies:
- dependency-name: com.google.firebase:firebase-messaging
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-10-29 23:07:15 +00:00
Florian Renaud
1341094545
Fix permalink handling
...
whole link base url was compared to supported hosts instead of the host part only
2021-10-29 17:13:37 +02:00
Onuray Sahin
19216aec63
Limit maximum number of poll options.
2021-10-29 17:18:37 +03:00
Onuray Sahin
40aa0175d0
Code review fixes.
2021-10-29 16:54:54 +03:00
Adam Brown
e12d8c30d8
fixing timeline crash when rotating with the emoji window open
...
- guarding the emoji popup dismiss callback with a started lifecycle state
- the emoji popup dismiss callback also triggers onViewDetachedFromWindow which does not always finish before onDestroyView
2021-10-28 19:23:36 +01:00
ganfra
bb4a820c31
Flow migration: update after PR reviews
2021-10-28 19:19:59 +02:00
ganfra
16e4a7f653
Flow migration: fix kotlinx-coroutines-debug dependencie
2021-10-28 18:17:01 +02:00
Benoit Marty
dd6ac46659
Merge pull request #4362 from vector-im/feature/adm/zxing-downgrade
...
< Android 7.0 QR code scanning crashes
2021-10-28 17:58:31 +02:00
ganfra
edf068ee57
Flow migration: use throttleFirst instead of sample on UI
2021-10-28 17:36:29 +02:00
Adam Brown
73995eb7bd
downgrading zxing library as it has a known crash on android versions below 7.0
2021-10-28 16:18:34 +01:00
Onuray Sahin
a5a3a817e1
Merge branch 'develop' into feature/ons/poll
...
* develop: (129 commits)
Improve Rx sequence regarding listener
adding changelog entry
using correct license for matrix-sdk test
extending the room name resolved to create a dedicated room name data class which contains a normalized version of the room name
Remove shortcut as soon as a PIN code is set
ensuring the store migration class is always equal to other store migration instances - is needed as realm will throw if multiple migration instances are created and they don't match
removing extra query definition by chaining the query creation with modifiers
removing noisy log which duplicates a type clause and fixing when casing formatting to have a case per line
documenting the different query cases
making the isNormalized function an extension and internal to the sdk
Cache immutable value
Do not show shortcuts if a PIN code is set
Remove (disable) shortcut if a room is left
Ensure ShortcutsHandler get all the joined rooms #4168
Add `sortOrder: RoomSortOrder` parameter, with no API break
Clean code
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
adding normalisation to the query string cases
making value processing an injectable class, it will need to have its own dependencies to support normalisation
porting QueryStringValue to sealed interface with a sub category for the content based values - allows for handling those cases separately for normalisation
...
# Conflicts:
# vector/src/main/java/im/vector/app/core/di/ScreenComponent.kt
2021-10-28 18:05:10 +03:00
Adam Brown
14538a71d0
updating consent copy to use latest variation
2021-10-28 15:56:08 +01:00