262 Commits

Author SHA1 Message Date
Doug
6818be1afc Update UI tests for Xcode 16. 2024-09-23 16:25:49 +01:00
Stefan Ceriu
664e87fe87
Switch license to AGPL (#3237)
* Switch license file to AGPL

* Update file copyright headers

* Update the default project file header
2024-09-06 16:34:30 +03:00
Stefan Ceriu
d66ff02d12 Revert "Fix timeline item highlighting UI test"
This reverts commit eac2552ab5934e3bc9f1d960f8ea35416f77cfd2.
2024-05-14 16:04:16 +03:00
Doug
b7d492c206
Add Forgot PIN button to AppLockSetupPINScreen. (#2833) 2024-05-13 15:41:35 +01:00
Stefan Ceriu
a401976b2b Enable room list invites by default and remove old code paths 2024-05-09 19:01:57 +03:00
Stefan Ceriu
636274df74
Seamlessly switch for the RichTextEditor based message composer to the… (#2753)
* Seemlesly switch for the RichTextEditor based message composer to the plain one depending on whether formatting options are enabled or not.

* Address PR comments

* Fixes #2803 - Add extra padding at the bottom of the composer suggestions list

* Update preview test snapshots

* Update UI test snapshots
2024-05-08 17:57:32 +03:00
Stefan Ceriu
a08b4842d1 Fixes #2790 - Reorder available composer menu actions 2024-05-07 17:52:45 +03:00
Stefan Ceriu
eac2552ab5 Fix timeline item highlighting UI test 2024-05-07 16:55:39 +03:00
Doug
d067e844da
Permalink polish (#2771)
* Fix unbalanced padding.

* Animate the scroll to an event when it is already loaded.

* Perform the timeline clearance immediately before replacing the items.
Hides the empty timeline that was briefly shown.

* Make switching timeline more resilient.
2024-05-02 17:51:38 +01:00
Doug
7c94ed98a5
Permalink Tweaks 2 (#2766)
* Missing changelog.

* Parse bare room aliases as permalinks.

Update the SDK.

* Fix tapping the same permalink twice.

Add a test.

Don't clear the focussed item when reaching the bottom of the timeline.

* Make sure sending a message returns to live.
2024-04-29 17:32:16 +01:00
Doug
7b2168a540
Event Permalink Tweaks (#2754)
* Handle errors focussing the timeline.

* Add a test for focussing on an existing timeline item.
2024-04-29 10:00:41 +01:00
Doug
76e7de40b5
Prepare for event focus and forward pagination (#2745)
Neither are available yet.
2024-04-25 18:32:33 +01:00
Doug
b5f1d5947b
Add missing image provider to RoomChangeRolesScreenViewModel. (#2715)
* Add an assertion for a missing image provider.

* Pass an image provider to RoomChangeRolesScreenViewModel.

* Update snapshots.
2024-04-19 11:56:41 +01:00
Doug
0856891733
Final design for pending members when changing roles. (#2668)
* Final design for pending users when changing role.

* Remove room moderation feature flag.

* Fix tests.

* Run periphery.

* Update snapshots.
2024-04-09 12:00:11 +01:00
Doug
181753e43d
Update appearance of admins when changing moderators. (#2654) 2024-04-05 12:19:46 +01:00
Stefan Ceriu
a730689b1f Various reliability tweaks for the UI and integration tests. 2024-04-01 12:27:54 +03:00
Stefan Ceriu
0e3630fca1 Fix UI test snapshots 2024-03-27 17:59:40 +02:00
Stefan Ceriu
92eaa7075a
UI test cleanup (#2598)
* Stop running the UI tests on the double localized pseudolanguage

* Fix UI tests signalling comms problem because the json key ordering wasn't defined and the messages wouldn't match.

* Remove UI tests that are now the same as preview tests (i.e. non flow based, only screen based), fixed the rest so they run on iOS 17.2, the iPhone 15 and iPad 10th gen simulators.

* Remove unnecessary gitignore instructions, change UI test snapshot naming convention to be more similar to the unit test ones

* Enable derived data and spm checkout caching for UI tests

* Switch UI tests back to the perf-only runner, moved the integration tests to the iPhone 15 Pro simulator.

* Address PR comments
2024-03-25 17:34:11 +02:00
Doug
f9f163ff78
Fix UI test snapshots. (#2582) 2024-03-19 15:29:16 +00:00
Doug
3ba34c0704
Final changes for Room Moderation (#2576)
* Add confirmation that the user would like to discard unsaved changes.

* Update string on permissions screen.

* Fix UI tests and update snapshots.

* Fix integration tests.

* Run periphery for Moderation feature.
2024-03-15 13:41:23 +00:00
Stefan Ceriu
5944550721
In preparation of FTUE changes... (#2556)
* Remove the welcome screen

* Allow the UserSessionFlowCoordinator to control the whole app hierarchy, not only its splitView

* Start using the new verification state listener

* Rename Onboarding to AuthenticationStart in preparation for the new OnboardingFlowCoordinator; update snapshots and tests

* Make the AuthenticationCoordinator a proper FlowCoordinator

* Add some padding around the authentication start screen report a problem button

* Bump the RustSDK to v1.1.49

* Only add bottom padding on the authentication start screen report a problem button
2024-03-13 11:24:48 +02:00
Doug
71721f01b1
Moderation tweaks (#2548)
* Only allow admins to see the roles and permissions screen.

* Hide the selection checkbox on Admins when changing roles.

* Show an empty state for banned users.

* Add separate actions for ban and remove.

* Implement reset permissions and demote self alerts.

* Add tests for resetting permissions and demoting self.

* Add a warning when promoting someone to administrator.
2024-03-11 14:19:53 +00:00
Doug
5ec63e901d
Add RoomRolesAndPermissionsFlowCoordinator. (#2539) 2024-03-08 12:25:43 +00:00
Mauro
c66ddfb71e
Filters, Mark Unread/Read/Favourites FF removals + code and tests clean up (#2541) 2024-03-07 17:56:09 +01:00
Stefan Ceriu
7615e97c7f
Fixes #2486 - Implement blocked users management in the app settings 2024-02-28 13:21:54 +02:00
Doug
873438b29d
Update translations (#2499)
* Update translations

* Fix snapshots are changes to base strings.
2024-02-26 17:00:51 +00:00
Stefan Ceriu
6d9271ce59 Fixes #2320 - Implement support for (un)marking rooms as favourite from the room list and room detail screens 2024-02-19 17:51:43 +02:00
Stefan Ceriu
2f983d6ecc Fix UI test snapshots following the introduction of the typing indicator. 2024-02-14 17:36:25 +02:00
Doug
cc1d9cad58
Use new decorative colours for avatars and displaynames. (#2438) 2024-02-09 11:15:57 +00:00
Stefan Ceriu
1304f670c8 Fix session verification localized emoji snapshots 2024-02-08 11:13:08 +02:00
Stefan Ceriu
b075ddb047
Fixes #2414 - Move member loading to the room member detail screen, avoid blocking the whole application 2024-02-07 07:31:25 +00:00
Stefan Ceriu
ffbfdfa96e Fix flakey app lock setup pin screen pin entry typing 2024-01-26 17:59:58 +02:00
Stefan Ceriu
f0d971c1ab Move the account migration screen to within the room list 2024-01-26 15:35:05 +02:00
Stefan Ceriu
119fa09617 #2380 - Add simple call screen UI test 2024-01-26 11:48:48 +02:00
Stefan Ceriu
680c6ef3aa Update user session test snapshots following room badge changes 2024-01-23 13:59:45 +02:00
Stefan Ceriu
31286c75fc
Fixes #734 - Add a "View logs" option to the report a problem screen
Move bug report and log viewer responsibility to a separate flow coordinator. Reuse it as a child coordinator in the authentication, userSessionFlow and settings flow coordinators.
2024-01-23 10:13:48 +02:00
Stefan Ceriu
0fe52fe54b Allow reporting a problem from the onboarding screen 2024-01-22 14:17:36 +02:00
Stefan Ceriu
46575d3285 Revert previous poll UI test keyboard dismissal change as it doesn't work on iPhones. 2024-01-09 11:15:14 +02:00
Stefan Ceriu
90eb426832
UI test fixes (#2309)
* Fix settings screen screenshots

* Fix user session test snapshots

* Fix poll creation form UI test after moving to textViews instead of textFields

* Add missing room member details snapshot

* Update the home screen avatar snapshot as the badge is not shown anymore

* Dismiss the keyboard on the poll form when inserting a new line on a poll option
2024-01-08 16:02:29 +00:00
Stefan Ceriu
d338fd0e05 Fixes #2269 - Wrong text color on the server confirmation screen subtitle 2024-01-08 11:48:28 +02:00
Nicolas Mauri
72a84badcb
Polls history (#2244) 2023-12-18 15:38:39 +00:00
Stefan Ceriu
4ac0ad51d7 Attempt fixing the UI tests 2023-12-18 15:15:43 +02:00
Mauro
123164f398
Removing dead code part 2 (#2235)
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2023-12-15 20:16:16 +01:00
Doug
669141b119
Fix UI tests and Release builds. (#2248)
* Fix PollFormScreen UI tests.

* Fix compilation error on release builds.
2023-12-14 15:09:29 +00:00
Mauro
d99d26fcdc
Removing Dead Code part 1 (#2234) 2023-12-13 09:51:57 +01:00
Stefan Ceriu
a78dea392f
Fix UI tests for AppLock flow and Start Chat flow. Regenerate outdated screenshots (#2226) 2023-12-12 14:08:27 +00:00
Doug
c7531be44c
Add toggle not invite notifications. (#2207) 2023-12-06 09:53:10 +00:00
Doug
5586405c4f
Make the attachment menu an actual menu. (#2199)
There was a bug with the sheet/popover when overriding the colour scheme where the button renders in light mode when the app is in dark mode.
2023-12-05 11:14:16 +00:00
Doug
6905ac5f70
Use ListRow in InviteUsersScreen and MessageForwardingScreen. (#2196)
* Use ListRow in InviteUsersScreen and MessageForwardingScreen.

* Remove button styles and fix snapshots.
2023-12-04 14:47:43 +00:00
Doug
df89e43f89
Use ListRow on PollFormScreen. (#2183) 2023-11-29 09:57:35 +00:00