Commit graph

57 commits

Author SHA1 Message Date
Valere
bb50d3eb96 crypto: Add configuration flag to enable invisible crypto 2024-09-12 14:53:59 +02:00
Valere
d059474998 Doc | Remove outdated comment about flags default values 2024-09-12 11:51:43 +02:00
ganfra
5dab1fdf4d Pinned messages : enabled by default 2024-09-10 13:56:00 +02:00
Benoit Marty
f61df38e55 Migrate license to AGPL.
Run script `uv run license-editor --repository ../element-x-android`
2024-09-06 17:19:19 +02:00
Benoit Marty
ad646c9098 Remove feature flag PictureInPicture 2024-08-27 18:41:40 +02:00
Benoit Marty
4c8f23a0cb Add feature flag for room alias suggestions, disabled by default. 2024-08-21 15:50:55 +02:00
Jorge Martin Espinosa
b16edcb62c
Enable sync on push feature flag to partially sync when notifications arrive (#3290) 2024-08-09 15:02:50 +02:00
ganfra
cbae8fdfd6 Merge branch 'develop' into feature/fga/pinned_event_feature_flag 2024-07-30 20:44:51 +02:00
ganfra
2e7321c2eb Sync on push : add featureflag 2024-07-30 17:37:50 +02:00
ganfra
183e392fe9 Pinned event : create the feature flag 2024-07-25 21:04:35 +02:00
Benoit Marty
d27e86f396 Call in PiP: add feature flag, disabled in release builds. 2024-07-15 16:48:39 +02:00
Jorge Martin Espinosa
32a374d836
FFs can now be toggled in release builds too (#3101)
- Removed `StaticFeatureFlagProvider`.
- Always provide `PreferencesFeatureFlagProvider`.
- For the default values of feature flags, use a lambda with a `BuildMeta` parameter so we can customize the return value based on its data.
2024-07-02 16:06:42 +00:00
Benoit Marty
e619fefb7f Add a flag to enable or disable incoming share 2024-06-06 12:34:05 +02:00
Jorge Martin Espinosa
c8bd04ceb1
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
643acb17b6 Render data of blocked users (behind deactivated feature flag). 2024-05-28 14:33:21 +02:00
Benoit Marty
268c196e35 Remove flag RoomListFilters.
This is also fixing the filter reset issue when going back to the room list.
2024-04-25 15:55:29 +02:00
Jorge Martin Espinosa
d0f26777da
Remove Room moderation feature flag (#2678)
* Remove the feature flag

* Add changelog

* Increase login timeout for Maestro
2024-04-09 17:53:07 +02:00
ganfra
8325583133 RoomDirectory : set default value of FeatureFlag to false. 2024-03-29 16:17:57 +01:00
ganfra
5f8b74055d RoomDirectory : address pr reviews 2024-03-29 11:37:00 +01:00
ganfra
6e8d0ded36 Room Directory Search : setup the feature 2024-03-20 12:59:02 +01:00
Jorge Martin Espinosa
97f2620997
Add room moderation feature flag (#2495) 2024-03-06 09:51:43 +01:00
ganfra
f18e8030bf Merge develop into feature/fga/room_list_filters 2024-02-22 11:15:43 +01:00
Benoit Marty
daa90a0660 Remove feature flag SecureStorage 2024-02-21 18:30:57 +01:00
ganfra
31988e81fa RoomListFilters: add feature flag 2024-02-20 12:36:20 +01:00
Benoit Marty
3e34461007 Mark as unread: add a feature flag, disabled on release build. 2024-02-08 11:49:14 +01:00
Benoit Marty
a83eaede1f Remove ReadReceipts feature flag. 2024-01-11 15:57:59 +01:00
Benoit Marty
fac04034f1 Enable Chat backup, Mentions and Read Receipt in release.
Also change default for debug to enabled, but keep `isFinished = false` for now, so that they are still disableable.
2023-12-21 16:44:54 +01:00
Benoit Marty
2c01d486e0 Feature: add a isFinished boolean to filter out features from developer options screen. 2023-12-13 14:51:50 +01:00
Benoit Marty
8ec9bc2b84 Read receipts: feature flag 2023-11-16 14:05:00 +01:00
Jorge Martin Espinosa
f752147837
Remove Element Call feature flag and revert base URL to call.element.io (#1809)
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-11-15 13:02:24 +00:00
Benoit Marty
5013ff061e Secure backup: create a feature flag (disabled) 2023-10-31 21:52:33 +01:00
ganfra
ed26c74627 LockScreen : enable the feature 2023-10-31 18:23:48 +01:00
Benoit Marty
f554fb8dcc Change FeatureFlagService.isFeatureEnabled return value from Boolean to Flow<Boolean> 2023-10-31 16:49:19 +01:00
Jorge Martin Espinosa
e64f822f5a
Enable Element Call integration in rooms by default (#1685)
Also change base url to `call.element.dev`.
2023-10-30 11:33:22 +00:00
Marco Romano
c3cbf4de96
Default enable voice message feature flag (#1669)
:party
2023-10-27 15:16:32 +00:00
Jorge Martin Espinosa
44de6adb86
Initial support for member suggestions (#1631)
* Initial support for member suggestion (search and UI)

* Add custom `BottomSheetScaffold` implementation to workaround several scrolling bugs

* Start searching as soon as `@` is typed, add UI following initial designs

* Extract suggestion processing code

* Extract component, add previews, fix tests

* Add tests

* Add exception from kover to the forked bottom sheet code

* Add a feature flag for mentions

- Extract composer & mention suggestions to their composable.
- Extract mentions suggestions processing to its own class.
- Add `MatrixRoom.canTriggerRoomNotification` function.
- Update strings and conditions for displaying the `@room` mention.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-10-27 10:26:40 +00:00
Jorge Martin Espinosa
46f78ef700
Integrate Element Call with widget API (#1581)
* Integrate Element Call with widget API.

- Add `appconfig` module and extract constants that can be overridden in forks there.
- Add an Element Call feature flag, disabled by default.
- Refactor the whole `ElementCallActivity`, move most logic out of it.
- Integrate with the Rust Widget Driver API (note the Rust SDK version used in this PR lacks some needed changes to make the calls actually work).
- Handle calls differently based on `CallType`.
- Add UI to create/join a call.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-10-19 15:38:43 +00:00
ganfra
304ec0b740 Pin unlock : hides behind feature flag (disabled by default) 2023-10-11 20:36:30 +02:00
jonnyandrew
9e73d6ddc2
Add feature flag for voice messages (#1507) 2023-10-06 12:53:47 +00:00
Benoit Marty
657ac05e01 Remove feature flag RichTextEditor, it's replaced by an advanced settings. 2023-09-14 19:47:41 +02:00
David Langley
5e8cb958f8 Enabled NotificationSettings by default, Fix spacing, use activeMemberCount for isOneToOne.
- Enabled Notification Settings by default
- Fix spacing
- Use activeMemberCount for isOneToOne
2023-09-13 14:18:28 +01:00
jonnyandrew
8ab391f615
[Rich text editor] Add feature flag for rich text editor (#1289) 2023-09-13 08:17:02 +00:00
Benoit Marty
1dbecaac79
Fix typo 2023-09-07 17:02:45 +02:00
Benoit Marty
762a03259b Make a diff between FeatureFlags.defaultValue and value returned by StaticFeatureFlagProvider.isFeatureEnabled().
Iterate after Ganfra's review.
2023-09-07 12:32:21 +02:00
Benoit Marty
aacfa0d83a To avoid mistake, FeatureFlags does not have defaultValue set to true, and StaticFeatureFlagProvider return the default value.
This fixes #1241.
2023-09-07 10:51:35 +02:00
Benoit Marty
c16c875e68 Rework the feature flag module.
Fix typo, rename class and interface, add doc, do small refacto, to improve code clarity.
2023-09-07 10:50:02 +02:00
Yoan Pintas
4a5a01d710
Add room notification settings (#807)
* Add room notification settings

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: Benoit Marty <benoit@matrix.org>
Co-authored-by: David Langley <langley.dave@gmail.com>
2023-09-07 10:24:34 +02:00
Benoit Marty
128c4a7b09
SDK 0.1.49: notification decryption is now fully handled by the Rust SDK. (#1231)
* Revert "Ensure the sync is started when receiving a Push, to ensure that the encryption loop is running."

This reverts commit 82f6f358a7.

* Integrate SDK from https://github.com/matrix-org/matrix-rust-sdk/pull/2505

* Enable retryDecryption() on the NotificationClient.

* SDK 0.1.49 - Encryption Sync is enabled by default now, and retryDecryption is the default too.

* Remove feature flag `UseEncryptionSync`

* Fix sample project build

* Exclude `DeveloperSettingsPresenter` from kover verification.

* Add changelog

---------

Co-authored-by: Jorge Martín <jorgem@element.io>
2023-09-06 11:33:36 +02:00
Marco Romano
33683abf59
Enable polls (#1196)
Enable the Polls feature. Allows to create, view, vote and end polls.
2023-08-31 13:17:11 +00:00
Jorge Martin Espinosa
199f578e4a
Re-enable SyncService.withEncryptionSync to improve decryption of notifications (#1199)
* Re-enable `SyncService.withEncryptionSync` to improve decryption of notifications.

* Add feature flag
2023-08-31 13:37:20 +02:00