Thomas Lynch
8476c260b9
Add translation function and strings for just about every message in the controllers
2 years ago
Thomas Lynch
dc27f9216c
moderators -> staff, and some old removals
2 years ago
Thomas Lynch
e4dd53427e
Add language setting to global settings and board settings
2 years ago
Thomas Lynch
5a7368a0a4
Add a new property to permissions metadata and reflect on frontend inability for users without that "parent" permission to edit roles/accounts to have some permissions e.g. root, edit roles, edit accs
...
Put the metadata into permissions.js (also TODO: key the metadata by bits instead? i.e [Permisions.whatever]: {})
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
92c504e59c
rename ip.single -> ip.cloak
3 years ago
Thomas Lynch
d1f9c78258
ref #377 , the fun begins
...
still a few things to do, see TODO (heh)
mostly working how i imagined, with a few quirks.
pretty happy with it.
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
e1387df959
close #357 make limits stupidly high because some totally new person asked nicely
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
c6978788f3
fix some incorrect behaviour and messages in makepost
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
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
some random guy
124de4351a
board edit: take board name & description max length limits in config file into consideration
4 years ago
Thomas Lynch
0fc7535a8c
Allow minutes and seconds in ban time inputs, allow 0 times (0s), and make the form reset not apply to settings form to be a bit less jarring
4 years ago
Thomas Lynch
b0797f0418
Beta testing .onion support
...
***DO NOT USE***
This still has some issues and needs testing.
- needs updated nginx configs added, expects "TOR" in the x-country-code header under a separate vhost
- need to make sure bans work properly still
- need to implement system to prevent captcha ddos, since i cant just to IP ratelimit now
- im 99% sure post history of tor users is broken if viewed by non-global staff
- manual input ban form will also be broken for non-global staff
- could still use some improvement on the middleware having a little more complicated flor for tor users
But for the most part it works. Basically it will use the bypass id of a tor user as their "ip".
4 years ago
fatchan
846bc63706
bump limit
4 years ago
fatchan
3962e7d4dc
fix captcha ratelimit
4 years ago
fatchan
95ecb50a06
options changes, make unlisted/webring unlisted not opposites
...
make thread creation locking possible, and add it as a captcha option
4 years ago
fatchan
a0d0394e62
dynamicresponse everything
5 years ago
fatchan
22400a6e71
get ratelimit cost from the right require
5 years ago
fatchan
7a00c6f689
make some ratelimits configurable
5 years ago
fatchan
73203db312
start option for unhashed ips
5 years ago
fatchan
53144641c4
more options for limits to increase length of subject, name, email, etc
5 years ago
fatchan
3f3ad4ece7
global staff or admin can bypass customcss strict mode
5 years ago
fatchan
e561f250ad
custom css per board, with option to apply filter or disable completely
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
3254ab6c38
correct some messages like 'less than x characters' to 'x characters or less' because it is a strict < check
5 years ago
fatchan
eb75a273da
limit ip and board separately in ratelimit for board settings change
5 years ago
fatchan
05667c52a4
make board settings ratelimit changes per board, not per ip, duh
5 years ago
fatchan
9ce66a303d
change config to js file so it an include comments
5 years ago
fatchan
ac0cb93b06
remove themes from footer, prep for settings UI, add code theme to board settings
5 years ago
fatchan
6e4b2a9906
dont increase ratelimit unless no errors
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
d8f98a67cb
configurable theme per board, and default in config
5 years ago
Tom
ab27114f71
add board tags, and limits to tags, moderators and filters ( #49 )
...
added board tags (not searching with them or indexing them yet)
added limits to number of tags, moderators and filters in board settings
5 years ago
fatchan
12f1df0e9c
refactor, all orm controllers now separate ^-^
5 years ago