Benoit Marty
2b016227e9
Migrate license to AGPL.
...
Run script `uv run license-editor --repository ../element-x-android`
2024-09-06 17:19:19 +02:00
Benoit Marty
b9169e6c76
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
Benoit Marty
c2c7f6b755
Add generated screen to show open source licenses.
...
For Google Play variant only
2024-07-17 15:53:08 +02:00
Benoit Marty
b804e5488b
Create module :appicon:enterprise
2024-07-03 17:20:13 +02:00
Benoit Marty
ca8f13cfaf
Move application icon to their own module, to be able to have another icon for Element Enterprise
2024-07-03 15:15:53 +02:00
Jorge Martin Espinosa
950e502ca6
Improve screenshot testing with ComposablePreviewScanner ( #3125 )
...
* Use ComposablePreviewScanner to rework how screenshot testing works
* Add test sharding
* Update screenshots
* Fixes for Element Gallery
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
Co-authored-by: Benoit Marty <benoit@matrix.org>
2024-07-03 13:05:06 +02:00
Benoit Marty
0e23e081ce
Use different groups for Element Enterprise
2024-07-02 17:21:03 +02:00
Benoit Marty
dc8d3dc7fe
Element Enterprise: use different appId for nightly build.
2024-07-02 14:58:13 +02:00
Benoit Marty
6c0719e067
Merge pull request #3025 from element-hq/feature/bma/elementEnterprise
...
Element enterprise (EE) foundations
2024-07-01 17:08:40 +02:00
Benoit Marty
0fb7f621ba
Remove unnecessary packaging configuration.
2024-07-01 11:54:54 +02:00
Benoit Marty
c4bb13098f
Add a check on isEnterpriseBuild before including enterprise module.
...
This is not strictly necessary, since if the enterprise modules are not there, nothing will be included by `allEnterpriseImpl()`, but for clarity, it's better to add this check.
2024-07-01 11:53:43 +02:00
Benoit Marty
77d10eaf39
Remove towncrier template.
2024-06-27 12:16:34 +02:00
Benoit Marty
83d5904f28
Remove towncrier invocation when building nightly.
2024-06-27 11:52:38 +02:00
Benoit Marty
f339bd5d25
Gradle: log which application is built.
2024-06-26 11:59:46 +02:00
Benoit Marty
96249c14bd
Change application name for EXE build
2024-06-26 11:59:46 +02:00
Benoit Marty
03491b81e7
lift out assignment.
2024-06-26 11:59:45 +02:00
Benoit Marty
d43a8c8bea
Add first EnterpriseService.
2024-06-26 11:59:41 +02:00
Benoit Marty
edc9a496b0
Remove wrong dependency.
2024-06-14 10:29:48 +02:00
Benoit Marty
c64fb6f510
Add Explicit list of supported languages, generated from Localazy data.
2024-05-06 14:51:19 +02:00
Tonkku
474a1412ed
Enable support for Android per-app language preferences ( #2795 )
...
* Enable support for Android per-app language preferences
* Add changelog entry
2024-05-06 09:10:49 +02:00
Benoit Marty
f6b5b8419b
Implement a migration mechanism to handle internal stuff which need to occur during application upgrade.
...
Remove VectorFileLogger, it was dead code.
2024-04-24 11:17:23 +02:00
Jorge Martin Espinosa
b488cbbfb8
Test and verify coverage only on debug variant ( #2556 )
...
* Test and verify coverage only on debug variant
* Set files to upload
* Fix also nightlyReports flow
2024-03-15 15:52:33 +01:00
Benoit Marty
f47b9827c5
Restore branch and git sha, to use it in logs and in rageshakes.
...
Remove quite useless `gitRevisionDate`.
2024-01-25 14:16:21 +01:00
Benoit Marty
9a8437f4a1
Only call setupKover() for the app, not for minimal.
...
minimal does not have the gplay variant.
2024-01-11 22:03:34 +01:00
Benoit Marty
2b749f7683
Cleanup
2024-01-11 21:42:04 +01:00
Benoit Marty
dfc81c7fb1
Ensure that FDroid build will not include Firebase push provider.
...
`allLibrariesImpl()` is also used by the midule uitest, and in this case `gplayImplementation` cannot be found. Since the push provider modules do not contain any ui, it's fine to move the dependency declaration to the app module.
2024-01-11 21:42:04 +01:00
Benoit Marty
345b7e9ab6
Update gradle tasks and paths regarding the new gplay and fdroid flavor.
2024-01-11 21:42:04 +01:00
Benoit Marty
e4ef00908b
Create gplay and fdroid variant
2024-01-11 21:42:04 +01:00
Jorge Martin Espinosa
e859b58f09
Don't apply Kover to projects with AAR libraries ( #2211 )
...
* Don't apply Kover to projects with AAR libraries
* Move the Kover configuration to the `plugins` project
2024-01-11 21:16:31 +01:00
Benoit Marty
7fbe848243
Exclude ContentToPreview from coverage, either by using annotation @ExcludeFromCoverage, or by inlining it.
2024-01-09 17:56:01 +01:00
Benoit Marty
ffa59333a1
Fix the wrong coverage report
...
It wasn't taking into account any test result from the debug runs or screenshot tests
Co-authored-by: Jorge Martin Espinosa <jorgem@element.io>
2024-01-09 17:07:26 +01:00
Benoit Marty
8f2a1e9e2d
Migrate "When running on the CI, run only debug test variants".
...
Following notice here: https://github.com/Kotlin/kotlinx-kover/blob/v0.7.0/docs/gradle-plugin/migrations/migration-to-0.7.0.md#using-isdisabled-boolean-is-an-error-kover-test-task-config-was-removed
2024-01-09 11:04:28 +01:00
Benoit Marty
b727312040
Upgrade Kover to 0.7.5
2024-01-09 10:51:30 +01:00
Jorge Martin Espinosa
4f296ffb49
Disable vector XML rasterisation on API 23 ( #2128 )
...
* Disable vector XML rasterisation on API 23
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-12-29 11:41:08 +00:00
Benoit Marty
3c4629e74c
Add test for IntentProviderImpl
2023-11-24 09:56:45 +01:00
Benoit Marty
79806852ca
Move Knit to Gradle catalog and use alias(libs.plugins.kotlin.serialization). Fix issue with JNA
2023-11-13 09:58:00 +01:00
Benoit Marty
33fe608459
Move appdistribution declarations to Gradle catalog
2023-11-10 16:39:05 +01:00
renovate[bot]
7456d87bde
Update plugin com.google.firebase.appdistribution to v4.0.1 ( #1656 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-27 08:12:44 +02:00
ganfra
a34604512d
Pin: add tests and make LockScreenConfig an injectable data class
2023-10-25 18:39:39 +02:00
Marco Romano
fb02f698d7
Include desugaring lib also in library modules ( #1604 )
...
## Type of change
- [ ] Feature
- [ ] Bugfix
- [x] Technical
- [ ] Other :
## Content
Includes the `coreLibraryDesugaring(libs.android.desugar)` dependency in all modules which use one of our gradle plugins.
## Motivation and context
Right now desugaring is enabled also in library modules but the desugar dependency is not included in those.
This causes some unwanted side effects such as being unable to run compose previews in an emu.
This change will also include the desugar dependency in those libraries.
2023-10-19 09:00:32 +00:00
Benoit Marty
bdd7ecd789
Move konsist test to their own module.
2023-10-12 18:41:38 +02:00
Benoit Marty
675f77bfa4
Add some Konsist test.
2023-10-10 14:21:36 +02:00
Jorge Martin Espinosa
a06bea4d71
Element Call SPA integration ( #1283 )
...
* Integrate Element Call into EX, being able to open its URLs and handle the call in-app.
* Add custom scheme support with format `element:call?url=...`.
* Update androix.webkit
* Silence the foreground service notification.
- Allow foreground service tap action to re-open the ongoing call.
- Unify notification small icons in different modules using a vector one.
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-09-15 16:39:44 +02:00
David Langley
59d7947cc0
Merge branch 'develop' of https://github.com/vector-im/element-x-android into feature/dla/emojibase_integration
2023-08-28 17:03:00 +01:00
David Langley
685d684359
Integrate emojibase
...
- Integrate emojibase datasource
- Use element category translations
- Use Material emoji category logos
2023-08-28 16:45:42 +01:00
Jorge Martín
378c66c3e8
Fix tests and warnings
2023-07-26 10:42:28 +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
0fd5032dba
Nightly build: upload the application bundle to Firebase instead of the universal APK.
2023-07-21 10:24:11 +02:00
Benoit Marty
dc3c237176
Ensure uitest take preview from app module.
2023-07-19 14:47:30 +02:00
Jorge Martin Espinosa
e61af2eb7d
Fix: make sure we ignore notifications for open rooms ( #867 )
...
* Make sure we ignore notifications for open rooms
- Listen to process lifecycle changes in `AppForegroundStateService`. Use initializers to reliable create it.
- Merge `AppNavigationState` with `AppForegroundState`. Renamed the previous `AppNavigationState` to `NavigationState`, created a new `AppNavigationState` which contains both the navigation state and the foreground state.
2023-07-17 17:02:06 +02:00