Commit graph

34 commits

Author SHA1 Message Date
Henry Jameson
0645d06f91
fix spacing before hashtags 2021-09-07 16:03:21 -05:00
Henry Jameson
88b81dcaf5
very minimalist hashtaglink implementation, also you can middle-click
mentions now.
2021-09-07 16:03:21 -05:00
Henry Jameson
b198271f9f
hopefully final fix for spacings 2021-09-07 16:03:20 -05:00
Henry Jameson
79e00cce6d
fix links sticking to mentionsline 2021-09-07 16:03:20 -05:00
Henry Jameson
df7b1c8dab
removed useless code, review change, fixed bug with tall statuses 2021-09-07 16:03:19 -05:00
Henry Jameson
69d1fa5046
richcontent support in polls, user cards and user profiles 2021-09-07 16:03:19 -05:00
Henry Jameson
5e23d80301
fix tests, add performance test (skipped, doesn't assert anything),
tweak max mentions count
2021-09-07 16:03:19 -05:00
Henry Jameson
03a4cd3704
remove new options for style and separate line, now groups all chained
mentions on a mentionsline regardless of placement. fixes spacing
2021-09-07 16:03:18 -05:00
Henry Jameson
5f17e914a4
fix non-notifying mentions and original mention display 2021-09-07 16:03:18 -05:00
Henry Jameson
c139c8110c
fix not escaping some stuff 2021-09-07 16:03:18 -05:00
Henry Jameson
4794440bf0
fixed "invisible" spans inside links 2021-09-07 16:03:17 -05:00
Henry Jameson
172065c9eb
fixed bug with hashtags 2021-09-07 16:03:17 -05:00
Henry Jameson
c446af75e3
do the impossible, fix the unfixable 2021-09-07 16:03:17 -05:00
Henry Jameson
f3d9f51308
more fixes 2021-09-07 16:03:17 -05:00
Henry Jameson
1eff210a1c
refactored line converter, untied its logic from greentexting, better
handling of broken cases
2021-09-07 16:03:16 -05:00
Henry Jameson
9765995d25
fixed a bug + made a testcase out of it 2021-09-07 16:03:16 -05:00
Henry Jameson
c7ee2483f6
review + fixes 2021-09-07 16:03:15 -05:00
Henry Jameson
7fe912ca33
restructure and tests
squash! restructure and tests
2021-09-07 16:03:15 -05:00
Henry Jameson
2c30bbc4b0
fix tags gluing 2021-09-07 16:03:15 -05:00
Henry Jameson
b11f3ff0a0
change how "first" line is determined. Allow one mention in the
beginning for hellthread style
2021-09-07 16:03:15 -05:00
Henry Jameson
2be07be978
lint & cleanup 2021-09-07 16:03:14 -05:00
Henry Jameson
1c657b86b8
fix infinite loop 2021-09-07 16:03:14 -05:00
Henry Jameson
2b41b8f6f5
better handling of hellthreads with mentions at bottom 2021-09-07 16:03:14 -05:00
Henry Jameson
f40fdf483e
Hellthread(tm) Certified 2021-09-07 16:03:13 -05:00
Henry Jameson
227854b16d
Moved greentext to RichContent, improved how first mentions are
restored, now shows mentions not uh, mention in post body
2021-09-07 16:03:12 -05:00
Henry Jameson
083eb631cb
fix empty spaces again 2021-09-07 16:03:11 -05:00
Henry Jameson
a0768cf1ac
configurable mentions placement 2021-09-07 16:03:11 -05:00
Henry Jameson
b2893ba199
moving mentions into separate row 2021-09-07 16:03:11 -05:00
Henry Jameson
a3c6452620
moved some post styles into status body since they inferfere with usernames 2021-09-07 16:03:09 -05:00
Henry Jameson
e0f5c99b23
some docs, added richcontent to usernames in status, updated stillImage
to allow scale of "gif" label
2021-09-07 16:03:08 -05:00
Henry Jameson
f1470e6064
mention link 2021-09-07 16:03:08 -05:00
Henry Jameson
086d43bff3
move styles to richcontent 2021-09-07 16:03:08 -05:00
Henry Jameson
932abc6034
fix escaped apostrophes 2021-09-07 16:03:07 -05:00
Henry Jameson
2e27e93df8
[WIP] MUCH better approach to replacing emojis with still versions 2021-09-07 16:03:07 -05:00