Thomas Lynch
bb582c2de8
"helpers" -> "lib
...
god help anybody who gets serious merge conflicts from this
close #434
2 years ago
Thomas Lynch
d1f9c78258
ref #377 , the fun begins
...
still a few things to do, see TODO (heh)
mostly working how i imagined, with a few quirks.
pretty happy with it.
3 years ago
Thomas Lynch
52c189a153
allow board custom pages to be edited, like newspost editing
...
because rewriting the whole page can be annoying and you couldnt access the text without styling
also can change .html name, maybe that will get removed but it works atm.
still needs more tweaks and proper testing
3 years ago
Thomas Lynch
b474134ed1
ability to change permissions for any markdown, this can be extended nicely in future close #303
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
some random guy
4e4c5025f1
addcustompage: add missing page option to build task
4 years ago
Thomas Lynch
44f69b8ba5
start per-board custom pages, mostly working could just use a lil more testing references #232
4 years ago
some random guy
5a093ce936
do not reroll dice when re-rendering markdown
4 years ago
some_random_guy
0f20646833
use `redirect: false` in express.static
...
This prevents prolems like `/` giving 404 in devel mode (when
`static/html/index.html` is missing) or `/captcha` redirecting to
`/captcha/` (then breaking).
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
a0d0394e62
dynamicresponse everything
5 years ago
fatchan
23c9079c03
use highlight.js for syntax highlighting in code blocks of posts
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
549313c49a
split global management pages into separate each page
5 years ago
fatchan
7868e1c5d3
use a queue with workers for generating static pages in background that arent immediately needed
5 years ago
fatchan
8c09b8bd58
add db index file and destructure to reduce repetitive imports
5 years ago
fatchan
883020cfe9
news page, and ability to add or delete news from global manage page, by auto level 0 accounts only
5 years ago