Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1096 commits
Select commit Hold shift + click to select a range
3cf2369
change (room avatar) : clean code related to room name/avatar
ganfra Jun 17, 2025
d2e15e3
fix(deps): update dependency io.sentry:sentry-android to v8.14.0
renovate[bot] Jun 17, 2025
780339c
change (room avatar) : add preview for TombstonedRoomAvatar
ganfra Jun 18, 2025
68e7406
change (room avatar) : fix AvatarClusterPreview
ganfra Jun 18, 2025
2a865e6
change (room avatar) : replace modifier.requiredSize by modifier.size
ganfra Jun 18, 2025
e3e8404
Update screenshots
ElementBot Jun 18, 2025
2954857
Fix test after wording change.
bmarty Jun 18, 2025
c5f7546
Add missing test for UnableToResolve case.
bmarty Jun 18, 2025
488932c
Add test for UnableToResolve case.
bmarty Jun 18, 2025
b8cef93
change (room avatar) : fix test after refactor
ganfra Jun 18, 2025
2953704
Add missing test on RustNotificationService
bmarty Jun 18, 2025
7bde9bc
Merge pull request #4891 from element-hq/feature/fga/tombstoned-room-…
ganfra Jun 18, 2025
323d8cf
fix (event action): allow to edit only if permission to send message
ganfra Jun 18, 2025
713bae0
test (event action): clean test
ganfra Jun 18, 2025
0b238b0
fix(deps): update dependency org.matrix.rustcomponents:sdk-android to…
renovate[bot] Jun 18, 2025
680b63d
Merge pull request #4895 from element-hq/feature/fga/can-edit-permission
ganfra Jun 18, 2025
11aa534
fix (room upgrade) : room predecessor banner should be displayed for …
ganfra Jun 18, 2025
6b8c43d
Update screenshots
ElementBot Jun 18, 2025
3d8a641
Update wording of generic notification.
bmarty Jun 18, 2025
b6680ac
Add a developer option for history sharing on invite (#4821)
richvdh Jun 18, 2025
3153770
fix(deps): update dependency com.google.crypto.tink:tink-android to v…
renovate[bot] Jun 18, 2025
a8d96a6
Merge pull request #4896 from element-hq/feature/fga/fix_dm_predecess…
ganfra Jun 18, 2025
911fba7
Merge pull request #4889 from element-hq/feature/bma/genericNotification
bmarty Jun 19, 2025
106a0bf
fix (join room) : do not navigate up when join is successful
ganfra Jun 18, 2025
802e1d2
Merge pull request #4899 from element-hq/feature/fga/fix_join_room_na…
ganfra Jun 19, 2025
cbee14d
Setting version for the release 25.06.3
jmartinesp Jun 19, 2025
cbf97b2
Adding fastlane file for version 25.06.3
jmartinesp Jun 19, 2025
426e5de
Merge branch 'release/25.06.3'
jmartinesp Jun 19, 2025
6569674
Merge tag 'v25.06.3' into develop
jmartinesp Jun 19, 2025
921d6c6
Changelog for version 25.06.3
jmartinesp Jun 19, 2025
58452fc
Merge pull request #4871 from element-hq/renovate/org.unifiedpush.and…
ganfra Jun 19, 2025
3a2e36b
Merge pull request #4892 from element-hq/renovate/io.sentry-sentry-an…
ganfra Jun 19, 2025
82401dc
Merge pull request #4897 from element-hq/renovate/com.google.crypto.t…
ganfra Jun 19, 2025
44940fc
a11y: improve accessibility on grouped state events header.
bmarty Jun 19, 2025
be62f2c
a11y: now that the grouped events are read one by one, we also need t…
bmarty Jun 20, 2025
ba3e64c
a11y: Make isTalkbackActive() live.
bmarty Jun 20, 2025
d438806
Debug info: render the roomId in the room details screen when develop…
bmarty Jun 20, 2025
9baa540
Use CompoundIcons.Code() instead of CompoundDrawables.ic_compound_code
bmarty Jun 20, 2025
e53280a
Update screenshots
ElementBot Jun 20, 2025
fadd2f9
Merge pull request #4903 from element-hq/feature/bma/liveIsTalkBackAc…
bmarty Jun 20, 2025
d8a0953
Remove unused import
bmarty Jun 20, 2025
4161888
Suppress LargeClass on test.
bmarty Jun 20, 2025
1dcdd8d
Merge pull request #4902 from element-hq/feature/bma/a11yGroupedEvents
bmarty Jun 20, 2025
a20af86
Merge pull request #4904 from element-hq/feature/bma/roomDebugInfo
bmarty Jun 20, 2025
1105346
fix(deps): update wysiwyg to v2.38.4 (#4907)
renovate[bot] Jun 20, 2025
12fdb8e
Add scripts to enable and disable talkback (#4906)
jmartinesp Jun 20, 2025
4389657
Inline `TextInput` so that we have code parity in the when statement
bmarty Jun 19, 2025
512ed81
Improve preview of AttachmentsPreviewViewPreview to have the case wit…
bmarty Jun 19, 2025
ff95c43
a11y: let Markdown/Rich text input render the placeholder to help for…
bmarty Jun 19, 2025
c838a79
Update screenshots
ElementBot Jun 20, 2025
b0e3f81
change (accept invite) : map Unknown error to AcceptInvite.Failures.I…
ganfra Jun 20, 2025
31f2c2a
Merge pull request #4900 from element-hq/feature/bma/a11yTimeline
bmarty Jun 20, 2025
57a8d30
change (accept invite) : updates the error title/content dialog for a…
ganfra Jun 20, 2025
fc19a94
Update screenshots
ElementBot Jun 20, 2025
dada0bc
fix(deps): update dependency org.robolectric:robolectric to v4.15 (#4…
renovate[bot] Jun 20, 2025
3ec965f
fix(deps): update dependency androidx.sqlite:sqlite-ktx to v2.5.2 (#4…
renovate[bot] Jun 20, 2025
4eb4692
Restore `MarkdownEditText.focusSearch` override (#4908)
jmartinesp Jun 20, 2025
c857f7a
change (accept invite) : fix tests after api break
ganfra Jun 20, 2025
0a4d32f
Merge pull request #4909 from element-hq/feature/fga/invalid-invite
ganfra Jun 20, 2025
4709048
fix(deps): update dependency org.jsoup:jsoup to v1.21.1
renovate[bot] Jun 23, 2025
3f520f5
refactor: Migrate SQLCipher Android to new API (#4874)
ShadowRZ Jun 23, 2025
7c79f8b
fix(deps): update dependency io.mockk:mockk to v1.14.4 (#4912)
renovate[bot] Jun 23, 2025
bece4a0
Add ability to zoom on video.
bmarty Jun 20, 2025
ae96bc6
Merge pull request #4916 from element-hq/feature/bma/zoomVideo2
bmarty Jun 23, 2025
3669128
Introduce AvatarType to be able to render space avatars
bmarty Jun 23, 2025
cf01390
Update screenshots
ElementBot Jun 23, 2025
2ac94f2
Cleanup
bmarty Jun 23, 2025
dddf046
Extract ImageAvatar and InitialLetterAvatar to their own files.
bmarty Jun 23, 2025
e202fbf
AvatarType is Immutable.
bmarty Jun 23, 2025
59aec12
Move isTombstoned to AvatarType.Space
bmarty Jun 23, 2025
2bcffe8
Let AvatarType be the receiver of avatarShape()
bmarty Jun 23, 2025
21e04e1
Merge pull request #4921 from element-hq/feature/bma/spaceAvatar
bmarty Jun 23, 2025
a676d5f
Extract UserAvatar to its own file.
bmarty Jun 23, 2025
0cc11ba
Cleanup code rework by IDE.
bmarty Jun 23, 2025
b36f68b
SpaceAvatar can be internal
bmarty Jun 23, 2025
63d8d9b
Remove default param for AvatarCluster.avatarType
bmarty Jun 23, 2025
52ad634
Remove default param for Avatar.avatarType
bmarty Jun 23, 2025
9e65b7f
Extract subcomposable InitialOrImageAvatar
bmarty Jun 23, 2025
14bb7d3
Provide avatarShape: Shape instead of AvatarType to sub composable fu…
bmarty Jun 23, 2025
abd92d0
Avoid potential infinite loop.
bmarty Jun 23, 2025
57ffa26
Improve preview of AvatarCluster to show all types.
bmarty Jun 23, 2025
e5b7e65
Update screenshot
bmarty Jun 24, 2025
69cecea
Fix regression on preview.
bmarty Jun 24, 2025
8281a9d
Quality
bmarty Jun 24, 2025
6161e20
Replace `values()` by `entries`
bmarty Jun 24, 2025
6cbed45
Move internal elements to `internal` package.
bmarty Jun 24, 2025
cadca03
Add preview with an image.
bmarty Jun 24, 2025
045ca6f
Ensure AvatarSize is correctly used in UnsavedAvatar, instead of hard…
bmarty Jun 24, 2025
0f4939b
Update screenshots
ElementBot Jun 24, 2025
fb1d076
Simplify syncing the room list when receiving a push (#4915)
jmartinesp Jun 24, 2025
655e2c2
Add unit test on ChooseAccountProviderState so that the coverage is a…
bmarty Jun 24, 2025
b8f22fc
Space avatar rounded corner has radius of 25% of the width.
bmarty Jun 24, 2025
784b7bf
Merge pull request #4924 from element-hq/feature/bma.increaseCoverage…
bmarty Jun 24, 2025
342aae6
fix(deps): update dependency org.robolectric:robolectric to v4.15.1 (…
renovate[bot] Jun 24, 2025
f92b646
Update screenshots
ElementBot Jun 24, 2025
bfd684c
fix(deps): update dependency org.matrix.rustcomponents:sdk-android to…
renovate[bot] Jun 24, 2025
25ba79a
Move `isElementCallAvailable` fun to new `SessionEnterpriseService`, …
bmarty Jun 11, 2025
289ad46
Update submodule ref.
bmarty Jun 24, 2025
0048632
Merge pull request #4923 from element-hq/feature/bma/spaceAvatar2
bmarty Jun 24, 2025
6a08839
Merge pull request #4925 from element-hq/feature/bma/elementCallCheck
bmarty Jun 24, 2025
a10734d
Simplify message composer layout (#4884)
jmartinesp Jun 24, 2025
e752323
Fix duplicate usage of a `modifier` variable in `TextInputBox` (#4928)
jmartinesp Jun 24, 2025
613bf27
fix(deps): update android.gradle.plugin to v8.11.0
renovate[bot] Jun 24, 2025
385b8c3
misc : simplify timeline diff logic
ganfra Jun 24, 2025
17dfd18
Display error dialog if Element Call can't be joined (#4919)
jmartinesp Jun 25, 2025
03fded9
fix(deps): update dependencyanalysis to v2.19.0 (#4932)
renovate[bot] Jun 25, 2025
b8c084b
Merge pull request #4930 from element-hq/feature/fga/simplify_timelin…
ganfra Jun 25, 2025
ef9436e
Merge pull request #4914 from element-hq/renovate/org.jsoup-jsoup-1.x
ganfra Jun 25, 2025
7d3f4cb
fix(deps): update dependency org.matrix.rustcomponents:sdk-android to…
renovate[bot] Jun 25, 2025
2a0783a
fix(deps): update dependency io.sentry:sentry-android to v8.15.0 (#4938)
renovate[bot] Jun 26, 2025
aedd98d
Add NavigationBar component
bmarty Jun 26, 2025
67e2802
Update screenshots
ElementBot Jun 26, 2025
71e309f
Split function into separate files.
bmarty Jun 26, 2025
c5cdcc4
Fix typo
bmarty Jun 26, 2025
bdaeaf2
Fix quality issues on Composables
bmarty Jun 26, 2025
53613b1
Merge pull request #4940 from element-hq/feature/bma/navigationBar
bmarty Jun 26, 2025
9bd2c17
fix(deps): update dependency org.maplibre.gl:android-sdk to v11.11.0 …
renovate[bot] Jun 26, 2025
871fb88
a11y: improve content description of the clear filter button. Change …
bmarty Jun 26, 2025
3b687a1
a11y: improve content description of the close formatting button. Cha…
bmarty Jun 26, 2025
e806d07
Extract and unit test MultipleTapToUnlock
bmarty Jun 26, 2025
adf5394
Show version on OnBoarding screen.
bmarty Jun 26, 2025
2cefa92
Update screenshots
ElementBot Jun 26, 2025
416f4f2
change (media preview config) : introduce new apis from sdk
ganfra Jun 25, 2025
5332246
change (media preview config) : use the new apis
ganfra Jun 26, 2025
98b60d4
change (media preview config) : handle loading and failure ui
ganfra Jun 26, 2025
0e73882
change (media preview config) : manage migration of local data
ganfra Jun 26, 2025
27a5787
Merge pull request #4943 from element-hq/feature/bma/a11yDeleteFilters
bmarty Jun 26, 2025
bebe2d4
fix(deps): update dependency com.google.gms:google-services to v4.4.3
renovate[bot] Jun 26, 2025
2f6ce3d
Element Call: remove top app bar and add it inside the webview instea…
jmartinesp Jun 27, 2025
56b5afc
fix(deps): update dependency com.google.firebase:firebase-bom to v33.…
renovate[bot] Jun 27, 2025
fe9fbe8
Merge pull request #4944 from element-hq/feature/bma/version
bmarty Jun 27, 2025
60083ad
Rename module `roomlist` to `home`
bmarty Jun 27, 2025
b02aa0d
Add TODO
bmarty Jun 27, 2025
67f36f3
Add missing import
bmarty Jun 27, 2025
082b012
Fix incorrect import
bmarty Jun 27, 2025
2ba5d10
Update screenshots
ElementBot Jun 27, 2025
fba0cc5
Merge pull request #4955 from element-hq/feature/bma/moveRoomListHome
bmarty Jun 27, 2025
284241a
Sync Strings from Localazy
bmarty Jun 30, 2025
53df3a0
Merge pull request #4913 from element-hq/sync-localazy
bmarty Jun 30, 2025
1b05c2a
Split RoomListPresenter and introduce HomePresenter
bmarty Jun 27, 2025
1aa18ae
Update screenshots
ElementBot Jun 30, 2025
5f9035e
fix(deps): update dependency io.sentry:sentry-android to v8.16.0 (#4941)
renovate[bot] Jun 30, 2025
c54608d
Merge pull request #4958 from element-hq/feature/bma/splitPresenter
bmarty Jun 30, 2025
7f449fe
Introduce MIN_SDK_FOSS and MIN_SDK_ENTERPRISE const.
bmarty Jun 30, 2025
3ff8592
Release script: read minSdkVersion from file plugins/src/main/kotlin/…
bmarty Jun 30, 2025
c3b7f38
Change minSDK to 33 for Element enterprise. #4905
bmarty Jun 30, 2025
dcf923c
Remove scandir param, it seems that it is not recursive
bmarty Jun 30, 2025
fd83aff
Fix shellcheck issue on local-recording.sh
bmarty Jun 30, 2025
0570fb1
Fix shellcheck issue on release.sh
bmarty Jun 30, 2025
cb09110
Fix test regression on API 33.
bmarty Jun 30, 2025
71ff727
Fix test regression on API 33.
bmarty Jun 30, 2025
4de44b7
Fix test regression on API 33.
bmarty Jun 30, 2025
06a551c
Fix test regression on API 33.
bmarty Jun 30, 2025
425e131
Fix test regression on API 33.
bmarty Jun 30, 2025
dd188e6
Fix test regression on API 33.
bmarty Jun 30, 2025
f8adf0b
Ensure test works with other minApi level.
bmarty Jun 30, 2025
c804fe0
Add "View avatar" content description to all clickable Avatar that wi…
bmarty Jun 30, 2025
9ee371d
Add Feature flag for Spaces
bmarty Jun 26, 2025
33daa38
NavigationBar for Spaces
bmarty Jun 26, 2025
f7dde9d
Update screenshots
ElementBot Jun 30, 2025
4b4cfa3
change (media preview config) : fix JoinRule.Private case
ganfra Jun 30, 2025
ca46166
change (media preview config) : final refactoring and tests
ganfra Jun 30, 2025
773fa16
Merge branch 'develop' into feature/fga/csam_preferences_server
ganfra Jun 30, 2025
7fb6eeb
change (media preview config) : clean code
ganfra Jun 30, 2025
225a775
Merge pull request #4960 from element-hq/feature/bma/minApiLevel
bmarty Jul 1, 2025
b9b3418
Update screenshots
ElementBot Jul 1, 2025
26a19d6
Merge branch 'develop' into feature/fga/csam_preferences_server
ganfra Jul 1, 2025
967e9ca
change (media preview config) : address review remarks
ganfra Jul 1, 2025
65be166
change (media preview config) : fix warning on deprecated method
ganfra Jul 1, 2025
90aba5c
Merge pull request #4962 from element-hq/feature/fga/csam_preferences…
ganfra Jul 1, 2025
03d6f59
SDK 25.7.1
bmarty Jul 1, 2025
3db4492
Remove dead code.
bmarty Jul 1, 2025
94d528d
Suppress deprecation issue.
bmarty Jul 1, 2025
53a694b
Fix compilation issue.
bmarty Jul 1, 2025
038cf5c
Merge pull request #4966 from element-hq/feature/bma/sdkUpdate
bmarty Jul 1, 2025
8bc7bed
Merge pull request #4964 from element-hq/feature/bma/roomListNavigati…
bmarty Jul 1, 2025
68b54af
Update haze to v1.6.6
renovate[bot] Jul 1, 2025
11bb0bb
Merge pull request #4968 from element-hq/renovate/haze
ganfra Jul 1, 2025
fcf7bc9
Merge pull request #4946 from element-hq/renovate/com.google.gms-goog…
ganfra Jul 1, 2025
6840dd4
deps (lint) : update lint version to align with android gradle plugin
ganfra Jul 1, 2025
3818990
Merge pull request #4931 from element-hq/renovate/android.gradle.plugin
ganfra Jul 2, 2025
3e02350
Update kotlin
renovate[bot] Jul 2, 2025
d7405c6
Update dependency io.element.android:element-call-embedded to v0.13.0…
renovate[bot] Jul 2, 2025
d15c190
Fix warning about freeCompilerArgs deprecation.
bmarty Jul 2, 2025
0a2a636
Fix compilation warning for annotations
bmarty Jul 2, 2025
1abe101
Fix compilation error. toEpochDays() now returns a Long.
bmarty Jul 2, 2025
a0cd5c8
Kotlin compiler 2.2.0
bmarty Jul 2, 2025
a810b38
ExperimentalTime OptIn is now needed.
bmarty Jul 2, 2025
7f98e5c
Fix deprecation and add OptIn on Clock and Instant
bmarty Jul 2, 2025
ffa3719
Upgrade lint version to 8.12.0-alpha07
bmarty Jul 2, 2025
9c88e80
Improve test coverage of SendActionState
bmarty Jul 2, 2025
ab51ddd
Improve test coverage of PinnedMessagesBannerState
bmarty Jul 2, 2025
55e16fa
It seems that we can use datetime 0.7.0
bmarty Jul 2, 2025
0029d13
`Visible` must be annotated with `Immutable`
bmarty Jul 2, 2025
8053200
Compose 2025.06.01
bmarty Jul 2, 2025
9186477
Update dependency org.matrix.rustcomponents:sdk-android to v25.7.2 (#…
renovate[bot] Jul 2, 2025
29b223e
Compose 2025.06.01 (#4970)
bmarty Jul 2, 2025
182909d
OptIn to ExperimentalTime for the whole module.
bmarty Jul 2, 2025
3530ba5
Merge pull request #4918 from element-hq/renovate/kotlin
bmarty Jul 3, 2025
e608ac0
[a11y] Ensure that the focus is not lost when the send button state c…
bmarty Jul 3, 2025
76cefec
Update dependency org.matrix.rustcomponents:sdk-android to v25.7.3
ganfra Jul 3, 2025
db3c5df
Update dependency io.element.android:element-call-embedded to v0.13.1
renovate[bot] Jul 3, 2025
c52affb
Merge pull request #4977 from element-hq/renovate/io.element.android-…
ganfra Jul 3, 2025
00a71b7
Merge pull request #4976 from element-hq/dependencies/update_rust_sdk…
ganfra Jul 3, 2025
635711e
Merge pull request #4975 from element-hq/feature/bma/a11y/voiceMessage
bmarty Jul 4, 2025
ef8d57d
[a11y] Use built-in onClickLabel parameter.
bmarty Jul 3, 2025
5d81a02
[a11y] Add long click label
bmarty Jul 4, 2025
f3eb0e6
Fix wrong TopAppBar usage
bmarty Jul 4, 2025
70aa31d
[a11y] Ensure that heading() is applied to all screen titles.
bmarty Jul 4, 2025
2ba5410
[a11y] Add heading() to date separators.
bmarty Jul 4, 2025
0b3def2
Update screenshots
ElementBot Jul 4, 2025
283dd4b
Format code.
bmarty Jul 4, 2025
8910487
Fix issue with modifier.
bmarty Jul 4, 2025
1f426da
misc (tracing) : add new TraceLogPack.Notification
ganfra Jul 4, 2025
52a6b78
Merge pull request #4980 from element-hq/feature/bma/clickLabel
bmarty Jul 4, 2025
d9ede05
Sync Strings from Localazy (#4983)
ElementBot Jul 4, 2025
ccd6958
Merge pull request #4981 from element-hq/feature/fga/log_pack_notif
bmarty Jul 4, 2025
5e73e0b
Setting version for the release 25.07.0
bmarty Jul 4, 2025
622be77
Adding fastlane file for version 25.07.0
bmarty Jul 4, 2025
86ec2f5
Merge branch 'release/25.07.0' into main
bmarty Jul 4, 2025
c7289ac
Merge pull request #34 from revivalistsorg/gplay
iamtalhaasghar Jul 9, 2025
e521935
fetch upstream changes
iamtalhaasghar Jul 9, 2025
81680e7
add untracked files
iamtalhaasghar Jul 9, 2025
351595c
merge upstream changes v25.7.0
iamtalhaasghar Jul 9, 2025
04bfcba
fix conflicts
iamtalhaasghar Jul 10, 2025
db1d1aa
Merge branch 'element-hq-main' into develop
iamtalhaasghar Jul 10, 2025
fb42cea
fix more conflicts
iamtalhaasghar Jul 10, 2025
7fe2611
conflicts in notification icon
iamtalhaasghar Jul 10, 2025
e512958
rageshake url conflicts
iamtalhaasghar Jul 10, 2025
c23105f
default url for login
iamtalhaasghar Jul 10, 2025
908b4ba
add todo's to move applicationId and name to build config
iamtalhaasghar Jul 10, 2025
f01d95d
Update colors.xml
iamtalhaasghar Jul 10, 2025
e191ae2
merge onboarding locallazy strings to login screen
iamtalhaasghar Jul 10, 2025
b530dab
Delete features/onboarding/impl/src/main/res/values directory
iamtalhaasghar Jul 10, 2025
e0a2205
Delete features/verifysession/impl/src/main/kotlin/io/element/android…
iamtalhaasghar Jul 10, 2025
1376935
update app id and name in build config
iamtalhaasghar Jul 10, 2025
687a6d5
pick app id and name from buildtime config
iamtalhaasghar Jul 10, 2025
a222bf4
remove extra log statement
iamtalhaasghar Jul 10, 2025
79ff50b
use bug report url and report app name from BuildTimeConfig
iamtalhaasghar Jul 10, 2025
8a18a1a
Update BuildTimeConfig.kt
iamtalhaasghar Jul 10, 2025
0cebcea
use bug reporturl from buildconfig
iamtalhaasghar Jul 10, 2025
b795661
Update BuildTimeConfig.kt
iamtalhaasghar Jul 10, 2025
20d1573
Update Versions.kt
iamtalhaasghar Jul 10, 2025
b9505fc
Delete samples/minimal directory
iamtalhaasghar Jul 10, 2025
f3432b7
- disable session verification in onboarding,
msusman1 Jul 16, 2025
bf0c994
- minor ui fixed for voice message playback speed
msusman1 Jul 16, 2025
4b2532a
- remove "Room is unencrypted banner"
msusman1 Jul 16, 2025
9ea76b6
removed support for android auto
iamtalhaasghar Jul 22, 2025
aa03027
Delete app/src/main/res/xml/automotive_app_desc.xml
iamtalhaasghar Jul 22, 2025
b51f945
Delete OidcEntryPoint.kt and update Versions.kt
msusman1 Jul 22, 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.
32 changes: 16 additions & 16 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
{
"$schema" : "https://docs.renovatebot.com/renovate-schema.json",
"extends" : [
"config:base"
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
],
"labels" : [
"labels": [
"PR-Dependencies"
],
"ignoreDeps" : [
"ignoreDeps": [
"string:app_name",
"gradle"
],
"packageRules" : [
"packageRules": [
{
"matchPackagePatterns" : [
"^org.jetbrains.kotlin",
"^com.google.devtools.ksp",
"^androidx.compose.compiler"
],
"groupName" : "kotlin"
"groupName": "kotlin",
"matchPackageNames": [
"/^org.jetbrains.kotlin/",
"/^com.google.devtools.ksp/",
"/^androidx.compose.compiler/"
]
},
{
"matchPackagePatterns" : [
"^org.maplibre"
],
"versioning" : "semver"
"versioning": "semver",
"matchPackageNames": [
"/^org.maplibre/"
]
}
]
}
10 changes: 7 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ jobs:
ELEMENT_ANDROID_MAPTILER_LIGHT_MAP_ID: ${{ secrets.MAPTILER_LIGHT_MAP_ID }}
ELEMENT_ANDROID_MAPTILER_DARK_MAP_ID: ${{ secrets.MAPTILER_DARK_MAP_ID }}
ELEMENT_ANDROID_SENTRY_DSN: ${{ secrets.ELEMENT_ANDROID_SENTRY_DSN }}
ELEMENT_CALL_SENTRY_DSN: ${{ secrets.ELEMENT_CALL_SENTRY_DSN }}
ELEMENT_CALL_POSTHOG_API_HOST: ${{ secrets.ELEMENT_CALL_POSTHOG_API_HOST }}
ELEMENT_CALL_POSTHOG_API_KEY: ${{ secrets.ELEMENT_CALL_POSTHOG_API_KEY }}
ELEMENT_CALL_RAGESHAKE_URL: ${{ secrets.ELEMENT_CALL_RAGESHAKE_URL }}
run: ./gradlew :app:assembleGplayDebug app:assembleFDroidDebug -PallWarningsAsErrors=true $CI_GRADLE_ARG_PROPERTIES
- name: Upload debug APKs
if: ${{ matrix.variant == 'debug' }}
Expand All @@ -65,7 +69,7 @@ jobs:
retention-days: 5
overwrite: true
if-no-files-found: error
- uses: rnkdsh/action-upload-diawi@v1.5.6
- uses: rnkdsh/action-upload-diawi@605adbad0db6c000eee26adfd8fc128d7df8f7ab # v1.5.9
id: diawi
# Do not fail the whole build if Diawi upload fails
continue-on-error: true
Expand All @@ -77,7 +81,7 @@ jobs:
file: app/build/outputs/apk/gplay/debug/app-gplay-arm64-v8a-debug.apk
- name: Add or update PR comment with QR Code to download APK.
if: ${{ matrix.variant == 'debug' && github.event_name == 'pull_request' && steps.diawi.conclusion == 'success' }}
uses: NejcZdovc/comment-pr@v2
uses: NejcZdovc/comment-pr@a423635d183a8259308e80593c96fecf31539c26 # v2.1.0
with:
message: |
:iphone: Scan the QR code below to install the build (arm64 only) for this PR.
Expand All @@ -89,7 +93,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Compile release sources
if: ${{ matrix.variant == 'release' }}
run: ./gradlew compileReleaseSources -PallWarningsAsErrors=true $CI_GRADLE_ARG_PROPERTIES
run: ./gradlew bundleGplayRelease -PallWarningsAsErrors=true $CI_GRADLE_ARG_PROPERTIES
- name: Compile nightly sources
if: ${{ matrix.variant == 'nightly' }}
run: ./gradlew compileGplayNightlySources -PallWarningsAsErrors=true $CI_GRADLE_ARG_PROPERTIES
6 changes: 5 additions & 1 deletion .github/workflows/build_enterprise.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
# https://github.com/actions/checkout/issues/881
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.ref }}
- name: Add SSH private keys for submodule repositories
uses: webfactory/ssh-agent@v0.9.0
uses: webfactory/ssh-agent@a6f90b1f127823b31d4d4a8d96047790581349bd # v0.9.1
with:
ssh-private-key: ${{ secrets.ELEMENT_ENTERPRISE_DEPLOY_KEY }}
- name: Clone submodules
Expand All @@ -54,6 +54,10 @@ jobs:
ELEMENT_ANDROID_MAPTILER_LIGHT_MAP_ID: ${{ secrets.MAPTILER_LIGHT_MAP_ID }}
ELEMENT_ANDROID_MAPTILER_DARK_MAP_ID: ${{ secrets.MAPTILER_DARK_MAP_ID }}
ELEMENT_ANDROID_SENTRY_DSN: ${{ secrets.ELEMENT_ANDROID_SENTRY_DSN }}
ELEMENT_CALL_SENTRY_DSN: ${{ secrets.ELEMENT_CALL_SENTRY_DSN }}
ELEMENT_CALL_POSTHOG_API_HOST: ${{ secrets.ELEMENT_CALL_POSTHOG_API_HOST }}
ELEMENT_CALL_POSTHOG_API_KEY: ${{ secrets.ELEMENT_CALL_POSTHOG_API_KEY }}
ELEMENT_CALL_RAGESHAKE_URL: ${{ secrets.ELEMENT_CALL_RAGESHAKE_URL }}
run: ./gradlew :app:assembleGplayDebug -PallWarningsAsErrors=true $CI_GRADLE_ARG_PROPERTIES
- name: Upload debug Enterprise APKs
if: ${{ matrix.variant == 'debug' }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/danger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Add SSH private keys for submodule repositories
uses: webfactory/ssh-agent@v0.9.0
uses: webfactory/ssh-agent@a6f90b1f127823b31d4d4a8d96047790581349bd # v0.9.1
with:
ssh-private-key: ${{ secrets.ELEMENT_ENTERPRISE_DEPLOY_KEY }}
- name: Clone submodules
Expand All @@ -20,7 +20,7 @@ jobs:
- run: |
npm install --save-dev @babel/plugin-transform-flow-strip-types
- name: Danger
uses: danger/danger-js@12.3.3
uses: danger/danger-js@bdccecb77e0144055fbaea9224f10cf8b1229b68 # 13.0.4
with:
args: "--dangerfile ./tools/danger/dangerfile.js"
env:
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 @@ -12,7 +12,7 @@ jobs:
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == 'element-hq/element-x-android' }}
steps:
- name: ⏬ Checkout with LFS
uses: nschloe/action-cached-lfs-checkout@v1.2.3
uses: nschloe/action-cached-lfs-checkout@f46300cd8952454b9f0a21a3d133d4bd5684cfc2 # v1.2.3
- name: Use JDK 21
uses: actions/setup-java@v4
with:
Expand All @@ -32,7 +32,7 @@ jobs:
mkdir -p screenshots/en
cp tests/uitests/src/test/snapshots/images/* screenshots/en
- name: Deploy GitHub Pages
uses: peaceiris/actions-gh-pages@v4
uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4.0.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./screenshots
2 changes: 1 addition & 1 deletion .github/workflows/gradle-wrapper-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
distribution: 'temurin' # See 'Supported distributions' for available options
java-version: '21'
- name: Update Gradle Wrapper
uses: gradle-update/update-gradle-wrapper-action@v2
uses: gradle-update/update-gradle-wrapper-action@512b1875f3b6270828abfe77b247d5895a2da1e5 # v2.1.0
with:
repo-token: ${{ secrets.DANGER_GITHUB_API_TOKEN }}
target-branch: develop
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/maestro-local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ env:
CI_GRADLE_ARG_PROPERTIES: --stacktrace --no-daemon -Dsonar.gradle.skipCompile=true --no-configuration-cache
ARCH: x86_64
DEVICE: pixel_7_pro
API_LEVEL: 35
API_LEVEL: 33
TARGET: google_apis

jobs:
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
maestro-cloud:
name: Maestro test suite
runs-on: ubuntu-latest
needs: [build-apk]
needs: [ build-apk ]
# Allow one per PR.
concurrency:
group: ${{ format('maestro-{0}', github.ref) }}
Expand All @@ -80,6 +80,7 @@ jobs:
- name: Install maestro
run: curl -fsSL "https://get.maestro.mobile.dev" | bash
- name: Run Maestro tests in emulator
id: maestro_test
uses: reactivecircus/android-emulator-runner@v2
continue-on-error: true
env:
Expand Down Expand Up @@ -109,3 +110,8 @@ jobs:
retention-days: 5
overwrite: true
if-no-files-found: error
- name: Fail the workflow in case of error in test
if: steps.maestro_test.outcome != 'success'
run: |
echo "Maestro tests failed. Please check the logs."
exit 1
4 changes: 4 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ jobs:
ELEMENT_ANDROID_MAPTILER_LIGHT_MAP_ID: ${{ secrets.MAPTILER_LIGHT_MAP_ID }}
ELEMENT_ANDROID_MAPTILER_DARK_MAP_ID: ${{ secrets.MAPTILER_DARK_MAP_ID }}
ELEMENT_ANDROID_SENTRY_DSN: ${{ secrets.ELEMENT_ANDROID_SENTRY_DSN }}
ELEMENT_CALL_SENTRY_DSN: ${{ secrets.ELEMENT_CALL_SENTRY_DSN }}
ELEMENT_CALL_POSTHOG_API_HOST: ${{ secrets.ELEMENT_CALL_POSTHOG_API_HOST }}
ELEMENT_CALL_POSTHOG_API_KEY: ${{ secrets.ELEMENT_CALL_POSTHOG_API_KEY }}
ELEMENT_CALL_RAGESHAKE_URL: ${{ secrets.ELEMENT_CALL_RAGESHAKE_URL }}
ELEMENT_ANDROID_NIGHTLY_KEYID: ${{ secrets.ELEMENT_ANDROID_NIGHTLY_KEYID }}
ELEMENT_ANDROID_NIGHTLY_KEYPASSWORD: ${{ secrets.ELEMENT_ANDROID_NIGHTLY_KEYPASSWORD }}
ELEMENT_ANDROID_NIGHTLY_STOREPASSWORD: ${{ secrets.ELEMENT_ANDROID_NIGHTLY_STOREPASSWORD }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightlyReports.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
if: ${{ github.repository == 'element-hq/element-x-android' }}
steps:
- name: ⏬ Checkout with LFS
uses: nschloe/action-cached-lfs-checkout@v1.2.3
uses: nschloe/action-cached-lfs-checkout@f46300cd8952454b9f0a21a3d133d4bd5684cfc2 # v1.2.3

- name: Use JDK 21
uses: actions/setup-java@v4
Expand Down
49 changes: 0 additions & 49 deletions .github/workflows/nightly_enterprise.yml

This file was deleted.

28 changes: 28 additions & 0 deletions .github/workflows/post-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Post-release

on:
push:
tags:
- 'v*'

jobs:
post-release:
runs-on: ubuntu-latest
# Skip in forks
if: github.repository == 'element-hq/element-x-android'

steps:
- name: Trigger pipeline
uses: actions/github-script@v7
with:
github-token: ${{ secrets.ENTERPRISE_ACTIONS_TOKEN }}
script: |
const tag = context.ref.replace('refs/tags/', '');
const inputs = { git_tag: tag };
await github.rest.actions.createWorkflowDispatch({
owner: 'element-hq',
repo: 'element-enterprise',
workflow_id: 'pipeline-android.yml',
ref: 'main',
inputs: inputs
});
77 changes: 77 additions & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
name: Pull Request
on:
pull_request_target:
types: [ opened, edited, labeled, unlabeled, synchronize ]
workflow_call:
secrets:
ELEMENT_BOT_TOKEN:
required: true

jobs:
prevent-blocked:
name: Prevent blocked
runs-on: ubuntu-latest
permissions:
pull-requests: read
steps:
- name: Add notice
uses: actions/github-script@v7
if: contains(github.event.pull_request.labels.*.name, 'X-Blocked')
with:
script: |
core.setFailed("PR has been labeled with X-Blocked; it cannot be merged.");

community-prs:
name: Label Community PRs
runs-on: ubuntu-latest
if: github.event.action == 'opened'
permissions:
pull-requests: write
steps:
- name: Check membership
if: github.event.pull_request.user.login != 'renovate[bot]'
uses: tspascoal/get-user-teams-membership@57e9f42acd78f4d0f496b3be4368fc5f62696662 # v3
id: teams
with:
username: ${{ github.event.pull_request.user.login }}
organization: element-hq
team: Vector Core
GITHUB_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN_READ_ORG }}
- name: Add label
if: steps.teams.outputs.isTeamMember == 'false'
uses: actions/github-script@v7
with:
script: |
github.rest.issues.addLabels({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: ['Z-Community-PR']
});

close-if-fork-develop:
name: Forbid develop branch fork contributions
runs-on: ubuntu-latest
if: >
github.event.action == 'opened' &&
github.event.pull_request.head.ref == 'develop' &&
github.event.pull_request.head.repo.full_name != github.repository
steps:
- name: Close pull request
uses: actions/github-script@v7
with:
script: |
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: "Thanks for opening this pull request, unfortunately we do not accept contributions from the main" +
" branch of your fork, please re-open once you switch to an alternative branch for everyone's sanity.",
});

github.rest.pulls.update({
pull_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
state: 'closed'
});
Loading
Loading