Skip to content

Commit 8ab68b8

Browse files
authored
Merge pull request #20 from crowdsecurity/new-lib-features
- Remove useless predis dependence - Use the "context" psr log feature for all logs to allow them to be parsable. - Build nice 403 and captcha templates - Include the GregWar Captcha generation lib - Use the latest CrowdSec docker image - Log captcha resolutions - Add cache expiration for bad ip
2 parents 49564b0 + ac40cb1 commit 8ab68b8

25 files changed

+655
-305
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
ports:
2424
- 11211:11211
2525
crowdsec:
26-
image: crowdsecurity/crowdsec:v1.0.0
26+
image: crowdsecurity/crowdsec:latest
2727
ports:
2828
- 8080:8080
2929
env:

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@
3232
"php": "^7.2 || ^8.0",
3333
"symfony/config": "^5.2",
3434
"symfony/cache": "^5.2",
35-
"monolog/monolog": "^2.1"
35+
"monolog/monolog": "^2.1",
36+
"gregwar/captcha": "^1.1"
3637
},
3738
"require-dev": {
38-
"predis/predis": "^1.1",
3939
"bramus/monolog-colored-line-formatter": "^3.0",
4040
"symfony/var-dumper": "^5.2",
4141
"phpunit/phpunit": "8.5.13",

0 commit comments

Comments
 (0)