Commit Graph

2858 Commits

Author SHA1 Message Date
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
Benoit Marty 5eb70215a6 Ensure the release script will exist in case of failure. 2023-07-21 12:51:10 +02:00
Benoit Marty ce22aecbf2 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 88c66dde58 Clarify the computation of versionCode. 2023-07-21 12:19:39 +02:00
Benoit Marty f72e9fb7c2 Add missing env vars, now that we are building the APK in this task. 2023-07-21 12:19:29 +02:00
Benoit Marty 301cb82615 Merge pull request #941 from vector-im/feature/bma/versionCode
Version code
2023-07-21 12:18:30 +02:00
Benoit Marty 5e2e03f054 Merge branch 'develop' into feature/bma/noWarnings 2023-07-21 12:17:50 +02:00
Benoit Marty c94789d3ea 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 d9be396a04 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 75aaa9284b Fix version code issue. 2023-07-21 10:49:38 +02:00
Benoit Marty f431e76d29 Upload smaller APK to Maestro Cloud. 2023-07-21 10:28:47 +02:00
Benoit Marty 5fea82a23c Nightly build: upload the application bundle to Firebase instead of the universal APK. 2023-07-21 10:24:11 +02:00
Benoit Marty 6dcdf7dad0 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 7816a17835 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] a586fa9c95 Update dependency app.cash.molecule:molecule-runtime to v1.1.0 2023-07-21 04:57:25 +00:00
Benoit Marty 6b9f676b12 Test new field canShareLocation 2023-07-20 23:18:18 +02:00
Benoit Marty 3376fe3688 Must skip 1 item due to the location feature flag value emitting 1 item. 2023-07-20 23:17:29 +02:00
Benoit Marty 2ab57f3fc8 canShareLocation must be a MutableState. 2023-07-20 22:23:54 +02:00
Benoit Marty e1a113e938 Enable LocationSharing flag for the release. 2023-07-20 22:21:31 +02:00
Benoit Marty 2c11f472ca 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 fd26f987a8 Remove feature flag ShowStartChatFlow. It was just used in test. 2023-07-20 22:07:32 +02:00
Benoit Marty da818229dc Remove feature flag CollapseRoomStateEvents. It was not used anyway. 2023-07-20 22:01:45 +02:00
Benoit Marty 33788fb1b7 Merge pull request #932 from vector-im/feature/bma/releaseAutomation2
Release automation
2023-07-20 20:15:55 +02:00
Benoit Marty 1be26c9fad Fix compilation issue 2023-07-20 20:01:35 +02:00
Benoit Marty b98d57c9c8 Change how we detect if git flow is init. 2023-07-20 19:43:46 +02:00
Benoit Marty 3e2a516b94 Move download_github_artifacts.py to its own folder. 2023-07-20 19:22:53 +02:00
Benoit Marty 8833bd09d6 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 73ae59a3ca Enable more detekt rules 2023-07-20 18:08:37 +02:00
Benoit Marty c75eabbcb0 Enable detekt rules UnnecessaryParentheses and cleanup the code. 2023-07-20 18:08:08 +02:00
Benoit Marty 2928073e22 Enable detekt rules UnusedImports and cleanup the code. 2023-07-20 18:00:23 +02:00
Benoit Marty 08a7287e8b Remove detekt rules about ViewModels. 2023-07-20 17:53:29 +02:00
Benoit Marty e918d6affd Enable detekt rules TopLevelPropertyNaming and cleanup the code. 2023-07-20 17:52:48 +02:00
Benoit Marty a8ed8b7a59 Enable detekt rules VariableNaming and cleanup the code. 2023-07-20 17:50:23 +02:00
Benoit Marty 86756dbc09 Enable detekt rules UnusedParameter and UnusedPrivateProperty and cleanup the code. 2023-07-20 17:48:56 +02:00
Benoit Marty 24ece8c454 Enable detekt rule UnusedPrivateMember and cleanup the code. 2023-07-20 17:44:14 +02:00
Benoit Marty 65ad642ffc Fix warning (bottom sheet still not previewable correctly in screenshot test) 2023-07-20 17:41:18 +02:00
Benoit Marty d7f8aa533e 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 e23222591b Fix warning (there is a TODO) 2023-07-20 17:39:55 +02:00
Benoit Marty e67c7f32c3 Fix warning (keep the same format for all methods) 2023-07-20 17:39:55 +02:00
Benoit Marty f738864e88 Fix warning (we will handle error case later) 2023-07-20 17:39:55 +02:00
Benoit Marty 6a69207fb8 Fix warning (there is a TODO) 2023-07-20 17:39:55 +02:00
Benoit Marty 2163c1db8c Create sheetStateForPreview to avoid code duplication. 2023-07-20 17:39:55 +02:00
Marco Romano a1313c2890 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
Marco Romano d964650804 Use correct share my location icon in button (#936)
As per newer design specs.

Related to:
- https://github.com/vector-im/element-meta/issues/1678
2023-07-20 13:59:06 +00:00
Benoit Marty e5d2e294ae Fix warning (suppress unused param for now) 2023-07-20 15:47:42 +02:00
Benoit Marty 518f690368 Fix warning (suppress unused param for now) 2023-07-20 15:47:14 +02:00
Benoit Marty 0a512cae0b Fix warning (suppress unused param for now, EAX does not support sticker right now.) 2023-07-20 15:46:41 +02:00