Commit graph

7027 commits

Author SHA1 Message Date
Benoit Marty
d0f1a7e3e0 Replace showConfirmationDialog by disableAction Confirming state, and remove force boolean, we get read the state instead.
Also use AsyncActionView.
2024-01-04 18:07:09 +01:00
Benoit Marty
d78ce21939 Rename AsyncView to AsyncActionView 2024-01-04 17:50:52 +01:00
Benoit Marty
bd91dd64e2 Rename Async to AsyncData 2024-01-04 16:30:56 +01:00
Benoit Marty
0e4cb679e1 Fix test compilation 2024-01-04 16:23:54 +01:00
Benoit Marty
676ec90c22 Merge pull request #2160 from surakin/msc4027
Implement MSC4027 (Custom images in reactions)
2024-01-04 16:23:30 +01:00
Benoit Marty
9838092ca2 Merge pull request #2162 from surakin/do-not-forward-stickers
Disable forwarding for stickers (until it can be properly fixed)
2024-01-04 16:17:20 +01:00
Benoit Marty
da23628c8a Introduce AsyncAction with a Confirmation state and use it for logout action. 2024-01-04 15:56:16 +01:00
Jorge Martin Espinosa
1e2fc6ad27 Remove 'document' case for message with timestamp preview (#2164)
* Remove 'document' case for message with timestamp preview

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-01-04 15:22:09 +01:00
Benoit Marty
236ec3f718 Merge pull request #2158 from element-hq/renovate/android.gradle.plugin
Update android.gradle.plugin to v8.2.1
2024-01-04 14:53:16 +01:00
Marco Antonio Alvarez
fb743a98a3 add comment about sticker forwarding being disabled
Signed-off-by: Marco Antonio Alvarez <surakin@gmail.com>
2024-01-04 13:57:16 +01:00
Marco Antonio Alvarez
42d0bf0339 Disable forwarding for stickers (until it can be properly fixed)
Signed-off-by: Marco Antonio Alvarez <surakin@gmail.com>
2024-01-04 13:04:56 +01:00
renovate[bot]
bd779627ad Update android.gradle.plugin to v8.2.1 2024-01-04 11:11:03 +00:00
Jorge Martin Espinosa
b7cf298934 Upgrade to AGP 8.2.0 (#2142)
* Upgrade to AGP 8.2.0

Add proguard rule for the problematic TagSoup library. For some reason, adding this in the consumer proguard rules of the RTE library doesn't seem to work.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-01-04 12:09:46 +01:00
Marco Antonio Alvarez
806e2072f3 Merge branch 'develop' into msc4027 2024-01-04 11:35:40 +01:00
Marco Antonio Alvarez
542b342124 Merge branch 'msc4027' of github.com:surakin/element-x-android into msc4027 2024-01-04 11:35:12 +01:00
Marco Antonio Alvarez
8b02e43781 empty commit 2024-01-04 11:35:00 +01:00
Benoit Marty
a2a10e6459 Merge pull request #2154 from element-hq/renovate/com.posthog-posthog-android-3.x
Update dependency com.posthog:posthog-android to v3.0.1
2024-01-04 11:28:52 +01:00
ElementBot
6eac788a44 Update screenshots 2024-01-04 10:27:17 +00:00
Marco Antonio Alvarez
5eceab15b6 use different heights for reaction summary view and reaction buttons
Signed-off-by: Marco Antonio Alvarez <surakin@gmail.com>
2024-01-04 10:53:53 +01:00
Marco Antonio Alvarez
20b5f02fba Merge branch 'develop' into msc4027 2024-01-04 10:17:59 +01:00
ElementBot
2c1fd32dc8 Update screenshots 2024-01-04 09:14:33 +00:00
Benoit Marty
3d25b7193d Merge pull request #2149 from element-hq/renovate/app.cash.molecule-molecule-runtime-1.x
Update dependency app.cash.molecule:molecule-runtime to v1.3.2
2024-01-04 09:51:47 +01:00
Marco Antonio Alvarez
8f48e11201 Merge branch 'develop' into msc4027 2024-01-04 09:42:23 +01:00
renovate[bot]
87213a3016 Update actions/github-script action to v7 (#2152)
* Update actions/github-script action to v7

* Fix issues with both the PR from fork welcome comment and skipping Maestro for PRs coming from forks.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2024-01-04 09:36:40 +01:00
Benoit Marty
886247585e Merge pull request #2138 from element-hq/sync-localazy
Sync Strings
2024-01-04 09:30:20 +01:00
Marco Antonio Alvarez
4dcc08116a use AsyncImage instead of BlurHashAsyncImage
move emoji line height to a private value

Signed-off-by: Marco Antonio Alvarez <surakin@gmail.com>
2024-01-04 09:20:21 +01:00
Marco Antonio Alvarez
83e4af52b9 [Technical] Open stickers using the thumbnail url if the main url is empty (#2157)
* Explicitely use the thumbnail url to show stickers if the content's url is an empty string

---------

Signed-off-by: Marco Antonio Alvarez <surakin@gmail.com>
2024-01-04 09:06:30 +01:00
Marco Antonio Alvarez
e62cfa8fef fix top level property naming
Signed-off-by: Marco Antonio Alvarez <surakin@gmail.com>
2024-01-04 09:01:29 +01:00
Marco Antonio Alvarez
6c06ec4235 fix Modifier forbidden pattern and missing const
Signed-off-by: Marco Antonio Alvarez <surakin@gmail.com>
2024-01-04 08:50:58 +01:00
Marco Antonio Alvarez
1fe8361487 add changelog
Signed-off-by: Marco Antonio Alvarez <surakin@gmail.com>
2024-01-04 08:28:17 +01:00
Marco Antonio Alvarez
467ccf65a2 Implement MSC4027 (Custom Images in Reactions)
Signed-off-by: Marco Antonio Alvarez <surakin@gmail.com>
2024-01-03 23:30:14 +01:00
renovate[bot]
a6020e0441 Update dependency com.posthog:posthog-android to v3.0.1 2024-01-03 15:45:07 +00:00
Jorge Martin Espinosa
c6d109c424 Implement ContentAvoidingLayout for timeline items (#2113)
* Implement `ContentAvoidingLayout` for timeline items

* Truncate long mention pills

---------

Co-authored-by: Benoit Marty <benoit@matrix.org>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-01-03 12:32:02 +01:00
Jorge Martin Espinosa
02cb2b4ba9 Restore Github PAT in record screenshots, disable Maestro for forks (#2147)
* Restore PAT for `recoverScreenshots.yml` flow.

This is needed to trigger CI jobs automatically. In the case where this is not possible (forks) a message will be added to ask the user to add an empty commit to trigger the CI.

* Add community PR notice

* Disable Maestro steps for fork PRs
2024-01-03 12:26:46 +01:00
ganfra
852567211a Merge pull request #2150 from element-hq/feature/fga/fix_2132
Revert compose material3 to 1.2.0-alpha11
2024-01-03 12:17:43 +01:00
ganfra
21edff7e2f Merge pull request #2146 from element-hq/feature/fga/fix_2084
Fix room transition animation happens twice
2024-01-03 11:57:25 +01:00
ganfra
d18d2b1dde Revert compose.material3 to alpha11 as it leads to frozen timeline scrolling #2132 2024-01-03 11:06:49 +01:00
renovate[bot]
01c1ec0c03 Update dependency app.cash.molecule:molecule-runtime to v1.3.2 2024-01-02 22:23:26 +00:00
ganfra
4ca310f53b Fix room transition animation happens twice #2084 2024-01-02 16:13:46 +01:00
Marco Antonio Alvarez
378da8ce21 [Feature] Render m.sticker events (#2122)
* Render m.sticker events
---------

Signed-off-by: Marco Antonio Alvarez <surakin@gmail.com>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-01-02 16:03:19 +01:00
Jorge Martin Espinosa
edd07df96e Fix record screenshots workflow and script for forks (#2141)
Fix record screenshots workflow and script for forks
2024-01-02 10:47:56 +01:00
Jorge Martín
0cef150147 Fix record screenshots workflow and script 2024-01-02 10:43:57 +01:00
Jorge Martin Espinosa
b80801ec7c Merge pull request #2126 from element-hq/renovate/org.jsoup-jsoup-1.x
Update dependency org.jsoup:jsoup to v1.17.2
2024-01-02 09:00:28 +01:00
bmarty
66073a1461 Sync Strings from Localazy 2024-01-01 00:11:02 +00:00
Benoit Marty
47f0a2e73c Add support for sending images from the keyboard #1977 2023-12-29 15:15:22 +01:00
Benoit Marty
d7c8037aa4 Merge pull request #2121 from element-hq/renovate/wysiwyg
Update wysiwyg to v2.23.0
2023-12-29 14:43:52 +01:00
Benoit Marty
9ac488b684 Merge pull request #2069 from element-hq/renovate/dagger
Update dagger to v2.50
2023-12-29 13:39:29 +01:00
Benoit Marty
01e25e8f0c Merge pull request #2094 from element-hq/renovate/org.matrix.rustcomponents-sdk-android-0.x
Update dependency org.matrix.rustcomponents:sdk-android to v0.1.83
2023-12-29 13:30:04 +01:00
Jorge Martin Espinosa
4f296ffb49 Disable vector XML rasterisation on API 23 (#2128)
* Disable vector XML rasterisation on API 23

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-12-29 11:41:08 +00:00
renovate[bot]
98955a2772 Update dependency org.matrix.rustcomponents:sdk-android to v0.1.83 2023-12-29 11:41:07 +00:00