Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [Minor] Make names more informative | LeftTry | 2024-09-29 | 1 | -4/+4 |
| | |||||
* | [Minor] Change wrong logic of LRU cache to the right one | LeftTry | 2024-09-29 | 1 | -1/+1 |
| | |||||
* | [Feature] Add LRU cache for last filled ratelimit buckets | LeftTry | 2024-09-29 | 1 | -0/+5 |
| | |||||
* | [Project] Enable compatibility with the existing buckets | Vsevolod Stakhov | 2024-07-09 | 2 | -40/+56 |
| | |||||
* | [Fix] Increase/decrease hash_key value for tokens depending on is_unlearn | aduernberger | 2024-04-18 | 1 | -2/+2 |
| | | | | | | | | When relearning a message, this script is called twice: 1. With `is_unlearn` true and the old `is_spam` value 2. With `is_unlearn` false and the new `is_spam` value If `is_unlearn` is true, the code should not increase the value of the hash_key. Decreasing it ensures that it behaves like a fresh learn with the new is_spam value. | ||||
* | [Fix] Update is_spam in learned_ids when relearning | aduernberger | 2024-04-18 | 1 | -2/+3 |
| | |||||
* | [Fix] Change expiration logic for redis_cache | Vsevolod Stakhov | 2024-03-09 | 1 | -1/+1 |
| | | | | Noticed by: @jeremy | ||||
* | [Fix] Fix storing of the bayes tokens | Vsevolod Stakhov | 2024-01-22 | 1 | -1/+1 |
| | |||||
* | [Minor] Remove special handling | Vsevolod Stakhov | 2024-01-17 | 1 | -3/+1 |
| | |||||
* | [Project] Some more work with regard to configuration | Vsevolod Stakhov | 2024-01-17 | 2 | -9/+19 |
| | |||||
* | [Project] Final things on redis cache rework | Vsevolod Stakhov | 2024-01-17 | 2 | -0/+73 |
| | |||||
* | [Project] Initial implementation of the lua counterpart | Vsevolod Stakhov | 2024-01-12 | 2 | -0/+0 |
| | |||||
* | [Project] Implement text tokens storage on C++ side | Vsevolod Stakhov | 2023-12-31 | 1 | -6/+8 |
| | |||||
* | [Project] Add store tokens support in new bayes learn | Vsevolod Stakhov | 2023-12-31 | 1 | -1/+19 |
| | |||||
* | [Project] Try to do strings concatenation in C | Vsevolod Stakhov | 2023-12-14 | 2 | -5/+3 |
| | |||||
* | [Project] Add some stats | Vsevolod Stakhov | 2023-12-08 | 1 | -0/+19 |
| | |||||
* | [Project] Various fixes | Vsevolod Stakhov | 2023-12-08 | 1 | -2/+2 |
| | |||||
* | [Rework] Use strings for int64_t | Vsevolod Stakhov | 2023-12-08 | 3 | -5/+5 |
| | | | | | | 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. | ||||
* | [Minor] Fix keys name | Vsevolod Stakhov | 2023-12-08 | 1 | -2/+2 |
| | |||||
* | [Project] Add some basic learning | Vsevolod Stakhov | 2023-12-07 | 1 | -2/+2 |
| | |||||
* | [Project] Add bayes learn script | Vsevolod Stakhov | 2023-12-07 | 1 | -0/+25 |
| | |||||
* | [Project] Optimise classify script | Vsevolod Stakhov | 2023-12-02 | 1 | -13/+25 |
| | |||||
* | [Project] Add classify redis script | Vsevolod Stakhov | 2023-12-02 | 1 | -0/+26 |
| | |||||
* | [Minor] Reformat all Lua code, no functional changes | Vsevolod Stakhov | 2023-08-07 | 6 | -22/+48 |
| | |||||
* | [Minor] Minor fixes for previous ratelimit changes | Andrew Lewis | 2023-07-24 | 1 | -1/+1 |
| | |||||
* | [Fix] Try harder to clean pending bucket | Vsevolod Stakhov | 2023-06-17 | 1 | -0/+29 |
| | | | | Issue: #4467 | ||||
* | fix: avoid double-dip of nrcpt when calculating ratelimit condition | Andreas Simbuerger | 2023-03-29 | 1 | -1/+1 |
| | | | | | Before this commit, rspamd would consider the number of recipients of the current message twice when calculating the ratelimit condition. | ||||
* | [Minor] Neural: Extract lua scripts | Vsevolod Stakhov | 2023-03-25 | 4 | -0/+88 |
| | |||||
* | [Minor] Add some more comments as we now strip them | Vsevolod Stakhov | 2023-03-25 | 2 | -29/+42 |
| | |||||
* | [Minor] Improve style in the scripts | Vsevolod Stakhov | 2023-03-25 | 2 | -40/+45 |
| | |||||
* | [Minor] Move redis scripts from ratelimit file to simplify checks | Vsevolod Stakhov | 2023-03-25 | 2 | -0/+142 |