34 Commits (571b481a8c19dc257eb123fc5b6baba1978e2ae3)

Author SHA1 Message Date
Thomas Lynch 571b481a8c add option to limit video/image sizes 1 year ago
Thomas Lynch e047782249
eslint lib, migrations, db, models, test, schedules and root dir 2 years ago
Thomas Lynch bb582c2de8 "helpers" -> "lib 2 years ago
Thomas Lynch 61de85937a
try with a newer commit of express-fileupload tweaked to not allow missing file extensions 3 years ago
Thomas Lynch bbd06b31af
damn spaniards 3 years ago
Thomas Lynch f464a81ee5 bugfix for banner upload 3 years ago
Thomas Lynch 5cce251d9b make the controllers and models exist and do something 3 years ago
Thomas Lynch 1c5f14e419 This did not go as planned 3 years ago
Thomas Lynch 766b0b274d allow banners bigger than 300x100 dimensions and option to allow other aspect ratio 3 years ago
Thomas Lynch 24574862a2 Add file-type moodule to check file mime types strictly, with 2 optiosn in config about it 4 years ago
fatchan 4032e6a214 allow custom mime types for file uploads defined in config 4 years ago
fatchan bdf4968b10 banners upload page correctly error on 0 new banners and use dynamicresponse for errors 4 years ago
fatchan 8bb1d53402 use dynamicresponse in banner upload form 4 years ago
fatchan 9a0196bfb5 make captcha folder in gulpfile, and banners folder for board in create 4 years ago
fatchan 632811c636 support audio files and a few more video files 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 7c0561d2ec separate manage pages for bans, reports, settings and banners 5 years ago
fatchan 7868e1c5d3 use a queue with workers for generating static pages in background that arent immediately needed 5 years ago
fatchan 8c09b8bd58 add db index file and destructure to reduce repetitive imports 5 years ago
fatchan 7c57fca366 organise the helpers some 5 years ago
fatchan ebf0b603f5 public banner page for board and rebuilds when board banners updated in manage page 5 years ago
fatchan e1c0fd615c correct force op subject checking for threads 5 years ago
fatchan cfb53d3cc1 trim inputs and improve imput handling for inputs to prevent all whitespace 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 36a3755dca file upload mmiddleware only on valid routes, 10 banners at a time upload, and show how many _new_ banners uploaded 5 years ago
fatchan c38532aeae hash check for existing banners, fix gif banners, and ensure banner dir for board exists (gm cant create the path) 5 years ago
fatchan a913b8290b board specific banners folder 5 years ago
fatchan 476cf5c2a9 always thumbnail animated images to prevent large filesize by small dimension gifs not being thumbnailed 5 years ago
fatchan 996c616d7e better handling of banner uploads, failure cases and add checkecbanners to exempt arrays in paramconverter 5 years ago
fatchan 39f8ed78c8 remove EXIF from images, delete temp files on upload, correct thread pruning to on new thread post, not new reply 5 years ago
fatchan a818a25e91 generate and save html to disk. actions that would cause a page to change delete the html. on the next visit, nginx will try_files, else pass to the backend which will generate the page again. CURRENTLY DOES NOT SUPPORT POST ACTIONS e.g. deletes, spoiler, sticky, etc will not cause pages to be deleted for future rebuilding. thats coming in next commits. consider this the start of actual smart building strategy to prevent templating and db hits unnecessarily. where its possible to serve a plain html page, we will do so. 5 years ago
fatchan 139f937897 banners, captcha, image in separate folders and associated changes 5 years ago
fatchan 82bc97ea3f way to delete banners 5 years ago
fatchan 92f8e993d9 banner uploads. no listing or deleting yet. gotta sleep 5 years ago