Commit graph

44 commits

Author SHA1 Message Date
Anthony Fu b049b40298
fix(editor): mention handling on post editing (#1223) 2023-01-16 12:36:22 +00:00
patak 46bd13310a
chore: webtoo.ls as default server (#1215) 2023-01-16 10:24:14 +00:00
Darius Kruythoff 95dda1fdb6
feat: have all emojis respect prefers-reduced-motion (#962) 2023-01-16 00:51:52 +00:00
Daniel Roe bf25339bc9
test: add vitest-environment-nuxt (#1186) 2023-01-15 20:09:01 +01:00
jviide c15df78cbb
fix: prevent HTML injections to code blocks (#1165) 2023-01-15 10:48:22 +00:00
Daniel Roe c280ee389c
feat: support additional html elements (#1102) 2023-01-14 11:40:53 +01:00
Anthony Fu 36ae8be40a
feat: collapse mentions (#1034) 2023-01-13 01:08:56 +01:00
三咲智子 Kevin Deng 9a41b9b7d7
feat(settings): respect settings from server (#1013) 2023-01-13 01:52:52 +08:00
Daniel Roe 8da4a8e78a fix: escape backticks within codeblocks
resolves https://github.com/elk-zone/elk/issues/970
2023-01-11 23:54:45 +00:00
Daniel Roe c2850a34ae
fix: use mention accts within a status to render links (#955) 2023-01-11 18:18:06 +01:00
Daniel Roe f9509f8987
fix: escape/textify the contents of inline and block code (#954) 2023-01-11 16:24:13 +00:00
三咲智子 Kevin Deng 5c8f75b9b7
refactor: upgrade masto 5 (#867) 2023-01-08 14:21:09 +08:00
patak 39034c5777 chore: update snapshots 2023-01-07 23:53:40 +01:00
Anthony Fu 6944a74653 refactor: html parsing 2023-01-07 10:31:48 +01:00
jviide 5c0e1790fa
fix: sanitize HTML from Mastodon servers (#788) 2023-01-05 08:21:09 +01:00
patak 6a7633b758 chore: rework timeline tests 2023-01-04 14:14:33 +01:00
patak 9890656477 feat: improve timeline reordering 2023-01-04 13:09:09 +01:00
Vjacheslav Trushkin fa9c418e21
feat: replace emoji with SVGs (#129) (#584)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2023-01-02 05:53:53 +01:00
Anthony Fu ff0ad77676 fix: insert space around custom emojis 2022-12-27 22:08:48 +01:00
Anthony Fu 2f8e47c947 chore: update snapshot 2022-12-27 21:50:40 +01:00
Anthony Fu dc94d707b0 fix: emoji replacement 2022-12-27 21:42:58 +01:00
Anthony Fu 8bd93722e2 chore: update snapshot 2022-12-27 20:20:07 +01:00
Anthony Fu e97068f000 chore: update snapshot 2022-12-27 19:41:01 +01:00
Joaquín Sánchez 4d21d27f94
feat: render custom server emojis on editor (#579) 2022-12-27 19:38:57 +01:00
Robert van Hoesel f8ebc0e99a
fix: don't decode HTML entities (&foo;) until rendering (#465) 2022-12-20 00:23:06 +00:00
Daniel Roe 7887629954
fix: don't parse rich content in display name (#449)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-12-17 21:01:20 +00:00
Anthony Fu 0ef44cdf50 refactor: reorganize modules 2022-12-13 15:03:36 +01:00
三咲智子 b71731a432
fix: setup jsdom environment 2022-12-05 12:59:04 +08:00
Daniel Roe 4146915a33
fix: decode numerically encoded html entities in text 2022-12-05 00:15:30 +00:00
Daniel Roe 408aff20ee
ci: test project on pull requests (#338) 2022-12-04 23:28:04 +00:00
Daniel Roe 1c0f8b0147
perf: replace parse5 with ultrahtml (#336) 2022-12-04 23:10:10 +01:00
三咲智子 Kevin Deng 0f06653636
fix: render code block without language (#276) 2022-12-02 10:19:31 +08:00
Daniel Roe 6dfc94e2a5
fix: improve permalink handling somewhat 2022-12-01 22:59:08 +00:00
三咲智子 a1399ae8b2
chore: fix lint 2022-12-01 23:42:03 +08:00
Anthony Fu 2becb254b4 feat: hover card for content @ 2022-11-30 15:08:10 +08:00
Anthony Fu 66393cd838 feat(content): serialize custom emoji 2022-11-30 14:50:51 +08:00
Anthony Fu db5a022f3b feat: rework content handling to support inline markdown 2022-11-30 13:27:24 +08:00
Anthony Fu ccf6a17f72 feat: improve editor 2022-11-30 12:50:29 +08:00
Anthony Fu 8dd91002d7 feat: improve code block parsing 2022-11-27 14:16:02 +08:00
Anthony Fu 64e052d317 Revert "feat: support more markdown syntaxes"
This reverts commit c9ae7cf942.
2022-11-26 05:21:44 +08:00
Anthony Fu c2810fd5eb
feat: basic integration with TipTap (#87) 2022-11-25 21:21:02 +08:00
Anthony Fu ff81389404 test: add more test for rich content 2022-11-25 16:56:18 +08:00
Anthony Fu a253a222ec chore: type 2022-11-25 16:30:38 +08:00
Anthony Fu 15733000a6 chore: setup unit test 2022-11-25 16:26:02 +08:00