- Some visual tweaks (file "(u)" being on newline, "x" -> "×")
- Bugfixes
### 0.2.0
- From now on, versioning = major.minor.patch. significant changes = major, feature updates = minor, bugfixes/small stuff = patch.
- Update instructions about nginx changes when upgrading.
- Add an endpoint for getting the csrf token separately from html pages. See API docs for more details.
- Add post "marking" so moved/deleted posts info is sent over websocket. Frontend will handle them. Deleted threads and moved OPs will now also disconnect the socket and remove the post form.
- Block bypasses are now locked to where they were created (anonymizer or clearnet) to prevent some forms of 'smuggling'. This will be improved further in upcoming releases.
- Code highlighting now supports all highlight.js languages when explicitly specified. The whitelist now only applies to auto-detection, as originally intended.
- Quotes for post references in modlog now have the proper quote class, and will show when hovered like any other quote.
- API docs improvements, now includes csrf token, posting, post actions (and mod variants), and more. It should be enough documentation for somebody to write a mobile app integration.
- On android with termux, tapping the notification will open the post (in mod view) and the notification has new shortcut buttons to quickly delete, delete+ban or delete+global ban.
&&res.locals.numFiles>0),expected:false,error:`Posting files through anonymizers has been disabled ${disableAnonymizerFilePosting?'globally':'on this board'}`},
{result:res.locals.numFiles>res.locals.board.settings.maxFiles,blocking:true,permLevel:1,expected:true,error:`Too many files. Max files per post ${res.locals.board.settings.maxFiles<globalLimits.postFiles.max?'on this board ':''}is ${res.locals.board.settings.maxFiles}`},
{result:res.locals.numFiles>res.locals.board.settings.maxFiles,blocking:true,expected:false,error:`Too many files. Max files per post ${res.locals.board.settings.maxFiles<globalLimits.postFiles.max?'on this board ':''}is ${res.locals.board.settings.maxFiles}`},
'message':(req.path.endsWith('/post')&&res.locals.board)?`Max files per post ${res.locals.board.settings.maxFiles<globalLimits.postFiles.max?'on this board ':''}is ${res.locals.board.settings.maxFiles}`
'message':(isPostform&&res.locals.board)?`Max files per post ${res.locals.board.settings.maxFiles<globalLimits.postFiles.max?'on this board ':''}is ${res.locals.board.settings.maxFiles}`
//maybe should filter these? because it will include threads from which child posts are already fetched in the action handler, unlike the deleteposts model
li: a(href='#contact') How can I contact the administration?
b Making posts
ul.mv-0
li: a(href='#captcha') How do I solve CAPTCHA?
li: a(href='#captcha') How do I solve the CAPTCHA?
li: a(href='#name-formatting') How do names, tripcodes and capcodes work?
li: a(href='#post-styling') What kind of styling options are available when making a post?
li: a(href='#post-info') What is the file size limit?
@ -48,10 +48,10 @@ block content
.anchor#captcha
table
tr
th: a(href='#captcha') How do I solve CAPTCHA?
th: a(href='#captcha') How do I solve the CAPTCHA?
tr
td.post-message
p Select the boxes that correspond to each solid/filled icon in the grid. The image is shuffled and distorted, so use your brain.
| See the #[a(rel='nofollow' referrerpolicy='same-origin' target='_blank' href='http://fatchan.gitgud.site/jschan-docs/#captcha-block-bypass') API docs] for example captchas and solutions.
.table-container.flex-center.mv-5
.anchor#name-formatting
table
@ -206,11 +206,12 @@ block content
| ( ・ω・) Let's try that again.
tr
td(colspan=2)
| The "language" of code blocks is optional. Without it, automatic language detection is used.
| If the language is "plain", highlighting is disabled for the code block. If "aa" is used, the font will be adjusted for Japanese Shift JIS art.
| Not all programming languages are supported, a subset of popular languages is used.
| If the language is not in the supported list, the code block will be rendered like "plain" with no highlighting.
| Languages supported: #{codeLanguages.join(', ')}
| Supported languages for code block syntax highlighting: