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
Thomas Lynch
b474134ed1
ability to change permissions for any markdown, this can be extended nicely in future close #303
4 years ago
Thomas Lynch
2a903e8df5
fix various issues with new settings
...
some incorrect field names, bad parsing, date problems and inability to remove some inputs
4 years ago
Thomas Lynch
eb86c12fe0
close #331
4 years ago
Thomas Lynch
f0cd378d14
close #321
4 years ago
Thomas Lynch
1b1883be1e
fix the webring and the rest of the options to the new panel
4 years ago
Thomas Lynch
06bac65200
add global announcements, now that there is global settings, DUH close #301
4 years ago
Thomas Lynch
a0fa0bde70
proper validation for thumb extension and mime types
...
fix lengthbody checks for 0 minlength/empty fields
remove old todos
4 years ago
Thomas Lynch
436381287b
actual check for file extensions and extra mime types
4 years ago
Thomas Lynch
0d842e0320
allow -1 for iphashpevmlevel i nnew settings page
4 years ago
Thomas Lynch
125a984a9f
corect some expected minmax results
4 years ago
Thomas Lynch
6fd843df62
more god damn settings
4 years ago
Thomas Lynch
d4ff40d715
finish errors for changing global settings
...
add back perm level check for delete board
4 years ago
Thomas Lynch
de8dcbb8be
progress on model, controller and the template
...
improve some helpers to load config properly on global config change including renderlocals, themes, etc
4 years ago
Thomas Lynch
1c5f14e419
This did not go as planned
4 years ago
Thomas Lynch
60cddef23a
slowly switch configs to db and only a small amount of things like secrets remain in a config file
4 years ago
Thomas Lynch
d14dcdcc76
improve and start work on the controller for global settings page with the new checker
4 years ago
Thomas Lynch
ddd949e743
make schedules able to run separately and dont make instance on import, do it in the tasks folder index
4 years ago
Thomas Lynch
32ec1152b4
more 'tor' -> 'anonymizer' rewording changes including some conditionals, comments and FAQ page text close #316
4 years ago
Thomas Lynch
d75fb8cb0f
rename some tor-specific stuff to "anonymizer" to be more general since i added lokinet to my site, will make easier to add others e.g. i2p in futuure
4 years ago
Thomas Lynch
c49541598f
config to change perm level to delete board, close #311
4 years ago