Thomas Lynch
18b58202e7
show last active date for accounts in globalnamage accounts page close #236
...
NOTE: based on last time session was refreshed and updated from db ~1h, or when a user logs in
4 years ago
Thomas Lynch
0ac96ebfa9
make navy theme greentext more legible and boardtitle nicer color imo
4 years ago
Thomas Lynch
a92be9b942
closes #239 fixing early404
...
Previously early404 would match the threads with less than "early404Replies" BEFORE skipping and then deleting.
Which would be incorrect because then early404 would only be deleting a fraction of the posts with less than
early404Replies, rather than any thread with less than early404Replies past a certain fraction of the threadLimit
Bit of a stupid mistake, but this should fix it, if my interpretation of how early404 is supposed to work is correct.
4 years ago
Thomas Lynch
77af931bf8
Merge branch '24hour' into 'dev'
...
24-hour time fixes
See merge request fatchan/jschan!178
4 years ago
some random guy
74e27aa22c
24 hour fixes
...
`hour12` overrides `hourCycle` and in case of chome, `en-US` locale and `hour12
= true` defaults to h24, which results in batshit crazy timestamps of `24:04:23`
and the like. Removing `hour12` fixes this issue. But Pale Moon apparently
doesn't support `hourCycle`, so use a hack instead that seems to work both in
Pale Moon and chrome.
Also fix the pug files, because it looks like node has the same problem, even
with `undefined` locale (no need for workarounds here).
4 years ago
some random guy
b390e50476
typo in default localStorage values
4 years ago
Thomas Lynch
88b9374d2a
Link to global post history when viewing recent posts per IP on a board, closes #237
4 years ago
Thomas Lynch
59e66f864d
Unfuck stickies after the overboard change, and dont make early404 delete stickies
4 years ago
Thomas Lynch
0d9140991d
close #238
4 years ago
Thomas Lynch
48d6721ecc
update deps
4 years ago
Thomas Lynch
5579fec9ac
possible chrome css fix, because chrome is dumb
4 years ago
Thomas Lynch
387281813f
fixe overboard to ignore sticky priority rather than hide them completely
4 years ago
Thomas Lynch
c19db93b83
little indent cleanup
4 years ago
Thomas Lynch
b963a1814f
forgot to update migrateVersion for #488c100ca443aa05623a7c2723376b2e88c5a67f
4 years ago
Thomas Lynch
ccae7a7673
nginx readme small improvement, close #226
4 years ago
Thomas Lynch
488c100ca4
little filename fix, close #230
4 years ago
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