Commit graph

7695 commits

Author SHA1 Message Date
ganfra
ef12408b6e Performance : add cache on roomListItem and fullRoom 2024-07-17 14:45:14 +02: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
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
Benoit Marty
b0c9091948
Merge pull request #3159 from element-hq/feature/bma/elementCallPip
Add support for Picture In Picture for Element Call
2024-07-08 19:58:39 +02:00
Benoit Marty
214c9d2d2b Fix KtLint issue 2024-07-08 18:48:51 +02:00
Benoit Marty
c73d814220 CallScreenPresenter is reading the current theme, it needs to be in the ElementTheme block. Closes #3153 2024-07-08 18:35:03 +02:00
Benoit Marty
4640233aff
Merge pull request #3161 from element-hq/feature/bma/fdoirBuildFix
Add `--alignment-preserved true` when signing APK for F-Droid.
2024-07-08 18:21:26 +02:00
Benoit Marty
03ce6cf975 Remove Type of change from the PR template, we are now using PR- labels. 2024-07-08 18:21:03 +02:00
Benoit Marty
a8dcd52db0 Add --alignment-preserved true when signing APK for F-Droid. Closes #3151 2024-07-08 18:21:03 +02:00
Benoit Marty
9856ece42a Ensure PinUnlockActivity and IncomingCallActivity use the internal theme set by the user. 2024-07-08 18:17:44 +02:00
Benoit Marty
5ccf95018d Fix test compilation 2024-07-08 17:49:39 +02:00
Benoit Marty
e48b958d52 When clearing cache, ensure that SessionPreferencesStore is removed from the cache.
Fixes blank screen after clear cache.
Also cleanup the codebase.
2024-07-08 16:48:40 +02:00
Benoit Marty
fbe70ddf5d Use session coroutine scope instead of application coroutine scope. 2024-07-08 16:47:17 +02:00
renovate[bot]
5abeb62fe4
Update wysiwyg to v2.37.5 2024-07-08 14:17:01 +00:00
Benoit Marty
962320a0d8 Remove test on API 24 (working locally but not on CI :/) 2024-07-08 14:38:54 +02:00
Jorge Martin Espinosa
c550436500
Fix MainActionButton layout for long texts (#3158)
* Fix `MainActionButton` layout for long texts

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-07-08 11:43:24 +00:00
Jorge Martin Espinosa
d9a498c86a
Reduce delay when selecting room list filters (#3160)
Previously, this had to wait for a recomposition until it was launched, which took ~100ms in a debug build. With these changes, the side effect is emitted in 10-20ms instead.
2024-07-08 11:42:38 +00:00
ElementBot
0a1725f16d Update screenshots 2024-07-08 11:29:02 +00:00
Benoit Marty
b409f2ea19 Remove extra parenthesis 2024-07-08 13:19:35 +02:00
Benoit Marty
0093e611cd Add Ui test on CallScreenView 2024-07-08 12:30:06 +02:00
Benoit Marty
966219b791 Rename method (copy paste error) 2024-07-08 12:14:03 +02:00
Benoit Marty
664f78741d Add preview for loading state. 2024-07-08 12:08:42 +02:00
Benoit Marty
a005c80fe4 Add support for Picture in Picture for ElementCallActivity 2024-07-08 12:04:59 +02:00
ElementBot
3a91b4f39d
Sync Strings (#3156)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-07-08 07:34:58 +00:00
renovate[bot]
0b5893841c
Update dependency org.robolectric:robolectric to v4.13 2024-07-08 05:13:29 +00:00
renovate[bot]
542430d775
Update plugin dependencycheck to v10.0.2 2024-07-06 19:22:46 +00:00
renovate[bot]
d3fb6a2445
Update dependency com.squareup:kotlinpoet to v1.18.0 (#3150)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-05 20:49:58 +02:00
renovate[bot]
68efc918ba
Update dependency org.matrix.rustcomponents:sdk-android to v0.2.31 (#3145)
* Update dependency org.matrix.rustcomponents:sdk-android to v0.2.31

* Use new Rust client side sorting API

* Make `RoomListEntriesUpdate.describe()` an extension function

* Remove `RoomListSummary.Filled` and `RoomListSummary.Empty`

* Fix icon sizes to pass the lint checks

* Update screenshots

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-07-05 15:25:42 +00:00