Commit graph

52 commits

Author SHA1 Message Date
Laura Hausmann
49bd10bc68
[frontend/mfm] Improve performance of AngleSharp calls for MFM-HTML conversion
This makes sure the AngleSharp owner document is only created once per application lifecycle, and replaces all async calls with their synchronous counterparts (since the input is already loaded in memory, using async for this just creates overhead)
2025-03-24 18:06:13 +01:00
pancakes
2b124f9e34 [frontend/mfm] Use double.TryParse instead of try/catch 2025-01-06 03:06:46 +01:00
pancakes
a67420508f [frontend/mfm] Display unixtime nodes in local time 2025-01-06 03:06:46 +01:00
pancakes
8990ff08b1
[frontend/mfm] Make tada fn 150% size 2024-12-17 19:34:53 +01:00
pancakes
427c2c2109
[frontend/mfm] Fix sizes of x3 and x4 fn nodes 2024-12-17 19:34:53 +01:00
pancakes
27eb943066
[frontend/mfm] Add center and small fn nodes 2024-12-17 19:34:53 +01:00
Laura Hausmann
c032f56d37
[frontend/mfm] Fix HTML rendering of link nodes 2024-12-07 20:27:43 +01:00
Laura Hausmann
5dee8bc783
[parsing] Bump MfmSharp version 2024-12-07 04:41:00 +01:00
Laura Hausmann
00e157cc7e
[parsing] Switch to MfmSharp 2024-12-06 18:14:00 +01:00
pancakes
c08cb5aad4
[frontend/mfm] Update MfmFnNode to work with .NET 9 2024-11-26 19:55:03 +01:00
pancakes
2a456485bb
[frontend/mfm] Fix fg, bg, and border rendering 2024-11-26 19:55:03 +01:00
pancakes
313e7b678a
[frontend/mfm] Implement unixtime fn node 2024-11-26 19:55:02 +01:00
pancakes
90f6456e30
[frontend/mfm] Implement ruby fn node 2024-11-26 19:55:02 +01:00
pancakes
d4db5f917e
[frontend/mfm] Implement fade fn node 2024-11-26 19:55:02 +01:00
pancakes
ae493773ec
[frontend/mfm] Implement rainbow fn node 2024-11-26 19:55:02 +01:00
pancakes
533f8f71d4
[frontend/mfm] Implement twitch fn node 2024-11-26 19:55:02 +01:00
pancakes
fa422bb034
[frontend/mfm] Implement shake fn node 2024-11-26 19:55:02 +01:00
pancakes
6e982c95fe
[frontend/mfm] Add default speed for animation fn nodes 2024-11-26 19:55:01 +01:00
pancakes
cc156c9760
[frontend/mfm] Implement spin fn node 2024-11-26 19:55:01 +01:00
pancakes
0a9758f988
[frontend/mfm] Implement bounce fn node 2024-11-26 19:55:01 +01:00
pancakes
f61642c30b
[frontend/mfm] Implement jump fn node 2024-11-26 19:55:01 +01:00
pancakes
e4304b3100
[frontend/mfm] Implement tada fn node 2024-11-26 19:55:01 +01:00
pancakes
89e5a22131
[frontend/mfm] Make MfmFnJelly a reusable generic animation node 2024-11-26 19:55:01 +01:00
pancakes
3098e17a77
[frontend/mfm] Implement jelly fn node 2024-11-26 19:55:01 +01:00
pancakes
d2964a2502
[frontend/mfm] Refactor x2, x3, and x4 fn nodes 2024-11-26 19:55:01 +01:00
pancakes
864f156923
[frontend/mfm] Validate colors in fg, bg, and border nodes 2024-11-26 19:55:01 +01:00
pancakes
326192148f
[frontend/mfm] Implement border fn node 2024-11-26 19:55:00 +01:00
pancakes
90511c7b58
[frontend/mfm] Implement fg and bg fn nodes 2024-11-26 19:55:00 +01:00
pancakes
5d6e1d841f
[frontend/mfm] Implement scale fn node 2024-11-26 19:55:00 +01:00
pancakes
fe4a9518f5
[frontend/mfm] Implement position fn node 2024-11-26 19:55:00 +01:00
pancakes
fec60a6b69
[frontend/mfm] Implement crop fn node 2024-11-26 19:55:00 +01:00
pancakes
db5d6f469f
[frontend/mfm] Implement flip, font, x2, x3, x4, blur, and rotate fn nodes 2024-11-26 19:54:59 +01:00
pancakes
63aadfdf07
[frontend/mfm] Hide host part of mentions to local users 2024-11-21 18:51:55 +01:00
Laura Hausmann
24b412bd75
[sln] Reformat code 2024-11-20 00:48:29 +01:00
Laura Hausmann
7dec2514da
[sln] Apply code style 2024-11-20 00:48:29 +01:00
pancakes
354d0a4f45
[frontend/mfm] Add support for simple custom emojis 2024-11-08 03:07:37 +01:00
Lilian
a9d42b214a
[frontend/mfm] Make URLs and links open in a new tab 2024-10-24 18:20:48 +02:00
Laura Hausmann
afe62b0aab
[sln] Code cleanup 2024-09-13 21:44:31 +02:00
Lilian
5b1ab95b8c
[frontend/mfm] Make codeblocks in MfM scroll horizontally 2024-09-12 01:47:04 +02:00
Lilian
989c5765fc
[frontend] Implement mfm plain node, fix code formatting in RenderMfm 2024-07-11 01:06:18 +02:00
Laura Hausmann
2c2842de50
[shared] Code cleanup 2024-07-04 18:02:00 +02:00
Laura Hausmann
e0461ee3fd
[shared] Refactor namespaces 2024-07-04 17:53:11 +02:00
pancakes
da5300e9b8 [frontend/mfm] Add center, quote, hashtag, small and strike nodes 2024-07-03 00:51:57 +02:00
Laura Hausmann
03fc824d34
[frontend] Code cleanup 2024-06-29 00:46:47 +02:00
Lilian
943f153b56
[frontend] Add inline emoji to mfm rendering 2024-06-29 00:25:42 +02:00
Lilian
10e772f2ab
[frontend] Fix mfm element styling 2024-06-29 00:22:11 +02:00
Lilian
5d3fda698c
[frontend/mfm] Fix Link Nodes having wrong text content 2024-06-19 01:57:51 +02:00
Lilian
09c849805a
[frontend/mfm] Render more node types 2024-06-19 01:56:57 +02:00
Lilian
6917d1ef91
[frontend] Add node type to mfm render error handling 2024-06-19 01:56:56 +02:00
Lilian
7b7dd2ee61
[frontend] Add support for rendering MfmItalicNode 2024-06-19 01:56:56 +02:00