Thomas Lynch
644c83ac47
v0.3.4
3 years ago
Thomas Lynch
f457667a1c
Merge branch 'fix-board-settings' into 'master'
...
Fix board settings save with empty custom css
See merge request fatchan/jschan!243
3 years ago
some random guy
b5caeee7fc
Fix board settings save with empty custom css
...
`empty_string && something` is empty string, which fails the `=== false` check
in checkSchema.
3 years ago
Thomas Lynch
da620b22a2
update nginx snippet
3 years ago
Thomas Lynch
c79caf2e17
make deleteaccounts form (staff multiple accounts form) also delete sessions for all accounts deleted
3 years ago
Thomas Lynch
b886434c3d
implement deleting sessions
3 years ago
Thomas Lynch
d1901550d2
clear active sessions also on change password
3 years ago
Thomas Lynch
3038e6c279
fix "end" emitting before last "data" resulting in missing a few keys occasionally (races)
3 years ago
Thomas Lynch
6ecb519f77
delete all sessions for user on account delete
3 years ago
Thomas Lynch
43506f1479
remove unnecessary csrf middleware from mypermissions pages (they dont call req.csrfToken(), there arent any forms on the pages)
3 years ago
Thomas Lynch
5bdc214716
add csrftoken to sessions page model
3 years ago
Thomas Lynch
f2b4ec2dd2
ability to show your login sessions, ref #353
3 years ago
Thomas Lynch
ef0ef8b606
update changelog
3 years ago
Thomas Lynch
475c0df8fc
Merge branch 'permissions-update' into develop
3 years ago
Thomas Lynch
6d01d90753
Merge branch 'ip-cloaking' into develop
3 years ago
Thomas Lynch
ca404ccbec
missing import
3 years ago
Thomas Lynch
06ba5608dd
ref #429 , fix and improvement, less junk in forms.js when adding stuff like that in future
3 years ago
Thomas Lynch
4745da7782
Merge branch 'develop' of ssh.gitgud.io:fatchan/jschan into develop
3 years ago
Thomas Lynch
ea3e20e3ec
custom flag saving close #429
3 years ago
Thomas Lynch
4cb42bc560
gulpfile fix
3 years ago
Thomas Lynch
a351b73dc7
Merge branch 'master' into develop
3 years ago
Thomas Lynch
7141f4b196
v0.3.3
3 years ago
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