Commit graph

2871 commits

Author SHA1 Message Date
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
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