fatchan
8b12a7d833
start on fixing issues with anti-necrobump when deleting posts that are SAGE or in a bumplocked thread, and correcting last activity dates for boards/webring for sage posts
5 years ago
fatchan
73203db312
start option for unhashed ips
5 years ago
fatchan
3803fb16e9
remove shitty webring optimisation, not needed
5 years ago
fatchan
7eef25f75d
configurable number of shown replies for thread or sticky #2
5 years ago
fatchan
590ca46b87
limit, page, ip select global reports or reportee
5 years ago
fatchan
5784b4925f
bugfixes
5 years ago
fatchan
7fec1719b5
global recent posts filter by ip #55 might add to per-board pages
5 years ago
fatchan
9ce66a303d
change config to js file so it an include comments
5 years ago
fatchan
15847293c0
start mod page improvements with pagination in some places references #55
5 years ago
fatchan
6c5eaaec02
clean up indent
5 years ago
Tom
ccb613b106
no more shadow bumps ( #53 )
...
* consolidate so only a single aggregate is needed with better grouping in deleting posts to fix reply counts and bump dates are also not fixed on posts deleting
* changes to account for empty threads and bulkwrite results
* some changes, but date changing rebuilds could build redundant pages, so gona ditch this for now
* make thread bounds expand for when deletes that change date happen so shadow bumps dont occur and correct pages get rebuilt
* add board to empty aggreagte for resetting reply counts to use to prevent shadow bumps
5 years ago
fatchan
89d1c7aa16
dont build webring redundantly and set flag when new post or change setting on unlisted board, or new board created or existing listed board deleted
5 years ago
fatchan
ac0cb93b06
remove themes from footer, prep for settings UI, add code theme to board settings
5 years ago
fatchan
2407630177
add simple config to unique quote limit for posts
5 years ago
fatchan
6f8805a0b7
dates for last bump
5 years ago
fatchan
a719704db3
respect sage when updating last post timestamp i nwebring
5 years ago
fatchan
e7e30e57e9
fix last post timestamp for boards when deleting posts/needsaggregate is true to reset it to the latest post
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
08e93bdd2a
fix user counting for new ip object and convert auth level and accounts list to array and number correctly in edit accounts model
5 years ago
fatchan
22565435ac
fix for locals on faster thread checking
5 years ago
fatchan
82a1842643
thread moving update markup, sets aggregate and keeps correct reply/file counts and doesnt clash with adding sticky, etc since if threads are moved they have those flags removed
5 years ago
fatchan
fabab059de
early post moving, next up refactor to move re-markup for styling logic and backlinks out from deletepost into general case to use when moving posts that have quotes in them
5 years ago
fatchan
76e2fee22e
change globalmanage pages and add a recent posts view for all boards
5 years ago
fatchan
d9559c76e6
fix exploit; no longer use extended body parser mode and remove unneeded array prefix from array body fields, since we use different lib to parse body now. also upgrade express and dont allow body for modlog actions to be entered into modlog, replace with non user controlled text
5 years ago
fatchan
14cd1c34d0
more ugly changes to how stats and homepage updates work
5 years ago
fatchan
9f0d8867ca
change how stats work because im stupid and they were basically capped at threadlimit*replylimit per board because of using the posts collection. as posts are pruned, they would not be counted in stats even if part of calculations
5 years ago
fatchan
f2e105dddc
pluralise in views and change omittefimages > omittedfiles
5 years ago
fatchan
47bcd3b8f0
math error in earl404 and minor style changes
5 years ago
fatchan
6dd5eceb73
total posts+ active total users + refactor = parallel with promise.all for some stuff
5 years ago
fatchan
b10b7135dd
add early404 to board settings incase somebody wants it off
5 years ago
fatchan
70b38d96e7
ability to delete own board for BO/global/admin
5 years ago
fatchan
5a6e7cbf94
improved captcha trigger behaviour and optional modes
5 years ago
fatchan
69b37e2a35
preview backlink corrections for 0 links and incorrect indexOf for all 5
5 years ago
fatchan
45bf32bef7
correct omitted reply count
5 years ago
fatchan
4a8a54828d
limit and show omitted replies on index page when backlinks link to post not shown in preview
5 years ago
fatchan
aeb71caae6
ealy404 added to pruneoldthreads
5 years ago
fatchan
4bf56fdc3b
cyclical threads, fix trying empty bulkwrite in deleteposts, fix missing thumbs in catalog tiles
5 years ago
fatchan
dc3005a3db
NOW I REMEMBER why i didnt do that before: make backlinks delete properly based on quotes from database.
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
0b817b9c68
unify post deletion including removing old html, and add backlinks in the databse. will allow for more easily re-marking up posts in future and unlinking dead quotes from deleted posts or in cyclical threads
5 years ago
fatchan
504090655c
return the empty array instead of a new one
5 years ago
fatchan
1a186b865c
dont delete files since we hash them. keep for later
5 years ago
fatchan
d6727978f0
order by postId not by _id to prevent issues with out of order inserts at high load
5 years ago
fatchan
27afcafa47
showomitted count correctly for threads on baord pages
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
71974130e4
catalog sorted now and tiles include sticky/lock/permasage icons
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
281dba8819
apply board settings limits in handlers and display on manage page, no form handling to edit them YET
5 years ago