Thomas Lynch
9ebdaada35
add missing permissions import
1 year ago
Thomas Lynch
aa04faa25e
make global anonymizer file blocking apply to uploading board asset, banners, flags, adjust it for posting
1 year ago
Thomas Lynch
8476c260b9
Add translation function and strings for just about every message in the controllers
2 years ago
Thomas Lynch
612e7d0f3a
Add language set middleware to a bunch of routes, and make some minor middleware ordering changes to supprot
...
Add example translations in server.js, a controller for form submission, and in a middleware (file middleware in this case)
2 years ago
Thomas Lynch
cf92d77a2f
Allow tegaki only, show as attachment with replay. perhaps an option in future to disable this (why not just use spoiler?)
...
Revert condition for potentially confusing backend message, no longer needed because of above
Set color palette when opening replays to match what is set by default when drawing, to prevent weird looking color palette
Tegaki CSS fix
2 years ago
Thomas Lynch
8e5c8b5ab0
Tegaki replaying overhaul
2 years ago
Thomas Lynch
c4b0e7bb28
Catch obscure error that doesnt really break anything (more motivation to replace dogshit file mupload middleware
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
de9b82ebad
close #419
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
ac2bf6d157
ref #356 boardsettings, makepost
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
1c5f14e419
This did not go as planned
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
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
7a3943c447
patch messages length check for CRLF vs just LF, because browsers dont count CRLF as 2 characters like the server does (and like it technically is). this will happen for other fields too, but message is the only one that really matter close #269
4 years ago
Thomas Lynch
a2d34ac4af
close #265 global and board setting to disable .onion file posting
4 years ago
Thomas Lynch
97ba9247a8
bug in reply/file requirement settings, NOT related to issue reported in >>>/t/2#334 on demo site
4 years ago
fatchan
53144641c4
more options for limits to increase length of subject, name, email, etc
5 years ago
fatchan
198c76ea8a
change password -> postpassword so browsers stop suggesting login password, add it to modal and make it random generate and save based on user input for JS users
5 years ago
fatchan
68bd674fe5
min and max length to boards, and make it handled properly in posting, frontend js message coutner, etc
5 years ago
fatchan
497832ab12
file inc change
5 years ago
fatchan
b1614881b5
fix max files upload showing error, show max files on postform, etc #57 #2
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
a7c698fb67
fix file number check in post controller prevent error in spam check
5 years ago
fatchan
9ce66a303d
change config to js file so it an include comments
5 years ago
fatchan
89e8f4b977
fixes, make modal a mixin so compilefileclient works properly, and other small fixes
5 years ago
fatchan
485dc802aa
improve how errors shown when making a post, use modals and fix ban seen marking
5 years ago
fatchan
d5bd6a600e
implementing global limits for board settings and configurable defaults for board creation
5 years ago
fatchan
e18b4419d0
decrement files on post failure only when posts actually exist
5 years ago
fatchan
1d497cb2bb
change dec/inc of files when making post
5 years ago
fatchan
12f1df0e9c
refactor, all orm controllers now separate ^-^
5 years ago