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
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
92c504e59c
rename ip.single -> ip.cloak
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
c6bb7f1875
unfuck #374 guess i was tired
3 years ago
Thomas Lynch
15bb7116b2
bugfix ban reporter multiple with same ip
3 years ago
Thomas Lynch
1c5f14e419
This did not go as planned
4 years ago
some random guy
cd789dba0c
remove unnecessary user object from session
...
It only had a single property, username.
4 years ago
fatchan
b21189f762
Change the wording of that because it wouldnt be correct for ipv6
4 years ago
fatchan
7974f1d8c3
Fix global report ban filtering and include subnet in report bans
4 years ago
fatchan
cc16ceadb6
Fix post history, allow people with perms to use hash substring and show subnet in bans
4 years ago
fatchan
0307f69693
Start fixing my really dumb retard mistake of how ips and post histories work
4 years ago
fatchan
73203db312
start option for unhashed ips
5 years ago
fatchan
9ce66a303d
change config to js file so it an include comments
5 years ago
fatchan
4b4d3a0a7d
ban duration fix
5 years ago
fatchan
273998689e
configurable default ban duration, fix bugs in appeal being allowed and add fallback for ban reason on ban page to use both public ban reason and modlog message
5 years ago
fatchan
48e761be46
add ip range bans
5 years ago
fatchan
957cc087c8
add column in ban table to show if a ban has been viewed
5 years ago
fatchan
eaf39d3032
preserve multiple posts to show in ban, dont have multiple bans on same IP from a single action
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
Tom
96597d558d
Appeals ( #52 )
...
* add ban appeals
* unnecessary ocmment from c/p
5 years ago
fatchan
8c09b8bd58
add db index file and destructure to reduce repetitive imports
5 years ago
fatchan
4df62dcb09
refactor msTimes and use for ban times, scheduler and dates for posts/day
5 years ago
fatchan
9d83260d22
added custom ban duration for bans, no duration is perma references #2
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
2de229337b
'BANNED FOR THIS POST' message + styling improvements
5 years ago
fatchan
65989c85fc
sticky, lock, sage + changed action handling significantly to combine queries
5 years ago
fatchan
a4de693c24
changes how actions are handled, remove dupliacte checks, add a validator for actions to check if authed, global, require passwords,etc. reference #17 #18
5 years ago
fatchan
e80e9e4452
differentiate between report reason and ban reason, improve actions form, renamed some stuff
5 years ago
fatchan
ff4f6c4758
stop calling that a model
5 years ago
fatchan
335b38f9cc
unbanning, rename some routes and remove some unnecessary error catches
5 years ago
fatchan
529bc5e91d
option to preserve post in ban + show bans on manage page
5 years ago
fatchan
db963d4607
global and board IP bans, improved error handling, improved permissions checks
5 years ago
fatchan
e823cad14e
scuffed bans. todo: custom duration, expiry in DB, show banned post
5 years ago