Commit Graph

2866 Commits

Author SHA1 Message Date
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
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
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
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
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
David Langley
4c87138a48 Merge pull request #912 from vector-im/feature/dla_custom_reactions_layout
Reactions layout improvements
2023-07-21 11:00:43 +01:00
Benoit Marty
c93650a780 Fix version code issue. 2023-07-21 10:49:38 +02:00
Benoit Marty
7f56e9e06a Upload smaller APK to Maestro Cloud. 2023-07-21 10:28:47 +02:00
Benoit Marty
0fd5032dba Nightly build: upload the application bundle to Firebase instead of the universal APK. 2023-07-21 10:24:11 +02:00
Benoit Marty
80bd7e11ea Merge pull request #940 from vector-im/renovate/molecule
Update dependency app.cash.molecule:molecule-runtime to v1.1.0
2023-07-21 09:40:35 +02:00
Benoit Marty
eb26a2e538 Merge pull request #939 from vector-im/feature/bma/featureFlagCleanup
Send attachment in release and feature flag cleanup
2023-07-21 09:38:54 +02:00
renovate[bot]
68c943e08d Update dependency app.cash.molecule:molecule-runtime to v1.1.0 2023-07-21 04:57:25 +00:00
Benoit Marty
e03408a806 Test new field canShareLocation 2023-07-20 23:18:18 +02:00
Benoit Marty
a41fffbe4c Must skip 1 item due to the location feature flag value emitting 1 item. 2023-07-20 23:17:29 +02:00
Benoit Marty
f0d02996df canShareLocation must be a MutableState. 2023-07-20 22:23:54 +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
52fff691ca Merge pull request #932 from vector-im/feature/bma/releaseAutomation2
Release automation
2023-07-20 20:15:55 +02:00
Benoit Marty
fce5234c7f Fix compilation issue 2023-07-20 20:01:35 +02:00
Benoit Marty
aa26959748 Change how we detect if git flow is init. 2023-07-20 19:43:46 +02:00
Benoit Marty
1bc80a526c Move download_github_artifacts.py to its own folder. 2023-07-20 19:22:53 +02:00
Benoit Marty
c56977ed69 Extract git flow init from release script (so that it can be run standalone) and do not use -t which does not seem to be standard. 2023-07-20 19:15:56 +02:00
Benoit Marty
4a3ba10ad5 Enable more detekt rules 2023-07-20 18:08:37 +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
2c4308ddba Remove detekt rules about ViewModels. 2023-07-20 17:53:29 +02:00
Benoit Marty
8f715cbc92 Enable detekt rules TopLevelPropertyNaming and cleanup the code. 2023-07-20 17:52:48 +02:00
Benoit Marty
2bd1c75937 Enable detekt rules VariableNaming and cleanup the code. 2023-07-20 17:50: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
2449cbbaa3 Fix warning (bottom sheet still not previewable correctly in screenshot test) 2023-07-20 17:41:18 +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
f77349332e Fix warning (there is a TODO) 2023-07-20 17:39:55 +02:00
Benoit Marty
058f35c06a Fix warning (keep the same format for all methods) 2023-07-20 17:39:55 +02:00