Laura Hausmann
ce0cc58738
[tests] Use FSharpList collection expressions in MFM tests, refactor Dictionary initializers for better readability
2024-11-18 19:02:42 +01:00
Laura Hausmann
2ef78e3f41
[parsing] Add strike html tag support, keep italic/bold/strike in html tag form when reserializing
2024-11-17 16:44:05 +01:00
Laura Hausmann
e2004f5472
[parsing] Add parenthesis tracking to MfmUrlNode and MfmLinkNode parsers (ISH-608)
2024-11-16 15:03:54 +01:00
Laura Hausmann
2b046fc444
[parsing] Add support for has:media search query
2024-11-11 01:52:48 +01:00
Laura Hausmann
c969265e61
[parsing] Allow digits in mfm fn node function names
2024-11-11 00:39:16 +01:00
Laura Hausmann
3f28a586a5
[parsing] Require whitespace in front of mfm italic nodes using asterisk or underscore delimiters
...
This ensures matching behavior with mfm.js
2024-11-11 00:10:12 +01:00
Laura Hausmann
b341af67ed
[tests] Add complex fn node / mfm art roundtrip test case
2024-11-10 23:46:28 +01:00
Laura Hausmann
aea5efd012
[parsing] Add support for italic and bold segments surrounded by underscores (ISH-585)
2024-11-05 22:54:02 +01:00
Laura Hausmann
c9b9a8e45b
[backend] Switch to TimeSpan extension method for easier code readability
2024-10-30 18:27:18 +01:00
Laura Hausmann
fbdab96f9d
[backend] Switch to more efficient TimeSpan/DateTime/-Offset handling where applicable
2024-10-30 18:13:11 +01:00
Laura Hausmann
5349346f52
[parsing/mfm] Fix incorrect handling of lists
2024-10-24 22:42:09 +02:00
Laura Hausmann
0f22bbdbcb
[parsing] Add cw search filter expression (ISH-517)
2024-10-19 03:00:43 +02:00
Laura Hausmann
fa81be967a
[parsing] Add support for advanced MFM (ISH-257)
2024-10-19 02:37:46 +02:00
Laura Hausmann
b4c2712172
[parsing/tests] Fix tests
2024-09-26 18:49:08 +02:00
Laura Hausmann
c02af726e1
[parsing/mfm] Rework codeblock node parsing & serialization
2024-09-26 01:12:21 +02:00
Laura Hausmann
5b3dec0a08
[parsing/mfm] Further improve codeblock newline handling
2024-09-26 00:37:25 +02:00
Laura Hausmann
0fc667527f
[parsing/mfm] Fix handling of newlines surrounding code blocks
2024-09-26 00:33:26 +02:00
Laura Hausmann
b773876028
[parsing/mfm] Fix mentions in parentheses not getting parsed correctly
2024-09-25 23:51:28 +02:00
Laura Hausmann
afe62b0aab
[sln] Code cleanup
2024-09-13 21:44:31 +02:00
Laura Hausmann
32c4eaf18a
[tests/mfm] Code cleanup, improve MfmQuoteNode equality check
2024-09-07 02:18:15 +02:00
Laura Hausmann
4ee4fd53c4
[parsing] Add support for MfmQuoteNode
2024-09-07 01:38:23 +02:00
Laura Hausmann
19b6b50db5
[backend/core] Canonicalize 'heavy black heart' reactions to 'red heart emoji'
...
Misskey incorrectly sends these without the emoji version selector, so we have to canonicalize them.
2024-08-17 01:07:52 +02:00
Laura Hausmann
05f6546f48
[backend/core] Improve emoji detection regex, add unit tests
2024-08-16 20:54:24 +02:00
Laura Hausmann
e1d25a9231
[parsing] Support <i> and <b> tags for bold/italic nodes (ISH-438)
2024-08-02 17:13:50 +02:00
Laura Hausmann
94b7eb7c66
[tests] Apply formatting rules
2024-06-29 01:09:17 +02:00
Laura Hausmann
6469b7536f
[parsing/tests] Suppress localizable string inspection
2024-06-19 02:13:20 +02:00
Laura Hausmann
1d02bd7119
[backend/core] Add in:interactions search query filter, allow multiple from: filters
2024-06-17 20:41:09 +02:00
Laura Hausmann
1f29ad99c7
[parsing] Support punycode mentions
2024-06-17 01:19:20 +02:00
Laura Hausmann
1e761f5008
[backend/api-shared] Allow searching for notes with polls
2024-06-05 15:54:38 +02:00
Laura Hausmann
854c99db3d
[parsing] Allow dashes and underscores in hashtags
2024-05-21 21:09:18 +02:00
Laura Hausmann
91544cdd78
[parsing] Allow usernames starting & ending with an underscore
2024-05-18 16:53:20 +02:00
Laura Hausmann
3dc14f5bfe
[parsing] Further improve mention parser logic, add more tests
2024-05-17 23:27:05 +02:00
Laura Hausmann
ef226ee8fe
[parsing] Make URL parser not eat trailing parentheses
2024-05-07 17:24:27 +02:00
Laura Hausmann
69065ef1d7
[parsing] Fix hashtag detection (ISH-302)
2024-05-02 22:18:04 +02:00
Laura Hausmann
03191bfa91
[tests] Remove MfmUnicodeEmojiNode handler
2024-05-01 19:14:29 +02:00
Laura Hausmann
8ec6607548
[parsing] Fix multi line code blocks
2024-04-28 23:59:40 +02:00
Laura Hausmann
5599805196
[backend/libmfm] Fix code block serialization
2024-04-28 23:46:05 +02:00
Laura Hausmann
14974109bb
[parsing] Fix mentions parser grabbing zero length mentions (ISH-283)
2024-04-28 02:18:15 +02:00
Laura Hausmann
62edbb195c
[tests] Remove MfmTests, rename MfmTetssFParsec to MfmTests
2024-04-16 19:41:28 +02:00
Laura Hausmann
06a1375ec2
[backend] Give MfmTest.TestToHtml slightly more time to find an equilibrium
2024-03-24 23:37:54 +01:00
Laura Hausmann
9bd421c3a0
[backend] Replace old MfmParser with the new F# implementation (ISH-112)
2024-03-24 23:10:39 +01:00
Laura Hausmann
799d1054a9
[parsing/mfm] Reimplement MfmParser in F# (ISH-112)
2024-03-24 23:09:47 +01:00
Laura Hausmann
a408fa247a
[backend] Code cleanup
2024-03-17 13:36:08 +01:00
Laura Hausmann
27649e8e1e
[backend/tests] Add tests for the F# SearchQuery parser (ISH-11)
2024-03-03 23:11:41 +01:00
Laura Hausmann
c083305123
[backend] Code cleanup
2024-02-24 21:03:29 +01:00
Laura Hausmann
bf916f7046
[backend/federation] Handle mention parsing edge cases properly (ISH-50)
2024-02-12 21:59:19 +01:00
Laura Hausmann
67d1d776c8
[backend/federation] Basic mentions handling (ISH-38)
...
This implementation adds handling of incoming mentions, including rewriting non-canonical mentions of split domain users into their canonical form when inserting notes into the database.
2024-02-11 18:50:28 +01:00
Laura Hausmann
27ecd27ba0
[backend/mfm] Move MFM handling code into the main backend project
2024-02-02 18:04:13 +01:00
Laura Hausmann
a3c3f6b848
[backend] Implement mfm-to-html
2024-02-02 00:16:28 +01:00