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
Thomas Lynch
6f64448b33
works for board recent and global recent, fixed lastPostId issue and IP display issue
...
just neds a second pair of eyes to check its not leaking IPs anywhere
4 years ago
Thomas Lynch
75888c79bd
case sensitive route... why does express have retarded defaults and how long has this been a thing? o.o
4 years ago
Thomas Lynch
cf43f650d6
Ability to edit newsposts reference #298
4 years ago
Thomas Lynch
8629143610
change video/audio handling, allows "audio" files with a video mime type to be uploaded properly, and get treated like audio file. might need some testing to make sure nothing broke :)
4 years ago
Thomas Lynch
dfdd102626
Rehash ids when moving posts to another thread, closes #218
4 years ago
Thomas Lynch
9215dcbf17
test only, blockhash option
4 years ago
Thomas Lynch
44f69b8ba5
start per-board custom pages, mostly working could just use a lil more testing references #232
4 years ago
Thomas Lynch
77b8ae5540
Overboard catalog reference #286
4 years ago
Thomas Lynch
d12bed3dc2
add noscript warning to hcaptcha
...
add some missing checks for google to also check captcha type
adjust frontend scripts and gulpfile styling to support hcaptcha
4 years ago
ne0n
6f090adabe
Fix typo
4 years ago
Thomas Lynch
fed92d6621
separate trigger action for when tph vs pph is exceeded
...
option for lock reset and captcha reset, to pick what you want the lock mode and captcha mod to go back to at the end of the hour
also fix avuln in boardsettings where pph trigger/mode settings were not range checked
4 years ago