Commit graph

11491 commits

Author SHA1 Message Date
Benoit Marty
8d533e8a20 Other cleanup 2025-09-05 16:54:45 +02:00
Benoit Marty
ad8ad3d443 Add documentation to migrate from Dagger/Anvil to Metro 2025-09-05 14:37:44 +02:00
Benoit Marty
e88743bd6a Rename anvil modules to annotations and codegen 2025-09-05 14:26:27 +02:00
Benoit Marty
c15162ed38 Format 2025-09-05 14:03:09 +02:00
Benoit Marty
1836ae0ae0
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
bf0493de8f Sync strings again 2025-09-05 11:22:33 +02:00
Benoit Marty
aaaca12aa7 Sync strings again 2025-09-05 10:39:44 +02:00
Benoit Marty
2e5a4bc414 Fix compilation issue. 2025-09-05 10:13:51 +02:00
bmarty
8027ce9dca Sync Strings from Localazy 2025-09-05 07:44:19 +00:00
Benoit Marty
0e86b2c751
Merge pull request #5253 from element-hq/metro-v2
Migrate Anvil KSP to Metro
2025-09-04 18:19:01 +02:00
renovate[bot]
6833b76549
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
5ee0a40740 Use the right commit for enterprise 2025-09-04 17:17:59 +02:00
Jorge Martín
c6d622ced2 Revert removing enterprise submodule 2025-09-04 16:49:22 +02:00
Jorge Martín
e8328858ab Fixes after rebase 2025-09-04 16:49:21 +02:00
Jorge Martín
ddf9e5055e Upgrade Metro to v0.6.4 2025-09-04 16:49:21 +02:00
Jorge Martín
08bbe3fdaa 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
6a05e1b911 Improve the fix for push notifications and MessagingReceiver being unknown to the DI 2025-09-04 16:49:21 +02:00
Jorge Martín
badd8aa8a1 Fix push notification bindings 2025-09-04 16:49:21 +02:00
Jorge Martín
de8de61b2e Remove dagger and anvil dependencies, try to simplify gradle build scripts a bit 2025-09-04 16:49:21 +02:00
Jorge Martín
629776b9a3 Fix module still using dagger annotation 2025-09-04 16:49:21 +02:00
Jorge Martín
4ab62a6a38 Redo DI gradle setup code 2025-09-04 16:49:20 +02:00
Jorge Martín
6027651d85 Use version 0.6.3 of Metro, with the bugfix we need 2025-09-04 16:49:20 +02:00
Jorge Martín
29a97fc0d9 Fix lint issues and restore commented out code 2025-09-04 16:49:18 +02:00
Jorge Martín
b76a71ebf5 Start migrating Anvil KSP to Metro 2025-09-04 16:48:34 +02:00
Jorge Martin Espinosa
d4d57b1e21
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
b2d4985205
Merge pull request #5272 from element-hq/feature/bma/iterateOnBuildChain
Iterate on build chain
2025-09-04 14:17:17 +02:00
Benoit Marty
217490bb39 Update ref on submodule. 2025-09-04 13:44:00 +02:00
Benoit Marty
0927a502f5 Do not let default enterprise impl module be implemented for enterprise build. 2025-09-04 13:33:37 +02:00
Benoit Marty
63fa915dd9 Improve log to see the build type. 2025-09-04 12:40:25 +02:00
renovate[bot]
27e09966a7
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
83c72f4c05
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
db921ab108
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]
98cc918a3e
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
00ca73f342
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
58696780c8 Fix error. 2025-09-01 16:41:12 +02:00
Jorge Martin Espinosa
66eb876b2d
[a11y] Add click action to the message bottom sheet handle (#5228) 2025-09-01 15:27:40 +02:00
renovate[bot]
f0ba59d84e
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]
bec5643c67
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
150d0790bc
Update state in runUpdatingState when CancellationException occurs (#5243) 2025-09-01 15:07:32 +02:00
renovate[bot]
e73ff0bfb5
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
025131841b Cleanup tests. 2025-09-01 15:03:41 +02:00
Benoit Marty
75a640b986 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]
f0fa4bf08b
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
02c9549bc0
Sync Strings from Localazy (#5249)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-09-01 12:44:49 +02:00
renovate[bot]
d71a4c2a6c
Update dependency com.google.firebase:firebase-bom to v34.2.0 (#5245)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-29 09:13:13 +02:00
renovate[bot]
123eadb77a
Update dependency org.maplibre.gl:android-sdk to v11.13.1 (#5239)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-28 08:13:45 +02:00
Jorge Martin Espinosa
cc3d04ad84
[a11y] Add content descriptions to room list item indicators (#5236)
* [a11y] Add content descriptions to room list item indicators. These can now be read aloud as 'ongoing call', 'new messages', 'new mentions'.

* Add `contentDescription` to `UnreadIndicatorAtom` as an optional value

* Make the 'ongoing call', 'new messages', etc. indicators be read aloud before the latest event of the room summary

---------

Co-authored-by: ElementBot <android@element.io>
2025-08-27 17:14:59 +02:00
Benoit Marty
da03a50500
Merge pull request #5237 from element-hq/feature/bma/removeLoginUserStory
Remove LoginUserStory.
2025-08-27 15:44:21 +02:00
Benoit Marty
1632706121 Remove LoginUserStory.
No that we do not have the WaitList screen anymore, this interface and implementation are useless.
2025-08-27 15:20:20 +02:00
Strac Consulting Engineers Pty Ltd
f4708a4773
Spelling correction in Update FeatureFlags.kt (#5232)
Spelling correction L74 (flog to flag)
2025-08-27 11:31:28 +02:00