Thomas Lynch
47ab8d22c0
Configurable hot threads max age, update migration, changelog, etc
2 years ago
Thomas Lynch
f4e746cef4
Limit num of results to hotThreadsLimit
2 years ago
Thomas Lynch
1957aba02f
ref #465 new "algorithm" to slightly bias, and allow threads for 30 days. TODO: make bias period adjustible, then its good to go.
2 years ago
Thomas Lynch
11631ee777
eslint fixes
2 years ago
Thomas Lynch
47083e149b
Fix the anonymizer bypass captcha permission issue (and fix the stupid pre-bypass and postsEarly in general)
2 years ago
Thomas Lynch
a58d486a92
Dont repeat actions for boards that are already locked(or +unlisted) and not being deleted
2 years ago
Thomas Lynch
05413d72c6
Ref #418 add the abandoned boards handling
...
Fix small bug with incorrect schema for the setting
Set both schedules to immediate: false
2 years ago
Thomas Lynch
3ab0a271c4
Inactive accounts handling schedule, globalsettings for it and migration.
...
Plus the same for abandoned boards handling, just still TODO the schedule.
ref #418
2 years ago
Thomas Lynch
e047782249
eslint lib, migrations, db, models, test, schedules and root dir
2 years ago
Thomas Lynch
3993b66116
Found and fix statsCountAnonymizer bug after linting
2 years ago
Thomas Lynch
93541903f2
fix Modlogs#deleteOld prunes propagating to other boards unintentionally (not deleting anything too new)
2 years ago
Thomas Lynch
32e0ca7d2b
remove debug, update comment
2 years ago
Thomas Lynch
24a8f5ae18
Fix bug in reporter banning, thanks to automated tests
2 years ago
Thomas Lynch
80a4247a66
adjustable hot threads limit and threshold
2 years ago
Thomas Lynch
cd254e7c40
cleanup and make hotposts more to my taste
2 years ago
Thomas Lynch
206dd3bc32
bans
...
property name fixes/change, category -> type, type -> range, now they reflect more what they actually are
bantable updated, bit cleaner mixin
bantables now more compact, will overflow (with scroll) and no text wrap
close #446
2 years ago
Thomas Lynch
62678c2b19
Bans can now be "upgraded" retroactively to expand single IP bans to qrange/hrange bans.
...
The ban table now has a column or whether a ban is of an IP or Bypass ID. (Or pruned IP, if you were dumb enough to ban one of those)
2 years ago
Thomas Lynch
bb582c2de8
"helpers" -> "lib
...
god help anybody who gets serious merge conflicts from this
close #434
2 years ago
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
e77aaffaa0
wrong isIP condition, should be for raw not single
3 years ago
Thomas Lynch
3a8f6b9e7e
- when updating a role, update the permissions for all the people with that role already
...
- dont allow making 2 roles the same permissions
3 years ago
Thomas Lynch
993924a5f2
Start making roles editable ref #377
...
permtemplates are now roles.
They are in the db and can be edited.
Still have to do a few things like the migration, gulpfile and some small details.
3 years ago
Thomas Lynch
159e67b430
ref #426 ip "cloaking"
...
still todo migration
"ips" will make more sense for staff now
qrange/hrange no longer need to be stored
bypass still work like before. will have .BP suffix, normal ips are .IP
filtering and stuff still works
bans page will now show .*'s in the cloaked view for range bans
in future version, this allows (even for those who cant see raw ips):
- modlog, bans, post hisory filters including per-range
- directly input ips/range cloak to ban, without selecting a post
- upgrading existing bans from single to ranges
3 years ago
Thomas Lynch
448660707a
ref #377
...
bugfixes related to board owning, adding/removing staff, transferring, deleting accounts with positions, etc.
better handling existing staff being transferred ownership
owner can't be deleted by other staff
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
7cd60288a4
ref #420 start ban duration editing
3 years ago
Thomas Lynch
60cc35b389
block bypass assistance for users with SzPD
3 years ago
Thomas Lynch
9e62be3404
reports api endpoint ref #366
3 years ago
Thomas Lynch
dd6c63625f
upgrade to mongodb v4 driver compatibility, not many changes needed woohoo
3 years ago
Thomas Lynch
a93e42d90c
assets as last thing for manage assets page in boards
3 years ago
Thomas Lynch
52c189a153
allow board custom pages to be edited, like newspost editing
...
because rewriting the whole page can be annoying and you couldnt access the text without styling
also can change .html name, maybe that will get removed but it works atm.
still needs more tweaks and proper testing
3 years ago
Thomas Lynch
1785b70d68
check deletedCount when removing custompage and show error when deleting invalid named pages, rather than doing an extra db call to check if they exist
3 years ago
Thomas Lynch
20f38a77a5
board search now matches a bit better using prefix
...
already had escapeRegExp() helper in the codebase which i needed, lol thanks past me
3 years ago
Thomas Lynch
7033b13e5d
Make webring use ppd stat
3 years ago
Thomas Lynch
6dbd4d7d7d
close #351
3 years ago
Thomas Lynch
61fa32c30c
add another webring stat
4 years ago
Thomas Lynch
5b182d32d7
fix some bugs associated with empty webring data initially
4 years ago
Thomas Lynch
031bc67a88
sort the site names alphabetically
4 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
042445d28c
it works, with some kinks still to get through
4 years ago
Thomas Lynch
5cce251d9b
make the controllers and models exist and do something
4 years ago
Thomas Lynch
d04f61e356
make migrateversion separate again close #341 so i can increment version more now
4 years ago
Thomas Lynch
02be7cbc5a
reference #340
4 years ago
Thomas Lynch
035d945b98
fix live posts not including mongo objectid
4 years ago
Thomas Lynch
a34340ea00
move the settings to mongo instead of redis (like it should have been in the first place tbh)
...
i *think* the migration from previous version will work.
made the version to 0.1.0 because im sick of 0.0.10000 and this is kinda a big change.
close #334
4 years ago
Thomas Lynch
f1eabe64fc
change what we use for version, and add it properly to the locals for custompages
4 years ago
Thomas Lynch
ab8eddbcff
buggfixes
4 years ago
Thomas Lynch
1c5f14e419
This did not go as planned
4 years ago
Thomas Lynch
de75523ddc
start making the config able to reload, for now just clearing require.cache
...
also made some of the app.locals load from getconfig, not added to callbacks in redis yet
4 years ago