Thomas Lynch
bbd06b31af
damn spaniards
3 years ago
Thomas Lynch
e8c3cfab8f
remove log
3 years ago
Thomas Lynch
7d2799390d
fix for some video files not able to get first frame thumbnail due to weird format
...
example file https://files.catbox.moe/b7vzs5.mp4
previously if in videothumbnail() if timestamp was 0 the command was like:
ffmpeg -t 0 -i in.mp4 -y -vf scale=-2:250 out.jpg
which would error out with "Could not get frame filename number 2 from pattern 'out.jpg'. Use '-frames:v 1' for a single image, or '-update' option, or use a pattern such as %03d within the filename."
seems strange given -t 0, but whatever. so as the error suggests, first frame videothumbnails() call just adds -frames:v 1 to the output args
3 years ago
Thomas Lynch
de8dcbb8be
progress on model, controller and the template
...
improve some helpers to load config properly on global config change including renderlocals, themes, etc
4 years ago
Thomas Lynch
ab8eddbcff
buggfixes
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
bb0ff6216e
special case for 0 timestampt video tthumbnails, solve issue for some audio files reference #308
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
some random guy
b110dac7ba
support flac audio
4 years ago
some random guy
da8522faec
audio thumbnails
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
080dc3f660
Bugfix not showing post file size on express server .render('d pages
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
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
fatchan
efe7451982
fix thumbnail for single frame video while maintaining 1% for others references #121
4 years ago
fatchan
0e9c4feaff
properly handler failed video thumbnails
4 years ago
fatchan
e6d7785793
migration move files from /img to /file since it can contain more than just images
5 years ago
fatchan
4032e6a214
allow custom mime types for file uploads defined in config
5 years ago
fatchan
8f7afcf1f6
make file duration strings handle over 24h and cleanup some file info addings in makepost
5 years ago
fatchan
f86473a0af
fix some weird posting situations and scripts for errors when thread with no live
5 years ago
fatchan
d6b03ef862
override thumbExtension with png for images with opacity based on imageidentify data, and since gifs are always thumbed to prevent animation make sure they are not stretched if below thumbsize
5 years ago
fatchan
9ce66a303d
change config to js file so it an include comments
5 years ago
fatchan
a5e7349c28
file upload form changes for clipboard/drag+drop, and make it work on the banners upload page
5 years ago
fatchan
632811c636
support audio files and a few more video files
5 years ago
fatchan
503900594a
add relative time into mstime and rename it to timeutils and improve it. use relative times for board list
5 years ago
fatchan
2cb5c14fe7
fix file deletion
5 years ago
fatchan
d8b3a79e5d
significantly faster image identify, just use the first frame from gifs with [0]
5 years ago
fatchan
ac6eeb0f94
make thumbnail size configurable
5 years ago
fatchan
7efe526a5e
fix video thumbs
5 years ago
fatchan
93cd4c4d64
change thumbs to png and try handling dedupes when thumb format has been changed and file uploaded
5 years ago
fatchan
045716de78
add deleteold as a separate tool to delete files in dir older than a tiemstamp, and then prune older than 30 days logfiles with generating the modlog list
5 years ago
fatchan
e1ac3b6d0f
dont gm noprofile all images, causes hash issues and then instead use the builtin .mv to move the file
5 years ago
fatchan
eb8f87978e
move some schedule files
5 years ago
fatchan
f7d1ba9470
webring support, optional. currently adds webringed boards to homepage list. in future will move to board list page
5 years ago
fatchan
ddfe6241b5
deal with hash instead of spliting filename in various locations, and make use of post file delete helper
5 years ago
fatchan
d899a31bbe
no more lmx. since we have redis, use it for redlock and connect-redis for sessions instead of mongo
5 years ago
fatchan
686fe0d7b3
add board configuration for allowed file types
5 years ago
fatchan
6870a23bb2
move gif fix to separate file to nto do in unnecessary situation eng. audio upload, preparing for more accepted file types
5 years ago
fatchan
95ba3b8caa
video thumbnails now at 1% in to prevent black first frames and fade-ins
5 years ago
fatchan
7c57fca366
organise the helpers some
5 years ago
fatchan
bca87c06ed
render opengraph correctly for video, spoilers and no-thumb images, and show render time in ms at bottom of page.
5 years ago
fatchan
2c6ee4d9ee
add required fields in html forms and add * to labels according to board settings for required OP subject, message or file.
5 years ago
fatchan
f9ec124d61
dont use object tag unnecessarily, deleted file display properly in catalog and other minor style changes
5 years ago
fatchan
c7d02a5a2b
temp files _actually_ deleted for uploads, still need a little refactor. also remove hyphen from filenames
5 years ago
fatchan
491d0de81e
make sure thumbnails for videos never exceed 128px in either dimension, while also maintaining aspect radio
5 years ago
fatchan
f23e4cd20e
temp file delete helper, add unlink_file to actionchecker, backlinks in build -- might remove backlinking but works fine for now
5 years ago
fatchan
a50797cb1a
identify based on temp file
5 years ago
fatchan
d178c28540
allow .mov and fix video resolution -- filter streams to only video
5 years ago