Commit Graph

716 Commits

Author SHA1 Message Date
Mauro Romito
44e96651e2 remove magnification and text selection on iOS, also replaced TextView URL handling 2025-09-30 12:26:43 +02:00
Mauro Romito
ea4c003741 fixed search 2025-09-26 16:38:55 +03:00
Mauro Romito
dbe5bb35b4 more fixes and preview tests updated 2025-09-26 16:38:55 +03:00
Stefan Ceriu
57ec491bac Fixes #4529 - Order out of order ordered list ordering order 2025-09-26 10:48:56 +03:00
Stefan Ceriu
a38c608010 Update generated file headers after Sourcery bump. 2025-09-24 07:47:43 +03:00
Stefan Ceriu
a2fffe35f0 Implement link previews for text messages using Apple's LinkPreview framework (#4520) 2025-09-19 12:48:09 +00:00
Valere Fedronic
cb62112159 Listen to call decline to stop ringing when declined from other device (#4505)
* Listen to call decline to stop ringing when declined from other device

* use proper swift naming convention for Id/ID

* fix Force unwrapping

* fix lint

* An approach without the custom publisher.

* review: correct naming convention

* review: revert some invisible char/tab changes

* add ref to the room proxy in the closure

---------

Co-authored-by: Doug <douglase@element.io>
2025-09-18 16:11:03 +02:00
Mauro Romito
6ce7f519b0 added tests for the room header view 2025-09-16 18:26:03 +02:00
Mauro Romito
1d5c252a42 added the avatar and the room title as subtitle in the thread timeline as a principal action
also added a fix for the erroneous reply in thread action while in a thread, and also discovered that we can lead align the principal action again on iOS 26 (so it was a beta issue)
2025-09-16 18:26:03 +02:00
Stefan Ceriu
7236c491d5 Remove extra new line before list items and useless paragraph style 2025-09-16 17:54:46 +03:00
Stefan Ceriu
7dd34400e4 Add support for HTML img tags (their alts) on the new AttributedStringBuilder 2025-09-16 17:54:46 +03:00
Stefan Ceriu
1bbeb535a1 Reduce code block font point sizes by 10% on the new attributed string builder. 2025-09-16 17:54:46 +03:00
Doug
f6d3992601 Add the intent system back to call widget URL creation. (#4511)
Add the intent system back to widget URL creation.

Also updates the SDK handling API changes.
2025-09-16 08:36:10 +01:00
Stefan Ceriu
93897495e2 Fix traling new lines appearing in attributed string when sending text separated by 2 new lines. 2025-09-12 18:09:18 +03:00
Stefan Ceriu
409fbe1ea4 Add a message property to user indicator's and have it be rendered properly on modal indicator.s 2025-09-12 17:38:19 +03:00
Doug
6a12b30897 Revert "Add intent system to widget URL creation. (#4427)" (#4504)
This reverts commit e2bd3edee7.
2025-09-12 10:30:39 +01:00
Copilot
e2bd3edee7 Add intent system to widget URL creation. (#4427)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: pixlwave <6060466+pixlwave@users.noreply.github.com>
Co-authored-by: Doug <douglase@element.io>
2025-09-11 10:03:15 +01:00
Stefan Ceriu
8e257b40c5 Preserve the formatting of parentless text nodes 2025-09-10 14:52:00 +03:00
Stefan Ceriu
7d59589892 Automatically add insert a new line after headers 2025-09-10 14:52:00 +03:00
Stefan Ceriu
59eb7dd74c Fix the default point size used when applying symbolic traits. 2025-09-09 17:17:40 +01:00
Stefan Ceriu
94a2b86283 Add proper separated blockquotes fixtures and fix the tests. 2025-09-09 17:17:40 +01:00
Stefan Ceriu
9bbff69c69 Mark code blocks with a special attribute and strip away links from them. 2025-09-09 17:17:40 +01:00
Stefan Ceriu
69894ece62 Limit H1, H2 to the H3 point size. 2025-09-09 17:17:40 +01:00
Stefan Ceriu
dead40d2c4 Invalidate caches on both attributed string builders at the same time 2025-09-09 17:17:40 +01:00
Stefan Ceriu
b90d4b6618 Adapt old AttributedStringBuilder tests to the new version and update the HTML fixtures 2025-09-09 17:17:40 +01:00
Stefan Ceriu
97c5b5fb49 Correctly identify MSC4286 span values. 2025-09-09 17:17:40 +01:00
Stefan Ceriu
216d16ddba Add link attributes as URL values instead of String ones 2025-09-09 17:17:40 +01:00
Stefan Ceriu
efbf456067 Remove matrix identifier attributes from code blocks 2025-09-09 17:17:40 +01:00
Stefan Ceriu
afbcd94a5f Extract HTML fixtures out of the FormattedBoxyText previews. 2025-09-09 17:17:40 +01:00
Stefan Ceriu
d52ee31c5b Use the correct key when caching attributed string builder results. 2025-09-09 17:17:40 +01:00
Stefan Ceriu
9796a9d928 Add support for ordered and unordered lists. 2025-09-09 17:17:40 +01:00
Stefan Ceriu
4ac805be19 Add an initial version of the V2 AttributedStringBuilder 2025-09-09 17:17:40 +01:00
Stefan Ceriu
23a5d50067 Add a V2 version of the AttributedStringBuilder as a verbatim copy of the original one (for now) 2025-09-09 17:17:40 +01:00
Stefan Ceriu
bd60a50a7e Move the initial attributed string builder to its own file 2025-09-09 17:17:40 +01:00
Stefan Ceriu
e8cecd448d Rename detectPermalinks to addMatrixEntityPermalinkAttributesTo and move code around 2025-09-09 17:17:40 +01:00
Doug
dd387a7aa2 Revert weak media provider (#4483)
* Revert "Address the real lifetime issue of the SDK's `Client` by making `Context.mediaProvider` weak. (#4466)"

This reverts commit b9d1558216.

* Better docs.
2025-09-08 17:48:58 +01:00
Doug
2b65844ac6 Use the SDK's offline detection everywhere (except for restarting the sync loop). (#4472)
* Use the SDK's offline state to drive the offline indicator.

* Only use network reachability for restarting the sync loop, use the homeserver reachability for requests.

* Add a separate indicator to distinguish when the server is unreachable but the device is online.
2025-09-08 12:18:02 +00:00
Doug
e107fdc4c0 Add the sheet for expanding the space description. (#4475)
* Start working on space description

* Hook up presentation of the SpaceScreenDescriptionView.

* Make the SpaceScreenDescriptionView more accessible and apply a background colour.

* Refactor and move sheet presentation to the header view.

---------

Co-authored-by: amshak <85162587+amshakal@users.noreply.github.com>
2025-09-08 12:07:08 +01:00
Doug
eaf14bfd87 Fix proxies by reverting the change that introduced schemes. (#4481)
This partially reverts commit 83fd64fe0a.
2025-09-08 12:03:41 +01:00
Doug
b9d1558216 Address the real lifetime issue of the SDK's Client by making Context.mediaProvider weak. (#4466)
This reverts commit 8d069fb74c.
2025-09-05 17:18:14 +00:00
Doug
7ce8b29b03 Remove the unused media provider from the PillView. 2025-09-03 17:39:16 +01:00
Doug
34088f8423 Tweaks discovered when using Compound overrides. (#4456)
- Fixes a bug where gradients wouldn't use the latest tokens after first use.
- Makes the bloom aware of colour overrides (and discovers a bug with dark mode).
- Decouples HomeScreenCell from the HomeScreenViewModel.Context (so it can be previewed with colour overrides).
2025-09-02 09:40:03 +01:00
Mauro Romito
0320d171e8 accessibility improvements + tests refinement 2025-09-02 10:19:35 +02:00
Doug
b731c9f2d0 Use the SDK's SpaceService, SpaceRoom and SpaceRoomList. (#4455) 2025-09-01 15:22:37 +01:00
Doug
aabae58c9e Tidy up some logs that have a prefix. (#4443)
We haven't needed these for ages, Rust adds them to the log lines.
2025-08-26 16:21:10 +01:00
Stefan Ceriu
83fd64fe0a Improve global proxy detection, building and logging. 2025-08-25 16:57:17 +03:00
Doug
9ff82a478e Add a feature flag for spaces. (#4429)
* Remove the huge conditional compilation block on AppSettings.

It is still required for the ElementCallBaseURL however.

* Add a feature flag for spaces.
2025-08-22 13:47:23 +01:00
Stefan Ceriu
055a7b1caa Fix pasting no longer working for rich text formats. 2025-08-22 13:32:18 +03:00
Stefan Ceriu
3d95168e0c Fallback to the first type with a valid extension when sharing media and no supported content types can be found 2025-08-21 15:51:17 +03:00
Stefan Ceriu
93c1efc0a2 Add support for audio/* mime types on pasting/sharing/drag&dropping files. 2025-08-21 15:51:17 +03:00