Thomas Lynch
277745a5ca
Fix the completely fucked up "my permission", the board equivalent, and staff permissions page since a recent permission update. Upside is it now considers the "parent" thing, which is nice.
2 years ago
Thomas Lynch
5a7368a0a4
Add a new property to permissions metadata and reflect on frontend inability for users without that "parent" permission to edit roles/accounts to have some permissions e.g. root, edit roles, edit accs
...
Put the metadata into permissions.js (also TODO: key the metadata by bits instead? i.e [Permisions.whatever]: {})
2 years ago
Thomas Lynch
b391c0cb66
Make post editing a GET endpoint with perm check like editstaff/editcustompages, much more sensible
2 years ago
Thomas Lynch
4022999966
Remove or update some no longer relevant todos.
...
re: the captcha one, roundrobin = too fast expiring, sampling expireAfter $gte some time = possible to not get returned a captcha. so stucking with random. been working fine.
2 years ago
Thomas Lynch
e047782249
eslint lib, migrations, db, models, test, schedules and root dir
2 years ago
Thomas Lynch
e2c68723b5
add back !dontStoreRawIps to manage pages, because the raw rooms dont get broadcasted to if raw ips are fully disabled, so joining them (Even for staff with raw ip perm) will not show any posts
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
0a8c8e3ed5
remove nonsense inconsistent check for recents pages only, pruning should be used in this case instead
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
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
9e62be3404
reports api endpoint ref #366
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
cc7919bac2
banners->assets
4 years ago
Thomas Lynch
c4c2a1543d
start on adding custom banners
...
models and controllers arent done, things wont work yet.
added a migration and updated the template.js with some new needed values,
changed "banners" in manage to "assets" since it will hold both now
refactor the banners file form into a mixin since its basically repeated for flags,
and make it a tad more customisable
4 years ago
Thomas Lynch
6f64448b33
works for board recent and global recent, fixed lastPostId issue and IP display issue
...
just neds a second pair of eyes to check its not leaking IPs anywhere
4 years ago
Thomas Lynch
44f69b8ba5
start per-board custom pages, mostly working could just use a lil more testing references #232
4 years ago
Thomas Lynch
c19db93b83
little indent cleanup
4 years ago
Thomas Lynch
8935ca5c28
Customisable header for IP and country code, and improve how country names are handled
4 years ago
fatchan
9cbf198772
let postid ip history work properly again, too
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
4b18607250
moderation from catalog and add mod catalog
4 years ago
fatchan
a0e0d9f12b
more logic and projections ips for manage pages and style fixes
5 years ago
fatchan
4037d3b458
bugfix and validation improvements in manage page for recent per-board post histroy
5 years ago
fatchan
ce1fcf1386
security improvements and closer to per baord mod tool improvements
5 years ago
fatchan
e6d7785793
migration move files from /img to /file since it can contain more than just images
5 years ago
fatchan
5c7924f6b7
beta ver of per board logs with uncensored usernames for board staff
5 years ago
fatchan
a9d08b1c28
early ver of per-board recents and changed iphash code
5 years ago
fatchan
73203db312
start option for unhashed ips
5 years ago
fatchan
529e6bfacc
early modview, somewhat scuffed
5 years ago
fatchan
bf5359e9e4
some small private cache and max age for more dynamic pages
5 years ago
fatchan
ac0cb93b06
remove themes from footer, prep for settings UI, add code theme to board settings
5 years ago
fatchan
549313c49a
split global management pages into separate each page
5 years ago
fatchan
7c0561d2ec
separate manage pages for bans, reports, settings and banners
5 years ago