Thomas Lynch
18f149180f
add migration, fix gulpfile index, update migrateversion and changelog
3 years ago
Thomas Lynch
92c504e59c
rename ip.single -> ip.cloak
3 years ago
Thomas Lynch
363b87a498
make pruned ips not a long clusterfuck, and put .PRUNED on the end so staff know
3 years ago
Thomas Lynch
e77aaffaa0
wrong isIP condition, should be for raw not single
3 years ago
Thomas Lynch
132f40bac6
nginx snippet updates
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
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
2386e20f49
minor bugfix to expanding images with loading bars enabled
...
even though the image is a blob, when we set the src={blob}, it doesnt load immediately
thus, the offsetWidth is 0 and when expanding, the filename width is wrong (only on the first time expanding, since subsequent times, the blob has "loaded" already and now has an offsetWidth -- it is almost instant).
this adds and onload to wait for the image to "load", and thus has the correct width even on the first time when expanding
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
9c629226cb
ref #377 refactor, "my permissions" now a mixin
3 years ago
Thomas Lynch
8bd41eabd0
ref #377 "template names", else "Custom" in accounts/staff table
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
614bd6af6e
Merge branch 'develop' into 'master'
...
v0.3.2
See merge request fatchan/jschan!239
3 years ago
Thomas Lynch
0b01673e06
update CHANGELOG and version in package*.json
3 years ago
Thomas Lynch
4eb4cb1737
minor bugfix, moveposts error
3 years ago
Thomas Lynch
082feeea76
Merge branch 'develop' into 'master'
...
0.3.1 webring patches
See merge request fatchan/jschan!238
3 years ago
Thomas Lynch
db66237a9a
update CHANGELOG
3 years ago
Thomas Lynch
ef40721ec1
set a (still generous) 20s timeout instead of whatever insane node-fetch default is, seems like 60s or 120s
...
small bugfix to visit counts
3 years ago
Thomas Lynch
cc091a2d4d
also delete webringsites name cache when disabled
3 years ago
Thomas Lynch
3989c682d1
update version number in package*.json
3 years ago
Thomas Lynch
8f5283426e
update CHANGELOG
3 years ago
Thomas Lynch
1813e8bda2
bugfix, typo
3 years ago
Thomas Lynch
4cc8f3957b
remove generated webring.json on disk when disabling
...
and actually use the promises array
3 years ago
Thomas Lynch
be2f65c0b9
when webring not enabled, remove unnecessary call to Boards.webringSites() since the only site name will be the local meta.siteName
3 years ago
Thomas Lynch
a6ddaf3254
make webring blacklists apply to endpoints after fetching too, to handle duplicate domains (mirrors, onion, etc)
3 years ago
Thomas Lynch
9690cc5537
Merge branch 'new-dev' into 'master'
...
v0.3.0
Closes #420
See merge request fatchan/jschan!237
3 years ago
Thomas Lynch
4d80941fda
0.3.0 chores
...
reverse changelog so most recent is at the top
update package.json and package-lock.json
change irc channel
3 years ago
Thomas Lynch
c06684ee83
update package-lock
3 years ago
Thomas Lynch
fe27d0de13
close #420
...
adjust ban duration edit minimum, so dates (or invalid input) returned as 0 are not allowed
change error message for ban_duration
3 years ago
Thomas Lynch
c7fcc2c8b4
Merge branch 'new-dev' into 'new-dev'
...
fix bottom reply when thread reaches reply limit
See merge request fatchan/jschan!236
3 years ago
l29utp0
89054de829
fix bottom reply when thread reaches reply limit
3 years ago
Thomas Lynch
7cd60288a4
ref #420 start ban duration editing
3 years ago
Thomas Lynch
01db7ee7a2
Merge branch 'new-dev'
3 years ago
Thomas Lynch
0de18f893e
Merge branch 'new-dev' of ssh.gitgud.io:fatchan/jschan into new-dev
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
a330ed7773
just nginx indentation, noticed while merging something
3 years ago
Thomas Lynch
3b5eb29b02
switch to updated scoped express-fileupload
3 years ago
Thomas Lynch
d8956ad8bc
Merge branch 'new-dev' of ssh.gitgud.io:fatchan/jschan into new-dev
3 years ago
Thomas Lynch
c052bcfb03
update CHANGELOG
...
npm audit
3 years ago
Thomas Lynch
40e3eea934
Merge branch 'new-dev' of ssh.gitgud.io:fatchan/jschan into new-dev
3 years ago
Thomas Lynch
ddc816e35c
cleanup
3 years ago