Vsevolod Stakhov
14c13854d3
[Rework] Further types conversion (no functional changes)
2ヶ月前
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.
2ヶ月前
Vsevolod Stakhov
75327b3889
[Project] Convert the remaining
2ヶ月前
Vsevolod Stakhov
8238dc0a23
[Project] Start optimization of userdata hashing
2ヶ月前
Vsevolod Stakhov
500fac7fd7
[Fix] Resolve issue with bayes stat in `rspamadm` mode
3ヶ月前
Vsevolod Stakhov
32e2fc07e1
[Minor] Fix old test
3ヶ月前
Vsevolod Stakhov
f4aa0ba5a8
[Fix] Fix learning with long prefixes
Issue: #4786
Closes: #4786
3ヶ月前
Vsevolod Stakhov
c7c901ef4b
[Fix] Fix learn error propagation
4ヶ月前
Vsevolod Stakhov
66cc2d3d88
[Fix] Fix storing of the bayes tokens
4ヶ月前
Vsevolod Stakhov
5d861d8dd1
[Project] Further rework of the C part
4ヶ月前
Vsevolod Stakhov
6d0cfe35ab
[Project] Implement text tokens storage on C++ side
4ヶ月前
Vsevolod Stakhov
7326da1507
[Minor] Another issue
5ヶ月前
Vsevolod Stakhov
b430183a56
[Minor] Uh-oh...
5ヶ月前
Vsevolod Stakhov
ed53205a4b
[Minor] Set proper size
5ヶ月前
Vsevolod Stakhov
4370851c79
[Minor] Fix build
5ヶ月前
Vsevolod Stakhov
65477c3064
[Project] Try to do strings concatenation in C
5ヶ月前
Vsevolod Stakhov
6b39c0f971
[Minor] Link runtime to the proper statfile context
5ヶ月前
Vsevolod Stakhov
b11f8216f0
[Project] Add some stats
5ヶ月前
Vsevolod Stakhov
cd568d7085
[Project] Various fixes
5ヶ月前
Vsevolod Stakhov
6c2f702ab4
[Project] Fix compile issues and rework in more C++ style
5ヶ月前
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.
5ヶ月前
Vsevolod Stakhov
752414a1f5
[Project] Add some basic learning
5ヶ月前
Vsevolod Stakhov
51e123f58f
[Minor] Remove obsoleted code, phew
5ヶ月前
Vsevolod Stakhov
3a7f4ef0ed
[Minor] Add initial stat callback
5ヶ月前
Vsevolod Stakhov
02757e6d2a
[Minor] Fix store/load
5ヶ月前
Vsevolod Stakhov
cbc907994e
[Project] Further caching logic modifications
5ヶ月前
Vsevolod Stakhov
7ff9314775
[Project] Rework stat runtime
5ヶ月前
Vsevolod Stakhov
b4d6ebf474
[Project] Move the whole backend to C++
Easier to work further.
5ヶ月前
Vsevolod Stakhov
15d023291b
[Minor] Few more fixes
5ヶ月前
Vsevolod Stakhov
9f754e6c77
[Project] Temporary fixes to start new bayes logic debug
5ヶ月前
Vsevolod Stakhov
be9845618c
[Project] Start to rework C part
5ヶ月前
Vsevolod Stakhov
533e56e131
[Feature] Allow to set `max_users` for Redis bayes backend
Issue: #4659
6ヶ月前
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>
6ヶ月前
laodc
ee05b36e77
changed errors to warnings.
nullptr on contructor was never meant to be there
9ヶ月前
laodc
75fdc829ba
Added support for Redis 6 ACL (username/password)
9ヶ月前
Vsevolod Stakhov
ef58324535
[Rework] More steps to do refactoring
9ヶ月前
Vsevolod Stakhov
537a7180a0
[Rework] Use clang-format to unify formatting in all sources
No meaningful changes.
10ヶ月前
Vsevolod Stakhov
5bf1a1a224
[Minor] Fix static memory leak in redis stat
1年前
Vsevolod Stakhov
b20b81d996
[Minor] Plug memory leak on cdb backend closing
1年前
Vsevolod Stakhov
65c81144f8
[Minor] Remove noexcept qualifier as it interferes with ankerl::unordered_dense
1年前
Vsevolod Stakhov
969902f045
[Rework] Use another version of hash table from the same author
1年前
Vsevolod Stakhov
e872e68c0d
[Minor] Add a helper to serialize stats tokens to a messagepack request
1年前
Vsevolod Stakhov
7b97551741
[Project] Http_stat: Notice statfiles when creating runtime
1年前
Vsevolod Stakhov
655048871c
[Minor] Pass statfile id when requesting for the backend runtime
1年前
Vsevolod Stakhov
57d60a6c79
[Project] Add experimental HTTP statistics backend
1年前
Vsevolod Stakhov
c020213cb5
[Minor] Replace some of macro uses
2年前
Vsevolod Stakhov
f90765d9c8
[Minor] Oops, fix refactoring aftermath
2年前
Vsevolod Stakhov
bc488cd48b
[Minor] Remove obsolete WITH_HIREDIS define
2年前
Vsevolod Stakhov
a8e0f75aa6
[Minor] Agree on types between dump and backend
2年前
Vsevolod Stakhov
923f93fb6b
[Minor] Fix several issues found
2年前