Commit graph

7720 commits

Author SHA1 Message Date
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
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
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
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
Benoit Marty
6d6de1ae3d Rework. Keep io.element.android.appconfig.LockScreenConfig as simple as possible. 2024-07-10 16:25:20 +02:00
renovate[bot]
573cd5e298
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
12532bc39b
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
Benoit Marty
97f3959379
Merge pull request #3146 from element-hq/feature/bma/invokeAllCallbacks
Ensure that all callback plugins are invoked.
2024-07-09 16:17:02 +02:00
Benoit Marty
f3c843cdcc
Merge pull request #3167 from element-hq/feature/bma/reproducibleBuild
Add a local copy of `inplace-fix.py` and `fix-pg-map-id.py`
2024-07-09 16:16:49 +02:00
Benoit Marty
eaf2d367fc
Merge pull request #3163 from element-hq/feature/bma/clearCacheEmptyScreen
Fix empty screen issue after clearing the cache
2024-07-09 15:36:45 +02:00
Benoit Marty
a5301a65b6
Merge pull request #3162 from element-hq/renovate/wysiwyg
Update wysiwyg to v2.37.5
2024-07-09 13:17:41 +02:00
Benoit Marty
09b79a6d36
Merge pull request #3154 from element-hq/renovate/org.owasp.dependencycheck-10.x
Update plugin dependencycheck to v10.0.2
2024-07-09 12:54:46 +02:00
Benoit Marty
232de9f780
Merge pull request #3157 from element-hq/renovate/org.robolectric-robolectric-4.x
Update dependency org.robolectric:robolectric to v4.13
2024-07-09 12:54:28 +02:00
Benoit Marty
9bb1aeb17d
Merge pull request #3149 from element-hq/feature/bma/targetSdk34
Set targetSDK to 34
2024-07-09 12:54:09 +02:00
Benoit Marty
23ac85fb8d
Merge pull request #3165 from element-hq/feature/bma/realDarkTheme
Always follow the desired theme for Pin, Incoming Call and Element Call screens
2024-07-09 12:51:27 +02:00
Benoit Marty
bb5ae89b2f Introduce ElementThemeApp to avoid code duplication. 2024-07-09 11:10:10 +02:00
Benoit Marty
da78222090
Merge branch 'develop' into feature/bma/realDarkTheme 2024-07-09 10:19:26 +02:00
Benoit Marty
7b057faf1d Add a local copy of inplace-fix.py and fix-pg-map-id.py from latest release https://github.com/obfusk/reproducible-apk-tools/blob/v0.2.7 2024-07-09 10:09:59 +02:00