Commit Graph

2871 Commits

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