Commit graph

245 commits

Author SHA1 Message Date
Benoit Marty
d10e43e3e1 Remove stopping the gradle daemon, also it was not done at the correct place. 2024-03-07 15:27:15 +01:00
Benoit Marty
09996a6ae3 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
cc6aeb057e Add a script to check invalid screenshot(s). 2024-03-07 13:49:58 +01:00
Jorge Martin Espinosa
b9d902e3fe
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
bc394c2e24 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
b921991b1a Format XML resource: ignore empty Node (which is different than empty String). 2024-02-29 10:08:15 +01:00
Benoit Marty
a4207d9bc9 Do not redirect output of commands to /dev/null. 2024-02-29 10:08:03 +01:00
Benoit Marty
609abee809 Generate screenshots for foreign languages ("de" and "fr" for now). #2454 2024-02-28 14:30:34 +01:00
Benoit Marty
200243d19a 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
cdf89adcd2
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
917fc12c26 Add script to sort XML resource by names. 2024-02-23 17:45:22 +01:00
Jorge Martin Espinosa
d06e5c23cb
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
de395ba2e1 Update message sent to the room. 2024-01-31 11:09:16 +01:00
Benoit Marty
275e03c92b Release script: Add a step to create the release on GooglePlay. 2024-01-31 11:07:29 +01:00
Benoit Marty
10b6085bf8 Release script: fix issue in filename (we have a gplay variant now) 2024-01-31 10:57:14 +01:00
Benoit Marty
e2c9389d36
Merge pull request #2213 from element-hq/feature/bma/fdroid
Feature/bma/fdroid
2024-01-17 16:17:41 +01:00
Jorge Martin Espinosa
27f55c0bc4
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
db6b52f8bf Update gradle tasks and paths regarding the new gplay and fdroid flavor. 2024-01-11 21:42:04 +01:00
renovate[bot]
c8bd362397
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
5cd3eb4833 Build library module too and make sure to build from scratch 2023-12-28 17:52:29 +01:00
Jorge Martín
d5c8b62178 Add build script for the RTE library 2023-12-28 12:03:23 +01:00
Jorge Martín
f49aa3fa94 Use regex instead, add example valid URL 2023-12-26 08:50:01 +01:00
Jorge Martín
4e50ea1fe9 Fix release script 2023-12-26 08:21:02 +01:00
Benoit Marty
8f286c8ce6
Merge branch 'develop' into julioromano/poll_history_entry_point 2023-12-14 17:34:49 +01:00
Benoit Marty
1af6bbb013
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
d27e9e5265
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
1cf1fda27c Only process content.json from Localazy. 2023-12-14 16:06:24 +00:00
Benoit Marty
664e8b6d5b
Merge branch 'develop' into julioromano/poll_history_entry_point 2023-12-14 16:58:23 +01:00
Benoit Marty
88f2ff3975 Fix script to work when SDK is located anywhere. 2023-12-13 18:02:06 +01:00
ganfra
863d156e4d Merge branch 'develop' into julioromano/poll_history_entry_point 2023-12-13 17:22:55 +01:00
Benoit Marty
b08b747abf Organization renaming: fix value danger file. 2023-12-13 09:54:34 +01:00
Benoit Marty
75d6eaf8f3 Organization renaming: replace all https://github.com/vector-im by https://github.com/element-hq 2023-12-13 09:40:07 +01:00
ganfra
a2c5cdf483 Poll history : use localazy strings 2023-12-12 14:36:07 +01:00
Benoit Marty
0b5a56e5b3 Add script to download SAS emoji from twemoji 2023-12-11 22:37:04 +01:00
Benoit Marty
80d8197691 Rename key of string for SAS emoji 2023-12-11 21:38:27 +01:00
Benoit Marty
5ea809e2de Merge branch 'develop' into feature/bma/emojiRepresentation 2023-12-08 19:51:07 +01:00
Benoit Marty
2bca187db0 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
0460081175 Fix issue with id resource folder. 2023-12-08 19:17:35 +01:00
Benoit Marty
a357293fcf Adapt to EXA 2023-12-06 14:22:57 +01:00
Benoit Marty
bd5e87331e Import script to import SAS string from Element Android 2023-12-06 14:12:37 +01:00
Benoit Marty
f7c79f9b89 Rename the folders values-id to values-in 2023-12-05 12:25:46 +01:00
Benoit Marty
b04c2bc39b Fix typos 2023-12-05 11:25:19 +01:00
ganfra
3efbf4747d StartDM : add tests 2023-11-30 18:05:26 +01:00
jonnyandrew
8fcec4a006
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
67ed385e45 Prevent usage of hard-coded string for contentDescription, and fix existing issues. 2023-11-21 15:38:21 +01:00
Benoit Marty
c25e01fe39 Read receipt: Cleanup 2023-11-16 14:05:00 +01:00
Benoit Marty
d380cff645 Simplify config for Localazy 2023-11-14 18:25:05 +01:00
Benoit Marty
eb6252bed3 Timeline: render TimelineItemReadMarkerModel 2023-11-14 18:10:26 +01:00
Benoit Marty
2cb0060f96 Add a View to show the beginning of the timeline (parity with iOS) 2023-11-14 17:31:42 +01:00
Benoit Marty
4f146d7a1c Localazy: move report_content strings to the :features:messages:impl module. 2023-11-14 11:37:21 +01:00