1b310b2c15
✨ Standalone mode come back ( #74 )
...
* ✨ Standalone mode come back
* 🍱 fix lint
* 🐛 fix tests cache
* 🐛 fix tests
* 🐛 fix tests
* 🚨 fix lint
* 🚨 fix lint
* 🍱 add logging
* :rotating-light: fix lint
* 🍱 fix comments
* 🐛 fix tests
* 🚨 Fix lint
Co-authored-by: Mathieu HANOTAUX <mathieu@hanotaux.fr >
2023-01-02 11:53:57 +01:00
maxlerebourg and GitHub
f14a4e3a68
✨ add external simpleredis and add log for cache ( #73 )
...
* ✨ add external simpleredis and add log for cache
* 🐛 fix comment
2022-12-31 16:18:08 +01:00
maxlerebourg and GitHub
8f937d22a2
🐛 fix all incoherence ( #71 )
...
* 🐛 fix all incoherence
* 🐛 fix comment + lint
2022-12-31 11:15:36 +01:00
mathieuHa and GitHub
29878e837c
🐛 65 confused about configuring tls ( #69 )
...
* 🐛 Fix bug reading LAPIKEY, update exemples
* 🚨 Fix lint
2022-12-30 11:24:14 +01:00
mathieuHa and GitHub
aff7c496c2
🐛 Remove trailing and leading spaces between each IP or range ( #68 )
2022-12-29 10:30:19 +01:00
maxlerebourg and GitHub
9406b70219
Merge pull request #57 from maxlerebourg/46-feature-add-automated-tests-to-the-plugin
...
✅ Add test structure for bouncer pkg
2022-12-05 19:40:53 +01:00
Max Lerebourg
b4cb552ee0
💄 fix lint
2022-12-05 08:18:11 +01:00
Max Lerebourg
b3d0203145
💄 fix lint
2022-12-05 08:17:33 +01:00
Max Lerebourg
8f5b7bb9af
💄 fix lint
2022-12-05 08:17:17 +01:00
Max Lerebourg
22e3febb45
💄 fix lint
2022-12-05 08:15:47 +01:00
Max Lerebourg
1f094d818a
💄 move getTlsConfig to configuration pkg
2022-12-05 08:10:56 +01:00
Max Lerebourg
a17e082ba3
💄 fix lint
2022-12-04 21:56:03 +01:00
Max Lerebourg
c311d8357d
:lips-stick: fix lint
2022-12-04 21:53:33 +01:00
Max Lerebourg
988f3ebeae
✨ add configuration pkg and tests
2022-12-04 21:40:14 +01:00
Max Lerebourg
91c31e3fa1
🍱 fix golgot attitude
2022-12-04 19:16:42 +01:00
Max Lerebourg
aa1f00b055
Revert "add library until better solution"
...
This reverts commit c867453ab4 .
2022-12-04 19:09:21 +01:00
Mathieu HANOTAUX
c867453ab4
add library until better solution
2022-12-04 18:47:13 +01:00
Max Lerebourg
f313b478e7
🍱 delete mhx brain failure
2022-12-04 17:04:58 +01:00
Mathieu HANOTAUX
15baee5c07
✅ Add tests for cache internal pkg
2022-12-04 16:30:27 +01:00
Marco Mariani
02e0f532c7
fixed some typos/grammar
2022-12-01 15:03:25 +01:00
Max Lerebourg
80d49e3969
🍱 fix loging
2022-11-19 22:23:12 +01:00
Max Lerebourg
72be1a68f5
🍱 fix loging
2022-11-19 22:18:47 +01:00
Max Lerebourg
15bca90b18
🍱 fix loging
2022-11-19 22:17:06 +01:00
0a54f7b09f
Update CI following latest plugindemo version ( #34 )
...
* Update CI following latest plugindemo version
* disable some linter
* Disable some linter
* Fix linter in redis, add error logger
* 🚨 Fix lint errors in private packages
* 🚨 Update lints in package and core code
* 🚨 exclude unfixable lint errors
* 🚨 update lint at package level and ignore necessary global variable
* 🍱 fix lint qnd merge
* 🚨 Fix Lint for string
* 🚨 Fix lint for bouncer
* 🚨 Fix error
* Fix weird linter error
Co-authored-by: Max Lerebourg <maxlerebourg@gmail.com >
2022-11-19 19:35:01 +01:00
MathieuHa
73374ccefe
Rework variables name, and logic to check IPs with strategy
2022-11-19 13:27:51 +01:00
MathieuHa
490e5e934f
Merge remote-tracking branch 'origin' into 28-bypassing-crowdsec-for-local-ips
2022-11-19 12:22:56 +01:00
MathieuHa
5b0d4b533f
Add logic return to bypass when IP is unfiltered, update documentation
2022-11-19 12:16:20 +01:00
Max Lerebourg
400de0d552
✨ add redis timeout
2022-11-18 20:36:42 +01:00
Max Lerebourg
bf76ca9ef5
🍱 change logging
2022-11-15 19:50:22 +01:00
Max Lerebourg
18f68de196
✨ rewrite redis communication
2022-11-11 00:09:06 +01:00
Max Lerebourg
23620207f7
🍱 fix before version
2022-11-06 12:57:32 +01:00
MathieuHa
d8ee0a34eb
Update documentation, exemples and code for redis support
2022-11-05 21:45:43 +01:00
maxlerebourg and GitHub
5044004ec2
Update cache.go
2022-10-26 10:26:19 +02:00
Max Lerebourg
41a46c0584
✨ add delete
2022-10-24 21:56:38 +02:00
Max Lerebourg
0a186cf9a9
✨ add redis ttl
2022-10-24 21:38:56 +02:00
Max Lerebourg
ffcf4356fc
✨ redis included
2022-10-20 02:42:24 +02:00
Max Lerebourg
f94e48aa03
not working...
2022-10-19 08:22:00 +02:00
Max Lerebourg
a197194591
not working...
2022-10-19 08:21:01 +02:00
MathieuHa
4058836678
Test library github.com/gomodule/redigo/redis
2022-10-17 20:58:27 +02:00
MathieuHa
87ed9e9c4e
add bad library
2022-10-16 23:10:39 +02:00
MathieuHa
395c80dccf
First version not working, unsafe library
2022-10-16 23:08:21 +02:00
8696501f61
✨ add one instance of cache for all the service ( #19 )
...
* ✨ add one instance of cache for all the service
* 🐛 fix the healthy issue
* 🐛 fix lint
* 🍱 upgrade codebase
* 🍱 fix lint
* 🐛 when there is master node shut down
* Set live mode as default, clean docker and recipes
* Restore live mode in readme as default
* 🍱 add channel management
* 🍱 order funcs
* 🍱 revert service in docker compose
* ✨ logLevel added + cache put out the bouncer
* 🍱 fix
* 🍱 fix
* 🍱 fix
Co-authored-by: MathieuHa <mathieu@hanotaux.fr >
2022-10-16 20:14:41 +02:00