Commit graph

5288 commits

Author SHA1 Message Date
Jorge Martín
734485255a Add a periodic DB vacuuming task 2025-12-10 15:22:16 +01:00
Jorge Martín
5d6aa1fcfd Add developer option to optimize the SDK DBs 2025-12-10 15:22:16 +01:00
Benoit Marty
8a7e71b49e PermissionsEvents -> PermissionsEvent 2025-12-10 10:50:10 +01:00
Benoit Marty
a4c619c601
Merge pull request #5869 from element-hq/feature/bma/roomPreviewA11y
Add accessibility to the "sending" picto.
2025-12-09 23:05:51 +01:00
Skye Elliot
59f51d8627
Add alert to encrypted rooms with visible history (Android). (#5709)
* feat: Add visible history alert to encrypted rooms.

- Adds a dismissable alert that is displayed whenever the user opens a
  room with `history_visibility` != `joined`. When cleared, this is
  recorded in the app's data store.
- When opening a room with `history_visibility` = `joined`, this flag is
  cleared.`

Issue: https://github.com/element-hq/element-meta/issues/2875

* chore: Fix linting issues.

* feat: Move alert showing logic into state presenter.

* chore: Fix linting issues.

* tests: Fixup tests.

* feat: Use real link.

* chore: Update license header.

* chore: Add (c) to license headers.

* chore: Add `.` to license header.

* feat: Lock alert behind history sharing developer setting.

* ci: Trigger record screenshots

* feat: Create repo key using session ID for multi-account support.

* feat: Use session ID hash for constructing data store.

* tests: Correct and update tests.

* tests: Update snapshots.

* feat: Prevent identity alert from displaying with history visibility alert.

* feat: Tidy up HistoryVisibleStatePresenter logic, update previews.

* chore: Remove unused import.

* chore: Update screenshots.

* feat: Add translation string.

* chore: Remove redundant temporary translation file.
2025-12-08 21:19:15 +01:00
Benoit Marty
556af69399 Add accessibility to the "sending" picto. 2025-12-08 15:28:38 +01:00
Benoit Marty
f76d817b4e
Merge pull request #5852 from element-hq/renovate/io.nlopez.compose.rules-detekt-0.x
fix(deps): update dependency io.nlopez.compose.rules:detekt to v0.5.1
2025-12-08 15:05:12 +01:00
bmarty
3935a3b6ce Sync Strings from Localazy 2025-12-08 00:34:18 +00:00
Benoit Marty
54e742075d Detekt: enable rule exceptions.SwallowedException and fix existing issue. 2025-12-05 09:45:23 +01:00
Benoit Marty
b20ccf8b63
Merge pull request #5845 from element-hq/feature/bma/unsavedChangeDialog
Update unsaved change dialog
2025-12-04 11:03:42 +01:00
Benoit Marty
29cba900f2
Merge pull request #5835 from element-hq/feature/bma/limitComposerHeight
Limit composer height dynamically
2025-12-04 09:49:19 +01:00
Benoit Marty
b7bc8e20d5 Fix compilation issue after rebase. 2025-12-03 18:26:25 +01:00
ganfra
1410563643
Merge pull request #5832 from element-hq/feature/fga/fix_owner_admin_displayed_twice
fix: usersWithRole(Owner) returns creators only if privilegedCreatorRole is true
2025-12-03 18:19:20 +01:00
Benoit Marty
e6e67a02b7 CreatePollEvents -> CreatePollEvent 2025-12-03 18:13:18 +01:00
Benoit Marty
82a32371cc RoomDetailsEditEvents -> RoomDetailsEditEvent 2025-12-03 18:05:12 +01:00
Benoit Marty
4b0fb341b6 Fix tests 2025-12-03 18:05:12 +01:00
Benoit Marty
e6dc2501a5 EditUserProfileEvents -> EditUserProfileEvent 2025-12-03 18:05:11 +01:00
Benoit Marty
766e97dcc1 Fix test 2025-12-03 18:05:11 +01:00
Benoit Marty
12ca8a2186 SecurityAndPrivacyEvents -> SecurityAndPrivacyEvent 2025-12-03 18:05:10 +01:00
Benoit Marty
d4ff8dcf82 Improve test. 2025-12-03 18:05:10 +01:00
Benoit Marty
c97e60fcaf Remove confirmExitAction and use AsyncAction.ConfirmingCancellation instead. 2025-12-03 18:05:09 +01:00
Benoit Marty
61b7ee03c9 Remove confirmExitAction and use AsyncAction.ConfirmingCancellation instead. 2025-12-03 18:04:54 +01:00
Benoit Marty
63f7c9a4fd Iterate on Save change dialog. 2025-12-03 18:04:53 +01:00
ganfra
e9e699ee19
Merge pull request #5827 from element-hq/feature/fga/space_feature_flags
Space feature flags
2025-12-03 17:53:03 +01:00
Benoit Marty
35e75b944f Merge branch 'develop' into feature/bma/limitComposerHeight 2025-12-03 17:44:05 +01:00
ganfra
45bb8b6e30 quality: fix test dependency 2025-12-03 15:42:19 +01:00
ganfra
cf4d4505bd change(room details edit): adjust the ui 2025-12-03 15:10:59 +01:00
ganfra
c08de1f904 change(room details edit): move to his own module 2025-12-03 14:30:05 +01:00
ganfra
ee124b22fd change(edit room details): expose isSpace 2025-12-03 11:38:11 +01:00
ganfra
3633866ace quality: fix SpacePresenterTest 2025-12-03 11:28:24 +01:00
Benoit Marty
2d3a7f9745
Merge pull request #5821 from element-hq/feature/bma/fixLongVoiceRecording
Fix long voice recording
2025-12-03 10:27:46 +01:00
ganfra
be90afe22b fix: rely only on RoomMember Role values instead of using the powerLevel. 2025-12-02 21:42:29 +01:00
ganfra
a23bdfb1d4
Merge pull request #5830 from element-hq/sync-localazy
Sync Strings
2025-12-02 20:58:45 +01:00
ganfra
aaed75a3ca quality: fix ktlint 2025-12-02 20:26:42 +01:00
Benoit Marty
14b83d6a7e
Merge pull request #5824 from element-hq/feature/bma/roomListIndicators
Add room list indicators about last message
2025-12-02 17:42:46 +01:00
ganfra
6874d29532 fix(security&privacy): update string resources 2025-12-02 17:03:56 +01:00
Benoit Marty
43de65a612 Rename LatestEvent.Regular to LatestEvent.Synced 2025-12-02 16:54:50 +01:00
Benoit Marty
011378aa76 Update API of RoomLatestEventFormatter. 2025-12-02 16:51:23 +01:00
Benoit Marty
7f0912850c Let the composer takes at max half of the available height. The value will be different if the soft keyboard is displayed or not.
Closes #3851
2025-12-02 16:36:30 +01:00
Jorge Martin Espinosa
2e2d68ba83
Load JoinedRoom in home screen, pass it to the room flow (#5817)
* Load `JoinedRoom` in `HomeFlowNode.navigateToRoom`, then pass it to the next navigation nodes

* Add delayed loading indicator for cases when loading the room takes too long

* Avoid an extra FFI call in `RustRoomFactory`.

Use `RoomInfo.membership` instead.

Also use `computation` dispatcher, since it should reduce the delay when switching contexts.

* Remove the dispatcher usage when loading the room in `HomeFlowNode`, we immediately call a method that changes the dispatcher used

* Make sure only a single room is opened at a time
2025-12-02 15:22:55 +00:00
bmarty
32d56ea92d Sync Strings from Localazy 2025-12-01 00:23:54 +00:00
ganfra
86a2f55db3 space: start branching space settings flow 2025-11-28 17:13:08 +01:00
ganfra
185ef152fe space: add space settings ff and branch it 2025-11-28 14:50:55 +01:00
Jorge Martín
f265a47243 Make sure we don't finish NotificationTapOpensTimeline until we've actually rendered the timeline event we need to focus on 2025-11-28 14:15:54 +01:00
Jorge Martín
1c576fd42d Add AnalyticsService.cancelLongRunningTransaction and AnalyticsService.finishLongRunningTransaction 2025-11-28 14:15:54 +01:00
Jorge Martín
04feea5d25 Move analytic watchers to :services:analytics 2025-11-28 14:15:54 +01:00
Jorge Martín
4b3796844f Add transaction trees for opening a room so we can have a nice trace view 2025-11-28 14:15:54 +01:00
Jorge Martín
10b31e3e72 Add OpenRoom long running analytic transaction 2025-11-28 14:15:54 +01:00
Jorge Martín
daf7bea39e Add another performance check for cold start time until the cached room list is displayed 2025-11-28 14:15:54 +01:00
Jorge Martín
e1bd189ba0 Add a performance check for notification tap -> populated timeline time 2025-11-28 14:15:54 +01:00