Thomas Lynch
18df9e726d
The link matching is still kinda retarded, but this actually works as intended
4 years ago
Thomas Lynch
9c7d061086
fix permlevel and unterminated regex group
4 years ago
Thomas Lynch
51f729b367
dont allow []() url regex by default, only for people with permission like staff or in newsposts, announcements, etc.
4 years ago
Thomas Lynch
1c5f14e419
This did not go as planned
4 years ago
Thomas Lynch
7eb3f4589d
markdown style links i.e. [label]( http://link )
4 years ago
Thomas Lynch
1630efab99
Add missing string/encoding convert to insecure trip
4 years ago
Thomas Lynch
c99fbcba12
make catalog search quote links work >>>#/something/
4 years ago
Thomas Lynch
ec3af32d0b
remve debug log reference #282
4 years ago
Thomas Lynch
22f582f3a7
Insecure tripcodes reference #282
4 years ago
Thomas Lynch
c2e7699b15
change code blocks to [code][/code], try not to interfere with sjis as much reference #278
4 years ago
Thomas Lynch
bc44b0529c
Shift JIS art support with aa code language, closes #278
4 years ago
ne0n
c98b337cd3
Minor textual improvements
4 years ago
Thomas Lynch
bbd0018a03
Okaaaay dude
4 years ago
Thomas Lynch
e87754f67e
reference #256 unique message per board/thread option
...
strips quote, so starting post with quote isnt considered unique
4 years ago
Thomas Lynch
473955fd35
Remove test
4 years ago
Thomas Lynch
b20ca7cc20
Capcode input changes reference #222
...
If a user is board owner/mod, use higher capcode only if explicitly entered, else use board owner/mod capcode
Strip extra repititions
Default back to stafflevel for perm if theres a mismatch
4 years ago
Thomas Lynch
044a9bf490
basic video link embed button script, can be extended for more providers easily
4 years ago
Thomas Lynch
1713291ec7
Unbreak code blocks after new dice roll fix
...
The splitregex in the markdown function didnt include ther ```'s in the match, because it doesnt include them in the code block
So when the prepare function ran, and joined the text back together, it wouldn't have any ```'s, so the code blocks would never be split or rendered.
So quick fix was add a second one that includes the ```'s when doing the dice prepare function, so it wont break the code blocks
references #214
4 years ago
some random guy
04b2b21d95
fix dice roll math
...
In the old implementation, if you had for example 2 dice, you could only roll
even numbers, which is clearly wrong.
Also reduced the max numdice to 99 to not DoS the server with large numdice
values.
4 years ago
some random guy
5a093ce936
do not reroll dice when re-rendering markdown
4 years ago
fatchan
6cf31b5ef3
make titles not a greedy regex
4 years ago
fatchan
2744d7dbe7
-refactor message markup handler to separate function
...
-refactor name/tripcode/capcode handler to separate function
-use new methods in places like news, announcements and new posts
-more structure and logic for post editing
4 years ago
fatchan
e897b1c161
dice regex issue
4 years ago
fatchan
8836ba6ba1
quotes changes for the 10000th time
4 years ago
fatchan
8cec748ff9
fix quote bug for cross guotes being invalid when missing a number even if board exists
5 years ago
fatchan
e6d7785793
migration move files from /img to /file since it can contain more than just images
5 years ago
fatchan
f2c707c867
highlight.js force ignore_illegal for manually language selected blocks
5 years ago
fatchan
75166124e7
oversight in linkmatch for brackets and detected changes
5 years ago
fatchan
c1cff0284d
improve dicerolls, uncomment invalid quotes
5 years ago
fatchan
8b5c88332c
scuffed way to make some links in parentheses work better
5 years ago
fatchan
4457added2
greentext with quotes changes
5 years ago
fatchan
31bec034ba
make markdown easier to add new classes
5 years ago
fatchan
9ce66a303d
change config to js file so it an include comments
5 years ago
fatchan
f32a392d0a
code theme changes to allow manually inputting language
5 years ago
fatchan
b38446201a
change how auto scroll scrolls to not change window hash, and make threshold gt not gte
5 years ago
fatchan
3a67e18695
make markdown code shorter
5 years ago
fatchan
ac0cb93b06
remove themes from footer, prep for settings UI, add code theme to board settings
5 years ago
fatchan
1df453e5d3
much more progress and proper styling for hide and hide by ID with new dropdown
5 years ago
fatchan
427fe315f7
styling fixes
5 years ago
fatchan
8f81cc7d57
dont show language or relevance when < 5
5 years ago
fatchan
6654aac041
make all that v a little cleaner
5 years ago
fatchan
23c9079c03
use highlight.js for syntax highlighting in code blocks of posts
5 years ago
fatchan
0915d7247b
major change to post markdown to use chunks so syntax highlighting can come in future
5 years ago
fatchan
8d092b8f1d
improve post markdown to use chunks so that code blocks can be processed separately and not be broken by other styles, also opens the door to using a custom code parser later on that includes syntax highlighting
5 years ago
fatchan
9bd6aa4339
do links last to prevent surrounding markdown from breaking link
5 years ago
fatchan
f0aa36997e
update webring, improve boardlist and make tables a little wider
5 years ago
fatchan
b66272577c
add a small utility in markdown to get doamins for later so I can add alt links e.g. invidious references #2
5 years ago
fatchan
45ed6a6bce
when thread pages not needed immediately, add it as a task in the queue instead of doing it on the web server process
5 years ago
fatchan
82a1842643
thread moving update markup, sets aggregate and keeps correct reply/file counts and doesnt clash with adding sticky, etc since if threads are moved they have those flags removed
5 years ago
fatchan
5f455831a4
spoiler multiline
5 years ago