Commit Graph

258 Commits

Author SHA1 Message Date
Benoit Marty
152d69ccf4 Convert forbiddenTerms to a dict, and improve the output format. 2024-04-10 17:04:08 +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
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
Benoit Marty
c7fa94e58f Add the Dark version to the data.js file and render it in the webpage. 2024-03-08 12:07:26 +01:00
Benoit Marty
aebef7a60d Use full path, to be compatible both on localhost and on GitHub page. 2024-03-08 10:00:31 +01:00
Benoit Marty
993c03a0e2 Remove stopping the gradle daemon, also it was not done at the correct place. 2024-03-07 15:27:15 +01:00
Benoit Marty
1e13319f95 Add a script to generate the screenshots for all the available languages.
Change the format of data.js generated file.
Add Fragment to the URL to limit the number of displayed languages.
Add a checkbox to display all screenshots or not.
2024-03-07 14:37:16 +01:00
Benoit Marty
1b3bf575b1 Add a script to check invalid screenshot(s). 2024-03-07 13:49:58 +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
537074bee3 Simple Html page to view all the screenshots.
Do not delete the whole screenshots folder, but just delete per language when the screenshots are generated.

Generate the data.js file regarding the existing screenshots, to be able to add languages.
Also the language will be sorted alphabetically (English still first).
And the screenshot will be sorted alphabetically.

Update the script to generate screenshot for specific language on demand.
2024-03-01 15:10:18 +01: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
bdcd515485 Generate screenshots for foreign languages ("de" and "fr" for now). #2454 2024-02-28 14:30:34 +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
Benoit Marty
ced7f5cdc6 Update message sent to the room. 2024-01-31 11:09:16 +01:00
Benoit Marty
41237de47d Release script: Add a step to create the release on GooglePlay. 2024-01-31 11:07:29 +01:00
Benoit Marty
5f1e6f3c01 Release script: fix issue in filename (we have a gplay variant now) 2024-01-31 10:57:14 +01:00
Benoit Marty
997629294e Merge pull request #2213 from element-hq/feature/bma/fdroid
Feature/bma/fdroid
2024-01-17 16:17:41 +01: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
345b7e9ab6 Update gradle tasks and paths regarding the new gplay and fdroid flavor. 2024-01-11 21:42:04 +01:00
renovate[bot]
7e9cda3aa9 Update plugin ktlint to v12.1.0 (#2200)
* Update plugin ktlint to v12.1.0

* Run `./gradlew ktlintFormat` and fix some issues manually.

* Fix other issues reproted by Ktlint

* Limit false positives, KtLint removes unnecessary curly brace in String templates.

* Remove useless Unit

* Minor improvements over ktlint changes

* Restore `AlertDialogContent` behaviour

* Update screenshots

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-01-10 16:22:24 +01:00
Jorge Martín
6bfbd27674 Build library module too and make sure to build from scratch 2023-12-28 17:52:29 +01:00
Jorge Martín
770668589b Add build script for the RTE library 2023-12-28 12:03:23 +01:00
Jorge Martín
2ae18f8246 Use regex instead, add example valid URL 2023-12-26 08:50:01 +01:00
Jorge Martín
bd8dba5e40 Fix release script 2023-12-26 08:21:02 +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
Benoit Marty
6bf416045d Merge branch 'develop' into julioromano/poll_history_entry_point 2023-12-14 16:58:23 +01:00
Benoit Marty
407b4bd3c7 Fix script to work when SDK is located anywhere. 2023-12-13 18:02:06 +01:00
ganfra
72cdc0eee0 Merge branch 'develop' into julioromano/poll_history_entry_point 2023-12-13 17:22:55 +01:00
Benoit Marty
97f2e98067 Organization renaming: fix value danger file. 2023-12-13 09:54:34 +01:00
Benoit Marty
17616d6fc3 Organization renaming: replace all https://github.com/vector-im by https://github.com/element-hq 2023-12-13 09:40:07 +01:00
ganfra
e5080765b2 Poll history : use localazy strings 2023-12-12 14:36:07 +01:00
Benoit Marty
fb027a8318 Add script to download SAS emoji from twemoji 2023-12-11 22:37:04 +01:00
Benoit Marty
f306c104f9 Rename key of string for SAS emoji 2023-12-11 21:38:27 +01:00
Benoit Marty
6baeac9056 Merge branch 'develop' into feature/bma/emojiRepresentation 2023-12-08 19:51: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