Commit graph

49 commits

Author SHA1 Message Date
Stefan Ceriu
6faf14da69 Prevent pill crashes when room members are missing display names (objc interop) 2023-08-21 10:03:23 +03:00
Stefan Ceriu
743778fd7e Fix crashes when mentioning users without display names 2023-06-06 19:53:01 +03:00
aringenbach
fbe625f8f9 Merge branch 'develop' into aringenbach/enable_rte_user_mentions 2023-04-12 15:04:15 +02:00
aringenbach
524af383db Unit tests for insertPills and markdownLinks 2023-04-12 14:55:59 +02:00
aringenbach
9d55eb0ce6 Bump composer version to 2.0.0 and fix PillAttachmentViewProvider 2023-04-11 14:45:44 +02:00
aringenbach
e61c2f18ec Merge branch 'develop' into aringenbach/enable_rte_user_mentions 2023-04-11 14:21:31 +02:00
Nicolas Mauri
dadeef7efa Fix: Continue to display pills for matrix.to permalinks if a custom permalinkBaseUrl is set. 2023-04-07 16:40:34 +02:00
Nicolas Mauri
334a116a05 Fix: do not encode the maximum width of a Pill 2023-03-30 10:09:27 +02:00
Nicolas Mauri
97762330b2 Fix: truncate pills if they are too long 2023-03-28 11:59:52 +02:00
aringenbach
b38ba7306f Fix wrong condition for highlight test 2023-03-23 17:16:57 +01:00
aringenbach
2b61b5bc20 Use PillProvider for RTE Pills creation 2023-03-23 17:16:57 +01:00
aringenbach
3b09fcc0c8 Use textDefaultFont in all variants of the InputToolbarView 2023-03-23 17:16:57 +01:00
aringenbach
c933526f22 Enable user mentions in Rich Text Editor 2023-03-23 17:16:57 +01:00
Nicolas Mauri
f969d5ef31 Fix: prevent a crash if we don’t have a display name for the user mentionned by the pill 2023-03-21 16:49:47 +01:00
Nicolas Mauri
83a10e2430 Fix: Unit tests 2023-03-21 14:17:52 +01:00
Nicolas Mauri
2979f98ae4 Fix: an issue where we display the default user icon for a known user 2023-03-21 10:48:17 +01:00
Nicolas Mauri
5c354f2eb0 Fix: Message pill when the room is an alias 2023-03-21 10:30:19 +01:00
Nicolas Mauri
13ba93ae13 Fix: the avatar was incorrect for the pill of a message if the event is not loaded. 2023-03-21 09:27:48 +01:00
Nicolas Mauri
aa0cb80b86 Fix: implement the changes discussed in the PR 2023-03-21 09:17:34 +01:00
Nicolas Mauri
ba5a14d494 Fix: restore the height of the pill to its original value 2023-03-20 10:50:25 +01:00
Nicolas Mauri
13f03c060b Fix: default pill icon for an unknown user 2023-03-20 10:42:21 +01:00
Nicolas Mauri
64ea1904fc Turning permalinks into pills
#7409: Permalinks to a room/space are pillified
#7411: Permalinks to a matrix user are pillified
#7412: Permalinks to messages are pillified
2023-03-17 16:58:59 +01:00
aringenbach
2a49d99231 Fix slash commands from room composer 2022-07-11 18:17:12 +02:00
aringenbach
ff17725bba Use latest user data for mention pills 2022-06-16 17:07:47 +02:00
aringenbach
1493fb472b Fix issue with mention pill avatar consuming tap gestures 2022-05-30 15:20:03 +02:00
aringenbach
44999ec5bb Weakify message text view reference 2022-05-13 14:00:06 +02:00
aringenbach
756e31df03 Flush pills on text view updates 2022-05-13 13:52:46 +02:00
aringenbach
64aa7f3065 Replace magic number for pill offset 2022-05-11 09:45:16 +02:00
aringenbach
d81420739f Use font from context and store it in pill data 2022-05-10 17:19:52 +02:00
aringenbach
5654ae98af Use media manager & avatar view 2022-05-09 17:49:05 +02:00
aringenbach
812425162f Fix minor comment & @objc 2022-05-09 17:14:32 +02:00
aringenbach
5477936792 Move size computations to PillAttachmentViewProvider 2022-05-09 16:53:38 +02:00
aringenbach
a6b07429a9 Move tools funcs 2022-05-09 15:55:24 +02:00
aringenbach
529fe55d73 Rename StringPillsUtils to PillsFormatter 2022-05-09 15:32:53 +02:00
aringenbach
e28c7b02d3 Add dedicated PillTextAttachmentData codable 2022-05-09 15:25:47 +02:00
aringenbach
08146152f5 Rename isCurrentUser to isHighlighted 2022-05-05 15:28:04 +02:00
aringenbach
63d5f91745 Handle empty displayname & fix iOS 14 mentions 2022-05-05 15:12:59 +02:00
aringenbach
d40ea691bc Set property for UTType & add missing iOS 15 availabilities 2022-05-04 15:58:42 +02:00
aringenbach
8b46be6cd4 Fix fonts and edition on replies 2022-05-04 12:17:21 +02:00
aringenbach
fe954923ab Remove link in composer 2022-05-03 16:51:47 +02:00
aringenbach
e9aa880927 Fix emote sending and edit message 2022-05-03 15:16:02 +02:00
aringenbach
95f2b8f411 Add documentation 2022-05-02 17:36:53 +02:00
aringenbach
284b5e1d56 Enable sending messages with pills 2022-05-02 13:35:35 +02:00
aringenbach
061441a127 Handle custom permalinks im pills 2022-04-28 15:26:36 +02:00
aringenbach
acbb0dbea6 Cleanup pills insertion 2022-04-28 11:55:14 +02:00
aringenbach
c6c87bf677 Cleanup and add documentation 2022-04-28 11:25:47 +02:00
aringenbach
f3fb2fd374 Fix disappearing attachments and start cleanup 2022-04-27 16:27:49 +02:00
aringenbach
360bda5488 Setup NSTextAttachmentViewProvider 2022-04-27 11:55:23 +02:00
aringenbach
8d42a7fd39 Add snapshot pill for incoming mentions 2022-04-14 13:30:08 +02:00