Commit Graph

7731 Commits

Author SHA1 Message Date
Benoit Marty
79660dab51 Be more lenient on Matrix pattern to support existing rooms in the wild (will fix crash on debug build). 2024-07-17 10:08:25 +02:00
Benoit Marty
81bd3dcca0 Still need to support both eventId legacy and v4 2024-07-16 18:40:03 +02:00
Benoit Marty
48cbf57340 Add extra test for room alias. 2024-07-16 18:25:20 +02:00
Benoit Marty
7506070698 No need to make the block optional. 2024-07-16 18:23:25 +02:00
Benoit Marty
da7743f0bb Add test on MatrixPatterns functions. 2024-07-16 18:21:02 +02:00
Benoit Marty
220a8f67f5 Iterate on MatrixPatterns. 2024-07-16 18:06:18 +02:00
Benoit Marty
5e855d57c9 Merge pull request #3177 from element-hq/renovate/gradle-8.x
Update dependency gradle to v8.9
2024-07-16 17:15:37 +02:00
Benoit Marty
87a946f83a Merge pull request #3205 from element-hq/feature/bma/fixPinCrash
Fix crash when Pin code screen is displayed
2024-07-16 17:09:52 +02:00
Benoit Marty
eec4b626d0 Fix quality (Konsist failure) 2024-07-16 16:29:33 +02:00
Benoit Marty
3b46ab6523 Ensure that pinKeyMaxWidth and pinKeyMaxHeight are never negative.
Fix crash `Exception: java.lang.IllegalStateException: lineHeight can't be negative`
Can be due to the rendering when the Activity is animated maybe?
2024-07-16 16:01:45 +02:00
Benoit Marty
88ed1b6262 Fix typo. 2024-07-16 15:47:21 +02:00
Benoit Marty
8ddf1a42dc Merge pull request #3204 from element-hq/renovate/org.owasp.dependencycheck-10.x
Update plugin dependencycheck to v10.0.3
2024-07-16 15:16:31 +02:00
Benoit Marty
abcc93e616 Merge pull request #3203 from element-hq/feature/bma/clearNotificationWhenMarkAsRead
Clear existing notification when a room is marked as read
2024-07-16 14:48:36 +02:00
renovate[bot]
d8782dd7de Update plugin dependencycheck to v10.0.3 2024-07-16 12:20:51 +00:00
Benoit Marty
4e32635f10 Merge pull request #3200 from element-hq/renovate/io.sentry-sentry-android-7.x
Update dependency io.sentry:sentry-android to v7.12.0
2024-07-16 14:18:59 +02:00
Jorge Martin Espinosa
61b6970a6b Fix crash in the room list after a forced log out in background (#3180) 2024-07-16 11:17:04 +00:00
Benoit Marty
e3c7e37f23 When user manually mark a room as read, also dismiss the notifications for this room. 2024-07-16 13:10:30 +02:00
Benoit Marty
b593b47515 Remove PushBindsModule and use ContributesBinding. 2024-07-16 11:29:55 +02:00
Benoit Marty
2585f8ba52 Rename interface NotificationDrawerManager to NotificationCleaner since it actually contains only method to remove notifications. 2024-07-16 11:24:41 +02:00
Benoit Marty
5de86c5df5 Update documentation 2024-07-16 11:14:04 +02:00
Benoit Marty
591eac4ddc Merge pull request #3199 from element-hq/feature/bma/improvePip
Improve pip and add feature flag.
2024-07-16 10:18:13 +02:00
renovate[bot]
ca938d0628 Update dependency io.sentry:sentry-android to v7.12.0 2024-07-15 18:41:19 +00:00
Jorge Martin Espinosa
89ec904c4a Restore intentional mentions in the markdown/plain text editor (#3193)
* Restore intentional mentions in the markdown/plain text editor

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-07-15 18:27:59 +02:00
Benoit Marty
b5917c1837 Merge pull request #3198 from element-hq/renovate/io.mockk-mockk-1.x
Update dependency io.mockk:mockk to v1.13.12
2024-07-15 18:16:50 +02:00
ElementBot
93090279c2 Update screenshots 2024-07-15 15:31:46 +00:00
renovate[bot]
f051eecb67 Update dependency io.mockk:mockk to v1.13.12 2024-07-15 15:24:01 +00:00
Benoit Marty
f3b3b97877 Add preview for Call screen in different PipState. 2024-07-15 17:23:03 +02:00
Benoit Marty
a7c6b7e751 When PiP is supported, use Back for top left icon instead of Close. #3197 2024-07-15 17:23:03 +02:00
Benoit Marty
77a42f2198 Call in PiP: when closing PiP, hang up the call.
The Activity is actually not destroyed as I expected.
2024-07-15 17:22:34 +02:00
Benoit Marty
b95004fe23 Call in PiP: add feature flag, disabled in release builds. 2024-07-15 16:48:39 +02:00
Benoit Marty
f19c46e342 Update gradle using command line:
./gradlew wrapper --gradle-version 8.9 --gradle-distribution-sha256-sum d725d707bfabd4dfdc958c624003b3c80accc03f7037b5122c4b1d0ef15cecab
2024-07-15 15:20:18 +02:00
renovate[bot]
fd1916454d Update dependency com.squareup:kotlinpoet to v1.18.1 (#3194)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-15 15:11:30 +02:00
Benoit Marty
65d6b2cd6a Merge pull request #3187 from element-hq/renovate/com.google.truth-truth-1.x
Update dependency com.google.truth:truth to v1.4.4
2024-07-15 10:22:40 +02:00
Benoit Marty
d7767dd559 Merge pull request #3192 from element-hq/sync-localazy
Sync Strings
2024-07-15 10:21:34 +02:00
renovate[bot]
511603d2f7 Update telephoto to v0.12.0 (#3191)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-15 07:15:10 +00:00
bmarty
3865709d98 Sync Strings from Localazy 2024-07-15 00:23:30 +00:00
renovate[bot]
f9dcface2b Update dependency com.google.truth:truth to v1.4.4 2024-07-13 03:29:53 +00:00
renovate[bot]
e4f7f8acf9 Update dependency com.google.firebase:firebase-bom to v33.1.2 (#3178)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-12 08:03:52 +00:00
renovate[bot]
dd81adf736 Update dependency gradle to v8.9 2024-07-11 18:50:56 +00:00
Jorge Martin Espinosa
176755ac33 Subscribe to RoomListItems in the visible range (#3169)
* Subscribe to `RoomListItems` in the visible range

This ensures the room list items always have updated info.
2024-07-11 10:54:56 +02:00
Jorge Martin Espinosa
bb47ff8f49 Unify the way we decide whether a room is a DM or a group room (#3100)
* Add centralised 'room is DM' check

Also add extension functions for `MatrixRoom` and `MatrixRoomInfo`.

* Use the centralised method and extension functions through the app, including:

- Room list.
- Room details screen.
- Invites.
- Notifications.

Replace most `isDirect` usages with `isDm`.

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-07-10 16:28:46 +00:00
Benoit Marty
75a6af068c Merge pull request #3172 from element-hq/feature/bma/pinGracePeriod
Set pin grace period to 2 minutes
2024-07-10 17:20:48 +02:00
Benoit Marty
cf1b622da7 Doc: add missing period 2024-07-10 17:01:04 +02:00
Benoit Marty
922f65cc96 Some renaming. 2024-07-10 16:27:29 +02:00
Benoit Marty
21fafe2fc9 No need to be a member of the class. 2024-07-10 16:26:09 +02:00
Benoit Marty
8eb0d69493 Change PIN grace period to 2 minutes. 2024-07-10 16:25:20 +02:00
Benoit Marty
6d65c90e81 Some renaming. 2024-07-10 16:25:20 +02:00
Benoit Marty
1a94be4e9e Rework. Keep io.element.android.appconfig.LockScreenConfig as simple as possible. 2024-07-10 16:25:20 +02:00
renovate[bot]
6def71ec84 Update dependency org.jsoup:jsoup to v1.18.1 (#3171)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-10 09:20:26 +00:00
Benoit Marty
9e0f17c943 Merge pull request #3139 from element-hq/renovate/org.sonarqube-5.x
Update plugin sonarqube to v5.1.0.4882
2024-07-10 10:16:08 +02:00