Commit graph

2903 commits

Author SHA1 Message Date
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
Jorge Martín
4896b76e47 Try to fix lint issue 2023-07-20 07:21:28 +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
Marco Romano
8986cf5669
Add maestro test for send location (#914)
Originally part of https://github.com/vector-im/element-x-android/pull/770
It's been extracted out since it's currently blocked by our lack of maestro cloud credits.

- https://github.com/vector-im/element-meta/issues/1682
2023-07-19 14:46:56 +02:00
Benoit Marty
3c9ecec563 Make SyncState values match SyncServiceState values. 2023-07-19 14:44:53 +02:00
Benoit Marty
2686e5d912 Ensure uitest take preview from appnav module. 2023-07-19 14:41:41 +02:00
ganfra
5f225ce3b7 TimelineDiff: use firstOrNull even if it shouldn't never be empty 2023-07-19 14:39:23 +02:00
Marco Romano
4c1a691b78
Fix insets for nav bar in send location view (#915)
Improvement of https://github.com/vector-im/element-x-android/pull/770

- https://github.com/vector-im/element-meta/issues/1682
2023-07-19 13:57:34 +02:00
Jorge Martín
243a39d6de Don't blindly retry fetching pending or failed event details 2023-07-19 13:14:45 +02:00
Benoit Marty
b55b4d551d Implement SyncState chip. (#909) 2023-07-19 12:30:34 +02:00
Marco Romano
3c45a5ece4
Send My Location (#770)
- https://github.com/vector-im/element-meta/issues/1682
2023-07-19 09:58:13 +00:00
ganfra
9bf388eb1a Avoid spamming sync flow by checking item origin 2023-07-19 11:48:05 +02:00
renovate[bot]
68c2aa8822
Update dependency io.sentry:sentry-android to v6.26.0 (#910)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-19 11:05:35 +02:00
David Langley
ec3c524cae Don't update non reaction screenshots 2023-07-19 09:36:09 +01:00
David Langley
26864eb826 Update screenshots 2023-07-19 09:28:02 +01:00
Benoit Marty
02251f2d96
Merge pull request #901 from vector-im/feature/fga/power_level
Feature/fga/power level
2023-07-18 23:39:52 +02:00