Commit Graph

6189 Commits

Author SHA1 Message Date
Jorge Martín 759022ec92 Update member list after changing member roles
Also do it when the user enters the room member list screen.
2024-03-22 10:13:51 +01:00
Jorge Martin Espinosa f4e5934d1b Fix Poll history 'Load more' button alignment (#2577)
* Fix Poll history 'Load more' button alignment

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-03-21 11:51:43 +00:00
renovate[bot] cb763ecce6 Update wysiwyg to v2.34.0 (#2576)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-21 11:20:02 +01:00
Jorge Martin Espinosa 998eb7d093 Compound: add BigIcon, BigCheckmark and PageTitle components (#2574)
* Compound: add `BigIcon`, `BigCheckmark` and `PageTitle` components

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-03-21 11:10:11 +01:00
renovate[bot] 8a6020c5a6 Update android.gradle.plugin to v8.3.1 (#2471)
* Update android.gradle.plugin to v8.3.1

* Fix AGP update

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2024-03-21 09:47:17 +01:00
renovate[bot] 1fbf0a2f57 Update dependency androidx.compose:compose-bom to v2024.03.00 (#2575)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-21 09:20:53 +01:00
renovate[bot] 8284e522f2 Update kotlin (#2464)
Updates:
- Kotlin `1.9.23`.
- KSP `1.9.23-1.0.19`.
- Compose Compiler: `1.5.11`.

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-21 07:33:27 +00:00
Jorge Martin Espinosa 6aa84d600e Implement MSC2530 (#2570)
* Implement MSC2530
* Some layout improvements for images and videos with captions
* Update screenshots
* Replace `it` in several previews with `isMine`

---------

Signed-off-by: Marco Antonio Alvarez <surakin@gmail.com>
Co-authored-by: Marco Antonio Alvarez <surakin@gmail.com>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-03-20 13:58:29 +01:00
Jorge Martin Espinosa 2777ba09a3 Merge pull request #2571 from element-hq/renovate/org.matrix.rustcomponents-sdk-android-0.x
Update dependency org.matrix.rustcomponents:sdk-android to v0.2.10
2024-03-20 10:27:26 +01:00
Jorge Martín cc9c04b1a3 Fix SDK integration 2024-03-20 09:36:35 +01:00
renovate[bot] fb9e453a73 Update dependency org.matrix.rustcomponents:sdk-android to v0.2.10 2024-03-19 16:22:02 +00:00
Jorge Martin Espinosa 5cc5a0b699 Add isInDebug variable to simulate debug/release configs for tests (#2566)
* `isInDebug` as `ThreadLocal<Boolean>`

* Use a simple var for `isInDebug` and add a helper method to test release mode, when running the debug test.

* Add some more docs

---------

Co-authored-by: Benoit Marty <benoit@matrix.org>
2024-03-18 17:56:07 +01:00
Benoit Marty fb64018110 Merge pull request #2565 from element-hq/feature/bma/userDataCache
Read user avatar from cache
2024-03-18 17:33:26 +01:00
Benoit Marty a51855a171 Simplification since MatrixUser cannot be null anymore. 2024-03-18 16:46:26 +01:00
Jorge Martin Espinosa 883d834284 Remove unnecessary Room.updateMembers() calls. (#2564)
* Remove unnecessary `updateMembers` calls.

Some of them can be directly removed since we have a way to automatically get member info updates based on membership changes.

Others can be replaced by a simpler `getUpdatedMember` method. This might still need a full member sync, but it's quite unlikely.
2024-03-18 14:57:25 +00:00
ElementBot 0a08b81863 Update screenshots 2024-03-18 14:56:38 +00:00
Jorge Martin Espinosa fde154a284 Remove 'clear cache' CI flow (#2563)
It never worked as expected and keeps failing
2024-03-18 15:25:51 +01:00
Benoit Marty b18312e3a9 Merge pull request #2559 from element-hq/feature/bma/enableMarkAsUnread
Enable the feature "Mark as unread".
2024-03-18 15:17:52 +01:00
Benoit Marty 82d2b500e1 changelog 2024-03-18 15:07:29 +01:00
Benoit Marty 68fd649424 Use client.cachedAvatarUrl(), to be able to render the user avatar faster, and even if there is no network (#2488). 2024-03-18 15:02:54 +01:00
Benoit Marty a0cbe1087b Fix compilation warning. 2024-03-18 15:02:41 +01:00
renovate[bot] 1e4300dab1 Update plugin dependencycheck to v9.0.10 (#2560)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-18 09:48:47 +01:00
Benoit Marty 5169ed303d Merge pull request #2561 from element-hq/sync-localazy
Sync Strings
2024-03-18 09:23:35 +01:00
Jorge Martin Espinosa 4b9507d512 Add analytic events to room moderation (#2553)
* Add analytic events to room moderation

* Fix typo and tests
2024-03-18 08:06:36 +01:00
bmarty 1cece7d0f3 Sync Strings from Localazy 2024-03-18 00:16:33 +00:00
Jorge Martin Espinosa 57e6db8144 Move Konsist tests to quality checks (#2558)
* Move `Konsist` tests to quality checks

This should also help us avoid running them for every single test task, including Kover.

* Fix upload report path filter
2024-03-15 18:03:13 +01:00
Benoit Marty 889761a8d8 Enable the feature "Mark as unread". 2024-03-15 17:03:41 +01:00
Jorge Martin Espinosa 810c0ed8f3 Test and verify coverage only on debug variant (#2556)
* Test and verify coverage only on debug variant

* Set files to upload

* Fix also nightlyReports flow
2024-03-15 15:52:33 +01:00
Benoit Marty 66db3bcf2f version++ 2024-03-15 15:28:54 +01:00
Benoit Marty 253eacf565 Merge tag 'v0.4.6' into develop
tag
2024-03-15 15:21:05 +01:00
Benoit Marty 5b1ae2402d Merge branch 'release/0.4.6' into main 2024-03-15 15:20:50 +01:00
Benoit Marty 1ae3ad0c1f Adding fastlane file for version 0.4.6 2024-03-15 15:20:47 +01:00
Benoit Marty afb2722135 Changelog for version 0.4.6 2024-03-15 15:20:22 +01:00
Benoit Marty 72b814f5a7 Merge pull request #2544 from element-hq/feature/bma/trackUtd
Track UTD errors.
2024-03-15 14:11:29 +01:00
ElementBot f089847f48 Sync Strings (#2557)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-03-15 13:37:11 +01:00
Benoit Marty a9e67c070d Improve UtdTracker test. 2024-03-15 12:33:54 +01:00
Benoit Marty 87dd1cd4c1 Add unit test on UtdTracker 2024-03-15 12:29:38 +01:00
Benoit Marty 9302b65053 Fix compilation of minimal. 2024-03-15 12:00:16 +01:00
Benoit Marty 73f80b314f Add extra properties "cryptoSDK" to Error.CryptoSDK.Rust to all events and screen sent to PostHog. 2024-03-15 11:27:53 +01:00
Benoit Marty 27bb46511b Improve crypto error content. 2024-03-15 09:41:43 +01:00
Benoit Marty 7543fe2026 Bump analytics plan to 0.14.0 2024-03-15 09:36:20 +01:00
Jorge Martin Espinosa 694f551bbc Ensure progress indicator is removed when a user is unblocked (#2554) 2024-03-15 08:34:59 +01:00
Benoit Marty 5c948ed0ba Track UTD errors. 2024-03-14 17:03:50 +01:00
Jorge Martin Espinosa 67d79059f8 Add legacy call invite state events and notifications (#2552)
* Add state timeline events and notifications for legacy call invites

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-03-14 16:29:06 +01:00
renovate[bot] 207d142bfd Update dependency org.matrix.rustcomponents:sdk-android to v0.2.9 (#2551)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-14 16:09:44 +01:00
Jorge Martin Espinosa 179579d5e5 Revert "Clear and generate new cache only when merging to develop" (#2550)
This reverts commit ab504a6095.
2024-03-14 13:34:19 +01:00
Benoit Marty 0c31b05113 Merge pull request #2547 from element-hq/renovate/org.maplibre.gl-android-sdk-10.x
Update dependency org.maplibre.gl:android-sdk to v10.3.0
2024-03-14 10:05:15 +01:00
Jorge Martin Espinosa 83861c43de Add SDK git SHA to user agent (#2548) 2024-03-14 09:59:46 +01:00
Jorge Martin Espinosa 69a08b5565 Use userId on display name change state events (#2545)
* Use `userId` on display name change state events
2024-03-14 08:46:20 +00:00
Jorge Martin Espinosa ab504a6095 Clear and generate new cache only when merging to develop (#2549)
Clearing the cache regularly doesn't work because on each new merge to develop a new cache of almost 4GB will be created and replace the 'cleared' one.

We can try doing a clean up to this cache we're about to save so it's a bit smaller.
2024-03-14 09:40:34 +01:00