Thomas Lynch
5e15e5cdd5
csrf token only fetch, for API and will be added to jschan-docs
3 years ago
Thomas Lynch
de9b82ebad
close #419
3 years ago
Thomas Lynch
5f5cc36532
typo
3 years ago
Thomas Lynch
2d42ce972a
Make sure to include delete protection board defaults in globalsettings ref #365
3 years ago
Thomas Lynch
20db8154e7
Stert on setting for BO to prevent deleting old threads or ones with a lot of replies, ref #365
3 years ago
Thomas Lynch
fb6c0fa52f
custom links for archive/reverse, close #373
3 years ago
Thomas Lynch
9e62be3404
reports api endpoint ref #366
3 years ago
Thomas Lynch
96df08ddb7
spammer bugfix report selections
3 years ago
Thomas Lynch
ed75519a7b
serve overboard(catalog) as json
3 years ago
Thomas Lynch
65097c40aa
custompage editing to same name and error format bugfix
3 years ago
Thomas Lynch
fcad176416
add check for no selected ban/appeal by spammer
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
9edbac671a
fix regex accepting possible incorrect names, also make case insensitive
3 years ago
Thomas Lynch
e15044c7d9
indent fix
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
d959450865
add ip check to form
3 years ago
Thomas Lynch
78def145d1
correct edit accounts, dont give invalid perm level when perm level not sent
...
wont go through if not either auth level or delete is set anyway
should bother renaming auth_level to something else if its abstracted away from users? and anywhere else?
3 years ago
Thomas Lynch
5adecf8195
board transfer username broken
3 years ago
some random guy
705c430412
board transfer fix
3 years ago
Thomas Lynch
e1387df959
close #357 make limits stupidly high because some totally new person asked nicely
3 years ago
Thomas Lynch
82bee8ebef
close #358
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
325fe0caac
fix some issues with edit for checking
3 years ago
Thomas Lynch
c6978788f3
fix some incorrect behaviour and messages in makepost
3 years ago
Thomas Lynch
50fa768ee9
form and paramconverter fixes
...
change a bunch of length and number body because of trimming and using existsBody is the 0 checko
3 years ago
Thomas Lynch
96c3bb0eee
re-use field length again, may need to revisit issue from controllers/forms/appeal.js comment
3 years ago
Thomas Lynch
5e4c1b197f
fixes to paramconverter, null 0 length trimmed fields, tweak custompage error
3 years ago
Thomas Lynch
278ff0e465
typo
3 years ago
Thomas Lynch
2247bd88b9
in some case use "between x-y characters", instead of "or less". will probably change other forms as i go
3 years ago
Thomas Lynch
ac2bf6d157
ref #356 boardsettings, makepost
3 years ago
Thomas Lynch
cc1f0ed2e1
ref #356 actions, globalactions, perms change to create and register, tweak editaccounts
3 years ago
Thomas Lynch
bb7d9a99a3
properly await checkSchema call
3 years ago
Thomas Lynch
6ceacdf3ff
ref #356 resign, transfer
3 years ago
Thomas Lynch
28761f1934
ref #356 deleteaccount, editaccounts, editbans, editnews, editpost
3 years ago
Thomas Lynch
920a58bf63
ref #356 create, deleteboard, deletenews, register
3 years ago
Thomas Lynch
943a1ba174
#356 , addnews, appeal, changepassword
3 years ago
Thomas Lynch
b4415ab940
ref #356 , delete banners and flags
3 years ago
Thomas Lynch
db01644f14
ref #356 deletebanners, and update the others, just call the check on array directly
3 years ago
Thomas Lynch
02bc65c8a9
reference #356
3 years ago
Thomas Lynch
fa13cd7ce6
rest of #355 , needs testing for every form
3 years ago
Thomas Lynch
42422d3d35
reference #355 changes to paramconverter
...
got the changes to itself done to return the middleware function,
and for most routes i updated them
still TODO the more complex routes, and change them to the refactored schema checking
3 years ago
Thomas Lynch
fc15fb2195
add paramconverter middleware to some more post routes
...
prevents would-be 400s causing internal server error or other potential issues due to e.g. array inputs
reminded me i should add an options arg to this middleware to list the allowed inputs, arrays, numbers, mongoId converts, date format converts, etc
3 years ago
Thomas Lynch
363aa87d4d
bugfix caching issue brekaing board list
4 years ago
Thomas Lynch
0b03b05d7c
add a few missing things for this to globalsettings
4 years ago
Thomas Lynch
163522f02c
playing golf with file middleware helper. came out nice
4 years ago
Thomas Lynch
042445d28c
it works, with some kinks still to get through
4 years ago
Thomas Lynch
5cce251d9b
make the controllers and models exist and do something
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
f93b270b62
close #337
4 years ago