Vsevolod Stakhov
14c13854d3
[Rework] Further types conversion (no functional changes)
3 ay önce
Vsevolod Stakhov
6b2b416718
[Rework] Remove some of the GLib types in lieu of standard ones
This types have constant conflicts with the system ones especially on OSX.
3 ay önce
Vsevolod Stakhov
75327b3889
[Project] Convert the remaining
3 ay önce
Vsevolod Stakhov
8238dc0a23
[Project] Start optimization of userdata hashing
3 ay önce
Vsevolod Stakhov
500fac7fd7
[Fix] Resolve issue with bayes stat in `rspamadm` mode
4 ay önce
Vsevolod Stakhov
32e2fc07e1
[Minor] Fix old test
4 ay önce
Vsevolod Stakhov
f4aa0ba5a8
[Fix] Fix learning with long prefixes
Issue: #4786
Closes: #4786
4 ay önce
Vsevolod Stakhov
c7c901ef4b
[Fix] Fix learn error propagation
4 ay önce
Vsevolod Stakhov
66cc2d3d88
[Fix] Fix storing of the bayes tokens
4 ay önce
Vsevolod Stakhov
5d861d8dd1
[Project] Further rework of the C part
5 ay önce
Vsevolod Stakhov
6d0cfe35ab
[Project] Implement text tokens storage on C++ side
5 ay önce
Vsevolod Stakhov
7326da1507
[Minor] Another issue
6 ay önce
Vsevolod Stakhov
b430183a56
[Minor] Uh-oh...
6 ay önce
Vsevolod Stakhov
ed53205a4b
[Minor] Set proper size
6 ay önce
Vsevolod Stakhov
4370851c79
[Minor] Fix build
6 ay önce
Vsevolod Stakhov
65477c3064
[Project] Try to do strings concatenation in C
6 ay önce
Vsevolod Stakhov
6b39c0f971
[Minor] Link runtime to the proper statfile context
6 ay önce
Vsevolod Stakhov
b11f8216f0
[Project] Add some stats
6 ay önce
Vsevolod Stakhov
cd568d7085
[Project] Various fixes
6 ay önce
Vsevolod Stakhov
6c2f702ab4
[Project] Fix compile issues and rework in more C++ style
6 ay önce
Vsevolod Stakhov
33cf745fb1
[Rework] Use strings for int64_t
It seems there is no easy way to use int64 in Redis Lua, hence, we have
to use strings. It's much more expensive but still some advantage over
the previous schema.
6 ay önce
Vsevolod Stakhov
752414a1f5
[Project] Add some basic learning
6 ay önce
Vsevolod Stakhov
51e123f58f
[Minor] Remove obsoleted code, phew
6 ay önce
Vsevolod Stakhov
3a7f4ef0ed
[Minor] Add initial stat callback
6 ay önce
Vsevolod Stakhov
02757e6d2a
[Minor] Fix store/load
6 ay önce
Vsevolod Stakhov
cbc907994e
[Project] Further caching logic modifications
6 ay önce
Vsevolod Stakhov
7ff9314775
[Project] Rework stat runtime
6 ay önce
Vsevolod Stakhov
b4d6ebf474
[Project] Move the whole backend to C++
Easier to work further.
6 ay önce
Vsevolod Stakhov
15d023291b
[Minor] Few more fixes
6 ay önce
Vsevolod Stakhov
9f754e6c77
[Project] Temporary fixes to start new bayes logic debug
6 ay önce
Vsevolod Stakhov
be9845618c
[Project] Start to rework C part
6 ay önce
Vsevolod Stakhov
533e56e131
[Feature] Allow to set `max_users` for Redis bayes backend
Issue: #4659
7 ay önce
Petr Vaněk
249939dfcb
[Minor] Add missing <algorithm> include for gcc 14
This commit addresses a compilation issue when using GCC 14. According
to GCC 14's porting guide [1], some C++ Standard Library headers no
longer include other headers they used to use internally. Specifically,
<algorithm> must now be explicitly included.
[1] https://gcc.gnu.org/gcc-14/porting_to.html
See-also: https://bugs.gentoo.org/916438
Signed-off-by: Petr Vaněk <arkamar@atlas.cz>
7 ay önce
laodc
ee05b36e77
changed errors to warnings.
nullptr on contructor was never meant to be there
10 ay önce
laodc
75fdc829ba
Added support for Redis 6 ACL (username/password)
10 ay önce
Vsevolod Stakhov
ef58324535
[Rework] More steps to do refactoring
10 ay önce
Vsevolod Stakhov
537a7180a0
[Rework] Use clang-format to unify formatting in all sources
No meaningful changes.
10 ay önce
Vsevolod Stakhov
5bf1a1a224
[Minor] Fix static memory leak in redis stat
1 yıl önce
Vsevolod Stakhov
b20b81d996
[Minor] Plug memory leak on cdb backend closing
1 yıl önce
Vsevolod Stakhov
65c81144f8
[Minor] Remove noexcept qualifier as it interferes with ankerl::unordered_dense
1 yıl önce
Vsevolod Stakhov
969902f045
[Rework] Use another version of hash table from the same author
1 yıl önce
Vsevolod Stakhov
e872e68c0d
[Minor] Add a helper to serialize stats tokens to a messagepack request
2 yıl önce
Vsevolod Stakhov
7b97551741
[Project] Http_stat: Notice statfiles when creating runtime
2 yıl önce
Vsevolod Stakhov
655048871c
[Minor] Pass statfile id when requesting for the backend runtime
2 yıl önce
Vsevolod Stakhov
57d60a6c79
[Project] Add experimental HTTP statistics backend
2 yıl önce
Vsevolod Stakhov
c020213cb5
[Minor] Replace some of macro uses
2 yıl önce
Vsevolod Stakhov
f90765d9c8
[Minor] Oops, fix refactoring aftermath
2 yıl önce
Vsevolod Stakhov
bc488cd48b
[Minor] Remove obsolete WITH_HIREDIS define
2 yıl önce
Vsevolod Stakhov
a8e0f75aa6
[Minor] Agree on types between dump and backend
2 yıl önce
Vsevolod Stakhov
923f93fb6b
[Minor] Fix several issues found
2 yıl önce