Adam Brown
528c5a3671
adding warning when the signout flow is unexpected
2021-11-08 17:08:53 +00:00
Benoit Marty
9ebc234e8e
Merge pull request #4428 from vector-im/feature/fre/fix_optional_npe
...
Fix potential NPE on Optional objects
2021-11-08 16:37:24 +01: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
431f060209
add changelog entry
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
4597cb3816
add changelog entry for breaking API change
2021-11-08 15:24:08 +00:00
Adam Brown
7646f7ce32
updating copyright header
2021-11-08 15:24:08 +00:00
Adam Brown
037d1fcf52
adding catch around the push event dispatching to match previous behaviour
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
9e9698520a
updating synapse start script to also override the homeserver url and fixing wrong argument placement
2021-11-08 15:18:29 +00:00
Adam Brown
75f8023cb3
running the sanity test on the hardware accelerating osx runner, will drastically reduce the run time and be more reliable
2021-11-08 15:14:18 +00:00
Adam Brown
48ebb8e416
scheduling the sanity tests to run nightly instead of via push
2021-11-08 15:11:25 +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
2d1aed1839
separating the stopping of in-flight tasks form the cleaning up of the session state
...
- by stopping the session tasks before invalidating the current session we're able to avoid any extra token failures which retrigger the signout flow
2021-11-08 14:50:58 +00:00
Adam Brown
52731cf59d
double checking the sync state in order to avoid redundant invalid token events
2021-11-08 14:50:58 +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
Adam Brown
9b4cd3c3c4
resetting the session access token after releasing the current session, fixes missing session sign out error
...
- the sign out step was invaliding the in flight access token which causes the global error handler to trigger an extra sign out
2021-11-08 14:50:58 +00:00
Florian Renaud
8140d90826
Fix potential NPE on Optional objects
2021-11-08 15:48:33 +01: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
3837f8e2e3
Add changelog.d item
2021-11-06 13:11:38 -04: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
Benoit Marty
be932a8a03
Merge pull request #4373 from vector-im/dependabot/gradle/io.realm-realm-gradle-plugin-10.8.1
...
Bump realm-gradle-plugin from 10.8.0 to 10.8.1
2021-11-05 16:00:02 +01: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