Benoit Marty
|
e7f673c5bc
|
Add missing preview.
|
2023-07-26 14:01:23 +02:00 |
|
Benoit Marty
|
b69e01a5f3
|
Enable detekt rules UseLet and fix existing issues.
|
2023-07-26 12:12:07 +02:00 |
|
Benoit Marty
|
613cd4f863
|
Enable detekt rules UseDataClass and fix existing issues.
|
2023-07-26 11:51:17 +02:00 |
|
Benoit Marty
|
15ac81d32a
|
Enable detekt rules UnderscoresInNumericLiterals and fix existing issues.
|
2023-07-26 11:48:08 +02:00 |
|
Benoit Marty
|
4ba4bd1f56
|
Enable more detekt rules and remove unused extension.
|
2023-07-26 11:25:05 +02:00 |
|
Benoit Marty
|
8458a9e937
|
Enable detekt rules DataClassShouldBeImmutable and fix existing issues.
|
2023-07-26 11:18:00 +02:00 |
|
Benoit Marty
|
d433c3cbaa
|
Enable detekt rules AlsoCouldBeApply and fix existing issues.
|
2023-07-26 11:10:46 +02:00 |
|
Benoit Marty
|
1d3aa2cd05
|
Enable detekt rules CascadingCallWrapping and fix existing issues.
|
2023-07-26 11:07:25 +02:00 |
|
Benoit Marty
|
140271069c
|
Enable detekt rule TooGenericExceptionThrown and fix existing issue.
|
2023-07-26 10:40:41 +02:00 |
|
Benoit Marty
|
f055a25457
|
Enable detekt rule ThrowingExceptionsWithoutMessageOrCause and fix existing issues.
|
2023-07-26 10:33:51 +02:00 |
|
Benoit Marty
|
9e3679cbd6
|
Enable detekt rule UseCheckOrError and fix existing issues (and a potential crash on MapboxMap?).
|
2023-07-26 10:18:28 +02:00 |
|
Benoit Marty
|
f3974dd570
|
Enable detekt rule ImplicitDefaultLocale and fix existing issue.
|
2023-07-26 10:11:00 +02:00 |
|
Benoit Marty
|
996574f2c6
|
Enable detekt rule PreviewPublic and fix existing issues.
|
2023-07-26 10:08:39 +02:00 |
|
ganfra
|
ba12fbc9e3
|
Small change after PR review
|
2023-07-25 18:41:43 +02:00 |
|
ganfra
|
cfd43af45c
|
Merge branch 'develop' into feature/fga/avoid_deadlocks
|
2023-07-25 16:09:24 +02:00 |
|
ganfra
|
9cf74eff63
|
Clean PR
|
2023-07-25 16:02:33 +02:00 |
|
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 |
|
ganfra
|
2f92203d85
|
Room: avoid calling displayName/avatarData on each recomposition
|
2023-07-21 15:19:19 +02:00 |
|
ganfra
|
c0b8388fad
|
Session.getRoom : suspend the whole method
|
2023-07-21 14:12:54 +02:00 |
|
ganfra
|
a87ae86398
|
Deadlock: makes sure timelineListener TaskHandle.cancel is called (and memory is released correctly)
|
2023-07-21 14:12:28 +02: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 |
|
ganfra
|
ac108c4582
|
Introduce Disposable extension to destroy all disposable in an Iterable
|
2023-07-21 10:20:37 +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 |
|