Thomas Lynch
440298a44d
testing maybe slower/dumber but also maybe more *correct* rebuilding of pages after actions
2 years ago
Thomas Lynch
92c504e59c
rename ip.single -> ip.cloak
3 years ago
Thomas Lynch
d1f9c78258
ref #377 , the fun begins
...
still a few things to do, see TODO (heh)
mostly working how i imagined, with a few quirks.
pretty happy with it.
3 years ago
Thomas Lynch
7e520be659
Bugfix, tweak and that a bit and make it work close #365
3 years ago
Thomas Lynch
20db8154e7
Stert on setting for BO to prevent deleting old threads or ones with a lot of replies, ref #365
3 years ago
Thomas Lynch
8892f64bad
merge webring db,
...
improve board list sorting and filters
improvelayout of public and global manage board list forms
and add extra homepage stat
4 years ago
Thomas Lynch
1c5f14e419
This did not go as planned
4 years ago
Thomas Lynch
b5580edd9e
Allow sticky to be input as a number, 0 is disabled, higher numbers are a priority and threads will be sorted in descending order reference #289
4 years ago
Thomas Lynch
768b5cb465
Try and prevent anti shadow bump from backfiring on bumplocked threads
...
They were getting reset to their latest reply date, when a bumplocked thread should never have its
bump date reset to earlier than whatever the latest reply was when it was bumplocked, or the OP date
if all replies are deleted.
Still not accounting for bump limited thread (a uncommon edge case), and i think the simplest way to deal with that would
be set bumplocked:1 when its exceeded the board settings bump limit. More efficient, less work for me, and actually
serves a useful purpose because long threads could tell when they are bumplocked from going past bump limit.
The only decision then would be whether to set it permanently from that point forward, or only set it once,
so they could be unlocked by moderators if they want which would be an added side effect/feature of being able
to selectively unlock them.
wtf is this commit message, and the code for this section is a cluster fuck lmao
4 years ago
some random guy
cd789dba0c
remove unnecessary user object from session
...
It only had a single property, username.
4 years ago
Thomas Lynch
1f7e670c7c
modlog records for non-delete actions now link to posts closes #193
4 years ago
Thomas Lynch
97ed9a91f0
seemsgood, closes #194
4 years ago
fatchan
0307f69693
Start fixing my really dumb retard mistake of how ips and post histories work
4 years ago
fatchan
b5b5c8bdf2
invert show/hide name option for modlog and edit
4 years ago
fatchan
846bc63706
bump limit
4 years ago
fatchan
02e4c983d0
raise max selected posts for actions by staff
4 years ago
fatchan
84a3b73a7d
improve redirects and handle referer better when doing mod actions
4 years ago
fatchan
a0d0394e62
dynamicresponse everything
5 years ago
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
b4cfbe572d
ip to log, filter ip on global logs
5 years ago
fatchan
198c76ea8a
change password -> postpassword so browsers stop suggesting login password, add it to modal and make it random generate and save based on user input for JS users
5 years ago
fatchan
22e3c0880c
delete ip in thread(s) option #2
5 years ago
fatchan
e5284fe734
fixes and improvements to global deletes, so that affected boards that were not in the original fetched posts get rebuilt after the deleteS
5 years ago
fatchan
9ce66a303d
change config to js file so it an include comments
5 years ago
fatchan
75596eaa96
names of staff hidden by default with checkbxo to optionalyl show name
5 years ago
fatchan
2bd241c6ab
try use referrer after actions to go back to correct page
5 years ago
fatchan
a8a1aacca0
make sure when deleting threads are not empty
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
e7e30e57e9
fix last post timestamp for boards when deleting posts/needsaggregate is true to reset it to the latest post
5 years ago
fatchan
48af8e8b90
bugfixes
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
48e761be46
add ip range bans
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
c8acbaae04
more scuffed stats changes:
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
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
549313c49a
split global management pages into separate each page
5 years ago
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 )
...
* public mod logs, per day and list of log days
* action handler variable names and logic changes, also dont duplicate modloglist code
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