Thomas Lynch
8e11342a77
Merge branch 'new-dev' into 'master'
...
- remove some hardcoded limits, for forms and elsewhere
- board edit: rebuild pages on name/description change
- separate trigger action tph/pph
- hourly reset option for captcha or lock mode
- better error handler for urlencoded form
- audio thumbnails
- support flac files
- fix grid captcha loading in frontend script when added on the fly
See merge request fatchan/jschan!186
4 years ago
Thomas Lynch
ed58cf371e
Merge branch 'trigger-changes' into new-dev
4 years ago
Thomas Lynch
98d9074f1f
Dont make reset increase lock/captcha mode if mode adjusted but it was already triggered
4 years ago
Thomas Lynch
04cd7deab7
Some kind of better categories for the board settings
4 years ago
Thomas Lynch
7642ca4083
Move audio controls to the bottom of audio thumbnails with waveform
4 years ago
Thomas Lynch
0fcd9bd370
Add captcha grid size to frontend script through gulpfile so template can use it to build on-the-fly grid captcha properly
...
(also enable minifying in the gulpfile again)
4 years ago
Thomas Lynch
a140e9372a
Need to set geometry on the file object always if audioThumbnails are enabled, not just if its being thumbnailed again
...
Because thumbnails are not generated more than once per file, if you uploaded the same audio twice,
the file would end up hasthumb: true, but without geometry and this would cause errors during page rendering!
reference !185
4 years ago
Thomas Lynch
429ead7180
Make audio thumbs not get cut off on mobile from smaller thumbwidth
4 years ago
Thomas Lynch
250687b8e3
Fix variable names for thumbwidth/thumbheight on new image waveform thumbnails reference !185 didnt spot this earlier, sorry
4 years ago
Thomas Lynch
466121c3a2
Merge branch 'audio-thumb' into 'new-dev'
...
audio thumbnails
See merge request fatchan/jschan!185
4 years ago
Thomas Lynch
da5601a084
Merge branch 'mongodb-db-option' into 'new-dev'
...
make mongodb db name configurable
See merge request fatchan/jschan!184
4 years ago
some random guy
b110dac7ba
support flac audio
4 years ago
some random guy
710fac019b
remove leftover debug message
4 years ago
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
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