Jorge Martin Espinosa
eeec7cc785
Centralise the DI code generation logic ( #3562 )
...
* Create Anvil extension helper
* Use the helper everywhere
1 month ago
renovate[bot]
410f879c9f
Update dependency net.java.dev.jna:jna to v5.15.0
1 month ago
Benoit Marty
0e90e57444
Add test skeleton for RustMatrixClientFactory and RustMatrixAuthenticationService
1 month ago
Benoit Marty
85ff062c73
Add unit test on SessionPathsProvider
1 month ago
Benoit Marty
32c2101184
Add unit test on LoadingIndicatorsPostProcessor
1 month ago
Benoit Marty
f61df38e55
Migrate license to AGPL.
...
Run script `uv run license-editor --repository ../element-x-android`
2 months ago
Jorge Martín
b9f4403408
Add simplified sliding sync toggle to developer options
3 months ago
Benoit Marty
1e5a61a49c
Move PermalinkBuilder, MatrixToConverter and PermalinkParser content to the `impl` project in order to remove projects.appconfig dependency from matrix.api module.
7 months ago
Benoit Marty
87dd1cd4c1
Add unit test on UtdTracker
8 months ago
Benoit Marty
5c948ed0ba
Track UTD errors.
8 months ago
Jorge Martin Espinosa
da4825aa44
Return cached room members before fetching new ones, do it in batches ( #2274 )
...
* Use cached users from the Rust SDK.
Also lazy load received users by batches.
* Create `RoomMemberListFetcher` to wrap all the room member loading logic
* Ensure we clear `RoomMember` Rust references if the fetching coroutine is canceled
9 months ago
renovate[bot]
271fedb7d4
Update dependency net.java.dev.jna:jna to v5.14.0 ( #1986 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
11 months ago
Jorge Martin Espinosa
ba4d3a70c7
Try to make all collections used in Compose code immutable ( #1922 )
...
* Try to make all collections used in Compose code immutable.
Mark sealed interfaces as `@Immutable` too
* Add gradle code to check the compose compiler reports
* Fix some more unstable classes
11 months ago
Benoit Marty
5850f5342d
Move Knit to Gradle catalog and use alias(libs.plugins.kotlin.serialization). Fix issue with JNA
12 months ago
Benoit Marty
67d58bac35
Move remaining hard-coded dependency to Gradle catalog. We had 2 different version of material3 library.
12 months ago
Benoit Marty
8819522423
Replace hard-coded value by value from gradle datalog
12 months ago
renovate[bot]
9e66180d20
Update kotlin ( #1697 )
...
* Update kotlin
* Lower Sonar RAM usage, remove redundant `Dkotlin.daemon.jvm.options`
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
12 months ago
Benoit Marty
21e24990c4
Improve and fix build_rust_sdk.sh after PR review
1 year ago
Benoit Marty
cc2664c519
Use local SDK if the file exist
1 year ago
Benoit Marty
f7f9a78101
Cleanup and compact code. Also prefer usage of DayNightPreview.
1 year ago
Jorge Martín
2ccafec564
Changes:
...
- Improve UI to match designs.
- Extract `EditableAvatarView` component.
- Create `LabelledOutlinedTextField`.
- Get strings from Localazy.
1 year ago
Jorge Martín
149677a2e6
Add preference screen for user profile
1 year ago
Jorge Martin Espinosa
199f578e4a
Re-enable `SyncService.withEncryptionSync` to improve decryption of notifications ( #1199 )
...
* Re-enable `SyncService.withEncryptionSync` to improve decryption of notifications.
* Add feature flag
1 year ago
renovate[bot]
bb75539647
Update kotlin to 1.9.10 ( #1123 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 year ago
renovate[bot]
4a630f141d
Update kotlin - TO BE MERGED AFTER THE RELEASE ( #789 )
...
* Update kotlin
* Update kotlinc.xml
* Update ksp
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Marco Romano <marcor@element.io>
Co-authored-by: Benoit Marty <benoit@matrix.org>
1 year ago
ganfra
e8d1f21a14
Feature/fga/rust sdk tracing ( #1036 )
...
* Align TracingConfiguration with iOS
* Create TracingTree from rust sdk
* tracing: create a working configuration with RustTracingTree
* Tracing: WIP implementation of new api
* Tracing: clean up
* Tracing: use the latest api
* Tracing: some more clean up
* Remove generated logcat file after compressing it
---------
Co-authored-by: ganfra <francoisg@element.io>
Co-authored-by: Jorge Martín <jorgem@element.io>
1 year ago
ganfra
ea35e36aff
Timeline: move TimelineEncryptedHistoryPostProcessor off the main thread
1 year ago
Jorge Martin Espinosa
05f7037939
Prepare update to Rust SDK 0.1.36 ( #966 )
...
* Update to Rust SDK 0.1.36
* Cancel fetching members when the we exit the room
1 year ago
Jorge Martin Espinosa
2488432805
Hide encryption history + FTUE flow ( #839 )
...
* First attempt at implementing encrypted history banner and removing old UTDs
* Get the right behavior in the timeline
* Implement the designs
* Extract post-processing logic, add tests
* Add encryption banner to timeline screenshots
* Create FTUE feature to handle welcome screen and analytics
* Move classes to their own packages, add tests for `DefaultFtueState`.
* Remove unnecessary private MutableStateFlow
* Move some FTUE related methods and classes back to the `impl` module
* Handle back press at each FTUE step
* Remove unneeded `TestScope` receiver for `createState` in tests.
* Use light & dark previews for the banner view.
* Move color customization from `TextStyle` to `Text` component.
* Rename `InfoList` design components, use them in `AnalyticsOptInView` too.
* Cleanup MatrixClient.
* Fix copy&paste error
Co-authored-by: Benoit Marty <benoit@matrix.org>
* Fix typo
* Fix Maestro tests
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
Co-authored-by: Benoit Marty <benoit@matrix.org>
1 year ago
Benoit Marty
f4b4e4d316
Configure user agent for all network request ( #677 )
1 year ago
renovate[bot]
d6780b1107
Update kotlin
1 year ago
Benoit Marty
f014f0a3ae
Add clear cache action in the developer settings ( #643 )
1 year ago
Benoit Marty
becbc6607d
Fix detected forbidden pattern.
1 year ago
renovate[bot]
8c00b19ba9
Update kotlin
2 years ago
renovate[bot]
61a01b003b
Update kotlin
2 years ago
Jorge Martin Espinosa
de010545fb
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>
2 years ago
Benoit Marty
b74e1e6074
allLibraries renamed to allLibrariesImpl and only reference implementation of the libraries.
2 years ago
ganfra
801eecfe8d
[MatrixSDK] finish mapping timeline and makes it compile
2 years ago
Benoit Marty
b8467e547c
Split module `matrix` to `matrix.api` with interfaces and data classes and `matrix.impl` with Rust implementation.
2 years ago
Jorge Martin Espinosa
6677f80abe
Store session data in a secure way ( #98 )
...
* Replace SessionData DataStore with an encrypted SQLite DB.
---------
Co-authored-by: Benoit Marty <benoit@matrix.org>
2 years ago
ganfra
5731deb9a5
Format code
2 years ago
ganfra
830b8caa3a
Update rust-sdk (from maven)
2 years ago
dependabot[bot]
59615ec99b
Bump plugin.serialization from 1.8.0 to 1.8.10
...
Bumps [plugin.serialization](https://github.com/JetBrains/kotlin ) from 1.8.0 to 1.8.10.
- [Release notes](https://github.com/JetBrains/kotlin/releases )
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.8.10/ChangeLog.md )
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.8.0...v1.8.10 )
---
updated-dependencies:
- dependency-name: plugin.serialization
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
ganfra
dd00f99f0c
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
2 years ago
ganfra
907d7eba75
Rename matrix modules
2 years ago
Benoit Marty
4c832c88f7
Kotlin 1.8 + cleanup
2 years ago
dependabot[bot]
2a2522771d
Bump jna from 5.12.1 to 5.13.0
...
Bumps [jna](https://github.com/java-native-access/jna ) from 5.12.1 to 5.13.0.
- [Release notes](https://github.com/java-native-access/jna/releases )
- [Changelog](https://github.com/java-native-access/jna/blob/master/CHANGES.md )
- [Commits](https://github.com/java-native-access/jna/compare/5.12.1...5.13.0 )
---
updated-dependencies:
- dependency-name: net.java.dev.jna:jna
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
ganfra
eeebb99292
Move some code to 'architecture' module
2 years ago
Benoit Marty
e393e8f52b
Fix warning
2 years ago
Benoit Marty
c5c05e3867
Create `matrixui` module and remove dependency to `coil` in the matrix module. Move `MatrixUser` there.
2 years ago