some random guy
da8522faec
audio thumbnails
4 years ago
Thomas Lynch
ba4ea5834e
Better error handler, and catch some more errors from body parser for urlencoded forms
4 years ago
Thomas Lynch
eb77a52249
Make pph/user/posts not wrap since table css changes
4 years ago
Thomas Lynch
48b0acf01f
Another comment in config for reset values
4 years ago
some random guy
822d191603
make mongodb db name configurable
4 years ago
Thomas Lynch
e247d7aad2
move captcha mode setting in board settings to be closer to other related settings
4 years ago
Thomas Lynch
fed92d6621
separate trigger action for when tph vs pph is exceeded
...
option for lock reset and captcha reset, to pick what you want the lock mode and captcha mod to go back to at the end of the hour
also fix avuln in boardsettings where pph trigger/mode settings were not range checked
4 years ago
Thomas Lynch
029af471fc
Tested, and yes .onions will work in webring file if you have a torproxy setup.
4 years ago
Thomas Lynch
f17a3daa07
Table css is dumb
4 years ago
Thomas Lynch
4160de860f
Merge branch 'fix-board-change-rebuild' into 'new-dev'
...
board edit: rebuild pages on name/description change
See merge request fatchan/jschan!183
4 years ago
Thomas Lynch
2385f4fa16
Bugfix on demand build thread page. issue destructuring when the buildthread task returns null
4 years ago
Thomas Lynch
e664051c00
Merge branch 'master' into new-dev
4 years ago
some random guy
d34570062c
board edit: rebuild pages on name/description change
4 years ago
Thomas Lynch
2adff07989
Merge branch 'fix-board-edit-limits' into 'master'
...
board edit: take board name & description max length limits in config file into consideration
See merge request fatchan/jschan!182
4 years ago
some random guy
124de4351a
board edit: take board name & description max length limits in config file into consideration
4 years ago
Thomas Lynch
2970dacc12
Merge branch 'new-dev' of ssh.gitgud.io:fatchan/jschan into new-dev
4 years ago
Thomas Lynch
95aa093dc9
overflow wrap on .post-info to fix issue with long subject or name on mobile
4 years ago
Thomas Lynch
62729da203
Merge branch 'new-dev' into 'new-dev'
...
Minor textual improvements
See merge request fatchan/jschan!181
4 years ago
ne0n
c98b337cd3
Minor textual improvements
4 years ago
Thomas Lynch
40d17e360d
globalmanage live posts
...
todo:
- handle iphashpermlevel to not send IP for users without perms (separate room? seems easiest)
- make sure lastpostId, reply adding, etc doesnt get all fucked up because of multi threads on one page
4 years ago
Thomas Lynch
d7de091809
~ edits dont open in new tab, and redirect back to page or post when click 'ok' in modal reference #272
4 years ago
Thomas Lynch
67026fcc0c
- Remove some hardcoded limits on forms
...
~ Make limit for post actions configurable. needed to still be limit for antispam/performance
+ Add config for total banners per board
4 years ago
Thomas Lynch
bbd0018a03
Okaaaay dude
4 years ago
Thomas Lynch
668c9ce712
Fix typo in globalmanage accounts page
...
also cleanup indentation
4 years ago
Thomas Lynch
7130af70bc
Add pm2 startup and pm2 save to README, so jschan runs on startup
4 years ago
Thomas Lynch
02c1423dba
thumbnail size follows vars properly, and add to onion-location header in nginx config
4 years ago
Thomas Lynch
1df5719cdf
ACTUALLY fix the stupid country code bug
4 years ago
Thomas Lynch
4b9b7e105b
add a class to col in settings pages. looks like I already had a class to deal with "mobile chromeshit" lmao
4 years ago
Thomas Lynch
bdca953bf7
threads get bumplocked after bump limit, and cyclics dont get naturally bumplimited
4 years ago
Thomas Lynch
768b5cb465
Try and prevent anti shadow bump from backfiring on bumplocked threads
...
They were getting reset to their latest reply date, when a bumplocked thread should never have its
bump date reset to earlier than whatever the latest reply was when it was bumplocked, or the OP date
if all replies are deleted.
Still not accounting for bump limited thread (a uncommon edge case), and i think the simplest way to deal with that would
be set bumplocked:1 when its exceeded the board settings bump limit. More efficient, less work for me, and actually
serves a useful purpose because long threads could tell when they are bumplocked from going past bump limit.
The only decision then would be whether to set it permanently from that point forward, or only set it once,
so they could be unlocked by moderators if they want which would be an added side effect/feature of being able
to selectively unlock them.
wtf is this commit message, and the code for this section is a cluster fuck lmao
4 years ago
Thomas Lynch
04932073da
Merge branch 'master' into new-dev
4 years ago
Thomas Lynch
1a68581175
Add a new theme
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
1ed45932c8
new hidden service address
4 years ago
Thomas Lynch
6f1e27833d
Fix dumb country library putting multiple names for some countries, causes issue with country names on front and backend
4 years ago
Thomas Lynch
4f25dada43
let log pages rebuild on board theme change close #270
4 years ago
Thomas Lynch
7a3943c447
patch messages length check for CRLF vs just LF, because browsers dont count CRLF as 2 characters like the server does (and like it technically is). this will happen for other fields too, but message is the only one that really matter close #269
4 years ago
Thomas Lynch
ecb9550693
update some deps
4 years ago
Thomas Lynch
a2d34ac4af
close #265 global and board setting to disable .onion file posting
4 years ago
Thomas Lynch
b5f04b428e
visual tweak of video/audio "close" button, make look more like youtube embed link. also add margin to both
4 years ago
Thomas Lynch
f8862014f1
friendly error on gm image identify fail, because of a dumb issue with GM not handling animated webp close #266
4 years ago
Thomas Lynch
9558872c11
dont gif thumbnail static gifs
4 years ago
Thomas Lynch
35a6ef5ff7
ref #263 video thumbnail improvements and use ffmpeg
4 years ago
Thomas Lynch
6c0d4271ec
close #263 option to make >thumbSize gif images have animated thumbnails, smaller gifs always static
4 years ago
Thomas Lynch
d6022c9bf8
fix a missing condition for modview/manage affecting json path for api calls, close #262
4 years ago
Thomas Lynch
5274abb8ba
add formatsize helper to server
4 years ago
Thomas Lynch
080dc3f660
Bugfix not showing post file size on express server .render('d pages
4 years ago
Thomas Lynch
6657f50e4d
add more options on the global manage boards list close #245
4 years ago
Thomas Lynch
e36be21056
close #260 make filters work on catalog
4 years ago
Thomas Lynch
994bdea390
Merge branch 'master' into new-dev
4 years ago