Thomas Lynch
92c504e59c
rename ip.single -> ip.cloak
3 years ago
Thomas Lynch
8b4a793d5a
initial roles data to gulpfile, and migration
3 years ago
Thomas Lynch
00da66f95e
dont destructure roles, access it normally so load() callback will update them properly
...
and rename agian, why do i suck at naming stuff lol
3 years ago
Thomas Lynch
28b441a26a
bugfix, typo/missing import
3 years ago
Thomas Lynch
10cb2bdd77
no need to destructure that
3 years ago
Thomas Lynch
e511c67efa
Make roles update on edits and fix map imports, so the role names show correctly after edt
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
17c9d098a5
not make the length different for ipv4/6 cloaks
3 years ago
Thomas Lynch
78f56b4be0
various bugfixes ref #377
3 years ago
Thomas Lynch
0fe3983d5f
apply template to user accounts ref #377
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
8bd41eabd0
ref #377 "template names", else "Custom" in accounts/staff table
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
ecab3b4131
Option to hide .post-data of posts marked as "deleted"
...
make it a global setting, add to the settings modal, make it export/import properly, etc
bugfix includeChildren for settings diff, because some gulp tasks were not being run when needed
3 years ago
Thomas Lynch
3b5eb29b02
switch to updated scoped express-fileupload
3 years ago
Thomas Lynch
60cc35b389
block bypass assistance for users with SzPD
3 years ago
Thomas Lynch
4f5e996cc6
actually, i think this is all it needs close #421
3 years ago
Thomas Lynch
38eb1a9676
actually, that should be it... close #421
3 years ago
Thomas Lynch
7642fd1dfb
close #419
3 years ago
Thomas Lynch
8aecabc905
make global setting for languages only apply to auto-detection, as intended
3 years ago
Thomas Lynch
31821fdc50
imghash doesnt support video it seems
3 years ago
Thomas Lynch
5768591742
imghash doesnt support video it seems
3 years ago
Thomas Lynch
61de85937a
try with a newer commit of express-fileupload tweaked to not allow missing file extensions
...
and remove some path.extname() stuff since that wouldnt be necessary anymore
checkRealMimeTypes can overwrite with correct one if enabled
3 years ago
Thomas Lynch
bbd06b31af
damn spaniards
3 years ago
Thomas Lynch
825c5e7d61
dont use useless wrapped dep, just use imghash on its own
3 years ago
l29utp0
079f3d2437
typo, that will be $1000
3 years ago
Thomas Lynch
d742486c06
nvm dont want to fuck my ass with EJS modules
3 years ago
Thomas Lynch
024a47a286
update board settings to do some stuff similar to global
...
make global use the *correct* mapped tasks
refactor the helpers
remove some debug statements
close #329
3 years ago
Thomas Lynch
b08ab78c03
npm 8 package-lock, update some package versions, change some require()s to import()s, some package breaking changes might need reviewing
3 years ago
Thomas Lynch
a867a6a310
Start on making global settings changes less lazy reference #329
3 years ago
Thomas Lynch
d0f3b5e73b
slight fix markdown behaviour; trim leading empty lines leaving leading whitespace on first non-empty line
3 years ago
Thomas Lynch
fb6c0fa52f
custom links for archive/reverse, close #373
3 years ago
some random guy
7df2b8c12e
processip: fix `Ip parse failed Error: cannot print non-v4 address as a v4-mapped address` errors with ipv6 mapped ipv4 addresses
3 years ago
Thomas Lynch
984d9428f5
make accessible the fuzzy hashes to filter ref #371
3 years ago
Thomas Lynch
70a45a9380
ref #324
3 years ago
Thomas Lynch
0306ef8bbe
useless name constraint ref #324
3 years ago
Thomas Lynch
d867129559
this is all I wil do close #324
3 years ago
Thomas Lynch
b11d801908
reduce regex steps
3 years ago
Thomas Lynch
6c7e850379
mongo driver change ops no longer available. we only used as boolean nayways so just set to true
3 years ago
Thomas Lynch
b17a83244b
tiny comment fix
3 years ago
Thomas Lynch
6dd7a5c4bc
procesisp make ranges use CIDR notation, so its easier to understand and uses more sensible ranges for ipv6
...
todo: rename every "hrange" and "qrange" with nrabge and brange? narrow/broad? would need to migrate a bunch of existing db shit for bans, posts, etc probably a pain in my ass
and remove a leftover console.log
3 years ago
Thomas Lynch
ca43e94baf
why deal with wikipedia links when you can just add a space 4Head, not like this worked properly to begin with
3 years ago
Thomas Lynch
a93e42d90c
assets as last thing for manage assets page in boards
3 years ago
Thomas Lynch
311a2d7a69
markdown, add fortune as sort of an example for somebody admin only in migration permlevel
3 years ago
Thomas Lynch
070d693969
try link labelling change for on site things, allow / start
3 years ago
Thomas Lynch
06f5a26ce9
allow longer language name in markdown, longest is 14 according to the lib
...
require('highlight.js').listLanguages().map(x => x.length).sort((a, b) => b-a)
> [ 14,...
3 years ago
Thomas Lynch
f606cd186a
change permission setting from number to dropdown with names, thanks some_random_guy
...
and some related css tweak and faq page update
3 years ago
Thomas Lynch
08c83ac4b9
update deprecated highlight.js highlight(), was getting deprecation message.
...
method now has new signature taking options object
3 years ago
Thomas Lynch
a5d1c942b2
fix issue in lowering min/max settings conflict in some situations
...
update settings forms to not allow negatives for some inputs
3 years ago
Thomas Lynch
89a60f1424
move images used for themes to folder, same as code themes from highlight.js
...
update theme list to filter, like code theme list
add some themes linked from "reinchan", with some minor tweaks
update gulpfile
3 years ago