Commit Graph

9781 Commits

Author SHA1 Message Date
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
Benoit Marty a7f5324791 Fix warning (suppress unused param for now) 2023-07-20 15:46:09 +02:00
Benoit Marty 8d6e1a2327 Fix warning (suppress unused param for now) 2023-07-20 15:45:18 +02:00
Marco Romano c746981000 Add screenshots with ~1.5 lines long desc to expanded location view (#923)
This will help in catching alignment regressions.

Related to:
- https://github.com/vector-im/element-meta/issues/1678
2023-07-20 13:42:35 +00:00
Benoit Marty c7222e2969 Fix warning (suppress, no sure I want to delete this class right now) 2023-07-20 15:41:44 +02:00
Benoit Marty 0f4af79fb1 Fix warning (comment out dead code due to notification actions not active yet.) 2023-07-20 15:41:09 +02:00
Benoit Marty b072872c85 Fix warning (suppress, no sure I want to delete this class right now) 2023-07-20 15:37:50 +02:00
Benoit Marty 202268ae55 Fix warning (remove dead code) 2023-07-20 15:36:23 +02:00
Benoit Marty 1f3efdfe46 Fix warning (Build.VERSION.SDK_INT < Build.VERSION_CODES.Q here) 2023-07-20 15:34:55 +02:00
Benoit Marty 9fbdef4bd2 Fix warning ('when' is exhaustive so 'else' is redundant here) 2023-07-20 15:33:00 +02:00
Benoit Marty a88ac632f6 Fix warning (comment out temporary dead code) 2023-07-20 15:32:19 +02:00
Benoit Marty 089fc8b4dd Ci will not ignore compilation warnings. 2023-07-20 15:29:47 +02:00
Benoit Marty 39b170179e Ignore compilation warnings, disabled by default. 2023-07-20 15:27:57 +02:00
Benoit Marty 17c7ecd9c2 Clear all notifications of the session when the user signs out. 2023-07-20 14:53:38 +02:00
Marco Romano e8e4542a75 Extract maptiler's map ids (#926)
Maptiler custom map ids are only useable by the account that create them. So if we hardcode them forkers won't be able to use the maps even if the bring in their own api key (because they can't access our maps with their api key).

Requires to set our map ids in `local.properties` for local development:
```
services.maptiler.lightMapId=9bc819c8-e627-474a-a348-ec144fe3d810
services.maptiler.darkMapId=dea61faf-292b-4774-9660-58fcef89a7f3
```
2023-07-20 14:29:06 +02:00
Benoit Marty 3f399ff396 Add release script 2023-07-20 13:27:47 +02:00
Benoit Marty 312fe6adc8 Compute version code and version name from separate component 2023-07-20 13:21:07 +02:00
Marco Romano f7e7339777 Correct location event body (#930)
- Now sending the correct body format as agreed with design. This won't be show in EX clients though.

Related to:
- https://github.com/vector-im/element-meta/issues/1682
2023-07-20 10:16:40 +00:00
Marco Romano e448bbb92d maplibre-compose allow customisation of location dot style (#929)
- And style it according to our designs.

Related to:
- https://github.com/vector-im/element-meta/issues/1682
2023-07-20 12:09:40 +02:00
Benoit Marty ec79c44324 Need JDK 17 2023-07-20 11:29:55 +02:00
Benoit Marty 19f6396dce Merge pull request #927 from vector-im/feature/bma/releaseAutomation
Release automation
2023-07-20 11:20:03 +02:00
Benoit Marty 34ced242f8 Add workflow to create app bundle. 2023-07-20 11:08:09 +02:00
Benoit Marty cbe1c05c0c Do not build main branch in this workflow. 2023-07-20 11:07:08 +02:00
ElementBot 404caed314 Update screenshots 2023-07-20 05:51:05 +00:00
renovate[bot] 156bf08b7a Update dependency app.cash.molecule:molecule-runtime to v1 (#925)
* Update dependency app.cash.molecule:molecule-runtime to v1

* Replace `RecompositionClock` with `RecompositionMode`

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2023-07-20 07:36:19 +02:00
Jorge Martín 69490b7465 Fix more lint issues 2023-07-20 07:35:27 +02:00
Jorge Martín 697b2052e8 Fix typo 2023-07-20 07:27:13 +02:00
Jorge Martín aad92d84ff Use ElementTheme as much as possible 2023-07-20 07:27:02 +02:00