Commit Graph

2811 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Marco Romano f614895ec1 Refactor a custom alignment to its own modifier for readability. (#924) 2023-07-19 16:58:04 +02:00
Benoit Marty fc045717d1 version++ 2023-07-19 16:47:25 +02:00
Benoit Marty 29f7537df1 Merge tag '0.1.0' into develop
tag
2023-07-19 16:44:05 +02:00
Benoit Marty cf3f1e8f5d Merge branch 'release/0.1.0' into main 2023-07-19 16:43:28 +02:00
Benoit Marty 629462c670 Adding fastlane file for version 0.1.0 2023-07-19 16:43:20 +02:00
Benoit Marty 3c5ac26427 Changelog for version 0.1.0 2023-07-19 16:40:45 +02:00
Marco Romano cec87ee6a8 Don't crash when sharing a location with no maptiler apikey (#919)
Related to:
- https://github.com/vector-im/element-meta/issues/1682
2023-07-19 16:33:50 +02:00
Benoit Marty 8b97d50050 Merge pull request #920 from vector-im/feature/bma/slidingSyncState
Sliding sync state rendering
2023-07-19 16:26:14 +02:00
ElementBot 0ed7afc2d6 Update screenshots 2023-07-19 13:51:57 +00:00
Benoit Marty 62354326a9 Exclude app module for now. 2023-07-19 15:27:21 +02:00
Marco Romano 4162d16f52 Location expanded view: show own location (#916)
If the location permission is granted:
- Shows the user's own location
- Shows a button to center the map on it

Part of:
- https://github.com/vector-im/element-meta/issues/1678
2023-07-19 13:26:06 +00:00
ganfra 2ccedc1e67 Merge pull request #913 from vector-im/feature/fga/avoid_spamming_sync_flow
Avoid spamming sync flow by checking item origin
2023-07-19 15:03:38 +02:00
Benoit Marty 5792fdad04 Show Sync status when state is Terminated. 2023-07-19 14:57:10 +02:00
Benoit Marty 2b71922cae Ensure uitest take preview from app module. 2023-07-19 14:47:30 +02:00