aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_classifier.c
Commit message (Collapse)AuthorAgeFilesLines
* Update lua code for the new logger.Vsevolod Stakhov2015-08-301-2/+2
|
* Rework classifiers configuration and naming.Vsevolod Stakhov2015-01-231-2/+1
| | | | Now it is possible to register multiple classifiers with the same type.
* Start refactoring of statistics in rspamd.Vsevolod Stakhov2015-01-181-34/+0
|
* Reorganize statfiles and classifiers into libstat.Vsevolod Stakhov2015-01-161-1/+1
|
* Use modules preload for lua.Vsevolod Stakhov2014-08-251-10/+2
|
* Rework lua function names to avoid ambiguity.Vsevolod Stakhov2014-08-171-12/+12
|
* Unify style without sorting headers.Vsevolod Stakhov2014-07-231-48/+67
|
* Revert "Unify code style."Vsevolod Stakhov2014-07-231-68/+49
| | | | This reverts commit e0483657ff6cf1adc828ccce457814d61fe90a0d.
* Unify code style.Vsevolod Stakhov2014-07-231-49/+68
|
* Refactor config API.Vsevolod Stakhov2014-04-301-27/+27
|
* Refactor worker task structure and API.Vsevolod Stakhov2014-04-211-7/+7
|
* Adopt new libucl.Vsevolod Stakhov2014-04-191-1/+1
|
* Fix options in statfiles.Vsevolod Stakhov2013-11-151-3/+4
|
* Adopt to lua 5.2.Vsevolod Stakhov2013-06-081-2/+2
|
* * Add meta-classification example.Vsevolod Stakhov2012-10-041-5/+4
| | | | | Many changes to advanced statistic and meta-classification logic. Add example of complex meta-classification.
* Allow multiply statfiles with a same label.Vsevolod Stakhov2012-10-021-5/+14
|
* * Add dynamic configuration dumping.Vsevolod Stakhov2012-10-011-1/+42
| | | | | | * Add labels support to the statfiles (would be used for meta-classification) * Rewrite exim spam.c patch to work with both rspamd and SA by using 'variant=rspamd' option in spam_server line.
* Another debian license fix.Vsevolod Stakhov2012-09-101-1/+1
| | | | | Add apache license for regexp that were delivered from SpamAssassin project. Fix debian/copyright for src/dns.c.
* Update copyright (required by debian).Vsevolod Stakhov2012-09-041-3/+3
|
* * Rework thread pools locking logic to avoid global lua mutex usage.Vsevolod Stakhov2012-08-221-22/+16
| | | | | | Fixed several memory leaks with modern glib. Fixed memory leak in dkim code. Fixed a problem with static global variables in shared libraries.
* * Add lua worker type and lua worker bindings.Vsevolod Stakhov2012-07-261-0/+4
| | | | | | | * Add lua utility library for basic utils. * Fixes lua_buffer code. Fix lua loading error. Added some other lua utility functions.
* * More things to be thread-safe:Vsevolod Stakhov2012-02-131-0/+6
| | | | | | | - pool allocator is now thread-safe - lua subsystem now holds lock to avoid lua stack corruption - events subsystem now using conditional variables to wait for async_threads - insert_result is thread-safe now
* Fix stupid bug with lua stack corruption.Vsevolod Stakhov2011-10-141-1/+0
|
* Fix critical bug with lua stack cleaning that caused heavy memory leaks.0.4.3Vsevolod Stakhov2011-08-121-3/+4
| | | | Update to 0.4.3.
* * Fix build under CentOS 5 with old glib 2.12Vsevolod Stakhov2011-07-291-2/+2
| | | | | * Fix build of rspamd with CMAKE_BINARY_DIR differs from CMAKE_SOURCE_DIR Rework include style.
* Add workaround for clang under linux.Vsevolod Stakhov2011-07-211-2/+2
| | | | Fix problems found by static analyzing.
* Fix statfiles class determination euristic.Vsevolod Stakhov2011-07-181-9/+9
| | | | Fix call of classifier pre-callback.
* Create statfiles using learn_spam function for bayes classifier.Vsevolod Stakhov2011-07-181-1/+1
| | | | Fix call of pre callbacks for a classifier.
* * First commit to implement multi-statfile filter system with new learning ↵Vsevolod Stakhov2011-07-121-28/+150
| | | | mechanizm (untested yet)
* Fixes types (use glib ones) no functional change.Vsevolod Stakhov2010-10-061-9/+9
| | | | | Now all comments in commit logs beginning with '*' would be included in changelog, so important changes would be separated from small ones.
* * Introduce new logging system:Vsevolod Stakhov2009-12-221-2/+2
| | | | | | | | | - independent and customizeable buffering - line buffering - errors handling support - custom (ip based) debug - append function name automaticaly (based on __FUNCTION__) - add some logic to logs system
* * Implement pre and post classify callbacks for checking specific statfiles ↵Vsevolod Stakhov2009-12-161-0/+257
for this task TODO: - add properties to get all parameters of input task - add properties to statfile object - add some normalization function for calling from classify process - document changes