Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
409 commits
Select commit Hold shift + click to select a range
5e8f062
Rename API
bmarty Nov 6, 2025
f280b89
Improve API of LoginHelper and AccountProviderDataSource
bmarty Nov 6, 2025
87e7c64
Fix test
bmarty Nov 7, 2025
b381254
chore: Remove `.idea/markdown.xml` and add to `.gitignore`.
kaylendog Nov 7, 2025
9efa5aa
Merge pull request #5693 from element-hq/feature/bma/loginLinkPassword
bmarty Nov 7, 2025
39aa793
Merge pull request #5691 from kaylendog/kaylendog/history-sharing/alert
bmarty Nov 8, 2025
d296e19
Update screenshots
ElementBot Nov 8, 2025
967f250
Sync Strings from Localazy (#5704)
ElementBot Nov 10, 2025
3b6af9d
Merge pull request #5701 from element-hq/feature/bma/improveComposerA…
bmarty Nov 10, 2025
8769b98
Merge pull request #5698 from element-hq/feature/bma/handleEvent
bmarty Nov 10, 2025
cbbd0ff
Fix typo
bmarty Nov 10, 2025
d211e44
Copyright: update README.md
bmarty Nov 10, 2025
c4e0370
Copyright: run command `uv run license-editor --repository ../element…
bmarty Nov 10, 2025
f86431e
Copyright: Add final period
bmarty Nov 10, 2025
eb31505
Copyright: Add Element Creations Ltd. copyright
bmarty Nov 10, 2025
f16040a
Copyright: Update Konsist test
bmarty Nov 10, 2025
8ecb4fb
Copyright: Update template
bmarty Nov 10, 2025
57e9153
Copyright: Add missing headers
bmarty Nov 10, 2025
336e35d
Copyright: update enterprise code.
bmarty Nov 10, 2025
c3875e4
Copyright: update test
bmarty Nov 10, 2025
036391a
Copyright: update enterprise template.
bmarty Nov 10, 2025
8603d54
Merge pull request #5706 from element-hq/feature/bma/copyright2025
bmarty Nov 10, 2025
24c2139
Rename MessageComposerEvents to MessageComposerEvent
bmarty Nov 10, 2025
8149cc0
Format - no other change.
bmarty Nov 10, 2025
30cc45c
Ensure bottom sheet is collapsed when leaving RTE mode. Closes #5635
bmarty Nov 10, 2025
6416c79
Fix rendering notifications if event ID is duplicated (#5711)
SpiritCroc Nov 10, 2025
e7e2f38
Update dependency org.matrix.rustcomponents:sdk-android to v25.11.11 …
renovate[bot] Nov 11, 2025
573767a
Let notifications use avatar fallback.
bmarty Nov 12, 2025
38c03d6
Merge pull request #5710 from element-hq/feature/bma/textComposerLayout
bmarty Nov 12, 2025
f2a7a2a
Update plugin ktlint to v14 (#5713)
renovate[bot] Nov 12, 2025
fe6cf5a
Update plugin dependencycheck to v12.1.9 (#5717)
renovate[bot] Nov 12, 2025
bf88382
Update dependency org.maplibre.gl:android-sdk to v12.1.0 (#5714)
renovate[bot] Nov 12, 2025
7b7c429
Update dependency io.sentry:sentry-android to v8.26.0 (#5720)
renovate[bot] Nov 12, 2025
04589ec
Fix package name
bmarty Nov 12, 2025
3cc455c
change(room members): makes sure to subscribe to timeline items changes
ganfra Nov 7, 2025
8cad6fb
Ensure API modules will not use setupDependencyInjection().
bmarty Nov 12, 2025
8285478
API modules do not need to setup dependency injection.
bmarty Nov 12, 2025
df11dbd
Fix tests
bmarty Nov 12, 2025
8638c06
Merge pull request #5721 from element-hq/feature/bma/matrixUiModules
bmarty Nov 13, 2025
8c6a7cc
Use the method `setLargeIcon(Bitmap?)` instead of `setLargeIcon(Icon?…
bmarty Nov 13, 2025
3a3ab4e
Cleanup NotificationCreator.
bmarty Nov 13, 2025
e706e5f
Unregister the pusher when the topic is deleted (unregistered)
bmarty Nov 13, 2025
6b7e8f7
Improve logs
bmarty Nov 13, 2025
7400fd6
Merge branch 'develop' into feature/fga/members_improvements
ganfra Nov 13, 2025
f9c0b9e
UnifiedPush: emit error when registration fails.
bmarty Nov 13, 2025
71e8df2
Rename val
bmarty Nov 13, 2025
0dcd63c
Add unit test on DefaultServiceUnregisteredHandler
bmarty Nov 13, 2025
c453d2a
Add unit test on DefaultUnifiedPushRemovedGatewayHandler
bmarty Nov 13, 2025
c7d4689
Add missing test.
bmarty Nov 13, 2025
9618e9a
quality : format code
ganfra Nov 13, 2025
5195970
change(room members): remove useless call to updateMembers
ganfra Nov 13, 2025
3279684
change(room members): moderation sheet design updates
ganfra Nov 13, 2025
b33388b
Update screenshots
ElementBot Nov 13, 2025
d333987
Ensure that disabling (resp. enabling) notification unregisters (resp…
bmarty Nov 13, 2025
358731d
Update comment
bmarty Nov 13, 2025
9498e6f
Restore deleted code
bmarty Nov 13, 2025
f1e12c1
Do not attempt to restore the pusher after 2 removal in a short time.
bmarty Nov 13, 2025
6cee36e
Update sqldelight to v2.2.1
renovate[bot] Nov 14, 2025
1c8b637
No need to use apply setContentText accept null parameter.
bmarty Nov 14, 2025
b64a467
Small cleanup
bmarty Nov 14, 2025
6f13fee
No need for an id, can use ordinal.
bmarty Nov 14, 2025
8a53be3
Fix warning
bmarty Nov 14, 2025
2bcf6f3
Merge pull request #5730 from element-hq/renovate/sqldelight
ganfra Nov 14, 2025
5046148
change(room members): address PR reviews
ganfra Nov 14, 2025
f8fb069
Update screenshots
ElementBot Nov 14, 2025
dcfe025
Fix navigation stack overflow when sharing media (#5724)
jmartinesp Nov 14, 2025
2120b5c
Merge pull request #5728 from element-hq/feature/fga/members_improvem…
ganfra Nov 14, 2025
dbb9bb1
Update KDoc
bmarty Nov 14, 2025
1d7d00e
Improve code readability and documentation.
bmarty Nov 14, 2025
017a259
Update notification content
bmarty Nov 14, 2025
8586e25
Render Owner in the horizontal list when editing Admins. Closes #5634.
bmarty Nov 14, 2025
b40ccd9
Merge pull request #5726 from element-hq/feature/bma/notificationCleanup
bmarty Nov 14, 2025
c3ba516
fix(deps): update dependency com.pinterest.ktlint:ktlint-cli to v1.8.0
renovate[bot] Nov 15, 2025
e9a8e95
fix(deps): update dependency com.squareup.okhttp3:okhttp-bom to v5.3.…
renovate[bot] Nov 17, 2025
270d255
Fix detekt issue
bmarty Nov 17, 2025
9ee6409
Fix owners not displayed in the horizontal list.
bmarty Nov 17, 2025
738f707
Sync Strings from Localazy (#5747)
ElementBot Nov 17, 2025
954b229
Fix regression on Preview.
bmarty Nov 17, 2025
ee49e8f
fix(deps): update dependency com.google.firebase:firebase-bom to v34.…
renovate[bot] Nov 17, 2025
0cb9d86
Send read receipts using the current timeline, not the live timeline …
jmartinesp Nov 17, 2025
c4dd960
Fix push gateway with some push provider (Sunup/autopush) (#5741)
p1gp1g Nov 17, 2025
36de3ba
Ignore some ktlint rules.
bmarty Nov 17, 2025
78f976e
Using Kdoc is not correct here.
bmarty Nov 17, 2025
c26b61c
Cleanup
bmarty Nov 17, 2025
ac0e39c
Merge pull request #5736 from element-hq/feature/bma/roomV12
bmarty Nov 17, 2025
aab46b3
Use new notification sound in release.
bmarty Nov 17, 2025
38448f7
Merge pull request #5748 from element-hq/feature/bma/newNotificationS…
bmarty Nov 17, 2025
a586299
Ensure the color has a `#` prefix.
bmarty Oct 29, 2025
65171c7
Enable Konsist test.
bmarty Oct 29, 2025
8804fb7
Update Ref.
bmarty Oct 29, 2025
001e399
vector-im -> element-hq
bmarty Nov 17, 2025
a00a188
Fix Javascript issue.
bmarty Nov 17, 2025
e3bf824
Update ref
bmarty Nov 17, 2025
a7ffe80
`@Inject` is not necessary here.
bmarty Nov 17, 2025
259bd61
Update Gradle Wrapper from 8.14.3 to 9.2.1
gradle-update-robot Nov 18, 2025
3f6ec44
Merge pull request #5626 from element-hq/bma/brandColor
bmarty Nov 18, 2025
78052be
fix(deps): update metro to v0.7.6 (#5752)
renovate[bot] Nov 18, 2025
584ec4f
fix(deps): update dependency org.maplibre.gl:android-sdk to v12.1.3 (…
renovate[bot] Nov 18, 2025
36ecb44
Add media retention policy (#5749)
jmartinesp Nov 18, 2025
21ced9e
Stop overriding the homeserver when restoring a `Client` (#5753)
jmartinesp Nov 18, 2025
740e486
Revert "Stop overriding the homeserver when restoring a `Client` (#57…
jmartinesp Nov 18, 2025
bf02740
Enable logging OkHttp traffic based on the current log level (#5750)
jmartinesp Nov 18, 2025
860257e
Try fixing forced dark mode issues on MIUI on Android 10 (#5708)
jmartinesp Nov 18, 2025
a9ae557
Remove unused `slidingSyncProxy` from DB.
bmarty Nov 18, 2025
310848e
Merge pull request #5722 from element-hq/feature/bma/moduleCleanup
bmarty Nov 18, 2025
9247c2d
Remove unused import.
bmarty Nov 18, 2025
2bdac6d
Merge pull request #5755 from element-hq/feature/bma/cleanupDb
bmarty Nov 18, 2025
ce77f7f
fix(deps): update dependency com.squareup.okhttp3:okhttp-bom to v5.3.2
renovate[bot] Nov 18, 2025
a167ad9
Fix crash at startup
bmarty Nov 19, 2025
0373460
Merge pull request #5761 from element-hq/feature/bma/fixCrashAtStartup
bmarty Nov 19, 2025
8ee2361
Fix reported crash.
bmarty Nov 18, 2025
0b313f1
Avoid creating a new Collator and apply same decomposition across cod…
bmarty Nov 18, 2025
65ed414
Remove class duplication.
bmarty Nov 18, 2025
43486a4
Avoid creating many PowerLevelRoomMemberComparator instance and also …
bmarty Nov 18, 2025
247e0c5
`roomMembers` can be private
bmarty Nov 18, 2025
5b24267
Improve code again.
bmarty Nov 18, 2025
d1aaca2
Simplify again.
bmarty Nov 18, 2025
f3247b8
Rename test class
bmarty Nov 19, 2025
7f9878c
Use test extension
bmarty Nov 19, 2025
ddf76d8
Ensure in test that rooms are sorted.
bmarty Nov 19, 2025
dc65191
Improve API: use RoomId instead of String.
bmarty Nov 19, 2025
dba7edd
Merge pull request #5758 from element-hq/feature/bma/fixNPE
bmarty Nov 19, 2025
0ef5576
Update dependency org.matrix.rustcomponents:sdk-android to v25.11.19
renovate[bot] Nov 19, 2025
42b9f6c
Merge pull request #5757 from element-hq/renovate/okhttp-monorepo
bmarty Nov 19, 2025
c8604c2
Merge pull request #5738 from element-hq/renovate/ktlint
bmarty Nov 19, 2025
f78c808
Add some performance metrics for Sentry (#5760)
jmartinesp Nov 19, 2025
fe65ba1
deps(sdk): fix api usages
ganfra Nov 19, 2025
abcb38e
Merge branch 'develop' into renovate/org.matrix.rustcomponents-sdk-an…
ganfra Nov 19, 2025
f8ce408
Ensure that htmlConverterProvider is initialized when viewing Pinned …
bmarty Nov 19, 2025
2767f17
Merge pull request #5764 from element-hq/feature/bma/fixDefaultHtmlCo…
bmarty Nov 19, 2025
cb9d116
First attempt
bmarty Nov 19, 2025
1bde238
quality: fix tests after api changes
ganfra Nov 19, 2025
477b154
Fix and add test
bmarty Nov 19, 2025
ece47a4
Merge pull request #5762 from element-hq/renovate/org.matrix.rustcomp…
ganfra Nov 19, 2025
a409888
Improve code again
bmarty Nov 19, 2025
0fddb54
Improve chunk algorithm
bmarty Nov 19, 2025
767319a
Fix crash when pressing back from the showkase Activity
bmarty Nov 19, 2025
edf994f
Fix navigation issue once incoming share is handled
bmarty Nov 19, 2025
ca7206a
Merge pull request #5772 from element-hq/feature/bma/showkaseCrash
bmarty Nov 20, 2025
5642813
fix(deps): update dependencyanalysis to v3.5.0 (#5776)
renovate[bot] Nov 20, 2025
f09b52c
Merge pull request #5773 from element-hq/feature/bma/fixNavigationIssue
ganfra Nov 20, 2025
b2d8856
Improve test names and perform more test.
bmarty Nov 20, 2025
04b492a
it -> dataList
bmarty Nov 20, 2025
1743f7f
Add `NIGHTLY` env for Sentry (#5779)
jmartinesp Nov 20, 2025
16e4c93
Merge pull request #5768 from element-hq/feature/bma/fixCrashInWorkMa…
bmarty Nov 20, 2025
703496e
Sync Strings from Localazy (#5782)
ElementBot Nov 20, 2025
01fc964
When handling a plain text share intent, check if it contains Uris be…
jmartinesp Nov 20, 2025
7c6aa06
item can be reordered, so hasPendingChanges should compare set and no…
bmarty Nov 20, 2025
c39c426
Comparing mutable state was wrong
bmarty Nov 20, 2025
f8cd83d
Improve code around confirmation.
bmarty Nov 20, 2025
fbddfbd
Render room version in room detail screen if developer mode is enabled.
bmarty Nov 20, 2025
729e5e9
Fix roleOf extension. Creator are Owner Role only if privilegedCreato…
bmarty Nov 20, 2025
fafb243
Fix and add missing preview.
bmarty Nov 20, 2025
c814bf1
Update screenshots
ElementBot Nov 21, 2025
f03f64a
Avoid computing the boolean on each recomposition.
bmarty Nov 21, 2025
37e395d
Fix and add test
bmarty Nov 21, 2025
2ffbd80
Use test extension
bmarty Nov 21, 2025
f801a0b
Show not save dialog when exiting user profile edition with unsaved c…
bmarty Nov 21, 2025
c67f257
Use test extension
bmarty Nov 21, 2025
c8b4c1f
Add unit tests
bmarty Nov 21, 2025
4dd148d
Add preview
bmarty Nov 21, 2025
4a90186
Add unit test on EditUserProfileView
bmarty Nov 21, 2025
f05a00b
Avoid using navigateUp.
bmarty Nov 21, 2025
2e2a502
Update screenshots
ElementBot Nov 21, 2025
942d608
Remove BaseCallback, it's actually not ideal when looking for usage.
bmarty Nov 21, 2025
31e9abb
Remove BaseNavigator, it's actually not ideal when looking for usage.
bmarty Nov 21, 2025
e475a96
Fix crash when clicking fast on back key on the Add account screen.
bmarty Nov 21, 2025
7bf7f68
Fix crash when clicking fast on back key on the Labs screen.
bmarty Nov 21, 2025
83d13d0
Fix crash when clicking fast on back key on the Developer settings sc…
bmarty Nov 21, 2025
b15c550
Fix compilation issue in test
bmarty Nov 21, 2025
c10bea0
Fix test
bmarty Nov 21, 2025
378fe32
fix(deps): update dependency androidx.sqlite:sqlite-ktx to v2.6.2 (#5…
renovate[bot] Nov 21, 2025
78c19eb
Setting version for the release 25.11.3
ganfra Nov 21, 2025
e2c08b5
Adding fastlane file for version 25.11.3
ganfra Nov 21, 2025
e124e76
Changelog for version 25.11.3
ganfra Nov 21, 2025
95c9e76
Use regex to check forbidden terms. (#5784)
jmartinesp Nov 21, 2025
e8e257d
Merge pull request #5786 from element-hq/feature/bma/addAdminConfirma…
bmarty Nov 21, 2025
16a8425
change(members): make sure state is not lost when navigating
ganfra Nov 20, 2025
c765084
change(members): search is now dependent of the selected section
ganfra Nov 20, 2025
24c2edc
change(members): update RoomMemberModerationView
ganfra Nov 20, 2025
3e125b4
design: introduce SearchField component
ganfra Nov 20, 2025
0beeda6
misc: AsyncData map non nullable
ganfra Nov 21, 2025
a3bb1b9
change(members): use SearchField and update strings
ganfra Nov 21, 2025
fdfc5df
fix(deps): update datastore to v1.2.0 (#5789)
renovate[bot] Nov 24, 2025
021b021
Edit user profile cancel confirmation (#5788)
bmarty Nov 24, 2025
3411420
chore(deps): update peter-evans/create-pull-request action to v7.0.9 …
renovate[bot] Nov 24, 2025
8b73557
change(members): new empty state for search and hide banned tabs when…
ganfra Nov 24, 2025
444a61f
fix(deps): update dependency io.nlopez.compose.rules:detekt to v0.4.2…
renovate[bot] Nov 24, 2025
8a4bdfa
fix(deps): update dependency org.matrix.rustcomponents:sdk-android to…
renovate[bot] Nov 24, 2025
eff2216
Sync Strings (#5792)
ElementBot Nov 24, 2025
1246bfa
deps(sdk) : add fallbackToServer on userIdentity api.
ganfra Nov 24, 2025
46136aa
change(member list): use only local user identity
ganfra Nov 24, 2025
5d6bd1e
fix(deps): update metro to v0.7.7 (#5771)
renovate[bot] Nov 25, 2025
c62f954
Merge pull request #5751 from element-hq/gradlew-update-9.2.1
bmarty Nov 25, 2025
c5f636b
chore(deps): update plugin sonarqube to v7.1.0.6387 (#5783)
renovate[bot] Nov 25, 2025
1195b9a
quality: fix test after api removal
ganfra Nov 25, 2025
f3602c2
fix(deps): update dependency io.github.sergio-sastre.composableprevie…
renovate[bot] Nov 25, 2025
6a23c4a
fix(deps): update dependency io.element.android:emojibase-bindings to…
renovate[bot] Nov 25, 2025
1a00184
Merge pull request #5796 from element-hq/renovate/org.matrix.rustcomp…
ganfra Nov 25, 2025
58d0eb2
fix(deps): update dependency io.sentry:sentry-android to v8.27.1 (#5803)
renovate[bot] Nov 25, 2025
b7c2c45
fix(deps): update roborazzi to v1.52.0
renovate[bot] Nov 25, 2025
94c985a
change(members): update tests to match new ui and logic
ganfra Nov 25, 2025
24324db
Merge branch 'develop' into feature/fga/iterate_members
ganfra Nov 25, 2025
ec6f615
Merge pull request #5801 from element-hq/renovate/io.element.android-…
ganfra Nov 25, 2025
6467912
quality: fix warnings
ganfra Nov 25, 2025
3240dbf
Update screenshots
ElementBot Nov 25, 2025
40f769c
quality(test): fix test after AsyncData.map change
ganfra Nov 25, 2025
9da2721
Add unit test on `toAnalyticsMemberRole()`
bmarty Nov 25, 2025
8c07c01
Creators can downgrade owners. Fixes #5632
bmarty Nov 25, 2025
672a6fe
hasSize(0) -> isEmpty()
bmarty Nov 25, 2025
b93cb77
Merge pull request #5807 from element-hq/feature/bma/fixEditingOwner
bmarty Nov 25, 2025
7fff110
Merge pull request #5804 from element-hq/renovate/roborazzi
bmarty Nov 25, 2025
5c0c5e3
fix(deps): update dependency org.maplibre.gl:android-sdk to v12.2.0 (…
renovate[bot] Nov 26, 2025
7159b70
chore(deps): update actions/checkout action to v6 (#5805)
renovate[bot] Nov 26, 2025
1067591
fix(deps): update dependency com.google.testparameterinjector:test-pa…
renovate[bot] Nov 26, 2025
2b1d36d
Merge pull request #5785 from element-hq/fix/uris-take-precedence-in-…
bmarty Nov 26, 2025
78d5850
Merge pull request #5806 from element-hq/feature/fga/iterate_members
ganfra Nov 26, 2025
b04524e
misc : use new_latest_event api (+ some renaming)
ganfra Nov 17, 2025
539aa35
fix(deps): update android.gradle.plugin to v8.13.1 (#5260)
renovate[bot] Nov 26, 2025
da57eaa
Merge pull request #5809 from element-hq/feature/fga/new_latest_event
ganfra Nov 26, 2025
47d43c0
fix(deps): update dependency org.matrix.rustcomponents:sdk-android to…
renovate[bot] Nov 26, 2025
4af4944
deps: fix api break
ganfra Nov 26, 2025
d40ffe4
Merge pull request #5818 from element-hq/renovate/org.matrix.rustcomp…
ganfra Nov 26, 2025
597a243
Inject RoomMemberListDataSource in the presenter constructor.
bmarty Nov 27, 2025
63e582f
fix(deps): update dependencyanalysis to v3.5.1 (#5819)
renovate[bot] Nov 27, 2025
29d4dfb
Merge pull request #5822 from element-hq/feature/bma/cleanupRoomMembe…
bmarty Nov 27, 2025
a3228ac
feat(floating-video): add mini-player implementation
Nov 27, 2025
1df6eaa
feat(floating-video): add system-wide mini-player draft
aliIsazadeh Sep 26, 2025
cd14fcd
fixed the bug of video being full size at first
aliIsazadeh Sep 27, 2025
cb71b6a
-remove unused setMinimize
aliIsazadeh Sep 30, 2025
31917ae
-removed added icons and string and using existing icons and strings
aliIsazadeh Sep 30, 2025
5994077
-adjusting maximize button size
aliIsazadeh Sep 30, 2025
7ec4590
-remove extra service declaration of service in app manifest
aliIsazadeh Sep 30, 2025
b48b4f0
-remove extra import
aliIsazadeh Sep 30, 2025
97ab960
-remove extra string file
aliIsazadeh Oct 2, 2025
14cb371
refactor: Convert floating video overlay to Compose with direct view …
aliIsazadeh Oct 4, 2025
825c74e
-revert changes in gradle.properties and project
aliIsazadeh Oct 11, 2025
7476fc1
- Broke down large FloatingVideoService into multiple smaller files f…
aliIsazadeh Oct 12, 2025
451da23
fix(video): stabilize floating video behavior
aliIsazadeh Oct 13, 2025
731a55a
-Converted VideoDataRepository to @SingleIn(AppScope::class) with @In…
aliIsazadeh Oct 16, 2025
e2393b9
-on video completes the minimized video gose away
aliIsazadeh Oct 17, 2025
bde2163
-Toast for display over apps persmission(string needs to be added to …
aliIsazadeh Oct 17, 2025
674920e
-get url functions
aliIsazadeh Nov 15, 2025
f9fadf9
changes on floating video overlay and floating service based on the c…
aliIsazadeh Nov 15, 2025
2231ab0
changes on floating video overlay and floating service based on the c…
aliIsazadeh Nov 15, 2025
039f20e
clearing maximize and minimize flows of the overlay video
aliIsazadeh Nov 16, 2025
492c724
remove video model strore owner from the service and also move the vi…
aliIsazadeh Nov 16, 2025
4d707f5
-moving openSystemOverlaySettings to system
Nov 27, 2025
81f72e4
remove un used code
Nov 27, 2025
43853f8
Merge remote-tracking branch 'origin/minimized-video' into minimized-…
Nov 27, 2025
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.
6 changes: 5 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ ij_smart_tabs = false
ij_visual_guides = none
ij_wrap_on_typing = false

# Ktlint rule, for more information see https://pinterest.github.io/ktlint/1.1.1/faq/#how-do-i-enable-or-disable-a-rule
# Ktlint rule, for more information see https://pinterest.github.io/ktlint/latest/faq/#how-do-i-enable-or-disable-a-rule
ktlint_standard_wrapping = disabled
ktlint_standard_trailing-comma-on-call-site = disabled
ktlint_standard_trailing-comma-on-declaration-site = disabled
Expand All @@ -31,6 +31,10 @@ ktlint_function_naming_ignore_when_annotated_with = Composable
ktlint_standard_function-expression-body = disabled
ktlint_standard_chain-method-continuation = disabled
ktlint_standard_class-signature = disabled
# Added when upgrading to 1.8.0
ktlint_standard_when-entry-bracing = disabled
ktlint_standard_blank-line-between-when-conditions = disabled
ktlint_standard_mixed-condition-operators = disabled

[*.java]
ij_java_align_consecutive_assignments = false
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
group: ${{ github.ref == 'refs/heads/develop' && format('build-develop-{0}-{1}', matrix.variant, github.sha) || format('build-{0}-{1}', matrix.variant, github.ref) }}
cancel-in-progress: true
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
with:
# Ensure we are building the branch and not the branch after being merged on develop
# https://github.com/actions/checkout/issues/881
Expand Down Expand Up @@ -53,15 +53,15 @@ jobs:
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
uses: actions/upload-artifact@v5
with:
name: elementx-debug
path: |
app/build/outputs/apk/gplay/debug/*-universal-debug.apk
app/build/outputs/apk/fdroid/debug/*-universal-debug.apk
- name: Upload x86_64 APK for Maestro
if: ${{ matrix.variant == 'debug' }}
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: elementx-apk-maestro
path: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build_enterprise.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
group: ${{ github.ref == 'refs/heads/develop' && format('build-develop-enterprise-{0}-{1}', matrix.variant, github.sha) || format('build-enterprise-{0}-{1}', matrix.variant, github.ref) }}
cancel-in-progress: true
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
with:
# Ensure we are building the branch and not the branch after being merged on develop
# https://github.com/actions/checkout/issues/881
Expand Down Expand Up @@ -61,7 +61,7 @@ jobs:
run: ./gradlew :app:assembleGplayDebug -PallWarningsAsErrors=true $CI_GRADLE_ARG_PROPERTIES
- name: Upload debug Enterprise APKs
if: ${{ matrix.variant == 'debug' }}
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: elementx-enterprise-debug
path: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/danger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
# Skip in forks, it doesn't work even with the fallback token
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == 'element-hq/element-x-android' }}
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- name: Add SSH private keys for submodule repositories
uses: webfactory/ssh-agent@a6f90b1f127823b31d4d4a8d96047790581349bd # v0.9.1
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gradle-wrapper-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
# Skip in forks
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == 'element-hq/element-x-android' }}
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- uses: actions/setup-java@v5
name: Use JDK 21
if: (github.event_name == 'pull_request' && github.event.pull_request.fork == null) || github.event_name == 'workflow_dispatch'
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/maestro-local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
group: ${{ format('maestro-{0}', github.ref) }}
cancel-in-progress: true
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
with:
# Ensure we are building the branch and not the branch after being merged on develop
# https://github.com/actions/checkout/issues/881
Expand All @@ -44,7 +44,7 @@ jobs:
ELEMENT_ANDROID_MAPTILER_LIGHT_MAP_ID: ${{ secrets.MAPTILER_LIGHT_MAP_ID }}
ELEMENT_ANDROID_MAPTILER_DARK_MAP_ID: ${{ secrets.MAPTILER_DARK_MAP_ID }}
- name: Upload APK as artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: elementx-apk-maestro
path: |
Expand All @@ -62,14 +62,14 @@ jobs:
group: ${{ format('maestro-{0}', github.ref) }}
cancel-in-progress: true
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
if: (github.event_name == 'pull_request' && github.event.pull_request.fork == null) || github.event_name == 'workflow_dispatch'
with:
# Ensure we are building the branch and not the branch after being merged on develop
# https://github.com/actions/checkout/issues/881
ref: ${{ github.ref }}
- name: Download APK artifact from previous job
uses: actions/download-artifact@v5
uses: actions/download-artifact@v6
with:
name: elementx-apk-maestro
- name: Enable KVM group perms
Expand Down Expand Up @@ -102,7 +102,7 @@ jobs:
script: |
.github/workflows/scripts/maestro/maestro-local-with-screen-recording.sh app-gplay-x86_64-debug.apk
- name: Upload test results
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: test-results
path: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
if: ${{ github.repository == 'element-hq/element-x-android' }}
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- name: Use JDK 21
uses: actions/setup-java@v5
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/nightlyReports.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:

- name: ✅ Upload kover report
if: always()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: kover-results
path: |
Expand All @@ -60,7 +60,7 @@ jobs:
name: Dependency analysis
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- name: Use JDK 21
uses: actions/setup-java@v5
with:
Expand All @@ -74,7 +74,7 @@ jobs:
run: ./gradlew dependencyCheckAnalyze $CI_GRADLE_ARG_PROPERTIES
- name: Upload dependency analysis
if: always()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: dependency-analysis
path: build/reports/dependency-check-report.html
32 changes: 16 additions & 16 deletions .github/workflows/quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
name: Search for forbidden patterns
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- name: Add SSH private keys for submodule repositories
uses: webfactory/ssh-agent@a6f90b1f127823b31d4d4a8d96047790581349bd # v0.9.1
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == 'element-hq/element-x-android' }}
Expand All @@ -33,7 +33,7 @@ jobs:
name: Search for invalid screenshot files
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- name: Set up Python 3.12
uses: actions/setup-python@v6
with:
Expand All @@ -45,7 +45,7 @@ jobs:
name: Search for invalid dependencies
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- name: Use JDK 21
uses: actions/setup-java@v5
with:
Expand All @@ -71,7 +71,7 @@ jobs:
group: ${{ github.ref == 'refs/heads/main' && format('check-konsist-main-{0}', github.sha) || github.ref == 'refs/heads/develop' && format('check-konsist-develop-{0}', github.sha) || format('check-konsist-{0}', github.ref) }}
cancel-in-progress: true
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
with:
# Ensure we are building the branch and not the branch after being merged on develop
# https://github.com/actions/checkout/issues/881
Expand All @@ -97,7 +97,7 @@ jobs:
run: ./gradlew :tests:konsist:testDebugUnitTest $CI_GRADLE_ARG_PROPERTIES --no-daemon
- name: Upload reports
if: always()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: konsist-report
path: |
Expand All @@ -111,7 +111,7 @@ jobs:
group: ${{ github.ref == 'refs/heads/main' && format('check-compose-main-{0}', github.sha) || github.ref == 'refs/heads/develop' && format('check-compose-develop-{0}', github.sha) || format('check-compose-{0}', github.ref) }}
cancel-in-progress: true
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
with:
# Ensure we are building the branch and not the branch after being merged on develop
# https://github.com/actions/checkout/issues/881
Expand Down Expand Up @@ -144,7 +144,7 @@ jobs:
group: ${{ github.ref == 'refs/heads/main' && format('check-lint-main-{0}', github.sha) || github.ref == 'refs/heads/develop' && format('check-lint-develop-{0}', github.sha) || format('check-lint-{0}', github.ref) }}
cancel-in-progress: true
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
with:
# Ensure we are building the branch and not the branch after being merged on develop
# https://github.com/actions/checkout/issues/881
Expand Down Expand Up @@ -174,7 +174,7 @@ jobs:
run: ./gradlew :app:lintGplayDebug :app:lintFdroidDebug lintDebug $CI_GRADLE_ARG_PROPERTIES --continue
- name: Upload reports
if: always()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: linting-report
path: |
Expand All @@ -188,7 +188,7 @@ jobs:
group: ${{ github.ref == 'refs/heads/main' && format('check-detekt-main-{0}', github.sha) || github.ref == 'refs/heads/develop' && format('check-detekt-develop-{0}', github.sha) || format('check-detekt-{0}', github.ref) }}
cancel-in-progress: true
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
with:
# Ensure we are building the branch and not the branch after being merged on develop
# https://github.com/actions/checkout/issues/881
Expand All @@ -214,7 +214,7 @@ jobs:
run: ./gradlew detekt $CI_GRADLE_ARG_PROPERTIES --no-daemon
- name: Upload reports
if: always()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: detekt-report
path: |
Expand All @@ -228,7 +228,7 @@ jobs:
group: ${{ github.ref == 'refs/heads/main' && format('check-ktlint-main-{0}', github.sha) || github.ref == 'refs/heads/develop' && format('check-ktlint-develop-{0}', github.sha) || format('check-ktlint-{0}', github.ref) }}
cancel-in-progress: true
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
with:
# Ensure we are building the branch and not the branch after being merged on develop
# https://github.com/actions/checkout/issues/881
Expand All @@ -254,7 +254,7 @@ jobs:
run: ./gradlew ktlintCheck $CI_GRADLE_ARG_PROPERTIES
- name: Upload reports
if: always()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: ktlint-report
path: |
Expand All @@ -268,7 +268,7 @@ jobs:
group: ${{ github.ref == 'refs/heads/main' && format('check-knit-main-{0}', github.sha) || github.ref == 'refs/heads/develop' && format('check-knit-develop-{0}', github.sha) || format('check-knit-{0}', github.ref) }}
cancel-in-progress: true
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
with:
# Ensure we are building the branch and not the branch after being merged on develop
# https://github.com/actions/checkout/issues/881
Expand Down Expand Up @@ -299,7 +299,7 @@ jobs:
name: Check shell scripts
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- name: Run shellcheck
uses: ludeeus/[email protected]
with:
Expand All @@ -311,13 +311,13 @@ jobs:
needs: [konsist, lint, ktlint, detekt]
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == 'element-hq/element-x-android' }}
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
with:
# 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: Download reports from previous jobs
uses: actions/download-artifact@v5
uses: actions/download-artifact@v6
- name: Prepare Danger
if: always()
run: |
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
group: ${{ format('build-release-main-gplay-{0}', github.sha) }}
cancel-in-progress: true
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- name: Use JDK 21
uses: actions/setup-java@v5
with:
Expand All @@ -38,7 +38,7 @@ jobs:
ELEMENT_CALL_RAGESHAKE_URL: ${{ secrets.ELEMENT_CALL_RAGESHAKE_URL }}
run: ./gradlew bundleGplayRelease $CI_GRADLE_ARG_PROPERTIES
- name: Upload bundle as artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: elementx-app-gplay-bundle-unsigned
path: |
Expand All @@ -52,7 +52,7 @@ jobs:
group: ${{ format('build-release-main-enterprise-{0}', github.sha) }}
cancel-in-progress: true
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- name: Add SSH private keys for submodule repositories
uses: webfactory/ssh-agent@a6f90b1f127823b31d4d4a8d96047790581349bd # v0.9.1
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == 'element-hq/element-x-android' }}
Expand All @@ -74,7 +74,7 @@ jobs:
ELEMENT_ANDROID_MAPTILER_DARK_MAP_ID: ${{ secrets.MAPTILER_DARK_MAP_ID }}
run: ./gradlew bundleGplayRelease $CI_GRADLE_ARG_PROPERTIES
- name: Upload bundle as artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: elementx-enterprise-app-gplay-bundle-unsigned
path: |
Expand All @@ -87,7 +87,7 @@ jobs:
group: ${{ format('build-release-main-fdroid-{0}', github.sha) }}
cancel-in-progress: true
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- name: Use JDK 21
uses: actions/setup-java@v5
with:
Expand All @@ -102,7 +102,7 @@ jobs:
ELEMENT_ANDROID_MAPTILER_DARK_MAP_ID: ${{ secrets.MAPTILER_DARK_MAP_ID }}
run: ./gradlew assembleFdroidRelease $CI_GRADLE_ARG_PROPERTIES
- name: Upload apks as artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: elementx-app-fdroid-apks-unsigned
path: |
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/scripts/maestro/local-recording.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
#!/bin/sh

#
# Copyright (c) 2025 Element Creations Ltd.
# Copyright 2024 New Vector Ltd.
#
# SPDX-License-Identifier: AGPL-3.0-only
# SPDX-License-Identifier: AGPL-3.0-only.
# Please see LICENSE in the repository root for full details.
#

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
#!/bin/sh

#
# Copyright (c) 2025 Element Creations Ltd.
# Copyright 2024 New Vector Ltd.
#
# SPDX-License-Identifier: AGPL-3.0-only
# SPDX-License-Identifier: AGPL-3.0-only.
# Please see LICENSE in the repository root for full details.
#

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/scripts/recordScreenshots.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
#!/bin/bash

# Copyright (c) 2025 Element Creations Ltd.
# Copyright 2023-2024 New Vector Ltd.
#
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial.
# Please see LICENSE files in the repository root for full details.

set -e
Expand Down
Loading