Commit Graph

1165 Commits

Author SHA1 Message Date
Benoit Marty
e21c21db71 Merge pull request #957 from vector-im/feature/bma/fixRoomCrash
Rework the way we init and close the RustMatrixRoom
2023-07-25 15:48:57 +02:00
ganfra
daf23c5541 Rework some MatrixRoom api and fix rust 'destroyed' crash 2023-07-25 12:06:36 +02:00
Benoit Marty
bbd6399c65 Merge pull request #952 from vector-im/feature/bma/fixPushStoreCrash
Fix push store crash
2023-07-25 09:43:37 +02:00
Benoit Marty
da9f52129f Use ConcurrentHashMap to manage synchronization. 2023-07-24 21:53:19 +02:00
Benoit Marty
0ef49ca6ca Use an AtomicBoolean instead of a MutableStateFlow to atomically init the RustMatrixRoom. Should improve #951. 2023-07-24 18:04:21 +02:00
Benoit Marty
a3f28a442e Fix regression from 061ac9bce3, composition log was not correct. 2023-07-24 15:36:55 +02:00
Benoit Marty
754b4647ee Add a test to cover fix of #950 2023-07-24 15:28:36 +02:00
Benoit Marty
3457a76446 getOrPut is not thread safe, so ensure that no multiple instance will be created per data store (#950) 2023-07-24 15:01:48 +02:00
Benoit Marty
ac1d355f65 Cleanup: there are no androidTest on those modules. 2023-07-24 12:41:02 +02:00
bmarty
e196d951f8 Sync Strings from Localazy 2023-07-24 00:10:09 +00:00
Benoit Marty
59a66479ab Merge branch 'develop' into feature/bma/noWarnings 2023-07-21 12:17:50 +02:00
Benoit Marty
81facd2e81 Merge pull request #934 from vector-im/feature/bma/clearNotifications
Clear all notifications of the session when the user signs out.
2023-07-21 12:15:06 +02:00
Benoit Marty
1c90c32c4e Enable LocationSharing flag for the release. 2023-07-20 22:21:31 +02:00
Benoit Marty
cd3e6c42e2 Replace FeatureFlags.ShowMediaUploadingFlow by FeatureFlags.LocationSharing because it has more chance to be disabled.
I do not want to remove all our feature flags...
2023-07-20 22:20:38 +02:00
Benoit Marty
062e7553db Remove feature flag ShowStartChatFlow. It was just used in test. 2023-07-20 22:07:32 +02:00
Benoit Marty
63a675d1b3 Remove feature flag CollapseRoomStateEvents. It was not used anyway. 2023-07-20 22:01:45 +02:00
Benoit Marty
fce5234c7f Fix compilation issue 2023-07-20 20:01:35 +02:00
Benoit Marty
c72f1a09a7 Enable detekt rules UnnecessaryParentheses and cleanup the code. 2023-07-20 18:08:08 +02:00
Benoit Marty
55538c2773 Enable detekt rules UnusedImports and cleanup the code. 2023-07-20 18:00:23 +02:00
Benoit Marty
bd2826da3a Enable detekt rules UnusedParameter and UnusedPrivateProperty and cleanup the code. 2023-07-20 17:48:56 +02:00
Benoit Marty
bb3511e5f3 Enable detekt rule UnusedPrivateMember and cleanup the code. 2023-07-20 17:44:14 +02:00
Benoit Marty
fb587d279c Stop using deprecated LocalBroadcastManager. We will implement the code when we will work on the troubleshoot notification screen. 2023-07-20 17:39:55 +02:00
Benoit Marty
d84a9d5d24 Create sheetStateForPreview to avoid code duplication. 2023-07-20 17:39:55 +02:00
Marco Romano
e7136715a6 Update permission request dialog copy. (#931)
As per new designs.

Part of:
- https://github.com/vector-im/element-meta/issues/1682
2023-07-20 14:50:24 +00:00
Benoit Marty
527f239488 Fix warning (suppress, no sure I want to delete this class right now) 2023-07-20 15:41:44 +02:00
Benoit Marty
b62a174494 Fix warning (comment out dead code due to notification actions not active yet.) 2023-07-20 15:41:09 +02:00
Benoit Marty
201d137e79 Fix warning (suppress, no sure I want to delete this class right now) 2023-07-20 15:37:50 +02:00
Benoit Marty
d1e7f93458 Fix warning (remove dead code) 2023-07-20 15:36:23 +02:00
Benoit Marty
5db2ebe179 Fix warning (Build.VERSION.SDK_INT < Build.VERSION_CODES.Q here) 2023-07-20 15:34:55 +02:00
Benoit Marty
56b8969376 Fix warning ('when' is exhaustive so 'else' is redundant here) 2023-07-20 15:33:00 +02:00
Benoit Marty
ac61a8c916 Fix warning (comment out temporary dead code) 2023-07-20 15:32:19 +02:00
Benoit Marty
e3f75195c2 Clear all notifications of the session when the user signs out. 2023-07-20 14:53:38 +02:00
Marco Romano
584a227920 maplibre-compose allow customisation of location dot style (#929)
- And style it according to our designs.

Related to:
- https://github.com/vector-im/element-meta/issues/1682
2023-07-20 12:09:40 +02:00
renovate[bot]
6d3b816bf5 Update dependency app.cash.molecule:molecule-runtime to v1 (#925)
* Update dependency app.cash.molecule:molecule-runtime to v1

* Replace `RecompositionClock` with `RecompositionMode`

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2023-07-20 07:36:19 +02:00
Benoit Marty
c882cab67f Merge pull request #920 from vector-im/feature/bma/slidingSyncState
Sliding sync state rendering
2023-07-19 16:26:14 +02:00
ganfra
b2436a9d7c Merge pull request #913 from vector-im/feature/fga/avoid_spamming_sync_flow
Avoid spamming sync flow by checking item origin
2023-07-19 15:03:38 +02:00
Benoit Marty
c04fcfc352 Make SyncState values match SyncServiceState values. 2023-07-19 14:44:53 +02:00
ganfra
4bc6909aa8 TimelineDiff: use firstOrNull even if it shouldn't never be empty 2023-07-19 14:39:23 +02:00
Jorge Martín
f7f6fdc770 Don't blindly retry fetching pending or failed event details 2023-07-19 13:14:45 +02:00
Marco Romano
278f8ae4c6 Send My Location (#770)
- https://github.com/vector-im/element-meta/issues/1682
2023-07-19 09:58:13 +00:00
ganfra
babb25d45f Avoid spamming sync flow by checking item origin 2023-07-19 11:48:05 +02:00
Benoit Marty
494e00dcb1 Merge pull request #901 from vector-im/feature/fga/power_level
Feature/fga/power level
2023-07-18 23:39:52 +02:00
ganfra
236ac40942 Merge pull request #907 from vector-im/feature/fga/fix_room_list_scroll_position
RoomList: introduce RoomListDataSource
2023-07-18 23:31:34 +02:00
Benoit Marty
2a260a9160 Merge pull request #903 from vector-im/feature/bma/sessionDeleted
React to session deletion (from another session)
2023-07-18 23:30:30 +02:00
ganfra
d4ee9fd9d3 Merge branch 'develop' into feature/fga/fix_room_list_scroll_position 2023-07-18 23:07:10 +02:00
Benoit Marty
456f4fba6b Format files. 2023-07-18 23:05:50 +02:00
Benoit Marty
403530a069 Fix typo in comments. 2023-07-18 23:02:55 +02:00
ganfra
888ca1c86b Merge branch 'develop' into feature/fga/power_level 2023-07-18 22:54:33 +02:00
ganfra
c7d0bbc174 Merge pull request #906 from vector-im/feature/fga/update-rust-sdk-0.1.34
Feature/fga/update rust sdk 0.1.34
2023-07-18 22:52:48 +02:00
ganfra
42c3e21b3d Fix tests 2023-07-18 22:27:44 +02:00