Commit Graph

461 Commits

Author SHA1 Message Date
Benoit Marty
72b3decf4c Detekt: enable rule exceptions.SwallowedException and fix existing issue. 2025-12-05 09:45:23 +01:00
Benoit Marty
a9afa59053 Update detekt rules after updating compose.rules to version 0.5.1. 2025-12-05 09:33:21 +01:00
ganfra
2e7355e789 change(room details edit): move to his own module 2025-12-03 14:30:05 +01:00
ganfra
df89b5b9ac change(security and privacy) : extract code to a separate module 2025-11-26 12:32:06 +01:00
ElementBot
cd9a0272c5 Sync Strings (#5792)
* Sync Strings from Localazy

* Update localazy config and sync strings.

* Use the new localazy key.

* Sync strings again

* Sync strings again and fix compilation issue.

* Update screenshots

---------

Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org>
2025-11-24 17:28:49 +01:00
Jorge Martin Espinosa
e428e10ed6 Use regex to check forbidden terms. (#5784)
We were returning and `Elementul` as a match for the forbidden term `Element`. It now checks for the full word.
2025-11-21 17:01:01 +01:00
Benoit Marty
6dd008948b Fix Javascript issue. 2025-11-17 18:05:29 +01:00
Benoit Marty
8a0bada50c vector-im -> element-hq 2025-11-17 18:04:54 +01:00
Benoit Marty
7f199db5ef Update notification content 2025-11-14 15:40:31 +01:00
Benoit Marty
5157d3e532 Copyright: Add missing headers 2025-11-10 11:05:31 +01:00
Benoit Marty
1292da2a72 Copyright: Add Element Creations Ltd. copyright 2025-11-10 11:05:05 +01:00
Benoit Marty
b748fcc631 Copyright: Add final period 2025-11-10 10:13:41 +01:00
Benoit Marty
0a0224b586 Copyright: run command uv run license-editor --repository ../element-x-android 2025-11-10 10:09:26 +01:00
Benoit Marty
b37979d003 Update the template to use the singular form for Event interface. 2025-11-07 13:39:56 +01:00
Benoit Marty
4e25a568ac Update the template. 2025-11-07 12:44:59 +01:00
ganfra
602c32fb9a change(roles and permissions): change title for space 2025-11-05 21:42:51 +01:00
ganfra
79cf41d59c Merge branch 'develop' into feature/fga/role_and_permissions_rework 2025-11-05 20:29:04 +01:00
ganfra
3b5c2bb8eb change(roles and permissions): fix localazy strings 2025-11-03 18:35:18 +01:00
ganfra
2d8f491cfd feature(space) : update some strings 2025-10-31 15:01:03 +01:00
Benoit Marty
e70d767183 Remove context(parentNode: Node) and provide the parent Node as a parameter. 2025-10-31 12:04:57 +01:00
Benoit Marty
05c5f3c914 Use context parameter for the parentNode 2025-10-30 16:32:53 +01:00
Benoit Marty
566515ca88 Remove NodeBuilder to ensure that Params and Callback are always provided. 2025-10-30 16:32:52 +01:00
Benoit Marty
d99423f5b1 Cleanup template. 2025-10-22 19:12:48 +02:00
Benoit Marty
826cacf209 Remove @Inject, not necessary anymore when class is annotated with @ContributesBinding 2025-10-22 18:52:37 +02:00
Benoit Marty
bd177084a5 Remove comment. Default values will be detected by the existing Konsist test Data class state MUST not have default value 2025-10-14 14:31:19 +02:00
Benoit Marty
339f40e22a Revert "Let the CI reveal all the error that I do not see locally for compilation cache reasons."
This reverts commit d1698034be.
2025-10-10 11:49:15 +02:00
Benoit Marty
d1698034be Let the CI reveal all the error that I do not see locally for compilation cache reasons. 2025-10-10 10:28:15 +02:00
Benoit Marty
b282e310c3 Make error message more visible 2025-10-10 09:45:10 +02:00
Benoit Marty
bc2b77d269 Add a script to check stability of State classes
tom script
2025-10-09 18:22:14 +02:00
Benoit Marty
8cdc2b1dc3 Update Localazy config and sync all the strings. 2025-10-07 15:53:53 +02:00
Jorge Martin Espinosa
0659174735 Add Labs screen for beta testing of public features (#5465)
* Add Labs screen:

- Make `Feature` have an `isInLabs` boolean to distinguish private feature flags from public ones.
- Have `FeatureFlagsService` provide the list of available flags.
- Display the labs item in the settings screen only if there are available public features.
- Remove public feature toggles from developer options.
- Implement the labs screen with the public features.
- Add a clear cache step to the threads feature toggle
- Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2025-10-07 10:02:54 +00:00
Benoit Marty
517f990cb0 Update compound scripts.
Ensure drawable folder is emptied before importing tokens and import again.
2025-10-05 21:01:14 +02:00
Benoit Marty
b2bb4dcee3 Import Compound scripts from project https://github.com/element-hq/compound-android 2025-10-03 18:25:49 +02:00
Benoit Marty
e40451463b Announcement for Spaces 2025-10-03 00:15:27 +02:00
Benoit Marty
bc465d724a Leave space - Add screen to leave a space. 2025-09-26 14:14:00 +02:00
renovate[bot]
c1cd259ce7 Update metro to v0.6.7 (#5416)
* Update metro to v0.6.7

* Replace `@Inject` with `@AssistedInject` where needed

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2025-09-26 08:16:36 +00:00
Benoit Marty
6ddee60c5b Adding fastlane file for version 25.09.2 2025-09-24 14:35:33 +02:00
Benoit Marty
c4d7d42141 Add notification troubleshoot test about blocked users. 2025-09-23 08:59:40 +02:00
Benoit Marty
2ffb0f8581 Remove empty line. 2025-09-16 14:38:32 +02:00
Benoit Marty
629fc552e5 Use DependencyHandlerScope.testCommonDependencies() 2025-09-16 14:38:31 +02:00
Benoit Marty
55ee04aab1 Release script: read the build tool version from Versions.kt 2025-09-10 11:33:38 +02:00
Benoit Marty
4e720cecb1 Rename anvil modules to annotations and codegen 2025-09-05 14:26:27 +02:00
Jorge Martín
92a4b8b66b Start migrating Anvil KSP to Metro 2025-09-04 16:48:34 +02:00
Benoit Marty
8e37d16f9f Merge pull request #5166 from element-hq/feature/fga/create_room_flow_rework
Create room flow rework
2025-08-18 09:38:28 +02:00
Benoit Marty
08f869c6f9 Build release with build tools from SDK 36 and add a not to not forget last time we update the value of COMPILE_SDK 2025-08-14 14:31:22 +02:00
Benoit Marty
0be9e4cd66 Use string from Localazy. 2025-08-14 11:46:28 +02:00
Benoit Marty
58a3ec767b Cleanup Localazy config and do a sync. 2025-08-13 17:41:44 +02:00
ganfra
1170a44116 refactor (start chat) : start splitting things (create room, invite people, start chat) 2025-08-13 11:06:42 +02:00
Jorge Martin Espinosa
a170d80cb3 Add media file limit size warning and media quality selection (#5131)
* Add `VideoCompressorPreset` enum

This represents the different compression presets used for processing videos before uploading them

* Add `VideoCompressorHelper` util class to calculate the scaled output size of the video given an input size and its optimal bitrate

Also add `MediaOptimizationConfig` which will be used to decide how to apply compression in `MediaPreProcessor`

* Add `RustMatrixClient.getMaxFileUploadSize()` function and `MaxUploadSizeProvider` so we can import only this functionality into other components

* Try preloading the max file upload size the first time we get network connectivity - it's a best effort

This should help ensure we'll have this value available later, even if we still need to load it asynchronously.

* Split the `compressMedia` preference into `compressImages` and `compressMediaPreset`

* Modify the media processing parts to use the new classes and utils

* Add `MediaOptimizationSelectorPresenter`, which will retrieve the compression values and the max file upload size, also estimating the compressed video file sizes if needed.

* Add a feature flag to allow selecting the media upload quality per upload

* Integrate the previous changes with the attachments preview screen

Add strings from localazy too.

* Adapt the rest of the app calls to upload media to using the media optimization configs

* Allow modifying the default compression values in advanced settings, based on the feature flag value

* Pass the `fileSize` in `MediaUploadInfo` too, to be able to check it against the `maxUploadSize`

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2025-08-11 17:22:46 +02:00
Jorge Martin Espinosa
955263bee1 Force last owner of a room to pass ownership when leaving (#5094)
* Move `ChangeRoles*` classes to their own module so they can be shared

* Hook the change roles screen to the leave room action, add confirmation dialogs

* Use enum instead of sealed interface for `ChangeRoomMemberRolesListType`

* Try to improve communications between nodes

* refactor (leave room) : makes sure to expose only necessary code from api module

* Add `:libraries:previewutils` module to share some test fixtures used for UI previews

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
Co-authored-by: ganfra <francoisg@matrix.org>
2025-08-05 17:24:14 +02:00