33 Commits (54c1c4ac24c2c1370f360863a7affaa053a0e932)

Author SHA1 Message Date
fatchan 143ea5a0a0 start of json api read only for boards, threads, catalog, 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 3b59af8987 theme change 5 years ago
fatchan 71410ca48d add ability to ban reporters e.g. for spamming reports 5 years ago
fatchan 7ca255346a additional log message to modlog events 5 years ago
fatchan f1707bc5a7 action handler improvement. also fixed board-specific IP deleted not working for global staff 5 years ago
Tom f0ca405236
Add modlogs (#48) 5 years ago
fatchan 8c09b8bd58 add db index file and destructure to reduce repetitive imports 5 years ago
fatchan 4787c0c1d8 references #2 more options for reply vs thread post settings on manage pages 5 years ago
fatchan e7b4a60e95 proper permissions system ready for board creation and assigning staff, and post password hashing 5 years ago
fatchan 38b8c1f7e2 constant time compare for post passwords, wont reveal if passwords exist or their length 5 years ago
fatchan 5595dd7024 make sticky, sage, lock, cyclic a toggle so they can be reversed or toggled independently in batches 5 years ago
fatchan 54a13dc945 ip hash and fix inaccessible ip in report/globalreport for actionhandler 5 years ago
fatchan 86610f66c3 post deletion for partial selections patch for delete post iont 5 years ago
fatchan 9997a8d538 make delete_file work alongside delete_post and bans 5 years ago
fatchan 2f829121ba dont add a property to an array thats probably a bad idea, make it an object with a set of threads and property for if any were directly selected 5 years ago
fatchan e59af4d34f add cyclic to actionhandler under same method as sage/lock since it wont change order 5 years ago
fatchan 13ed2b2b91 improve actionhandler. not correctly handles case of page numbers decreasing on a delete action, removing further pages html correctly 5 years ago
fatchan cb2fe7c3b5 fix cyclical issue by not taking the model into the posts db, and correct params for deletepost 5 years ago
fatchan 7c57fca366 organise the helpers some 5 years ago
fatchan 9d83260d22 added custom ban duration for bans, no duration is perma references #2 5 years ago
fatchan 6ea3f29d17 bans _are_ building actions since the ban message is set on a post, and reduce unnecessary catalog rebuilds on spoilering or bans of non-OP post 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 50bbbbc7e8 remove broken tag from end of length truncated message previews, and only add truncation message where necessary 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 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 c54c9e7892 multi board rebuilds and rebuilds work for global actions untested 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 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 24206860a2 move actionhandler since its for 2 routes to seperate file and reduces imports in form controller fixes #25 5 years ago