Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rebase against on EX develop #12

Merged
merged 520 commits into from
Oct 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
520 commits
Select commit Hold shift + click to select a range
58ea2c7
Merge tag 'v0.6.3' into develop
bmarty Sep 19, 2024
1dbd7df
version++
bmarty Sep 19, 2024
929cefa
Changelog for version 0.6.3
bmarty Sep 19, 2024
197fe9b
Change ElementBot mail to [email protected]
bmarty Sep 19, 2024
c8c7931
Add first test on RustMatrixClient
bmarty Sep 19, 2024
96a2828
Change signature of RustMatrixClient, val are not always necessary.
bmarty Sep 19, 2024
40e8b56
Create a factory function for RustMatrixClient
bmarty Sep 19, 2024
3f35bf7
Fix compilation issue
bmarty Sep 19, 2024
0e90e57
Add test skeleton for RustMatrixClientFactory and RustMatrixAuthentic…
bmarty Sep 19, 2024
86844e0
Add test on RustClientSessionDelegate
bmarty Sep 19, 2024
77e6a94
Cleanup
bmarty Sep 19, 2024
47df0d1
Add test on RustRoomDirectoryService
bmarty Sep 19, 2024
025f48a
Merge branch 'develop' into renovate/accompanist
ganfra Sep 19, 2024
9571261
Merge pull request #3497 from element-hq/feature/bma/changeElementBot…
bmarty Sep 19, 2024
a7d4bab
Inject constructor
bmarty Sep 19, 2024
d1be434
Add test on RustRoomDirectoryList
bmarty Sep 19, 2024
b67c428
Add test on RoomDirectorySearchProcessor
bmarty Sep 19, 2024
1fd1f01
Add test on RoomListFactory
bmarty Sep 19, 2024
de7d93e
Add test on RustRoomListService
bmarty Sep 19, 2024
8127aa6
Cleanup constructor and avoid creating many mapper instances
bmarty Sep 19, 2024
e117b74
Fix test
bmarty Sep 19, 2024
bfaa9f8
Add unit test on HomeserverLoginDetails.map()
bmarty Sep 19, 2024
145c40d
Add unit test on ExternalSession.toSessionData
bmarty Sep 19, 2024
6fa585f
Add unit test on RustNotificationService
bmarty Sep 19, 2024
f209eb2
Add test on RustNotificationSettingsService
bmarty Sep 19, 2024
8439c10
Add test on AccountManagementAction.toRustAction()
bmarty Sep 19, 2024
98cfa25
Add test on RustPushersService
bmarty Sep 19, 2024
7919c92
Pinned messages : add pinnedEventIds to TimelineRoomInfo
ganfra Sep 19, 2024
8c5e682
Cleanup
bmarty Sep 19, 2024
b3af1f8
Fix compilation issue.
bmarty Sep 19, 2024
1a9fe93
Fix test compilation issue.
bmarty Sep 20, 2024
88a30eb
Fix DefaultNotifiableEventResolverTest tests.
bmarty Sep 20, 2024
dfe9323
Merge pull request #3501 from element-hq/bma/testRustMatrixClient
bmarty Sep 20, 2024
ce650b0
Include sender name in notification for invite content.
bmarty Sep 20, 2024
6fc801e
Use aNotificationData and aNotifiableMessageEvent
bmarty Sep 20, 2024
3886391
Pinned messages : add pin icon in timeline for pinned events.
ganfra Sep 19, 2024
90d7a57
Update screenshots
ElementBot Sep 20, 2024
23c9cdb
Merge pull request #3436 from element-hq/renovate/io.nlopez.compose.r…
bmarty Sep 20, 2024
8b3b5c0
Merge pull request #3443 from element-hq/renovate/com.posthog-posthog…
bmarty Sep 20, 2024
032a89f
Update android.gradle.plugin to v8.6.1
renovate[bot] Sep 20, 2024
ee845f5
Merge pull request #3440 from element-hq/renovate/com.otaliastudios-t…
bmarty Sep 20, 2024
a55a98a
Merge pull request #3408 from element-hq/renovate/org.maplibre.gl-and…
bmarty Sep 20, 2024
5c7ac76
Merge pull request #3500 from element-hq/feature/fga/pinned_message_icon
ganfra Sep 20, 2024
d9e5c85
Update dependencyAnalysis to v2.0.2
renovate[bot] Sep 20, 2024
183dc60
Pinned messages analytics : update matrix-analytics-events dependency…
ganfra Sep 20, 2024
d0f363b
Pinned messages analytics : introduce LocalAnalyticsService so we can…
ganfra Sep 20, 2024
1768f24
Sync Strings from Localazy
bmarty Sep 23, 2024
1802a2b
Avoid crash (OOM) when content is too long.
bmarty Sep 23, 2024
fa3796d
Fix crash when the session is deleted on another client.
bmarty Sep 23, 2024
1c94547
Merge pull request #3513 from element-hq/sync-localazy
bmarty Sep 23, 2024
349e2bb
Merge pull request #3508 from element-hq/renovate/dependencyanalysis
bmarty Sep 23, 2024
fe7d7f3
Update dependency androidx.startup:startup-runtime to v1.2.0
renovate[bot] Sep 23, 2024
609e1b4
Sync Strings from Localazy
bmarty Sep 23, 2024
280f738
Merge pull request #3515 from element-hq/feature/bma/fixRageshakeCrash
bmarty Sep 23, 2024
a1612a3
Update dependency org.maplibre.gl:android-sdk-ktx-v7 to v3.0.1 (#3507)
renovate[bot] Sep 23, 2024
854557b
Update dependency org.maplibre.gl:android-plugin-annotation-v9 to v3.0.1
renovate[bot] Sep 23, 2024
6c98a25
Update dependency androidx.webkit:webkit to v1.12.0
renovate[bot] Sep 23, 2024
16d5be3
Fix pinned events banner reappearing when loading (#3519)
jmartinesp Sep 23, 2024
0b1e68a
Pinned messages analytics : add LocalAnalyticsService to allowedCompo…
ganfra Sep 23, 2024
0402703
Remove ability to change default common trace level
bmarty Sep 23, 2024
350e7f6
Update screenshots
ElementBot Sep 23, 2024
cc1cee8
Merge pull request #3517 from element-hq/sync-localazy
bmarty Sep 23, 2024
269889d
Pinned messages analytics : branch analytics
ganfra Sep 23, 2024
410f879
Update dependency net.java.dev.jna:jna to v5.15.0
renovate[bot] Sep 24, 2024
4ea9e91
Handle no network error when starting Element Call.
bmarty Sep 20, 2024
d4e8488
Merge pull request #3523 from element-hq/feature/fga/pinned_messages_…
bmarty Sep 24, 2024
12fa376
Merge pull request #3503 from element-hq/bma/invitationWithSender
bmarty Sep 24, 2024
a761a47
Update dependencyAnalysis to v2.1.0 (#3526)
renovate[bot] Sep 24, 2024
41adc7b
Fix tests
bmarty Sep 24, 2024
6ce19f8
Update screenshots
ElementBot Sep 24, 2024
d57e3b7
Introduce ModulesConfig for easier configurations of modules.
bmarty Sep 24, 2024
1a979cd
Use ModulesConfig for push provider modules.
bmarty Sep 24, 2024
4fc1878
Fix copy paste error
bmarty Sep 24, 2024
41126c7
Merge pull request #3525 from element-hq/renovate/jna-monorepo
bmarty Sep 24, 2024
cf6de8c
dependencies : update rust sdk to 0.2.48
ganfra Sep 24, 2024
6d8027b
Merge pull request #3516 from element-hq/renovate/androidx.startup-st…
bmarty Sep 24, 2024
77564d7
Fix PiP crash with IllegalStateException. Activity must be resumed to…
bmarty Sep 24, 2024
1309d04
mxCallbackFlow already contains a `tryOrNull` wrapper around the bloc…
bmarty Sep 24, 2024
d143617
No need to launch a coroutine to send the first value.
bmarty Sep 24, 2024
f1be7ea
media view : use overlay from room details
ganfra Sep 24, 2024
b6fd46e
Add some missing runCatching to protect innerRoom access.
bmarty Sep 24, 2024
80dc827
Protection against ActivityNotFoundException.
bmarty Sep 24, 2024
f5c776a
Protection against ActivityNotFoundException.
bmarty Sep 24, 2024
8102aa4
media viewer: fix glitch when transition from thumbnail to fullview
ganfra Sep 24, 2024
900074e
`flatMap` with `runCatching` is more appropriate here.
bmarty Sep 24, 2024
92834e8
Fix crash when pdf cannot be opened.
bmarty Sep 24, 2024
785d388
Update screenshots
ElementBot Sep 24, 2024
d0793be
Merge pull request #3532 from element-hq/feature/fga/update_rust_sdk
ganfra Sep 24, 2024
55704f0
Less ugly code.
bmarty Sep 24, 2024
3c3781d
Fix visibility issue.
bmarty Sep 24, 2024
53fc2f3
Remove the no needed `launch`.
bmarty Sep 24, 2024
7f9e176
Merge pull request #3533 from element-hq/feature/bma/fixCrashes
bmarty Sep 25, 2024
ae7a79e
Merge pull request #3531 from element-hq/feature/bma/logLevel
bmarty Sep 25, 2024
c8638f6
Perform the migration, even if the current version is not known.
bmarty Sep 25, 2024
0246fec
Remove useless and obsolete comment.
bmarty Sep 25, 2024
23ed755
migration : fix presenter test for fresh/old install
ganfra Sep 25, 2024
14dc0da
Merge pull request #3535 from element-hq/feature/bma/alwaysMigrateApp
ganfra Sep 25, 2024
db569cb
timeline : makes sure to emit empty list if initial reset has no item.
ganfra Sep 25, 2024
fdd0a0d
Merge pull request #3538 from element-hq/feature/fga/timeline_emit_em…
ganfra Sep 25, 2024
e2ab1ef
Merge pull request #3530 from element-hq/feature/bma/moduleConfig
bmarty Sep 25, 2024
acae30b
Stop ignoring 2 tests and fix them.
bmarty Sep 25, 2024
bd7b129
Adding fastlane file for version 0.6.4
ganfra Sep 25, 2024
ff07229
version++
ganfra Sep 25, 2024
135cc02
Changelog for version 0.6.4
ganfra Sep 25, 2024
10014d3
rename invisible flag to onlySignedDeviceIsolation
BillCarsonFr Sep 25, 2024
0c10784
Merge pull request #3542 from element-hq/feature/valere/rename_invisi…
ganfra Sep 26, 2024
9756afc
Update dependency androidx.compose:compose-bom to v2024.09.00 (#3399)
renovate[bot] Sep 26, 2024
bb74c82
Update dependency androidx.compose:compose-bom to v2024.09.02
renovate[bot] Sep 26, 2024
ff872af
Merge pull request #3544 from element-hq/renovate/compose.bom
bmarty Sep 26, 2024
71c0eb1
Merge pull request #3537 from element-hq/feature/fga/fix_image_viewer…
ganfra Sep 26, 2024
2ce8bb7
Fix room settings not treating unencrypted DMs as DMs (#3545)
jmartinesp Sep 26, 2024
c5f5ff3
Merge pull request #3527 from element-hq/feature/bma/elementCallNoNet…
bmarty Sep 26, 2024
3093b25
Rework: create extension method for cleaner code.
bmarty Sep 26, 2024
fbdff33
Use prefixIfNeeded (equivalent code)
bmarty Sep 26, 2024
2e7c34b
Prefix with `You` instead of display name #3470
bmarty Sep 26, 2024
5a8cfda
timeline : remove animateItem
ganfra Sep 26, 2024
231217c
Update dependency io.element.android:compound-android to v0.1.0 (#3524)
renovate[bot] Sep 26, 2024
a60fa11
Update dependency com.google.firebase:firebase-bom to v33.3.0 (#3549)
renovate[bot] Sep 26, 2024
17e2d09
Update dependency org.maplibre.gl:android-sdk to v11.5.0
renovate[bot] Sep 26, 2024
f26a4b5
maplib-plugins : remove workaround
ganfra Sep 26, 2024
49ce8b1
Merge branch 'develop' into renovate/accompanist
ganfra Sep 26, 2024
38966f6
Merge pull request #3550 from element-hq/renovate/org.maplibre.gl-and…
ganfra Sep 26, 2024
c3940f8
Merge pull request #3505 from element-hq/renovate/org.maplibre.gl-and…
ganfra Sep 26, 2024
856fcbc
Update gradle-update/update-gradle-wrapper-action action to v2
renovate[bot] Sep 26, 2024
2b82794
Merge pull request #3520 from element-hq/renovate/androidx.webkit-web…
ganfra Sep 26, 2024
dcaf764
Update dependency com.posthog:posthog-android to v3.7.4 (#3546)
renovate[bot] Sep 27, 2024
085ba07
Merge pull request #3547 from element-hq/feature/bma/you
bmarty Sep 27, 2024
24c7be6
Merge pull request #3548 from element-hq/feature/fga/timeline_remove_…
bmarty Sep 27, 2024
4bce7af
Update dependency com.lemonappdev:konsist to v0.16.1
renovate[bot] Sep 27, 2024
e0a9fbe
Konsist: fix compilation issue and implement workaround.
bmarty Sep 27, 2024
154114b
Konsist: implement another workaround.
bmarty Sep 27, 2024
bb1122d
Merge pull request #3551 from element-hq/renovate/gradle-update-updat…
bmarty Sep 27, 2024
e52c7ee
Merge pull request #3371 from element-hq/renovate/com.lemonappdev-kon…
bmarty Sep 27, 2024
f965bca
Merge pull request #3504 from element-hq/renovate/android.gradle.plugin
bmarty Sep 27, 2024
e21c8d1
Update dependency org.matrix.rustcomponents:sdk-android to v0.2.49 (#…
renovate[bot] Sep 27, 2024
fd3d62f
Update lifecycle to v2.8.6
renovate[bot] Sep 27, 2024
738ac54
Extract createMatrixTimelineDiffProcessor from class.
bmarty Sep 27, 2024
b7c6369
Add test on TimelineItemsSubscriber.
bmarty Sep 27, 2024
953bec4
Merge pull request #3398 from element-hq/renovate/lifecycle
bmarty Sep 27, 2024
7628d48
Fix quality issues.
bmarty Sep 27, 2024
b9c9706
Use backgroundScope for TimelineItemsSubscriberTest
bmarty Sep 27, 2024
f89463c
Remove `runCancellableScopeTest` and `runCancellableScopeTestWithTest…
bmarty Sep 27, 2024
86373ad
Sync Strings from Localazy
bmarty Sep 30, 2024
debb247
Merge pull request #3560 from element-hq/sync-localazy
bmarty Sep 30, 2024
148da7b
Merge pull request #3400 from element-hq/renovate/accompanist
bmarty Sep 30, 2024
78da5a9
Fix crash when aspectRatio is null.
bmarty Sep 30, 2024
6a8086c
Update screenshots
ElementBot Sep 30, 2024
96fae1b
Merge pull request #3561 from element-hq/feature/bma/fixAspectRatioIssue
bmarty Sep 30, 2024
a9b45a2
Merge pull request #3349 from frebib/fix/warnings
bmarty Sep 30, 2024
eeec7cc
Centralise the DI code generation logic (#3562)
jmartinesp Sep 30, 2024
48a4a9d
Update Gradle impl module template with `setupAnvil()` call (#3563)
jmartinesp Sep 30, 2024
555f73d
Use MSC2530 filename when loading media
frebib Sep 30, 2024
249104b
Merge pull request #3567 from frebib/frebib/captioned-filename
bmarty Sep 30, 2024
3001efb
Update dependency org.matrix.rustcomponents:sdk-android to v0.2.50 (#…
renovate[bot] Oct 1, 2024
1d5509e
Don't delete uploaded logs (#3540)
jmartinesp Oct 1, 2024
305c4d5
Update dependency com.google.firebase:firebase-bom to v33.4.0
renovate[bot] Oct 1, 2024
63d54a4
Merge pull request #3578 from element-hq/renovate/com.google.firebase…
bmarty Oct 2, 2024
729334b
Git ignore .idea/runConfigurations.xml
bmarty Oct 2, 2024
f344a12
Don't display security banner for unknown RecoveryState (#3579)
jmartinesp Oct 2, 2024
7f3ebbb
Prevent crash with duplicate room suggestion
frebib Oct 1, 2024
79c17f7
Use Anvil KSP instead of the Square KAPT one (#3564)
jmartinesp Oct 2, 2024
1c4ac31
Update android.gradle.plugin to v8.7.0 (#3577)
renovate[bot] Oct 2, 2024
ee7e5b8
Merge pull request #3576 from frebib/frebib/dupe-room-crash
bmarty Oct 2, 2024
29356b9
Merge pull request #3554 from element-hq/feature/bma/testEmptyTimeline
bmarty Oct 2, 2024
ed1cb24
Fix tests, replace outdated SDK fixtures
bmarty Oct 2, 2024
55c11e9
Fix a naming issue.
bmarty Oct 2, 2024
9f7e4d5
Merge pull request #3585 from element-hq/feature/bma/fixTests
bmarty Oct 2, 2024
f8fa218
Upgrade the used JDK in the project to v21 (#3582)
jmartinesp Oct 3, 2024
e5a3b11
Update dependency com.posthog:posthog-android to v3.8.0
renovate[bot] Oct 3, 2024
1e4c30c
timeline : makes typingNotification item part of the timelineItems.
ganfra Oct 2, 2024
b88e65a
timeline : fix lastOutgoingMessage after last changes
ganfra Oct 2, 2024
8b6fba8
timeline : add synchronisation around timelineItemIndexer
ganfra Oct 2, 2024
88e01e7
timeline : fix jumpToBottom for not live timeline.
ganfra Oct 2, 2024
adc03c9
timeline : improve jumpTo precision (introducing animateScrollToItemC…
ganfra Oct 3, 2024
4d6b37f
Merge unit, screenshot tests and coverage in a single CI call (#3593)
jmartinesp Oct 3, 2024
c1337de
Merge pull request #3597 from element-hq/feature/fga/timeline_better_…
ganfra Oct 3, 2024
89891bf
Merge pull request #3591 from element-hq/renovate/com.posthog-posthog…
bmarty Oct 3, 2024
a91eaba
Update dependencyAnalysis to v2.1.3
renovate[bot] Oct 4, 2024
cafc04b
dependency: Bump rust sdk to 0.2.51
BillCarsonFr Oct 4, 2024
1e91e8b
Fix building the app using a local SDK.
bmarty Oct 4, 2024
2230163
dep | Adapt rust-sdk, rename PreviouslyVerified to VerificationViolation
BillCarsonFr Oct 4, 2024
f9cdb5a
Disable configuration cache in the CI by default (#3601)
jmartinesp Oct 4, 2024
8021261
Merge pull request #3602 from element-hq/feature/valere/bump_rust_sdk…
BillCarsonFr Oct 4, 2024
05a6a3b
Merge pull request #3604 from element-hq/feature/bma/fixBuildWithLoca…
bmarty Oct 4, 2024
eb78f32
Fix screenshot recording in CI
jmartinesp Oct 4, 2024
02a173f
Update screenshots
ElementBot Oct 4, 2024
39d7084
Merge pull request #3559 from element-hq/renovate/dependencyanalysis
bmarty Oct 4, 2024
93d7fab
fix(deps): update dependency com.google.testparameterinjector:test-pa…
renovate[bot] Oct 4, 2024
d371c49
Update wysiwyg to v2.37.13 (#3596)
renovate[bot] Oct 4, 2024
74aa1ce
Remove supportSlidingSync boolean.
bmarty Oct 4, 2024
2944879
Merge pull request #3607 from element-hq/misc/jme/fix-screenshot-reco…
bmarty Oct 4, 2024
98d9abe
fix(deps): update dependency io.nlopez.compose.rules:detekt to v0.4.1…
renovate[bot] Oct 4, 2024
dd2a1b3
Add settings to hide images and videos in the timeline.
bmarty Oct 2, 2024
fd142c1
Improve extension to fix a copy paste issue.
bmarty Oct 2, 2024
f544f31
Do not render images in notification if the setting to hide image is …
bmarty Oct 2, 2024
0244b71
Fix test compilation
bmarty Oct 2, 2024
d2bd1b7
Fix test
bmarty Oct 2, 2024
8ffdfff
Add unit test on TimelineProtectionPresenter
bmarty Oct 3, 2024
73bdf0e
Add unit test on ProtectedView and TimelineProtectionState
bmarty Oct 3, 2024
a465b0c
Remove dead code.
bmarty Oct 3, 2024
5285696
Fix test name.
bmarty Oct 3, 2024
8b282f2
Hide images: iterate on design.
bmarty Oct 3, 2024
70c6bed
Update screenshots
ElementBot Oct 3, 2024
a3e2457
SuppressWarnings ModifierClickableOrder
bmarty Oct 3, 2024
fafd5d4
Let `invokeOnCurrentTimeline` lambda param return Unit so that we can…
bmarty Oct 4, 2024
b889e86
Rename `hideContent` to `hideMediaContent`
bmarty Oct 4, 2024
a72c406
Fix preview name.
bmarty Oct 4, 2024
1fad4d4
Do not inject the TimelineProtectionPresenter
bmarty Oct 4, 2024
041f1b4
crypto: Use OnlySigned isolation flag to setup decryption trust req.
BillCarsonFr Oct 1, 2024
3259539
quick fix: Isolation mode feature flag name udpate
BillCarsonFr Oct 1, 2024
0018cce
Update screenshots
ElementBot Oct 4, 2024
1f7b05a
Update screenshots
ElementBot Oct 4, 2024
779c6db
Merge pull request #3592 from element-hq/feature/bma/hideImages
bmarty Oct 4, 2024
4319a42
Merge pull request #3569 from element-hq/feature/valere/only_signed_d…
BillCarsonFr Oct 4, 2024
1e4be64
Fix black-on-black status bars with hidden media
frebib Oct 5, 2024
0b67dfd
Use CircleShape instead of 50% RoundedCornerShape
frebib Oct 5, 2024
e25ba65
Sync Strings from Localazy
bmarty Oct 7, 2024
96b43db
Merge pull request #3612 from element-hq/sync-localazy
bmarty Oct 7, 2024
30f4974
Merge pull request #3606 from element-hq/renovate/com.google.testpara…
bmarty Oct 7, 2024
b211941
Merge pull request #3611 from frebib/frebib/black-on-black
bmarty Oct 7, 2024
de6b34d
Merge pull request #3609 from element-hq/feature/bma/slidingSyncCheck
bmarty Oct 7, 2024
60dd4db
Ensure the CI compile and execute all the unit tests.
bmarty Oct 7, 2024
ce811bd
Revert "Ensure the CI compile and execute all the unit tests."
bmarty Oct 7, 2024
76fd931
Ensure the CI compile and execute all the unit tests.
bmarty Oct 7, 2024
9e32463
Fix compilation issue in RustMatrixClientFactoryTest...
bmarty Oct 7, 2024
23c0dc1
... and fix the test.
bmarty Oct 7, 2024
b1f5480
fix(deps): update dependency com.squareup:kotlinpoet-ksp to v1.18.1 (…
renovate[bot] Oct 7, 2024
dd60eaf
Merge pull request #3617 from element-hq/feature/testOnCi
bmarty Oct 7, 2024
f2ca3c3
Konsist: Ensure that unit tests are detected
bmarty Oct 7, 2024
ac481a5
Konsist: Ensure that `Presenter` do not depend on other presenters.
bmarty Oct 7, 2024
f99081f
Remove dependencies to other presenters from RootPresenter
bmarty Oct 7, 2024
e9e4963
Remove dependencies to other presenters from DeveloperSettingsPresenter
bmarty Oct 7, 2024
a100676
Remove dependencies to other presenters from PreferencesRootPresenter.
bmarty Oct 7, 2024
241dae1
Remove dependencies to other presenters to FullScreenIntentPermission…
bmarty Oct 7, 2024
8db9c22
Remove dependencies to other presenters to AnalyticsPreferencesPresen…
bmarty Oct 7, 2024
9772535
Remove dependencies to other presenters to ChangeServerPresenter.
bmarty Oct 7, 2024
0a7de7c
Remove dependencies to other presenters to LeaveRoomPresenter.
bmarty Oct 7, 2024
2e5450c
Remove dependencies to other presenters to RoomMembersModerationPrese…
bmarty Oct 7, 2024
d744e07
Remove dependencies to other presenters in MessagesPresenter.
bmarty Oct 7, 2024
6cfebc1
Cleanup
bmarty Oct 7, 2024
25e5fde
Fix compilation issue on minimal app.
bmarty Oct 7, 2024
792bc25
Remove FakeLeaveRoomPresenter
bmarty Oct 7, 2024
b60d7ba
Use backgroundScope
bmarty Oct 7, 2024
d390b4f
Remove unused import.
bmarty Oct 7, 2024
0c96dee
fix(deps): update dependency org.matrix.rustcomponents:sdk-android to…
renovate[bot] Oct 7, 2024
51ee5bf
Merge pull request #3618 from element-hq/feature/bma/injectPresenter
bmarty Oct 7, 2024
409564a
Merge pull request #3619 from element-hq/renovate/org.matrix.rustcomp…
bmarty Oct 7, 2024
f78f4dd
Merge remote-tracking branch 'upstream/develop' into yostyle/rebase_d…
yostyle Oct 7, 2024
5ad7032
Fix build after rebasing
yostyle Oct 7, 2024
c8f2ec8
Update screenshots
ElementBot Oct 7, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
19 changes: 6 additions & 13 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ on:

# Enrich gradle.properties for CI/CD
env:
GRADLE_OPTS: -Dorg.gradle.jvmargs="-Xmx7g -XX:MaxMetaspaceSize=512m -Dfile.encoding=UTF-8 -XX:+HeapDumpOnOutOfMemoryError" -Dkotlin.incremental=false -XX:+UseG1GC
CI_GRADLE_ARG_PROPERTIES: --stacktrace -Dsonar.gradle.skipCompile=true
GRADLE_OPTS: -Dorg.gradle.jvmargs=-Xmx9g -XX:MaxMetaspaceSize=512m -Dfile.encoding=UTF-8 -XX:+HeapDumpOnOutOfMemoryError -XX:+UseG1GC -Dkotlin.daemon.jvm.options=-Xmx4g
CI_GRADLE_ARG_PROPERTIES: --stacktrace -Dsonar.gradle.skipCompile=true --no-configuration-cache

jobs:
debug:
Expand All @@ -30,29 +30,22 @@ jobs:
# Ensure we are building the branch and not the branch after being merged on develop
# https://github.com/actions/checkout/issues/881
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.ref }}
- name: Use JDK 17
- name: Use JDK 21
uses: actions/setup-java@v4
with:
distribution: 'temurin' # See 'Supported distributions' for available options
java-version: '17'
java-version: '21'
- name: Configure gradle
uses: gradle/actions/setup-gradle@v4
with:
cache-read-only: ${{ github.ref != 'refs/heads/develop' }}
- name: Assemble debug Gplay APK
- name: Assemble debug APKs
if: ${{ matrix.variant == 'debug' }}
env:
ELEMENT_ANDROID_MAPTILER_API_KEY: ${{ secrets.MAPTILER_KEY }}
ELEMENT_ANDROID_MAPTILER_LIGHT_MAP_ID: ${{ secrets.MAPTILER_LIGHT_MAP_ID }}
ELEMENT_ANDROID_MAPTILER_DARK_MAP_ID: ${{ secrets.MAPTILER_DARK_MAP_ID }}
run: ./gradlew :app:assembleGplayDebug -PallWarningsAsErrors=true $CI_GRADLE_ARG_PROPERTIES
- name: Assemble debug Fdroid APK
if: ${{ matrix.variant == 'debug' }}
env:
ELEMENT_ANDROID_MAPTILER_API_KEY: ${{ secrets.MAPTILER_KEY }}
ELEMENT_ANDROID_MAPTILER_LIGHT_MAP_ID: ${{ secrets.MAPTILER_LIGHT_MAP_ID }}
ELEMENT_ANDROID_MAPTILER_DARK_MAP_ID: ${{ secrets.MAPTILER_DARK_MAP_ID }}
run: ./gradlew app:assembleFDroidDebug -PallWarningsAsErrors=true $CI_GRADLE_ARG_PROPERTIES
run: ./gradlew :app:assembleGplayDebug app:assembleFDroidDebug -PallWarningsAsErrors=true $CI_GRADLE_ARG_PROPERTIES
- name: Upload debug APKs
if: ${{ matrix.variant == 'debug' }}
uses: actions/upload-artifact@v4
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/build_enterprise.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ on:

# Enrich gradle.properties for CI/CD
env:
GRADLE_OPTS: -Dorg.gradle.jvmargs="-Xmx7g -XX:MaxMetaspaceSize=512m -Dfile.encoding=UTF-8 -XX:+HeapDumpOnOutOfMemoryError" -Dkotlin.incremental=false -XX:+UseG1GC
CI_GRADLE_ARG_PROPERTIES: --stacktrace -Dsonar.gradle.skipCompile=true
GRADLE_OPTS: -Dorg.gradle.jvmargs=-Xmx9g -XX:MaxMetaspaceSize=512m -Dfile.encoding=UTF-8 -XX:+HeapDumpOnOutOfMemoryError -XX:+UseG1GC -Dkotlin.daemon.jvm.options=-Xmx4g
CI_GRADLE_ARG_PROPERTIES: --stacktrace -Dsonar.gradle.skipCompile=true --no-configuration-cache

jobs:
build:
Expand Down Expand Up @@ -38,11 +38,11 @@ jobs:
ssh-private-key: ${{ secrets.ELEMENT_ENTERPRISE_DEPLOY_KEY }}
- name: Clone submodules
run: git submodule update --init --recursive
- name: Use JDK 17
- name: Use JDK 21
uses: actions/setup-java@v4
with:
distribution: 'temurin' # See 'Supported distributions' for available options
java-version: '17'
java-version: '21'
- name: Configure gradle
uses: gradle/actions/setup-gradle@v4
with:
Expand All @@ -61,7 +61,7 @@ jobs:
name: elementx-enterprise-debug
path: |
app/build/outputs/apk/gplay/debug/*-universal-debug.apk
- name: Compile release sources
- name: Compile nightly and release sources
if: ${{ matrix.variant == 'release' }}
run: ./gradlew compileReleaseSources -PallWarningsAsErrors=true $CI_GRADLE_ARG_PROPERTIES
- name: Compile nightly sources
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/generate_github_pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ jobs:
steps:
- name: ⏬ Checkout with LFS
uses: nschloe/[email protected]
- name: Use JDK 17
- name: Use JDK 21
uses: actions/setup-java@v4
with:
distribution: 'temurin' # See 'Supported distributions' for available options
java-version: '17'
java-version: '21'
- name: Configure gradle
uses: gradle/actions/setup-gradle@v4
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/gradle-wrapper-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
name: Use JDK 17
name: Use JDK 21
if: (github.event_name == 'pull_request' && github.event.pull_request.fork == null) || github.event_name == 'workflow_dispatch'
with:
distribution: 'temurin' # See 'Supported distributions' for available options
java-version: '17'
java-version: '21'
- name: Update Gradle Wrapper
uses: gradle-update/update-gradle-wrapper-action@v1
uses: gradle-update/update-gradle-wrapper-action@v2
with:
repo-token: ${{ secrets.DANGER_GITHUB_API_TOKEN }}
target-branch: develop
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/maestro.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ on:

# Enrich gradle.properties for CI/CD
env:
GRADLE_OPTS: -Dorg.gradle.jvmargs="-Xmx7g -XX:MaxMetaspaceSize=512m -Dfile.encoding=UTF-8 -XX:+HeapDumpOnOutOfMemoryError" -Dkotlin.incremental=false -XX:+UseG1GC
CI_GRADLE_ARG_PROPERTIES: --stacktrace --no-daemon -Dsonar.gradle.skipCompile=true
GRADLE_OPTS: -Dorg.gradle.jvmargs=-Xmx9g -XX:MaxMetaspaceSize=512m -Dfile.encoding=UTF-8 -XX:+HeapDumpOnOutOfMemoryError -XX:+UseG1GC -Dkotlin.daemon.jvm.options=-Xmx4g
CI_GRADLE_ARG_PROPERTIES: --stacktrace --no-daemon -Dsonar.gradle.skipCompile=true --no-configuration-cache

jobs:
build-apk:
Expand All @@ -33,11 +33,11 @@ jobs:
# https://github.com/actions/checkout/issues/881
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.ref }}
- uses: actions/setup-java@v4
name: Use JDK 17
name: Use JDK 21
if: (github.event_name == 'pull_request' && github.event.pull_request.fork == null) || github.event_name == 'workflow_dispatch'
with:
distribution: 'temurin' # See 'Supported distributions' for available options
java-version: '17'
java-version: '21'
- name: Configure gradle
uses: gradle/actions/setup-gradle@v4
with:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ on:
- cron: "0 4 * * *"

env:
GRADLE_OPTS: -Dorg.gradle.jvmargs="-Xmx6g -XX:MaxMetaspaceSize=512m -Dfile.encoding=UTF-8 -XX:+HeapDumpOnOutOfMemoryError" -Dkotlin.incremental=false -XX:+UseG1GC
CI_GRADLE_ARG_PROPERTIES: --stacktrace --no-daemon -Dsonar.gradle.skipCompile=true
GRADLE_OPTS: -Dorg.gradle.jvmargs=-Xmx9g -XX:MaxMetaspaceSize=512m -Dfile.encoding=UTF-8 -XX:+HeapDumpOnOutOfMemoryError -XX:+UseG1GC -Dkotlin.daemon.jvm.options=-Xmx4g
CI_GRADLE_ARG_PROPERTIES: --stacktrace --no-daemon -Dsonar.gradle.skipCompile=true --no-configuration-cache

jobs:
nightly:
Expand All @@ -17,11 +17,11 @@ jobs:
if: ${{ github.repository == 'element-hq/element-x-android' }}
steps:
- uses: actions/checkout@v4
- name: Use JDK 17
- name: Use JDK 21
uses: actions/setup-java@v4
with:
distribution: 'temurin' # See 'Supported distributions' for available options
java-version: '17'
java-version: '21'
- name: Build and upload Nightly application
run: |
./gradlew assembleGplayNightly appDistributionUploadGplayNightly $CI_GRADLE_ARG_PROPERTIES
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/nightlyReports.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ on:

# Enrich gradle.properties for CI/CD
env:
GRADLE_OPTS: -Dorg.gradle.jvmargs="-Xmx7g -XX:MaxMetaspaceSize=512m -Dfile.encoding=UTF-8 -XX:+HeapDumpOnOutOfMemoryError" -Dkotlin.incremental=false -XX:+UseG1GC
CI_GRADLE_ARG_PROPERTIES: --stacktrace -Dsonar.gradle.skipCompile=true
GRADLE_OPTS: -Dorg.gradle.jvmargs=-Xmx9g -XX:MaxMetaspaceSize=512m -Dfile.encoding=UTF-8 -XX:+HeapDumpOnOutOfMemoryError -XX:+UseG1GC -Dkotlin.daemon.jvm.options=-Xmx4g
CI_GRADLE_ARG_PROPERTIES: --stacktrace -Dsonar.gradle.skipCompile=true --no-configuration-cache

jobs:
nightlyReports:
Expand All @@ -20,11 +20,11 @@ jobs:
- name: ⏬ Checkout with LFS
uses: nschloe/[email protected]

- name: Use JDK 17
- name: Use JDK 21
uses: actions/setup-java@v4
with:
distribution: 'temurin' # See 'Supported distributions' for available options
java-version: '17'
java-version: '21'

- name: Configure gradle
uses: gradle/actions/setup-gradle@v4
Expand Down Expand Up @@ -61,11 +61,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use JDK 17
- name: Use JDK 21
uses: actions/setup-java@v4
with:
distribution: 'temurin' # See 'Supported distributions' for available options
java-version: '17'
java-version: '21'
- name: Configure gradle
uses: gradle/actions/setup-gradle@v4
with:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/nightly_enterprise.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ on:
- cron: "0 4 * * *"

env:
GRADLE_OPTS: -Dorg.gradle.jvmargs="-Xmx6g -XX:MaxMetaspaceSize=512m -Dfile.encoding=UTF-8 -XX:+HeapDumpOnOutOfMemoryError" -Dkotlin.incremental=false -XX:+UseG1GC
CI_GRADLE_ARG_PROPERTIES: --stacktrace --no-daemon -Dsonar.gradle.skipCompile=true
GRADLE_OPTS: -Dorg.gradle.jvmargs=-Xmx9g -XX:MaxMetaspaceSize=512m -Dfile.encoding=UTF-8 -XX:+HeapDumpOnOutOfMemoryError -XX:+UseG1GC -Dkotlin.daemon.jvm.options=-Xmx4g
CI_GRADLE_ARG_PROPERTIES: --stacktrace --no-daemon -Dsonar.gradle.skipCompile=true --no-configuration-cache

jobs:
nightly:
Expand All @@ -23,11 +23,11 @@ jobs:
ssh-private-key: ${{ secrets.ELEMENT_ENTERPRISE_DEPLOY_KEY }}
- name: Clone submodules
run: git submodule update --init --recursive
- name: Use JDK 17
- name: Use JDK 21
uses: actions/setup-java@v4
with:
distribution: 'temurin' # See 'Supported distributions' for available options
java-version: '17'
java-version: '21'
- name: Build and upload Nightly application
run: |
./gradlew assembleGplayNightly appDistributionUploadGplayNightly $CI_GRADLE_ARG_PROPERTIES
Expand Down
28 changes: 14 additions & 14 deletions .github/workflows/quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ on:

# Enrich gradle.properties for CI/CD
env:
GRADLE_OPTS: -Dorg.gradle.jvmargs="-Xmx6g -XX:MaxMetaspaceSize=512m -Dfile.encoding=UTF-8 -XX:+HeapDumpOnOutOfMemoryError" -Dkotlin.incremental=false -XX:+UseG1GC
CI_GRADLE_ARG_PROPERTIES: --stacktrace --no-daemon -Dsonar.gradle.skipCompile=true
GRADLE_OPTS: -Dorg.gradle.jvmargs=-Xmx9g -XX:MaxMetaspaceSize=512m -Dfile.encoding=UTF-8 -XX:+HeapDumpOnOutOfMemoryError -XX:+UseG1GC -Dkotlin.daemon.jvm.options=-Xmx4g
CI_GRADLE_ARG_PROPERTIES: --stacktrace --no-daemon -Dsonar.gradle.skipCompile=true --no-configuration-cache

jobs:
checkScript:
Expand Down Expand Up @@ -46,11 +46,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use JDK 17
- name: Use JDK 21
uses: actions/setup-java@v4
with:
distribution: 'temurin' # See 'Supported distributions' for available options
java-version: '17'
java-version: '21'
- name: Configure gradle
uses: gradle/actions/setup-gradle@v4
with:
Expand Down Expand Up @@ -84,11 +84,11 @@ jobs:
- name: Clone submodules
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == 'element-hq/element-x-android' }}
run: git submodule update --init --recursive
- name: Use JDK 17
- name: Use JDK 21
uses: actions/setup-java@v4
with:
distribution: 'temurin' # See 'Supported distributions' for available options
java-version: '17'
java-version: '21'
- name: Configure gradle
uses: gradle/actions/setup-gradle@v4
with:
Expand Down Expand Up @@ -124,11 +124,11 @@ jobs:
- name: Clone submodules
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == 'element-hq/element-x-android' }}
run: git submodule update --init --recursive
- name: Use JDK 17
- name: Use JDK 21
uses: actions/setup-java@v4
with:
distribution: 'temurin' # See 'Supported distributions' for available options
java-version: '17'
java-version: '21'
- name: Configure gradle
uses: gradle/actions/setup-gradle@v4
with:
Expand Down Expand Up @@ -168,11 +168,11 @@ jobs:
- name: Clone submodules
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == 'element-hq/element-x-android' }}
run: git submodule update --init --recursive
- name: Use JDK 17
- name: Use JDK 21
uses: actions/setup-java@v4
with:
distribution: 'temurin' # See 'Supported distributions' for available options
java-version: '17'
java-version: '21'
- name: Configure gradle
uses: gradle/actions/setup-gradle@v4
with:
Expand Down Expand Up @@ -208,11 +208,11 @@ jobs:
- name: Clone submodules
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == 'element-hq/element-x-android' }}
run: git submodule update --init --recursive
- name: Use JDK 17
- name: Use JDK 21
uses: actions/setup-java@v4
with:
distribution: 'temurin' # See 'Supported distributions' for available options
java-version: '17'
java-version: '21'
- name: Configure gradle
uses: gradle/actions/setup-gradle@v4
with:
Expand Down Expand Up @@ -248,11 +248,11 @@ jobs:
- name: Clone submodules
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == 'element-hq/element-x-android' }}
run: git submodule update --init --recursive
- name: Use JDK 17
- name: Use JDK 21
uses: actions/setup-java@v4
with:
distribution: 'temurin' # See 'Supported distributions' for available options
java-version: '17'
java-version: '21'
- name: Configure gradle
uses: gradle/actions/setup-gradle@v4
with:
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/recordScreenshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ on:

# Enrich gradle.properties for CI/CD
env:
GRADLE_OPTS: -Dorg.gradle.jvmargs="-Xmx5g -XX:MaxMetaspaceSize=512m -Dfile.encoding=UTF-8 -XX:+HeapDumpOnOutOfMemoryError" -Dkotlin.incremental=false -XX:+UseG1GC -Dsonar.gradle.skipCompile=true
GRADLE_OPTS: -Dorg.gradle.jvmargs=-Xmx9g -XX:MaxMetaspaceSize=512m -Dfile.encoding=UTF-8 -XX:+HeapDumpOnOutOfMemoryError -XX:+UseG1GC -Dkotlin.daemon.jvm.options=-Xmx4g -Dsonar.gradle.skipCompile=true
CI_GRADLE_ARG_PROPERTIES: --no-configuration-cache

jobs:
record:
Expand All @@ -32,11 +33,11 @@ jobs:
uses: nschloe/[email protected]
with:
persist-credentials: false
- name: ☕️ Use JDK 17
- name: ☕️ Use JDK 21
uses: actions/setup-java@v4
with:
distribution: 'temurin' # See 'Supported distributions' for available options
java-version: '17'
java-version: '21'
# Add gradle cache, this should speed up the process
- name: Configure gradle
uses: gradle/actions/setup-gradle@v4
Expand All @@ -48,3 +49,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.DANGER_GITHUB_API_TOKEN || secrets.GITHUB_TOKEN }}
GITHUB_REPOSITORY: ${{ secrets.GITHUB_REPOSITORY }}
GRADLE_ARGS: ${{ env.CI_GRADLE_ARG_PROPERTIES }}
Loading