Commit Graph

17 Commits

Author SHA1 Message Date
Benoit Marty
05fc76822a Apply dual licenses: AGPL + Element Commercial to file headers.
2 replace all actions have been performed:
- "SPDX-License-Identifier: AGPL-3.0-only" to "SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial"
- "Please see LICENSE in the repository root for full details." to "Please see LICENSE files in the repository root for full details."
2025-01-07 10:05:04 +01:00
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
a00ee18f96 Add Konsist test Class with 'ContributeBinding' annotation should have allowed prefix and fix exissting issues.
Also remove annotation `DefaultPreferences`, we only have one implementation.
2024-05-31 10:18:08 +02:00
Jorge Martin Espinosa
38fdef0388 Fix crash about several DataStores using the same file (#2312)
* Fix crash about several DataStores using the same file

- Create `@SessionCoroutineScope` annotation to pass a session-managed coroutine scope to the DI.
- Expose this scope from `MatrixClient`.
- Rework DataStore file creation a bit.
- Centralise session preference creation through `DefaultSessionPreferencesStoreFactory` until we figure out what went wrong with the scoping
2024-01-30 11:10:46 +01:00
Marco Romano
d7054fb34d Add global context.cacheDir provider. (#1606)
## Type of change

- [ ] Feature
- [ ] Bugfix
- [x] Technical
- [ ] Other :

## Content

Dagger now provides the app's `cacheDir` when requesting a `@CacheDirectory File`  type.

## Motivation and context

To support some upcoming code that needs the `cacheDir` to be changed during tests.
2023-10-19 14:07:45 +02:00
Jorge Martin Espinosa
afd58f1634 Update Gradle to 8.1 and AGP to v8.0 (#329)
* Update AGP to 8.0.0.

* Set JAVA_HOME to JDK17

* Update lint version.

* Use right JDK for dependency analysis, replace deprecated env var.

* Upgrade to Gradle 8.1.

* Remove `@Supress(DSL_SCOPE_VIOLATION)` as it's no longer needed.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-17 08:49:52 +00:00
Benoit Marty
64f4740029 Import some stuff about Push and notification from Element Android - WIP 2023-04-05 16:18:44 +02:00
Benoit Marty
fcd4921042 Fix lint warning
Recommended Action: Apply the 'com.android.lint' plugin to java library project ***. to enable lint to analyze those sources.
2023-03-17 09:57:30 +01:00
ganfra
c6cfe2b5e2 Rename di module 2023-01-20 17:12:40 +01:00
ganfra
3a6be5f745 Merge branch 'develop' into feature/fga/presenter_tests 2023-01-18 20:47:15 +01:00
ganfra
1f2a9026ea Add some refactoring and first simple test on RoomListPresenter 2023-01-18 17:57:34 +01:00
Benoit Marty
66a389c4c5 Rename folders java to kotlin 2023-01-18 13:51:30 +01:00
ganfra
8718bc4cde Start migrating messages screen 2023-01-12 18:19:27 +01:00
Benoit Marty
243ee07bfc Fix warning 2022-12-23 15:19:24 +01:00
Benoit Marty
e2515020cf Add missing Copyright 2022-12-22 13:51:56 +01:00
Benoit Marty
a4fd7bab4f Code quality
Code quality
2022-12-21 15:32:53 +01:00
ganfra
8620a86333 Continue dagger setup... 2022-12-15 17:50:25 +01:00