Commit Graph

5290 Commits

Author SHA1 Message Date
ganfra
5c8fd831e3 misc(power level) : update tests following api change 2025-12-12 11:52:24 +01:00
ganfra
ee38fb5f63 misc(power level) : use new api 2025-12-12 11:26:54 +01:00
Jorge Martín
482d7e0648 Add a periodic DB vacuuming task 2025-12-10 15:22:16 +01:00
Jorge Martín
9c72310cb4 Add developer option to optimize the SDK DBs 2025-12-10 15:22:16 +01:00
Benoit Marty
d65cbd46a9 PermissionsEvents -> PermissionsEvent 2025-12-10 10:50:10 +01:00
Benoit Marty
d044c0b032 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
d0ba02dd7e 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
eff79d0b88 Add accessibility to the "sending" picto. 2025-12-08 15:28:38 +01:00
Benoit Marty
4cfd8907dd 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
f4c8bbd8ad Sync Strings from Localazy 2025-12-08 00:34:18 +00:00
Benoit Marty
72b3decf4c Detekt: enable rule exceptions.SwallowedException and fix existing issue. 2025-12-05 09:45:23 +01:00
Benoit Marty
fbaedd017e Merge pull request #5845 from element-hq/feature/bma/unsavedChangeDialog
Update unsaved change dialog
2025-12-04 11:03:42 +01:00
Benoit Marty
9e71e2283b Merge pull request #5835 from element-hq/feature/bma/limitComposerHeight
Limit composer height dynamically
2025-12-04 09:49:19 +01:00
Benoit Marty
627549c67a Fix compilation issue after rebase. 2025-12-03 18:26:25 +01:00
ganfra
1234b91a6a 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
32e2cabae4 CreatePollEvents -> CreatePollEvent 2025-12-03 18:13:18 +01:00
Benoit Marty
4afeb6210c RoomDetailsEditEvents -> RoomDetailsEditEvent 2025-12-03 18:05:12 +01:00
Benoit Marty
a10e049a79 Fix tests 2025-12-03 18:05:12 +01:00
Benoit Marty
2f52d7c683 EditUserProfileEvents -> EditUserProfileEvent 2025-12-03 18:05:11 +01:00
Benoit Marty
f913b5963e Fix test 2025-12-03 18:05:11 +01:00
Benoit Marty
f9b0690257 SecurityAndPrivacyEvents -> SecurityAndPrivacyEvent 2025-12-03 18:05:10 +01:00
Benoit Marty
a2c92db360 Improve test. 2025-12-03 18:05:10 +01:00
Benoit Marty
eec632661f Remove confirmExitAction and use AsyncAction.ConfirmingCancellation instead. 2025-12-03 18:05:09 +01:00
Benoit Marty
278231f3d2 Remove confirmExitAction and use AsyncAction.ConfirmingCancellation instead. 2025-12-03 18:04:54 +01:00
Benoit Marty
eeef1b11ea Iterate on Save change dialog. 2025-12-03 18:04:53 +01:00
ganfra
5bd194b2b6 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
95ccf16d5d Merge branch 'develop' into feature/bma/limitComposerHeight 2025-12-03 17:44:05 +01:00
ganfra
d89dd958d7 quality: fix test dependency 2025-12-03 15:42:19 +01:00
ganfra
653f794475 change(room details edit): adjust the ui 2025-12-03 15:10:59 +01:00
ganfra
2e7355e789 change(room details edit): move to his own module 2025-12-03 14:30:05 +01:00
ganfra
af6099106b change(edit room details): expose isSpace 2025-12-03 11:38:11 +01:00
ganfra
ee4ee6f921 quality: fix SpacePresenterTest 2025-12-03 11:28:24 +01:00
Benoit Marty
2a73ce0f62 Merge pull request #5821 from element-hq/feature/bma/fixLongVoiceRecording
Fix long voice recording
2025-12-03 10:27:46 +01:00
ganfra
a91c78b56f fix: rely only on RoomMember Role values instead of using the powerLevel. 2025-12-02 21:42:29 +01:00
ganfra
c8d4ca66cf Merge pull request #5830 from element-hq/sync-localazy
Sync Strings
2025-12-02 20:58:45 +01:00
ganfra
b74afcca13 quality: fix ktlint 2025-12-02 20:26:42 +01:00
Benoit Marty
39e580284d 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
3d4ee82631 fix(security&privacy): update string resources 2025-12-02 17:03:56 +01:00
Benoit Marty
883341f363 Rename LatestEvent.Regular to LatestEvent.Synced 2025-12-02 16:54:50 +01:00
Benoit Marty
f5d902a6f3 Update API of RoomLatestEventFormatter. 2025-12-02 16:51:23 +01:00
Benoit Marty
b366446cab 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
77be19bf3b 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
2b49c40592 Sync Strings from Localazy 2025-12-01 00:23:54 +00:00
ganfra
b78761e89a space: start branching space settings flow 2025-11-28 17:13:08 +01:00
ganfra
9a081c496f space: add space settings ff and branch it 2025-11-28 14:50:55 +01:00
Jorge Martín
7a1dd24dbd 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
29117ce93d Add AnalyticsService.cancelLongRunningTransaction and AnalyticsService.finishLongRunningTransaction 2025-11-28 14:15:54 +01:00
Jorge Martín
71bfffe58f Move analytic watchers to :services:analytics 2025-11-28 14:15:54 +01:00
Jorge Martín
93feed38bf 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
2a011bf072 Add OpenRoom long running analytic transaction 2025-11-28 14:15:54 +01:00