Thomas Lynch
54212907fa
small bugfix, post.u being undefined in socket emits projected post
3 years ago
Thomas Lynch
61de85937a
try with a newer commit of express-fileupload tweaked to not allow missing file extensions
...
and remove some path.extname() stuff since that wouldnt be necessary anymore
checkRealMimeTypes can overwrite with correct one if enabled
3 years ago
Thomas Lynch
bbd06b31af
damn spaniards
3 years ago
Thomas Lynch
c6bb7f1875
unfuck #374 guess i was tired
3 years ago
Thomas Lynch
9a65ead55d
stronger strict filtering
3 years ago
Thomas Lynch
984d9428f5
make accessible the fuzzy hashes to filter ref #371
3 years ago
Thomas Lynch
497ba44f3e
close #362
3 years ago
Thomas Lynch
48438a6b77
disable reply subject and forceanon change
3 years ago
Thomas Lynch
9f96608fca
thumbnail change
3 years ago
Thomas Lynch
744b2530c5
fix u live link for peo
3 years ago
Thomas Lynch
b167cec7f6
close #348
3 years ago
Thomas Lynch
042445d28c
it works, with some kinks still to get through
4 years ago
Thomas Lynch
594c0fee8a
close #343
4 years ago
Thomas Lynch
02be7cbc5a
reference #340
4 years ago
Thomas Lynch
035d945b98
fix live posts not including mongo objectid
4 years ago
Thomas Lynch
48d15c1a28
typo globalSettings->globalFilters
4 years ago
Thomas Lynch
a34340ea00
move the settings to mongo instead of redis (like it should have been in the first place tbh)
...
i *think* the migration from previous version will work.
made the version to 0.1.0 because im sick of 0.0.10000 and this is kinda a big change.
close #334
4 years ago
Thomas Lynch
b474134ed1
ability to change permissions for any markdown, this can be extended nicely in future close #303
4 years ago
Thomas Lynch
a3a76e3f8c
post delete bug
4 years ago
Thomas Lynch
9c7d061086
fix permlevel and unterminated regex group
4 years ago
Thomas Lynch
51f729b367
dont allow []() url regex by default, only for people with permission like staff or in newsposts, announcements, etc.
4 years ago
Thomas Lynch
1c5f14e419
This did not go as planned
4 years ago
Thomas Lynch
d31a60e69a
put thumbs in a folder, tests would have been nice to have cos this will probably cause regressions, heh... reference #307
4 years ago
Thomas Lynch
d75fb8cb0f
rename some tor-specific stuff to "anonymizer" to be more general since i added lokinet to my site, will make easier to add others e.g. i2p in futuure
4 years ago
Thomas Lynch
98f2983725
fix issue with audio waveform thumb width
4 years ago
Thomas Lynch
1b4555c538
remove unused import
4 years ago
Thomas Lynch
5345bb7c0c
remove thumbwidth check not processong for audio
...
some audio files will upload with a VIDEO stream of the album art and not get given dimensions
OR a waveform audio thumbnail, causing content-jumping because hasThumbs is true but there
is no geometry.thumb*
4 years ago
Thomas Lynch
7c150836df
make spoilers use the same thing as strip filename, duh
4 years ago
Thomas Lynch
6f64448b33
works for board recent and global recent, fixed lastPostId issue and IP display issue
...
just neds a second pair of eyes to check its not leaking IPs anywhere
4 years ago
Thomas Lynch
e063f20507
Working at a basic level for global manage page now reference #171
4 years ago
Thomas Lynch
55778c8570
change filename stripping, make browser hash files and send hash of file to strip name instead of sending names to prevent duplicate both getting stripped or filename filters on backend breaking them.
...
also need the hashes for another feature later on too.
4 years ago
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
9215dcbf17
test only, blockhash option
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
6740d4d529
Auto remove captcha field if its no longer needed close #284
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
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
e87754f67e
reference #256 unique message per board/thread option
...
strips quote, so starting post with quote isnt considered unique
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
f9e15e23e8
option for boards to enforce unique files board wide or per thread
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