Thomas Lynch
92c504e59c
rename ip.single -> ip.cloak
3 years ago
Thomas Lynch
1c5f14e419
This did not go as planned
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
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
dolphin
d51aa143a8
Add in hcaptcha support.
4 years ago
Thomas Lynch
14dc090e08
Migration, and a change that will make it not get completely destroyed by ddos over TOR
4 years ago
Thomas Lynch
60d36bbb6a
Make a bit more maintainable, support different captcha types with some config options
4 years ago
Thomas Lynch
28fdb8af81
small refactor, make captcha check separate. should be eaasier to add different captchas now
...
fix conditions for when to render bypass vs message page on failed captchas
use crypto timingsafeequal for comparing input to answer
4 years ago
Thomas Lynch
8e30513af1
remove some useless logic
4 years ago
Thomas Lynch
09e0bcb518
references #209 , add optional google recaptcha. implementation could use some polish, but it will work for now.
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
ce1fb88863
blockbypass captcha auto load and add word answer to incorrect messages
4 years ago
fatchan
d2a76353e7
delete temp files in captaverify
4 years ago
fatchan
56a3f73184
improve flow of blockbypass
4 years ago
fatchan
8a520f44fe
improve flow of blockbypass
4 years ago
fatchan
73203db312
start option for unhashed ips
5 years ago
fatchan
3b452604e2
dont do 2 captchas, give bypass if already solved board captcha
5 years ago
fatchan
2c81037cb3
various minor changes and improve forms script for future use
5 years ago
fatchan
4482889bca
separate ratelimit for different things, and make changing theme do some rebuilds (with ratelimit)
5 years ago
fatchan
045716de78
add deleteold as a separate tool to delete files in dir older than a tiemstamp, and then prune older than 30 days logfiles with generating the modlog list
5 years ago
fatchan
485dc802aa
improve how errors shown when making a post, use modals and fix ban seen marking
5 years ago
Tom
f0ca405236
Add modlogs ( #48 )
...
* public mod logs, per day and list of log days
* action handler variable names and logic changes, also dont duplicate modloglist code
5 years ago
fatchan
848cc07d9f
separate ratelimits from captchas
5 years ago
fatchan
5a6e7cbf94
improved captcha trigger behaviour and optional modes
5 years ago
fatchan
0f3dbfa931
post layout, postform and ban page improvements
5 years ago
fatchan
88e86c5349
automatic captcha enabled at configurable PPH
5 years ago
fatchan
7c57fca366
organise the helpers some
5 years ago
fatchan
8b327111e1
shorten line
5 years ago
fatchan
6d7d71cbb6
fix captcha enabled enforcing
5 years ago
fatchan
efa57023e7
board settings allow to toggle captchas and check to captchaverify
5 years ago
fatchan
a818a25e91
generate and save html to disk. actions that would cause a page to change delete the html. on the next visit, nginx will try_files, else pass to the backend which will generate the page again. CURRENTLY DOES NOT SUPPORT POST ACTIONS e.g. deletes, spoiler, sticky, etc will not cause pages to be deleted for future rebuilding. thats coming in next commits. consider this the start of actual smart building strategy to prevent templating and db hits unnecessarily. where its possible to serve a plain html page, we will do so.
5 years ago
fatchan
0e3c6ede2b
improve new settings handling, more options, change manage page styling
5 years ago
fatchan
72391e0558
resolve only after thumbnailing actually finishes
5 years ago
fatchan
139f937897
banners, captcha, image in separate folders and associated changes
5 years ago
fatchan
1ca5292660
delete used captchas
5 years ago
fatchan
8a0160a924
early captchas
5 years ago