Thomas Lynch
3191bbb750
new post -> new thread/new reply closes #229
4 years ago
Thomas Lynch
ee6b500276
Add unlink file option in global and board manage pages close #234
4 years ago
Thomas Lynch
5b118e989d
add back the cursor for sfw icon in boardlists
4 years ago
Thomas Lynch
4c9e925387
express-session is dumb, and so am i. does this even make a difference?
4 years ago
Thomas Lynch
7d780eca21
captcha fix on appeal form
4 years ago
Thomas Lynch
a8ede39f80
secureCookies only try to set secure:true when x-forwarded-proto is https closes #223
4 years ago
Thomas Lynch
0d609623e3
make haspermsmiddleware actually cache params
4 years ago
Thomas Lynch
cc2fc6274c
small change to readme and example config about cloudflare
4 years ago
Thomas Lynch
f212f67aa4
update package lock
4 years ago
Thomas Lynch
73fa1b313e
Add a better maxfiles message, a little tweak for TOR, and add it to banner uploads closes #225
4 years ago
Thomas Lynch
24574862a2
Add file-type moodule to check file mime types strictly, with 2 optiosn in config about it
...
Update express-fileupload dependency to clean tempfiles on numFilesLimitHandler
Add a proper error message for max num files instead of allowing unlimited and limiting in board post method
4 years ago
Thomas Lynch
3ce4ea7a10
Change slightly how 413s are handled in the frontend script just for testing, references #224
4 years ago
Thomas Lynch
7d87819ad4
Update node-fetch dependency for security advisory https://npmjs.com/advisories/1556
4 years ago
Thomas Lynch
f5e44011dd
npm audit fix
4 years ago
Thomas Lynch
a04d62d29e
Minor nginx config changes, fix the routes snippet and add a complete advanced example
4 years ago
Thomas Lynch
2f9242bf89
Typo in example config
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
25ce30dde8
fix issue posting bypass for non tor
4 years ago
Thomas Lynch
966098bbbf
add missing captcha preload for board create form
4 years ago
Thomas Lynch
d5c6007351
Make name field 2-way syncing by default, so using or changing name for a post will set the default
4 years ago
Thomas Lynch
e8daef745e
When editing a post, make name prepopulate. Capcode also, but the role will match the perms leve lof whoever edited the post e.g. if a Board Mod edits a post from Global staff, it will change the capcode role to Board Mod.
4 years ago
Thomas Lynch
407611d3d9
Move the settings for frontend scripts into the config file, and small change of some naming
4 years ago
Thomas Lynch
f4910dcf7e
bugfix re: thing i'm trying in 1399dda5fd
4 years ago
Thomas Lynch
ed63d2831a
Merge branch 'master' into dev
4 years ago
Thomas Lynch
9822492b83
Merge branch 'embed-csp' into 'master'
...
fix csp headers in nginx example configs for embedding
See merge request fatchan/jschan!177
4 years ago
Thomas Lynch
a22ad89f48
share same route for boards html/json, like board/thread/catalog
4 years ago
Thomas Lynch
aac58afa16
fix broken helper tasks
4 years ago
Thomas Lynch
1399dda5fd
Json routes will hit backend & get 404'd there,
...
allows for pages with missing json that arent prebuilt to build when json route is hit,
without requiring html pageload first better for api
4 years ago
some random guy
9d947772d6
fix csp headers in nginx example configs for embedding
4 years ago
Thomas Lynch
636c9072ff
forgot to uriencode that last night, maybe important for security
4 years ago
Thomas Lynch
e09b8595b9
small improvements to embed scrpit
...
add m. for youtube regex,
button says embed/close depending on state
brackets not part of link, looks nicer
4 years ago
Thomas Lynch
2a9062feb9
Add bitchute and add a class for the videos, the size is much better
4 years ago
Thomas Lynch
077e964d72
dont show form for staff pos on accounts page unless you are mod/owner of at least one
4 years ago
Thomas Lynch
5cecb13f22
Bugfix, when moderator has board transferred to them, they would hold both positions
4 years ago
Thomas Lynch
72410b01b0
Embed script improvement and fixes
...
wont break for new posts with link being last part of message
remove frame size so its less fucked on mobile
4 years ago
Thomas Lynch
044a9bf490
basic video link embed button script, can be extended for more providers easily
4 years ago
Thomas Lynch
fe8078690a
viewfulltext expand event doesnt need to attack on newpost event, because that only fires in threads, where the post is fully expanded already.
4 years ago
Thomas Lynch
b597ac8159
ability to resign from a board you mod/own. previously you could not leave a mod position, and you could not leave owner position (unless you transfer) closes #196
4 years ago
Thomas Lynch
5aba64f743
yes, there is :^)
4 years ago
Thomas Lynch
fcd0e6a9a7
fix deleting cache for users when add/removing as mod to a board
...
quick new method to remove mod from settings array in board
4 years ago
Thomas Lynch
fa911bd630
just 'cache', its more than just for hovering
4 years ago
Thomas Lynch
15a912d042
Merge branch 'master' into dev
4 years ago
Thomas Lynch
a84dd048da
Merge branch 'fix-banners-path' into 'master'
...
use static/banner everywhere for banners
See merge request fatchan/jschan!175
4 years ago
Thomas Lynch
91ee597168
Merge branch 'fix-palemoon-catalog-filter' into 'master'
...
fix catalog search under PaleMoon
See merge request fatchan/jschan!176
4 years ago
some random guy
14531e4e28
fix catalog search under PaleMoon
...
According to [MDN], selectorText is readonly in some browsers, and it looks like
Pale Moon is one of them. Because of this, catalog filtering in Pale Moon only
works until one character. Workaround this by always removing the style rule and
readding with the new selector.
[MDN]: https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleRule/selectorText
4 years ago
some random guy
6da100597e
use static/banner everywhere for banners
4 years ago
Thomas Lynch
211a3c860d
pluralise report text, small css prefix tweaks
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
Thomas Lynch
24f345aee0
fix incorrect tooltip for IDs on desktop, make hover highlights not conflict with ID highlights, close #216 close #217
4 years ago