Benoit Marty
f055a25457
Enable detekt rule ThrowingExceptionsWithoutMessageOrCause and fix existing issues.
2023-07-26 10:33:51 +02:00
Benoit Marty
d82b47beeb
Enable detekt rule UnnecessaryAbstractClass, LoopWithTooManyJumpStatements, EmptySecondaryConstructor.
2023-07-26 10:23:51 +02:00
Benoit Marty
9894e2fed0
Enable detekt rule ProtectedMemberInFinalClass.
2023-07-26 10:19:25 +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
Benoit Marty
17685e8759
Fix warning: "'setter for config: ConfigurableFileCollection' is deprecated. Setter will be removed in a future release. Use from or setFrom instead."
2023-07-26 09:45:40 +02:00
renovate[bot]
4e506667fb
Update danger/danger-js action to v11.2.7 ( #961 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-26 07:02:07 +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
7d1663c7d0
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]
015b98d818
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
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
727ebb5dc0
alternateText can't be an empty string. #955
2023-07-24 17:15:04 +02:00
Benoit Marty
138bf142a9
Merge pull request #953 from vector-im/feature/bma/fixCompositionLog
...
Fix on composition log.
2023-07-24 17:07:59 +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
0594db1379
Merge pull request #947 from vector-im/feature/bma/sentry
...
Sentry
2023-07-24 13:54:06 +02:00
Benoit Marty
3e4ff90e99
Ignore this file.
2023-07-24 12:44:50 +02:00
Benoit Marty
ac1d355f65
Cleanup: there are no androidTest on those modules.
2023-07-24 12:41:02 +02:00
Benoit Marty
c0fdb01470
Use dns for element-x-android project.
2023-07-24 11:36:51 +02:00
Benoit Marty
301fe6dda6
Merge pull request #949 from vector-im/sync-localazy
...
Sync Strings
2023-07-24 10:38:57 +02:00
ElementBot
78fb53645b
Update screenshots
2023-07-24 08:18:21 +00:00
bmarty
e196d951f8
Sync Strings from Localazy
2023-07-24 00:10:09 +00:00
ElementBot
8fd9e33298
Update screenshots
2023-07-21 19:53:55 +00:00
Benoit Marty
a0dbba58b3
Fix typo
2023-07-21 21:40:08 +02:00
Benoit Marty
6c9a36f56f
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
3e7234f3af
Disable Sentry auto-init
2023-07-21 19:28:52 +02:00
Benoit Marty
a774d96585
Include Sentry module.
2023-07-21 19:19:59 +02:00
Benoit Marty
c5c130ab67
Ensure the application react correctly if analytics is disabled at compilation time.
2023-07-21 19:19:17 +02:00
Benoit Marty
c93625080e
Implement Sentry module as an AnalyticsProvider.
2023-07-21 18:58:10 +02:00
Benoit Marty
f3e26276b2
Update tag value and make it internal.
2023-07-21 18:35:47 +02:00
Benoit Marty
5a367c64c4
Restore NoopAnalyticsService (not used but can be useful for forks).
2023-07-21 18:27:10 +02:00
Benoit Marty
a30837864e
add posthog to dict.
2023-07-21 18:14:53 +02:00
Benoit Marty
43d28c5a3d
No need to sort AnalyticsProvider (it was copied from PushProvider)
2023-07-21 18:12:17 +02:00
Benoit Marty
287b930dcd
GitHub does not like comment like this. Just remove them.
2023-07-21 16:33:02 +02:00
Benoit Marty
86ef0793cb
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
04b3035d69
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
45954b4723
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
f09996cb30
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
71676c3faf
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
Benoit Marty
de7866be19
Ensure the release script will exist in case of failure.
2023-07-21 12:51:10 +02:00
Benoit Marty
03b2b0d484
Add a shortcut to ensure that ./gradlew check will prevent having warning in the codebase. We may add more instructions in the future in this file.
2023-07-21 12:50:29 +02:00
Benoit Marty
0ef012ac7b
Clarify the computation of versionCode.
2023-07-21 12:19:39 +02:00
Benoit Marty
aa99a77cb6
Add missing env vars, now that we are building the APK in this task.
2023-07-21 12:19:29 +02:00
Benoit Marty
81cf727580
Merge pull request #941 from vector-im/feature/bma/versionCode
...
Version code
2023-07-21 12:18:30 +02:00
Benoit Marty
59a66479ab
Merge branch 'develop' into feature/bma/noWarnings
2023-07-21 12:17:50 +02:00