Commit graph

11497 commits

Author SHA1 Message Date
renovate[bot]
7ad7dcf068 Update codecov/codecov-action action to v5.5.1 (#5274)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-05 17:40:54 +02:00
Benoit Marty
2315044232 Cleanup our DI solution and add documentation about the migration to Metro (#5287)
* Format

* Rename anvil modules to annotations and codegen

* Add documentation to migrate from Dagger/Anvil to Metro

* Other cleanup

* Cleanup kover config.
2025-09-05 17:39:56 +02:00
Jorge Martin Espinosa
1fb5e63c30 Allow replying to a message with an attachment (#5261) 2025-09-05 17:36:54 +02:00
Benoit Marty
e608e5aac8 Merge pull request #5284 from element-hq/renovate/actions-github-script-8.x
Update actions/github-script action to v8
2025-09-05 17:31:50 +02:00
Benoit Marty
dabc395b5f Cleanup kover config. 2025-09-05 16:54:47 +02:00
Benoit Marty
aee66d6316 Other cleanup 2025-09-05 16:54:45 +02:00
Benoit Marty
5341ef8cd7 Add documentation to migrate from Dagger/Anvil to Metro 2025-09-05 14:37:44 +02:00
Benoit Marty
4e720cecb1 Rename anvil modules to annotations and codegen 2025-09-05 14:26:27 +02:00
Benoit Marty
606b1d132e Format 2025-09-05 14:03:09 +02:00
Benoit Marty
26329aa6a8 Merge pull request #5286 from element-hq/sync-localazy
Sync Strings - new translations to Korean
2025-09-05 11:59:14 +02:00
Benoit Marty
911aee9375 Sync strings again 2025-09-05 11:22:33 +02:00
Benoit Marty
2959036c82 Sync strings again 2025-09-05 10:39:44 +02:00
Benoit Marty
31c4da111a Fix compilation issue. 2025-09-05 10:13:51 +02:00
bmarty
676d7f6c8f Sync Strings from Localazy 2025-09-05 07:44:19 +00:00
renovate[bot]
70649d5e3e Update actions/github-script action to v8 2025-09-04 16:20:26 +00:00
Benoit Marty
dc79e7438c Merge pull request #5253 from element-hq/metro-v2
Migrate Anvil KSP to Metro
2025-09-04 18:19:01 +02:00
renovate[bot]
6d76dfdd57 Update dependency com.posthog:posthog-android to v3.21.1 (#5275)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-04 17:36:10 +02:00
Jorge Martín
33b7e2dd60 Use the right commit for enterprise 2025-09-04 17:17:59 +02:00
Jorge Martín
3c89f42125 Revert removing enterprise submodule 2025-09-04 16:49:22 +02:00
Jorge Martín
8f09fd62d9 Fixes after rebase 2025-09-04 16:49:21 +02:00
Jorge Martín
2fd9eaf17f Upgrade Metro to v0.6.4 2025-09-04 16:49:21 +02:00
Jorge Martín
2907cef47e Some cleanup:
- Remove unnecessary `GlobalScope`.
- Rename `Component` to `Graph`, `DaggerComponentOwner` to `DependencyInjectionGraphOwner`.
- Rename component builders to factories, where necessary.
2025-09-04 16:49:21 +02:00
Jorge Martín
36bca71a46 Improve the fix for push notifications and MessagingReceiver being unknown to the DI 2025-09-04 16:49:21 +02:00
Jorge Martín
298fda8bcf Fix push notification bindings 2025-09-04 16:49:21 +02:00
Jorge Martín
dca1c5b516 Remove dagger and anvil dependencies, try to simplify gradle build scripts a bit 2025-09-04 16:49:21 +02:00
Jorge Martín
f23a493d4c Fix module still using dagger annotation 2025-09-04 16:49:21 +02:00
Jorge Martín
e06bacbff3 Redo DI gradle setup code 2025-09-04 16:49:20 +02:00
Jorge Martín
60cdf61cf2 Use version 0.6.3 of Metro, with the bugfix we need 2025-09-04 16:49:20 +02:00
Jorge Martín
fc3153bd26 Fix lint issues and restore commented out code 2025-09-04 16:49:18 +02:00
Jorge Martín
92a4b8b66b Start migrating Anvil KSP to Metro 2025-09-04 16:48:34 +02:00
Jorge Martin Espinosa
2eacce47c0 Reload member list after moderation actions (#5268)
* Reload member list after moderation actions

The previous `runActionAndWaitForMembershipChange` logic wasn't really doing anything, as the modified flow was never used.

* Make sure we always set the value in the member list state flow, even if the underlying coroutine scope is no longer there.

With `emit`, the `Ready` state was not emitted if the member list was loaded way too fast.
2025-09-04 12:56:46 +00:00
Benoit Marty
25da1cba83 Merge pull request #5272 from element-hq/feature/bma/iterateOnBuildChain
Iterate on build chain
2025-09-04 14:17:17 +02:00
Benoit Marty
3603b8afef Update ref on submodule. 2025-09-04 13:44:00 +02:00
Benoit Marty
9daadb384e Do not let default enterprise impl module be implemented for enterprise build. 2025-09-04 13:33:37 +02:00
Benoit Marty
0d4c578108 Improve log to see the build type. 2025-09-04 12:40:25 +02:00
renovate[bot]
8574d5cfe8 Update actions/setup-python action to v6 (#5270)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-04 09:37:22 +02:00
Jorge Martin Espinosa
fb764d2b72 Set a custom request config for the Client (#5266)
This is the default HTTP request configuration that will be used. I matches iOS.
2025-09-03 12:09:40 +00:00
Jorge Martin Espinosa
fa918e3efa Enable largeHeap option (#5258)
This should help with some OOM issues we're seeing when both playing and transcoding video files in the attachment preview screen
2025-09-03 11:06:46 +02:00
renovate[bot]
b3e7e7b2c3 Update dependency io.element.android:emojibase-bindings to v1.4.3 (#5250)
* Update dependency io.element.android:emojibase-bindings to v1.4.3

* Fix breaks in API

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2025-09-02 09:20:21 +02:00
Benoit Marty
280f9570ec Refactor: Move InMemorySessionStore to test module (#5252)
* Refactor: Move InMemorySessionStore to test module

- Delete `libraries/session-storage/impl-memory` module
- Move `InMemorySessionStore.kt` to `libraries/session-storage/test`

* Cleanup tests.

* Fix error.
2025-09-01 17:29:43 +02:00
Benoit Marty
a3fa1744b2 Fix error. 2025-09-01 16:41:12 +02:00
Jorge Martin Espinosa
f5b5bb39ba [a11y] Add click action to the message bottom sheet handle (#5228) 2025-09-01 15:27:40 +02:00
renovate[bot]
c4555bc76a Update android.gradle.plugin to v8.12.2 (#5244)
* Update android.gradle.plugin to v8.12.2

* Upgrade lint version

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org>
2025-09-01 15:23:33 +02:00
renovate[bot]
eb08cc8a99 Update plugin sonarqube to v6.3.1.5724 (#5235)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-01 15:10:57 +02:00
João Breno
fbca1b3dfe Update state in runUpdatingState when CancellationException occurs (#5243) 2025-09-01 15:07:32 +02:00
renovate[bot]
307596d5a3 Update dependency org.matrix.rustcomponents:sdk-android to v25.9.1 (#5251)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-01 15:05:31 +02:00
Benoit Marty
a00623e490 Cleanup tests. 2025-09-01 15:03:41 +02:00
Benoit Marty
5f223f3c89 Refactor: Move InMemorySessionStore to test module
- Delete `libraries/session-storage/impl-memory` module
- Move `InMemorySessionStore.kt` to `libraries/session-storage/test`
2025-09-01 14:47:42 +02:00
renovate[bot]
b1770834d9 Update dependency com.posthog:posthog-android to v3.21.0 (#5238)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-01 12:45:18 +02:00
ElementBot
a43b907275 Sync Strings from Localazy (#5249)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-09-01 12:44:49 +02:00