Commit Graph

113 Commits

Author SHA1 Message Date
Jorge Martin Espinosa
feef0f6976 Add full screen intent permissions banner (#3024)
* Add full screen intent permissions banner, creating `:libraries:fullscreenintent` modules.
* Add it to notification settings too:
    - Create `libraries:fullscreenintent` modules for the permission presenter and associated data.
    - Add the presenter and states to `NotificationSettingsPresenter` and `NotificationSettingsView`.
* Use the right API to check for full screen intent permissions.
- Use the right package name for `:libraries:permission` contents.
* Fix broken tests (flaky?)
* Ignore coverage verification for fake and small presenters

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-06-18 07:41:10 +00:00
Benoit Marty
38e0bb567c Fix warning: more redirection to end. 2024-06-11 17:58:24 +02:00
Benoit Marty
e2aa84804d Merge pull request #3000 from element-hq/sync-localazy
Sync Strings
2024-06-11 15:16:55 +02:00
Benoit Marty
554d11e133 Ignore "Element" in screen_incoming_call_subtitle_android strings 2024-06-11 14:39:37 +02:00
Benoit Marty
376a3d923d Ignore errors when moving files from values-id to values-in 2024-06-11 14:39:09 +02:00
Jorge Martin Espinosa
6f8de0b2c6 Element Call ringing notifications (#2978)
- Add `ActiveCallManager` to handle incoming and ongoing calls.
- Add ringing call notifications with full screen intents and missed call ones as part of the 'conversation' notifications.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-06-10 11:51:19 +02:00
Benoit Marty
b3b58f14d7 Remove strings screen_qr_code_login_.* from the ftue module. 2024-06-04 09:42:00 +02:00
Jorge Martin Espinosa
35702c04e9 Sign in with QR code (#2793)
* Add QR code login.
* Add FF to disable it in release mode.
* Force portrait orientation on the login flow.
* Create `NumberedList` UI components.
* Improve camera permission dialog.
* Make nodes in qrcode feature use `QrCodeLoginScope` instead of `AppScope`
* Bump SDK version.
* Fix maestro tests

---------

Co-authored-by: Benoit Marty <benoit@matrix.org>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-05-31 14:38:27 +02:00
Benoit Marty
bbb44db297 Translations: pt -> pt-rBR 2024-05-27 14:51:32 +02:00
Benoit Marty
2e1acb9a13 Add case for "zh#Hans". 2024-05-13 12:11:30 +02:00
Benoit Marty
c64fb6f510 Add Explicit list of supported languages, generated from Localazy data. 2024-05-06 14:51:19 +02:00
Benoit Marty
66cfaf97c9 Open user profile and room with event from permalink 2024-05-02 12:25:21 +02:00
Benoit Marty
866bfed218 Move InviteSender to :library:matrixui module. 2024-04-18 15:00:49 +02:00
Benoit Marty
8082330bc5 Use string from Localazy. 2024-04-18 00:04:27 +02:00
ganfra
36f0dfa694 RoomList : invite row 2024-04-15 21:42:39 +02:00
ganfra
1dcdc713a4 Merge pull request #2695 from element-hq/feature/fga/room_navigation
Room navigation
2024-04-15 12:55:29 +02:00
Benoit Marty
152d69ccf4 Convert forbiddenTerms to a dict, and improve the output format. 2024-04-10 17:04:08 +02:00
ganfra
d07df2319b Merge branch 'develop' into feature/fga/room_navigation 2024-04-10 16:55:55 +02:00
Benoit Marty
d9957a4d25 Delete config sooner in the script.
It will give more visibility on errors if any.
2024-04-10 12:36:00 +02:00
Benoit Marty
045402cf18 Localazy: search for forbidden term ("Element" for now) 2024-04-10 12:34:40 +02:00
Jorge Martin Espinosa
3436351619 Improve session recovery screens (#2657)
* Improve enter recovery key screen UI

* Add instructions to reset the encryption of the logged in account.

* Update screenshots

* Fix maestro flow

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-04-09 17:01:06 +00:00
ganfra
23604e0549 Room navigation : import join room strings 2024-04-09 15:53:25 +02:00
ganfra
28361be6e8 Room navigation : rename module invitelist to invite 2024-04-08 17:22:13 +02:00
Jorge Martin Espinosa
8b335a9125 Move session verification to FTUE flow, make it mandatory (#2594)
* Move session verification to the FTUE
* Allow session verification flow to be restarted
* Use `EncryptionService` to display session verification faster
* Remove session verification item from settings
* Remove session verification banner from room list
* Remove 'verification needed' variant from the `TimelineEncryptedHistoryBanner`
* Improve verification flow UI and UX
* Remove 'verification successful' snackbar message
* Only register push provider after the session has been verified
* Hide room list while the session hasn't been verified
* Prevent deep links from changing the navigation if the session isn't verified
* Update screenshots
* Renamed `FtueState` to `FtueService`, created an actual `FtueState`.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-04-03 14:53:17 +00:00
Benoit Marty
7945297a28 Create dedicated module for notification troubleshoot. 2024-04-02 18:12:36 +02:00
Benoit Marty
a3253bbe5c Localize Troubleshoot notification feature. 2024-04-02 16:15:04 +02:00
ganfra
6fd3f9c5f1 Room directory : more cleanup and more tests 2024-03-28 18:10:29 +01:00
Benoit Marty
471242bb99 Update config.json. 2024-03-13 09:58:37 +01:00
Benoit Marty
f521be9d0f Redirect error stream to /dev/null. 2024-03-12 16:28:50 +01:00
Benoit Marty
f9efa9f357 Add explicit includeRegex to avoid string duplication. Importing "screen_room_.*" was not filtering enough, and excludeRegex was not complete enough. 2024-03-12 16:21:09 +01:00
Jorge Martin Espinosa
6a75be7bf0 Room admins can change user roles (#2423)
Allow Admins to modify room member roles:

- Add a 'roles and permissions' option for each room.
- Allow promoting users to admins, adding or removing moderators, and demote yourself if you're and admin.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-03-05 16:46:47 +00:00
Benoit Marty
062143012c Format XML resource: ignore empty Node (which is different than empty String). 2024-02-29 10:08:15 +01:00
Benoit Marty
89df5380fc Do not redirect output of commands to /dev/null. 2024-02-29 10:08:03 +01:00
Benoit Marty
c61fcabd76 Localazy post treatment: unbreakable space before punctuation and ellipsis char, correct apostrophe char for French ellipsis. 2024-02-26 21:36:13 +01:00
Jorge Martin Espinosa
f0700f9904 Show blocked users list (#2437)
* Show blocked users list.

Also allow to unblock them from this list.

* Add non-blocking `AsyncIndicatorHost` component

* Use `StateFlow` for getting ignored users.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-02-26 15:24:22 +00:00
Benoit Marty
d0a457d751 Add script to sort XML resource by names. 2024-02-23 17:45:22 +01:00
Jorge Martin Espinosa
6f082232d3 Move migration screen to within the room list (#2361)
* Rename migration bg drawable and add night variant
* Move `migration` package from `ftue` to `messages:impl` module
* Update `SunsetPage` with light and dark modes
* Fix bloom colors when nested theme is used
* Integrate the migration screen in the room list
* Fix `WaitListView` cancel button color
* Clear migration store when removing the app's cache

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-02-08 10:01:08 +00:00
Jorge Martin Espinosa
64a18afc1b Replace 'leave room' text with 'leave conversation' for DMs (#2231)
* Replace 'leave room' text with 'leave conversation' for DMs

* Add `isDm` property to both `RoomSummary` and `RoomListRoomSummary`

* Remove redundant `leave_conversation_alert_subtitle_*` texts

* Fix maestro flow

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-01-16 15:49:44 +01:00
Benoit Marty
4d3c6632cd Merge branch 'develop' into julioromano/poll_history_entry_point 2023-12-14 17:34:49 +01:00
Benoit Marty
0d3092f71b Merge pull request #2031 from pixlwave/doug/localazy-files
Only download content.json from Localazy.
2023-12-14 17:16:41 +01:00
Jorge Martin Espinosa
3ba75962e6 Add warning message to 'mentions and keywords only' notification option (#2028)
* Add warning message to 'mentions and keywords only'

 It should be displayed when it's not supported by the homeserver

* Only display disclaimer in the room notification settings if the room is encrypted

Co-authored-by: Benoit Marty <benoit@matrix.org>

* Fix test and add another one

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
Co-authored-by: Benoit Marty <benoit@matrix.org>
2023-12-14 16:15:39 +00:00
Doug
20fed25391 Only process content.json from Localazy. 2023-12-14 16:06:24 +00:00
ganfra
72cdc0eee0 Merge branch 'develop' into julioromano/poll_history_entry_point 2023-12-13 17:22:55 +01:00
ganfra
e5080765b2 Poll history : use localazy strings 2023-12-12 14:36:07 +01:00
Benoit Marty
8c24a5794d Fix issue in script to download string regarding moving folders values-id to values-in
Move file and delete unwanted folder to avoid deleting other files.
2023-12-08 19:24:35 +01:00
Benoit Marty
ba1cbf8a80 Rename the folders values-id to values-in 2023-12-05 12:25:46 +01:00
Benoit Marty
44aef16f39 Fix typos 2023-12-05 11:25:19 +01:00
ganfra
cd28687eb4 StartDM : add tests 2023-11-30 18:05:26 +01:00
jonnyandrew
634d8167ea Allow polls to be edited (#1869)
Polls can be edited if they do not have any votes

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-11-24 16:47:58 +00:00
Benoit Marty
46cf4195b2 Simplify config for Localazy 2023-11-14 18:25:05 +01:00