752 Commits (4b732a2360af505d3488f38e9bb06aba814726fc)

Author SHA1 Message Date
fatchan b13d64a7cb random banner _actually_ from the selected board, that was pretty dumb 5 years ago
fatchan ebf0b603f5 public banner page for board and rebuilds when board banners updated in manage page 5 years ago
fatchan 6ae05b58ed action handler improvements, dont rebuild on reports, and onyl continue if some valid actions were selected e.g. not trying to sticky an already-sticky post. 5 years ago
fatchan bf88672766 delete html when toggling captcha so postform gets updated. currently build on load 5 years ago
fatchan f5d859c71e redirect to correct page on login or manage 5 years ago
fatchan d200c0792e add title property to sticky/sage/lock icons (for hover), separate extension in post file handler, update some deps 5 years ago
fatchan 0a0c715df4 fix builds for boards with more than 10 pages -- not a hardcoded maximum anymore + html removing, prune threads and rebuilding when number of max pages changes 5 years ago
fatchan 002ee2748a prevent error for webm/mp4 (typically video) files without any video stream. support for audio possible in future 5 years ago
fatchan e1c0fd615c correct force op subject checking for threads 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 1992adbb8f add options for spoilers, deleting and unlinking with post password and update footer/postform to match 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 455acc9298 early version of changing board settings -- no rebuilds/deletes yet for captcha toggling, etc 5 years ago
fatchan 50bbbbc7e8 remove broken tag from end of length truncated message previews, and only add truncation message where necessary 5 years ago
fatchan cfb53d3cc1 trim inputs and improve imput handling for inputs to prevent all whitespace 5 years ago
fatchan 4468455b0a separate captcha page so that it can be refreshed 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 68b9596a76 show hashtag in capcodes and dont use board name as part of id hash 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 09412d5e85 aggregate query with unwind/sample for random banner selection, and delete banners fixed for board specific path 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 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 f8a88d7a23 prevent dup[licate backlinks and add (OP) label to op quotes 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 a913b8290b board specific banners folder 5 years ago
fatchan 1a186b865c dont delete files since we hash them. keep for later 5 years ago
fatchan 263a937081 properly rebuild on bans, sagdes, locks, etc 5 years ago
fatchan d178c28540 allow .mov and fix video resolution -- filter streams to only video 5 years ago
fatchan c54c9e7892 multi board rebuilds and rebuilds work for global actions untested 5 years ago
fatchan c4633546e2 default banner fix for board without banners 5 years ago
fatchan 476cf5c2a9 always thumbnail animated images to prevent large filesize by small dimension gifs not being thumbnailed 5 years ago
fatchan a56b9b9fad fix building first page whenall posts/only first page posts deleted, and redirect user immediately after new post -- no need to wait for many pages to be rebuilt, improves perceived posting speed 5 years ago
fatchan 59f57da145 limit number of reports on a post 5 years ago
fatchan 826b623477 dont thumbnail images that are already small dimensions, and fix css for mismatched width/height thumbs 5 years ago
fatchan bf2c2c9fa1 fix global dismissing, and prevent spoilering already spoilered posts 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 5158893bbc move to an immediate build strategy to prevent issues with active pages rebuilding excessively on quick successive request 5 years ago
fatchan 77a0b6ecb9 changes to handing actions better 5 years ago
fatchan f800c7e205 refresh page that thread preview shown on when new sage post is made 5 years ago
fatchan fad5d04577 fix rebuilding for first page bumps and implement basic rebuilding for post actions 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 d956a7fd53 changes to pages for boards again 5 years ago
fatchan 17b6a0a47f add helper to render pug template to html file 5 years ago
fatchan 3e67a5df55 update some pages to not use csrf token where unnecessary 5 years ago
fatchan 24206860a2 move actionhandler since its for 2 routes to seperate file and reduces imports in form controller fixes #25 5 years ago
fatchan 706cbf2845 handle all post errors and delete files properly 5 years ago
fatchan 0e3c6ede2b improve new settings handling, more options, change manage page styling 5 years ago
fatchan 281dba8819 apply board settings limits in handlers and display on manage page, no form handling to edit them YET 5 years ago
fatchan d640962ba5 force anon handle subjects and sage checkbox in postform 5 years ago