Commit Graph

16439 Commits

Author SHA1 Message Date
Benoit Marty d6c99870f9 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 67e09295de Still need to support both eventId legacy and v4 2024-07-16 18:40:03 +02:00
Benoit Marty 79d29d680b Add extra test for room alias. 2024-07-16 18:25:20 +02:00
Benoit Marty 5ae4668da5 No need to make the block optional. 2024-07-16 18:23:25 +02:00
Benoit Marty 52900076bd Add test on MatrixPatterns functions. 2024-07-16 18:21:02 +02:00
Benoit Marty 792667c9a4 Iterate on MatrixPatterns. 2024-07-16 18:06:18 +02:00
ganfra 181a7a0718 Merge pull request #3202 from element-hq/renovate/org.matrix.rustcomponents-sdk-android-0.x
Update dependency org.matrix.rustcomponents:sdk-android to v0.2.32
2024-07-16 18:01:07 +02:00
renovate[bot] 530894e875 Update dependency org.matrix.rustcomponents:sdk-android to v0.2.32 2024-07-16 17:22:13 +02:00
Benoit Marty f6bfe3cd78 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 de62c12d00 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 83a366af2a Fix quality (Konsist failure) 2024-07-16 16:29:33 +02:00
Benoit Marty 0db221e953 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 459c99e45f Fix typo. 2024-07-16 15:47:21 +02:00
Benoit Marty 9e7d938cfd 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 d9599a239c 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] 2b4c4e839d Update plugin dependencycheck to v10.0.3 2024-07-16 12:20:51 +00:00
Benoit Marty fa90191efd 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 d626660023 Fix crash in the room list after a forced log out in background (#3180) 2024-07-16 11:17:04 +00:00
Benoit Marty 85ceb0296c 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 756e04493e Remove PushBindsModule and use ContributesBinding. 2024-07-16 11:29:55 +02:00
Benoit Marty 6ea629a4d2 Rename interface NotificationDrawerManager to NotificationCleaner since it actually contains only method to remove notifications. 2024-07-16 11:24:41 +02:00
Benoit Marty 83051d7231 Update documentation 2024-07-16 11:14:04 +02:00
Benoit Marty 544b4a1057 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] 696a430281 Update dependency io.sentry:sentry-android to v7.12.0 2024-07-15 18:41:19 +00:00
Jorge Martin Espinosa 2ff5fa67fc 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 5493d6b741 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 9c42c2d46d Update screenshots 2024-07-15 15:31:46 +00:00
renovate[bot] 788a20c24a Update dependency io.mockk:mockk to v1.13.12 2024-07-15 15:24:01 +00:00
Benoit Marty a0b8679776 Add preview for Call screen in different PipState. 2024-07-15 17:23:03 +02:00
Benoit Marty 15d4782aa6 When PiP is supported, use Back for top left icon instead of Close. #3197 2024-07-15 17:23:03 +02:00
Benoit Marty 497f5d9f38 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 d27e86f396 Call in PiP: add feature flag, disabled in release builds. 2024-07-15 16:48:39 +02:00
Benoit Marty d758984941 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] 7ae5e99643 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 35fdc85da9 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 8bc2101313 Merge pull request #3192 from element-hq/sync-localazy
Sync Strings
2024-07-15 10:21:34 +02:00
renovate[bot] 77630a7a06 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 14511633db Sync Strings from Localazy 2024-07-15 00:23:30 +00:00
renovate[bot] 9476e44c2e Update dependency com.google.truth:truth to v1.4.4 2024-07-13 03:29:53 +00:00
ganfra c508c8bdd0 Performance : subscribe to timeline items only when necessary 2024-07-12 18:11:36 +02:00
renovate[bot] 61c0216686 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] 1e9497b83a Update dependency gradle to v8.9 2024-07-11 18:50:56 +00:00
Jorge Martin Espinosa 5944f112fb 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 0be7058416 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 1a03edbe63 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 f73b480328 Doc: add missing period 2024-07-10 17:01:04 +02:00
Benoit Marty eb8d7e2166 Some renaming. 2024-07-10 16:27:29 +02:00
Benoit Marty 85428fbcfb No need to be a member of the class. 2024-07-10 16:26:09 +02:00
Benoit Marty 2efa7fea96 Change PIN grace period to 2 minutes. 2024-07-10 16:25:20 +02:00
Benoit Marty d1a4fd76de Some renaming. 2024-07-10 16:25:20 +02:00