Thomas Lynch
77cd6dd147
fix pruning bug intriduced during audio video files changes
4 years ago
Thomas Lynch
8629143610
change video/audio handling, allows "audio" files with a video mime type to be uploaded properly, and get treated like audio file. might need some testing to make sure nothing broke :)
4 years ago
Thomas Lynch
dfdd102626
Rehash ids when moving posts to another thread, closes #218
4 years ago
Thomas Lynch
9215dcbf17
test only, blockhash option
4 years ago
Thomas Lynch
beaefcd42b
deleteboard custompage bugfix
4 years ago
Thomas Lynch
44f69b8ba5
start per-board custom pages, mostly working could just use a lil more testing references #232
4 years ago
Thomas Lynch
0cc762ad5d
reference #258 bugfix, global report count would only show if they owned or modded a board, which obviously isnt correct
4 years ago
Thomas Lynch
3ed44ffa2d
reference #258 show open reports on account page after a very subtle hint from https://fatchan.org/t/manage/thread/1.html#346
4 years ago
Thomas Lynch
a3674d3300
option to count all .onion as one 'user' in stats
4 years ago
Thomas Lynch
b5580edd9e
Allow sticky to be input as a number, 0 is disabled, higher numbers are a priority and threads will be sorted in descending order reference #289
4 years ago
Thomas Lynch
22f582f3a7
Insecure tripcodes reference #282
4 years ago
Thomas Lynch
77b8ae5540
Overboard catalog reference #286
4 years ago
Thomas Lynch
6740d4d529
Auto remove captcha field if its no longer needed close #284
4 years ago
Thomas Lynch
a47c4e3991
Fixing dolphin'd code
4 years ago
Thomas Lynch
d12bed3dc2
add noscript warning to hcaptcha
...
add some missing checks for google to also check captcha type
adjust frontend scripts and gulpfile styling to support hcaptcha
4 years ago
dolphin
d51aa143a8
Add in hcaptcha support.
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
250687b8e3
Fix variable names for thumbwidth/thumbheight on new image waveform thumbnails reference !185 didnt spot this earlier, sorry
4 years ago
some random guy
da8522faec
audio thumbnails
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
2385f4fa16
Bugfix on demand build thread page. issue destructuring when the buildthread task returns null
4 years ago
some random guy
d34570062c
board edit: rebuild pages on name/description change
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
668c9ce712
Fix typo in globalmanage accounts page
...
also cleanup indentation
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
e87754f67e
reference #256 unique message per board/thread option
...
strips quote, so starting post with quote isnt considered unique
4 years ago
Thomas Lynch
4f25dada43
let log pages rebuild on board theme change close #270
4 years ago
Thomas Lynch
a2d34ac4af
close #265 global and board setting to disable .onion file posting
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
6657f50e4d
add more options on the global manage boards list close #245
4 years ago
Thomas Lynch
e32cbae32c
Fix newline splitting in a few places and remove unnecessary hardcoded limit on global filters
4 years ago
Thomas Lynch
f9e15e23e8
option for boards to enforce unique files board wide or per thread
4 years ago
Thomas Lynch
f2df1aea4b
Global manage page for boards. Shows all boards including unlisted, and marks abandoned boards
4 years ago
Thomas Lynch
18240670cf
Let users self-delete their account, provided they dont hold any staff positions closes #240
4 years ago
Thomas Lynch
23b2858333
Make video thumbnail position work properly for webms, and make it configurable with new option videoThumbPercentage
4 years ago
Thomas Lynch
caade1698b
close #242
4 years ago
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
c19db93b83
little indent cleanup
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
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
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
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
Thomas Lynch
5cecb13f22
Bugfix, when moderator has board transferred to them, they would hold both positions
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
some random guy
6da100597e
use static/banner everywhere for banners
4 years ago