Commit Graph

2904 Commits

Author SHA1 Message Date
Benoit Marty 9211a33ad8 Add missing preview. 2023-07-26 14:01:23 +02:00
Benoit Marty c40b75e834 Make some composable private. 2023-07-26 14:01:23 +02:00
ganfra 75c9624f6f Add consumeItemsUntilPredicate to check how it goes... 2023-07-26 13:07:11 +02:00
ganfra 5eb5dcd525 Push to understand test failure in CI 2023-07-26 12:22:41 +02:00
ganfra 506b473d4d Small change after PR review 2023-07-25 18:41:43 +02:00
ganfra 451cba20d0 Fix tests 2023-07-25 18:37:54 +02:00
ganfra b6b16dbefe Turbine: introduce consumeItemsUntilTimeout 2023-07-25 18:37:32 +02:00
ElementBot 89e2340fda Update screenshots 2023-07-25 14:20:05 +00:00
ganfra da57f42fcc Merge branch 'develop' into feature/fga/avoid_deadlocks 2023-07-25 16:09:24 +02:00
ganfra e0eea67e7a Clean PR 2023-07-25 16:02:33 +02:00
Benoit Marty f27cc5a35b 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 e35bb73a86 Rework some MatrixRoom api and fix rust 'destroyed' crash 2023-07-25 12:06:36 +02:00
Benoit Marty caaa1923c7 Merge pull request #952 from vector-im/feature/bma/fixPushStoreCrash
Fix push store crash
2023-07-25 09:43:37 +02:00
Benoit Marty 9d64edfa61 Merge pull request #956 from vector-im/feature/bma/fixAlternateTextCrash
alternateText can't be an empty string. #955
2023-07-25 09:43:08 +02:00
renovate[bot] 61a3705c2e Update gradle/gradle-build-action action to v2.7.0 (#958)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-25 08:07:48 +02:00
Benoit Marty a6c96af731 Use ConcurrentHashMap to manage synchronization. 2023-07-24 21:53:19 +02:00
Benoit Marty 832fd69153 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 b2394b6adc alternateText can't be an empty string. #955 2023-07-24 17:15:04 +02:00
Benoit Marty 604c672f52 Merge pull request #953 from vector-im/feature/bma/fixCompositionLog
Fix on composition log.
2023-07-24 17:07:59 +02:00
Benoit Marty 4029425ec3 Fix regression from 9bf7c1ccf8, composition log was not correct. 2023-07-24 15:36:55 +02:00
Benoit Marty a2975ec094 Add a test to cover fix of #950 2023-07-24 15:28:36 +02:00
Benoit Marty 94bc2ce53d 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 0599515708 Merge pull request #947 from vector-im/feature/bma/sentry
Sentry
2023-07-24 13:54:06 +02:00
Benoit Marty 83d47957e5 Ignore this file. 2023-07-24 12:44:50 +02:00
Benoit Marty 4312a96851 Cleanup: there are no androidTest on those modules. 2023-07-24 12:41:02 +02:00
Benoit Marty 4e41566847 Use dns for element-x-android project. 2023-07-24 11:36:51 +02:00
Benoit Marty e6d27ac69c Merge pull request #949 from vector-im/sync-localazy
Sync Strings
2023-07-24 10:38:57 +02:00
ElementBot d9f361ce0a Update screenshots 2023-07-24 08:18:21 +00:00
bmarty af2159e98f Sync Strings from Localazy 2023-07-24 00:10:09 +00:00
ElementBot 4e4e26d6f2 Update screenshots 2023-07-21 19:53:55 +00:00
Benoit Marty 030afe56b3 Fix typo 2023-07-21 21:40:08 +02:00
Benoit Marty 32c8fdae99 Add a way to crash this app on demand. Useful to test Crash detection, and analytics report, etc. 2023-07-21 20:55:04 +02:00
Benoit Marty 9d9a0c744e Disable Sentry auto-init 2023-07-21 19:28:52 +02:00
Benoit Marty b99b4aa9ae Include Sentry module. 2023-07-21 19:19:59 +02:00
Benoit Marty 82258f12ba Ensure the application react correctly if analytics is disabled at compilation time. 2023-07-21 19:19:17 +02:00
Benoit Marty c1d6c0c360 Implement Sentry module as an AnalyticsProvider. 2023-07-21 18:58:10 +02:00
Benoit Marty 69dcd47e22 Update tag value and make it internal. 2023-07-21 18:35:47 +02:00
Benoit Marty 587f615730 Restore NoopAnalyticsService (not used but can be useful for forks). 2023-07-21 18:27:10 +02:00
Benoit Marty bd0c77a6a6 add posthog to dict. 2023-07-21 18:14:53 +02:00
Benoit Marty d4156653fd No need to sort AnalyticsProvider (it was copied from PushProvider) 2023-07-21 18:12:17 +02:00
Benoit Marty 3622623fa1 GitHub does not like comment like this. Just remove them. 2023-07-21 16:33:02 +02:00
Benoit Marty 82fddf218e Merge pull request #945 from vector-im/feature/bma/apkForNightly
Upload APK to Firebase App Distribution for now
2023-07-21 16:30:50 +02:00
Benoit Marty f0874fd773 Revert change from #941, upload APK to Firebase App Distribution for now.
We need a matching and released PlayStore application to be able to upload an AAB, and we do not have that for now.
2023-07-21 16:19:16 +02:00
Benoit Marty 1a1d4c2957 Fix code quality check failures after new rules from #935 has been merged on develop. 2023-07-21 16:04:55 +02:00
Benoit Marty b20448bf08 Merge pull request #935 from vector-im/feature/bma/noWarnings
Code quality: warnings are errors and enable more Detekt rules.
2023-07-21 15:52:05 +02:00
Marco Romano 57d04e487c Static images improvements (#933)
1. On devices less than xhdpi request a 1x image from MapTiler (such devices are generally old, slower and with little memory so avoiding to get the 2x image only to have to shrink it later could help).
2. Coerce too big width/height combos within the API limits keeping the aspect ratio (this will allow requests on big horizontal displays to succeed).
3. Don't crash when given weird width/height combos (i.e. zero or negative).
4. Introduce interfaces to hide this whole logic and make it easier for forks to implement their own.

Related to:
- https://github.com/vector-im/element-meta/issues/1678
2023-07-21 13:37:08 +00:00
ganfra a3bcb2c4ca Room: avoid calling displayName/avatarData on each recomposition 2023-07-21 15:19:19 +02:00
ganfra 5089dd0dda Session.getRoom : suspend the whole method 2023-07-21 14:12:54 +02:00
ganfra 0a59e974ae Deadlock: makes sure timelineListener TaskHandle.cancel is called (and memory is released correctly) 2023-07-21 14:12:28 +02:00
Benoit Marty 5eb70215a6 Ensure the release script will exist in case of failure. 2023-07-21 12:51:10 +02:00