Thomas Lynch
8476c260b9
Add translation function and strings for just about every message in the controllers
2 years ago
Thomas Lynch
8f9ecb9de2
Fix mac instead of total for asset/banner/flag count checking in controllers
2 years ago
Thomas Lynch
3f3e63f9c1
Add some i18n function calls to controllers for add*, update the models and make controllers destructure res.locals for less repetition of res.locals, and add more machine russian translation
2 years ago
Thomas Lynch
cebf2fe4a9
Convert uploadbanners to new schema checker along with other asset handlers, and fix max flag assets check
2 years ago
Thomas Lynch
a4927c86a1
Convert addflags and addassets to schema formhandler, was still on old form handling code
2 years ago
Thomas Lynch
e7233d09e7
eslint controlers/, mostly removing all the unused schema check functions
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
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
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
1c5f14e419
This did not go as planned
4 years ago
Thomas Lynch
67026fcc0c
- Remove some hardcoded limits on forms
...
~ Make limit for post actions configurable. needed to still be limit for antispam/performance
+ Add config for total banners per board
4 years ago
fatchan
a0d0394e62
dynamicresponse everything
5 years ago
fatchan
d96cfce696
make getting numfiles a middleware for forms that accept files uploads, later controllers or models can use the locals
5 years ago
fatchan
9ce66a303d
change config to js file so it an include comments
5 years ago
fatchan
7c0561d2ec
separate manage pages for bans, reports, settings and banners
5 years ago
fatchan
d5bd6a600e
implementing global limits for board settings and configurable defaults for board creation
5 years ago
fatchan
12f1df0e9c
refactor, all orm controllers now separate ^-^
5 years ago