Commit Graph

4540 Commits

Author SHA1 Message Date
Benoit Marty 1df3f6113a Merge pull request #1802 from vector-im/feature/bma/emoteHtml
Fix rendering of emote when the message contains some formatting.
2023-11-14 14:58:31 +01:00
Benoit Marty 6cb4a9af6d Fix rendering of emote when the message contains some formatting. 2023-11-14 14:28:15 +01:00
Jorge Martin Espinosa d648f85d75 Add active call icon to room list summaries (#1792)
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-11-13 15:35:11 +00:00
Marco Romano 58e05d139c Always ensure media temp dir exists (#1790)
<!-- Please read [CONTRIBUTING.md](https://github.com/vector-im/element-x-android/blob/develop/CONTRIBUTING.md) before submitting your pull request -->
 
## Type of change

- [ ] Feature
- [x] Bugfix
- [ ] Technical
- [ ] Other :

## Content

`RustMediaLoader` creates the "${cacheDir}/temp/media" dir only once at class creation. Unfortunately when clearing an app's cache this directory will be deleted and the app's process won't be killed, so subsequent usages of the same instance of `RustMediaLoader` will not work because `cacheDirectory` does not exists. This fix makes sure that such directory is always checked and created if needed.

## Motivation and context

Fixes https://github.com/vector-im/element-x-android/issues/1788

## Screenshots / GIFs

<!--
We have screenshot tests in the project, so attaching screenshots to a PR is not mandatory, as far as there
is a Composable Preview covering the changes. In this case, the change will appear in the file diff.
Note that all the UI composables should be covered by a Composable Preview.

Providing a video of the change is still very useful for the reviewer and for the history of the project.

You can use a table like this to show screenshots comparison.
Uncomment this markdown table below and edit the last line `|||`:
|copy screenshot of before here|copy screenshot of after here|

|Before|After|
|-|-|
|||
 -->

## Tests

<!-- Explain how you tested your development -->

- Step 1
- Step 2
- Step ...

## Tested devices

- [ ] Physical
- [ ] Emulator
- OS version(s):

## Checklist

<!-- Depending on the Pull Request content, it can be acceptable if some of the following checkboxes stay unchecked. -->

- [ ] Changes have been tested on an Android device or Android emulator with API 23
- [ ] UI change has been tested on both light and dark themes
- [ ] Accessibility has been taken into account. See https://github.com/vector-im/element-x-android/blob/develop/CONTRIBUTING.md#accessibility
- [ ] Pull request is based on the develop branch
- [ ] Pull request includes a new file under ./changelog.d. See https://github.com/vector-im/element-x-android/blob/develop/CONTRIBUTING.md#changelog
- [ ] Pull request includes screenshots or videos if containing UI changes
- [ ] Pull request includes a [sign off](https://matrix-org.github.io/synapse/latest/development/contributing_guide.html#sign-off)
- [ ] You've made a self review of your PR
2023-11-13 15:52:53 +01:00
Benoit Marty abd4b17ca9 Merge pull request #1785 from vector-im/renovate/mobile-dev-inc-action-maestro-cloud-1.x
Update mobile-dev-inc/action-maestro-cloud action to v1.7.0
2023-11-13 15:25:30 +01:00
ElementBot 3bf34eae01 Sync Strings (#1789)
Co-authored-by: bmarty <bmarty@users.noreply.github.com>
2023-11-13 12:31:34 +01:00
Benoit Marty de05c9b098 Merge pull request #1787 from vector-im/feature/bma/gradleCleanup
Gradle catalog cleanup
2023-11-13 11:43:57 +01:00
Benoit Marty 5850f5342d Move Knit to Gradle catalog and use alias(libs.plugins.kotlin.serialization). Fix issue with JNA 2023-11-13 09:58:00 +01:00
Benoit Marty 485e6bde80 Remove unused entries from the catalog. 2023-11-10 16:59:36 +01:00
Benoit Marty ecbd7c7b41 Short notation 2023-11-10 16:56:35 +01:00
Benoit Marty 67d58bac35 Move remaining hard-coded dependency to Gradle catalog. We had 2 different version of material3 library. 2023-11-10 16:56:04 +01:00
Benoit Marty 067734ecb9 Move appdistribution declarations to Gradle catalog 2023-11-10 16:39:05 +01:00
Benoit Marty 8819522423 Replace hard-coded value by value from gradle datalog 2023-11-10 16:25:58 +01:00
Benoit Marty 810203119f Gradle catalog: do not use version.ref if there is only one module which use it. 2023-11-10 16:23:23 +01:00
Benoit Marty ac940fb5a0 Upgrade lint to 8.3.0-alpha12 2023-11-10 15:52:53 +01:00
Benoit Marty 3a400b5814 Use gradle catalog. 2023-11-10 15:52:28 +01:00
renovate[bot] 2647a9861b Update mobile-dev-inc/action-maestro-cloud action to v1.7.0 2023-11-10 14:01:20 +00:00
Marco Romano 2f51919670 Check for the correct media id when ensuring the MediaPlayer is ready (#1783)
Just forgot to add this further condition.
2023-11-10 09:45:29 +00:00
jonnyandrew 14be887cac Enable seeking a recorded voice message (#1758) 2023-11-10 09:18:01 +00:00
Benoit Marty 5d2770ad69 version++ 2023-11-09 17:18:58 +01:00
Benoit Marty 4d6d5f1e7d Merge tag 'v0.3.1' into develop
tag
2023-11-09 17:17:46 +01:00
Benoit Marty 07dfdb333b Merge branch 'release/0.3.1' into main 2023-11-09 17:17:26 +01:00
Benoit Marty 1750b941be Adding fastlane file for version 0.3.1 2023-11-09 17:17:21 +01:00
Benoit Marty c25e32c776 Changelog for version 0.3.1 2023-11-09 17:16:07 +01:00
Benoit Marty c5c717ae4d Merge pull request #1781 from vector-im/feature/bma/onBoardingIteration
On boarding iteration
2023-11-09 16:54:17 +01:00
ElementBot b51fdf7468 Update screenshots 2023-11-09 14:40:45 +00:00
Marco Romano 878417f557 Voice message MediaPlayer: wait until player is ready (#1772)
Change to `MediaPlayer` API to allow waiting for the player to be in a ready state.
This is needed in order to perform some tasks (e.g. read the media duration, seek) after changing the media file.
2023-11-09 14:34:38 +00:00
Benoit Marty e8c194ec77 Simpler code 2023-11-09 15:22:55 +01:00
Benoit Marty fee91cf018 Ensure the size of the icon is 20.dp 2023-11-09 15:22:23 +01:00
Benoit Marty a0699f0cc2 Use icon from Compound and ensure the size is 20.dp 2023-11-09 15:16:20 +01:00
Marco Romano b83d8733e2 Don't leak MediaFileHandle when downloading voice messages (#1748)
Uses the new `MediaFile.persist()` [API](https://github.com/matrix-org/matrix-rust-sdk/pull/2789) to cache voice messages.
This allows to close the `MediaFile` handle after use and keeping the file.
Also disables rust sdk caching for voice messages as we'll use the app's cache dir for that purpose.

Fixes: https://github.com/vector-im/element-meta/issues/2175
2023-11-09 14:15:11 +00:00
Benoit Marty cbc93cfd48 Move icons to the design system to reuse them (and use new ic_devices). 2023-11-09 15:09:42 +01:00
Benoit Marty 81a745871f Onboarding iteration #1776 2023-11-09 15:03:45 +01:00
Benoit Marty 9279420c7e Merge pull request #1773 from vector-im/feature/bma/recoveryKeyErrorDialog
Feature/bma/recovery key error dialog
2023-11-09 14:30:49 +01:00
Benoit Marty e804031bb2 Merge pull request #1774 from vector-im/feature/bma/imageThumbnail
Improve rendering of `AttachmentThumbnail` when thumbnailSource is not provided
2023-11-09 14:30:29 +01:00
renovate[bot] 1f44d3d421 Update wysiwyg to v2.16.0 (#1779)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-09 12:43:59 +00:00
ElementBot e511b77558 Update screenshots 2023-11-09 11:39:30 +00:00
Benoit Marty 827dd1747e Revert icon change for location. 2023-11-09 12:31:36 +01:00
Benoit Marty 67de20ff09 Merge pull request #1778 from vector-im/feature/bma/fixMaestroAgain
Fix maestro again
2023-11-09 12:24:24 +01:00
Jorge Martin Espinosa f6aabe40c0 Lower RAM usage in nightly related jobs (#1777)
* Lower RAM usage in nightly related jobs

* Restore `kotlin.daemon.jvm.options` for nigthly reports
2023-11-09 11:29:59 +01:00
Benoit Marty d7a371d710 Maestro: close keyboard first 2023-11-09 11:26:20 +01:00
Benoit Marty 8be26db977 Maestro: scroll to see the item 2023-11-09 11:08:03 +01:00
Benoit Marty 1810a2730e Maestro navigate to more screen 2023-11-09 11:07:44 +01:00
Benoit Marty 0210ba49fe Fix Maestro test due to wording change. 2023-11-09 10:47:33 +01:00
Benoit Marty d85deaf785 Merge pull request #1769 from vector-im/feature/bma/chatBackupWaitingForSync
Ensure BackupState and RecoveryState values are set from the SDK only…
2023-11-09 09:21:51 +01:00
Benoit Marty 32aa06f94d Rename file. 2023-11-08 16:47:18 +01:00
ElementBot 00616ff6a5 Update screenshots 2023-11-08 15:36:27 +00:00
Benoit Marty 02ddc576e4 Merge pull request #1775 from vector-im/feature/bma/issueTemplate
Update issue description. Rageshake is disabled by default. (#1693)
2023-11-08 16:29:08 +01:00
Benoit Marty 035609d74a Add preview for AttachmentThumbnail and fix issue rendering for AttachmentThumbnailType.Location for coherency. 2023-11-08 16:28:07 +01:00
ElementBot dada00cf3c Update screenshots 2023-11-08 15:22:45 +00:00