Commit graph

227 commits

Author SHA1 Message Date
Benoit Marty
4c61e5dfa2 Remove :samples:minimal module 2024-11-14 09:06:13 +01:00
Benoit Marty
001d6e4c51 version++ 2024-11-08 17:04:21 +01:00
Benoit Marty
4f60ee2eb2 Fix warning in Versions.kt: const and naming convention. 2024-10-31 09:28:03 +01:00
Benoit Marty
920c50cc3d Compile and target API 35.
Tested OK on a API 35 emulator.
2024-10-31 09:27:52 +01:00
ganfra
1da6482c76 version++ 2024-10-29 14:58:43 +01:00
Benoit Marty
dd2d1de78d version++ 2024-10-25 11:54:40 +02:00
Benoit Marty
afa5525baf version++ 2024-10-10 20:29:37 +02:00
Benoit Marty
5823c2886e Setting version for the release 0.7.0 2024-10-10 20:22:56 +02:00
Jorge Martin Espinosa
366db4791b
Upgrade Kotlin to v2.0 (#3594)
* Bump Kotlin to v2.0

* Fix lots of issues due to the upgrade: lint issues, function signature incompatibilities, broken tests, etc.

---------

Co-authored-by: Benoit Marty <benoit@matrix.org>
2024-10-10 08:32:00 +00:00
Benoit Marty
584c80a3eb version++ 2024-10-09 09:40:04 +02:00
bmarty
e25ba65170 Sync Strings from Localazy 2024-10-07 00:28:33 +00:00
Jorge Martin Espinosa
f8fa218146
Upgrade the used JDK in the project to v21 (#3582)
* Upgrade the used JDK in the project to v21

* Use it for CI too

* Centralise java language version

* Fix deprecations, tests and lint issues

* Fix coverage taking into account `@Preview` annotated code.

---------

Co-authored-by: Benoit Marty <benoit@matrix.org>
2024-10-03 09:38:03 +00:00
Jorge Martin Espinosa
79c17f714f
Use Anvil KSP instead of the Square KAPT one (#3564)
* Use Anvil KSP instead of the Square KAPT one

* Fix several configuration cache, lint and test issues

* Allow incremental kotlin compilation in the CI

* Workaround Robolectric + Compose issue that caused `AppNotIdleException`

* Update the `enterprise` commit hash

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2024-10-02 11:52:17 +00:00
Jorge Martin Espinosa
eeec7cc785
Centralise the DI code generation logic (#3562)
* Create Anvil extension helper

* Use the helper everywhere
2024-09-30 12:20:28 +00:00
Benoit Marty
a9b45a2f57
Merge pull request #3349 from frebib/fix/warnings
Fix a couple of build-time warnings in Gradle output
2024-09-30 11:47:21 +02:00
ganfra
ff0722978d version++ 2024-09-25 18:33:33 +02:00
Benoit Marty
1a979cd142 Use ModulesConfig for push provider modules. 2024-09-24 12:31:18 +02:00
Benoit Marty
d57e3b7ec9 Introduce ModulesConfig for easier configurations of modules. 2024-09-24 12:26:48 +02:00
ganfra
d0f363bf7d Pinned messages analytics : introduce LocalAnalyticsService so we can easily inject it in views 2024-09-20 18:28:25 +02:00
Benoit Marty
1dbd7df2fb version++ 2024-09-19 10:37:15 +02:00
Benoit Marty
4bd7fbe2b0 version++ 2024-09-17 20:06:10 +02:00
Benoit Marty
fe5c08108e version++ 2024-09-17 14:02:39 +02:00
Benoit Marty
dac3c7285a version++ 2024-09-12 15:06:50 +02:00
Benoit Marty
24a78f90df version++ 2024-09-10 09:29:32 +02:00
Joe Groocock
bac14dd019
Fix deprecation warning in KoverExtension
> Task :plugins:compileKotlin
    w: file:///.../plugins/src/main/kotlin/extension/KoverExtension.kt:70:109
    'capitalized(): String' is deprecated. This was never intended as a
    public API.

Signed-off-by: Joe Groocock <me@frebib.net>
2024-09-09 22:05:15 +00:00
Benoit Marty
f61df38e55 Migrate license to AGPL.
Run script `uv run license-editor --repository ../element-x-android`
2024-09-06 17:19:19 +02:00
ganfra
ebaa2e7667 version++ 2024-09-05 17:48:10 +02:00
Benoit Marty
965e445d04 Replace OSS licenses plugin with Licensee and some manually done UI.
This should fix both configuration cache and reproducible F-droid builds.

Cleanup and remove gplay/fdroid diff on open source licenses.

Co-authored by @jmartinesp
2024-09-02 21:11:52 +02:00
ganfra
28c1e0ebc7 version++ 2024-08-28 12:29:48 +02:00
bmarty
3e67448006 Sync Strings from Localazy 2024-08-19 00:25:36 +00:00
Jorge Martín
ee7a31cace Extract OIDC to its own module 2024-08-13 08:55:05 +02:00
bmarty
76804d9e48 Sync Strings from Localazy 2024-07-29 00:26:27 +00:00
ganfra
5302d8bd0e version++ 2024-07-24 14:38:34 +02:00
ganfra
f241e6620c Setting version for the release 0.5.0 2024-07-24 14:34:12 +02:00
ElementBot
1f01bd73c4
Sync Strings (#3232)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-07-22 08:59:47 +00:00
Benoit Marty
35af93d7f0 Set targetSDK to 34 2024-07-05 12:29:14 +02:00
ganfra
6b2c26ccb8 version++ 2024-07-04 18:00:36 +02:00
jmartinesp
dabaa2d265 Sync Strings from Localazy 2024-07-03 11:21:27 +00:00
Benoit Marty
6e14046cb7 Lint: Disable check of "ObsoleteSdkInt" since the min sdk is higher on Enterprise builds 2024-06-26 14:43:39 +02:00
Benoit Marty
9b5738476c Gradle: log which application is built. 2024-06-26 11:59:46 +02:00
Benoit Marty
1b72221df7 Add first EnterpriseService. 2024-06-26 11:59:41 +02:00
Benoit Marty
1cffa3d1fe Min SDK is now 24 2024-06-24 17:34:58 +02:00
ganfra
112cd36ce2 version++ 2024-06-19 14:27:42 +02:00
Jorge Martin Espinosa
b741c32e91
Add full screen intent permissions banner (#3024)
* Add full screen intent permissions banner, creating `:libraries:fullscreenintent` modules.
* Add it to notification settings too:
    - Create `libraries:fullscreenintent` modules for the permission presenter and associated data.
    - Add the presenter and states to `NotificationSettingsPresenter` and `NotificationSettingsView`.
* Use the right API to check for full screen intent permissions.
- Use the right package name for `:libraries:permission` contents.
* Fix broken tests (flaky?)
* Ignore coverage verification for fake and small presenters

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-06-18 07:41:10 +00:00
Jorge Martin Espinosa
c9e0db26d8
Try to workaround OOM errors and the runners dying (#3013)
* Try to workaround OOM errors and the runner dying

* Some more tweaks:

- Add `-XX:MaxMetaspaceSize` (https://github.com/gradle/gradle/issues/19750)
- Remove `-PpreDexEnable` as it's deprecated and no longer used.
- Remove `--max-workers` as gradle will automatically use the optimal amount.

* Remove `--max-workers` in recording screenshots too
2024-06-12 15:35:51 +02:00
bmarty
f3d286911c Sync Strings from Localazy 2024-06-10 00:17:04 +00:00
ganfra
4b27cda15c version++ 2024-06-07 12:43:45 +02:00
Benoit Marty
2aeab9ea29 Second try... 2024-05-31 12:34:24 +02:00
Benoit Marty
9e387534e7 Exclude io.element.android.features.location.impl.common.permissions.DefaultPermissionsPresenter from kover check 2024-05-31 11:34:28 +02:00
bmarty
ca5bc71057 Sync Strings from Localazy 2024-05-29 12:44:57 +00:00