Thomas Lynch
e4d6ae59ad
bit simpler deleting of quotes in deletepost.js, simple string repacement instead of remarking the whole post.
...
and refactor the deleting to return the bulkwrites
partly related to #215 , moveposts/editposts it makes sense to remarkup because in those case we can even be adding quotes.
2 years ago
Thomas Lynch
7805054635
modal shows bans, and are appealable from the modal
...
bugfix already appealed bans showing as "appealable"
minor ban form/ban mixin tweaks
no more sketchy way of "clearing" the form and resubmitting to show bans page. nice!
2 years ago
Thomas Lynch
2391e3293c
bugfix, probably from #434
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
cf3cecbcf9
bugfix cyclic limit being only correct every n%2 post
2 years ago
Thomas Lynch
4829bc6546
emptyDir() instead of remove() because remove runs into ENOTEMPTY under synthetic load of high post rates, probably because new threads get written to the folder at the same time. no ide a why emptyDir doesnt hav ethis problem..
2 years ago
Thomas Lynch
f41a84c944
bugfix when null tags
2 years ago
Thomas Lynch
76eb87bf43
minor tweak to getting thread page, and make it null because its not necessarily always 1 for new threads (wont be used when !data.thread anyway)
2 years ago
Thomas Lynch
6a4fd84a90
bugfix page rebuild in editpost model
2 years ago
Thomas Lynch
440298a44d
testing maybe slower/dumber but also maybe more *correct* rebuilding of pages after actions
2 years ago
Thomas Lynch
7cee1f14da
fix regression with moveposts and deleteposts when running markdown again for quotes
...
small change to diceroll, just use bind, no need to return the function like that
2 years ago
Thomas Lynch
74f8e1d0f0
add board toggle
...
add globla setting of board defaults and frontend script defaults
add default tegaki size in settings
make tegaki follow theme
add migration
fixup some junk and change icons as best i can in tegaki.css, avoiding fontawesome
2 years ago
l29utp0
c6c312ff0e
fix internal server error on editing post
2 years ago
Thomas Lynch
6798cb843e
bugfixes and improvements to captcha options
...
improve gulp task for proper captchafield grid size
make globalsettings run tasks check for any captchaOptions change, not just type
bugfix grid image size wrong body name
3 years ago
Thomas Lynch
9ba0caa184
change "Edited" or "Deleted" text to just Deleted, because that form no longer allows editing, that is done in /editaccount
3 years ago
Thomas Lynch
ce85a69ade
missing import
3 years ago
Thomas Lynch
000037e49c
bugfix not using template string in call to deletePattern
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
6ecb519f77
delete all sessions for user on account delete
3 years ago
Thomas Lynch
92c504e59c
rename ip.single -> ip.cloak
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
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
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
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
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
4eb4cb1737
minor bugfix, moveposts error
3 years ago
Thomas Lynch
cc091a2d4d
also delete webringsites name cache when disabled
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
7cd60288a4
ref #420 start ban duration editing
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
60cc35b389
block bypass assistance for users with SzPD
3 years ago
Thomas Lynch
11609b37b8
ref #376
...
move mark text to bottom
make a bit more generic
add support for moves as well
opacity .75 on the post contents for a bit more affordance
3 years ago
Thomas Lynch
de9b82ebad
close #419
3 years ago
Thomas Lynch
1ed4ec5359
ref #376
...
actually send emits
delete buttons & postform
mark replies when op deleted
disconnect socket if connected
3 years ago
Thomas Lynch
7642fd1dfb
close #419
3 years ago
Thomas Lynch
888d134b5f
ref #376
3 years ago
Thomas Lynch
a2cd964946
add the migration for new default localstorage, make it true for threadwatcher
3 years ago
Thomas Lynch
54212907fa
small bugfix, post.u being undefined in socket emits projected post
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
f85576bddc
more slight unfucking of this awful system
3 years ago
Thomas Lynch
bbd06b31af
damn spaniards
3 years ago
Thomas Lynch
67c486386e
add custompages task after any deletehtml task or custompages wont be recreated
3 years ago
Thomas Lynch
2d42ce972a
Make sure to include delete protection board defaults in globalsettings ref #365
3 years ago
Thomas Lynch
7e520be659
Bugfix, tweak and that a bit and make it work close #365
3 years ago