Commit graph

3031 commits

Author SHA1 Message Date
renovate[bot]
f68b357e54
Update dependency me.saket.telephoto:zoomable-image-coil to v0.5.0 (#1017)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-02 18:43:47 +00:00
Jorge Martin Espinosa
82c5b1a348
Fix notification rendering by removing leftover test code (#1019) 2023-08-02 11:55:13 +00:00
Jorge Martin Espinosa
58ed74607d
Fix sending read receipts when entering a room (#1016)
* Fix sending read receipts when entering a room

* Improve solution for sending a read receipt when opening a room

* Roll back previous solution as it broke unit tests

* Remove dead code
2023-08-02 11:55:04 +00:00
Jorge Martín
99909e9b9f Fix concurrentcy group for building develop with a matrix of variants 2023-08-02 11:20:25 +02:00
Jorge Martín
a6d6869e55 Fix concurrentcy group for building develop 2023-08-02 11:19:28 +02:00
renovate[bot]
9bc336d17c
Update dependency org.matrix.rustcomponents:sdk-android to v0.1.38 (#1015)
* Update dependency org.matrix.rustcomponents:sdk-android to v0.1.38

* Fix API breaks

* Use `roomListItem.avatarUrl` if possible

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2023-08-01 10:29:36 +00:00
ganfra
62a367520e
RoomList: use same logic than Timeline for caching built items. (#1013)
* RoomList: use same logic than Timeline for caching built items. Extract into reusable components.

* RoomList: fix tests

* Fix `DiffCacheUpdater` docs

---------

Co-authored-by: ganfra <francoisg@element.io>
Co-authored-by: Jorge Martín <jorgem@element.io>
2023-08-01 08:53:41 +00:00
Jorge Martin Espinosa
b14c741422
CI improvements (#1012) 2023-07-31 21:05:28 +02:00
David Langley
0b95ef09b7
Reaction summary view and sorting reactions by count and then timestamp (#942)
* Sort reactions by count and then timestamp

- Sort reactions within an aggregation by timestamp descending. This puts the most recent at the top, useful in cases like the reaction summary view or getting the most recent reaction.
- Sort aggregated reactions by count and then timestamp ascending, using the most recent reaction in the aggregation. This appends new aggregations on the end of the reaction layout.

* Add reaction summary view

* fix warnings

* Fix test unit tests and add sorting tests

- Fix broken build in test code
- Add a test for reaction sorting

* Remove default closure, move logic to presenter and add tests

* Update screenshots

* Fix imports

* Revert Screenshots I didn't update

* Fix imports remove screetshots

* Update screenshots

* Update screenshots

* Address comments.

* Update screenshots

* Remove unnecessary snapshotFlow

* Fix code quality checks

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-07-31 17:39:20 +00:00
Jorge Martin Espinosa
ca3e284991
Try to skip extra checks in the CI for up to date PRs in merge queue. (#1010)
* Try to skip extra checks in the CI for up to date PRs in merge queue.

* Try to simplify check

* Remove expression syntax from `if`s
2023-07-31 15:19:51 +00:00
Marco Romano
2a59e6ae78
Properly inline tryOrNull() (#1003)
Nullable params can't be inlined, default empty lambdas are therefore preferred.
2023-07-31 13:49:57 +00:00
ElementBot
784b84d1e8
Sync Strings from Localazy (#1002)
Co-authored-by: bmarty <bmarty@users.noreply.github.com>
2023-07-31 13:49:52 +00:00
renovate[bot]
90598af343
Update dependency com.freeletics.flowredux:compose to v1.2.0 (#996)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-31 13:48:34 +00:00
Jorge Martin Espinosa
9e85c74c9c
Try to fix using the merge queue (#1009) 2023-07-31 13:35:38 +00:00
Jorge Martin Espinosa
eb80f5bbfe
Fix detekt issues in develop (#1004)
Co-authored-by: Marco Romano <marcor@element.io>
2023-07-31 14:01:08 +02:00
ganfra
f1d438e701
Merge pull request #997 from vector-im/feature/fga/remove_from_main_thread
Feature/fga/remove from main thread
2023-07-31 13:39:06 +02:00
ganfra
fb2b548be9
Merge pull request #998 from vector-im/feature/fga/safer_callback_flows
No crash when room is already destroyed...
2023-07-31 11:59:54 +02:00
ganfra
f26e3b4979 Fix CI 2023-07-31 11:58:49 +02:00
ganfra
13209b0aa0 Merge branch 'develop' into feature/fga/safer_callback_flows 2023-07-31 11:36:59 +02:00
ganfra
e9802ffea6 Small changes after reviews 2023-07-31 11:36:28 +02:00
ganfra
986b689f07
Merge pull request #999 from vector-im/renovate/anvil
Update anvil to v2.4.7-1-8
2023-07-31 10:09:33 +02:00
renovate[bot]
53659379aa
Update anvil to v2.4.7-1-8 2023-07-29 04:17:49 +00:00
ganfra
fa9fa69697 Makes sure NotificationService is suspendable 2023-07-28 17:56:17 +02:00
ganfra
d63a3e2d77 Messages: remove some blocking code from main thread 2023-07-28 17:55:43 +02:00
Benoit Marty
5ed29b1466
Merge pull request #986 from vector-im/feature/bma/bigFontSizeImprovement
Big font size improvements
2023-07-28 17:02:29 +02:00
Benoit Marty
792eb687bd
Merge pull request #989 from vector-im/feature/bma/noEmojiForStateEvent
Prevent reaction on state events and deleted events
2023-07-28 16:56:50 +02:00
Benoit Marty
822bb82347
Merge pull request #967 from vector-im/feature/bma/detektConfig
Update detekt config.
2023-07-28 16:47:26 +02:00
Benoit Marty
39bd0b9746 fix typo 2023-07-28 16:34:37 +02:00
ElementBot
7353c693bc Update screenshots 2023-07-28 14:24:03 +00:00
ganfra
ea35e36aff Timeline: move TimelineEncryptedHistoryPostProcessor off the main thread 2023-07-28 16:22:30 +02:00
Benoit Marty
36d2246e2a
Merge pull request #991 from vector-im/feature/bma/redactRegardingPowerLevel
Allow user with enough power level to redact other's messages (#969)
2023-07-28 16:13:54 +02:00
Benoit Marty
4cb0417afa Showkase does not take into account the fontScale parameter of the Preview annotation, so alter the LocalDensity in the CompositionLocalProvider. 2023-07-28 16:08:38 +02:00
Benoit Marty
bf0b364da9 Split long line. 2023-07-28 16:08:38 +02:00
Benoit Marty
5b95bd08ba Rewrite the test, maybe the CI will be happier. 2023-07-28 15:33:35 +02:00
ganfra
bd5e1e6520 No crash when room is already destroyed... 2023-07-28 13:40:18 +02:00
Benoit Marty
5ace169440 Update the API and add UI screenshots demoing it. 2023-07-28 10:29:13 +02:00
Benoit Marty
26bae1a831 Move extension to dedicated file. 2023-07-28 10:01:22 +02:00
Benoit Marty
a4e2b7a114
Merge pull request #993 from vector-im/feature/bma/cleanup
Cleanup doc, and avoid uploading artifact in Maestro job.
2023-07-28 09:54:50 +02:00
Benoit Marty
243cda29a1
Merge pull request #992 from vector-im/feature/fga/update-rust-sdk-0.1.37
Feature/fga/update rust sdk 0.1.37
2023-07-27 23:20:51 +02:00
Benoit Marty
28f653c8bf [doc] Element X can now create room. 2023-07-27 23:14:32 +02:00
Benoit Marty
faec5a200e ElementX -> Element X 2023-07-27 23:12:54 +02:00
Benoit Marty
7c56f80bd6 Update the recipe about screenshots recording. 2023-07-27 23:10:26 +02:00
Benoit Marty
d2bb8817a3 No need to upload artifact in this job. This is done by the build job. 2023-07-27 23:03:40 +02:00
ganfra
878aa39781 Also catch Exception instead of RoomListException 2023-07-27 21:12:07 +02:00
ganfra
1d97412523 Fix warning 2023-07-27 21:11:34 +02:00
ganfra
6cd764dc1f Timeline: fetch members only after timeline is ready 2023-07-27 20:49:56 +02:00
ganfra
69c42a3cbc Update rust sdk to 0.1.37 2023-07-27 20:49:27 +02:00
Benoit Marty
82e35cda0d Allow user with enough power level to redact other's messages (#969) 2023-07-27 18:42:45 +02:00
Benoit Marty
5f35852625
Merge pull request #988 from vector-im/feature/bma/keyboardConfig
Auto capitalize first letter of sentences for messages, room topic and bug report description
2023-07-27 18:39:01 +02:00
Benoit Marty
bcff814945 Prevent reaction on state events and deleted events (#971) 2023-07-27 17:30:19 +02:00