]> source.dussan.org Git - rspamd.git/log
rspamd.git
6 years ago[Minor] Log should not depend on config 2450/head
Mikhail Galanin [Thu, 30 Aug 2018 13:03:01 +0000 (14:03 +0100)]
[Minor] Log should not depend on config

When config is being closed, some destructors could be called, and that dtors could write into log. Hence, it is better to terminate config and only then close log. And log should not refer disposed config

6 years agoMerge pull request #2445 from heraklit256/rbl_groupname
Vsevolod Stakhov [Mon, 27 Aug 2018 17:53:48 +0000 (18:53 +0100)]
Merge pull request #2445 from heraklit256/rbl_groupname

adjust Spamhaus group name for received IPs

6 years agoMerge pull request #2444 from moisseev/eslint
Vsevolod Stakhov [Mon, 27 Aug 2018 17:53:29 +0000 (18:53 +0100)]
Merge pull request #2444 from moisseev/eslint

[WebUI] Avoid history table reinitialization

6 years ago[Minor] Use loop to destroy graphs and tables 2444/head
Alexander Moisseev [Mon, 27 Aug 2018 16:29:04 +0000 (19:29 +0300)]
[Minor] Use loop to destroy graphs and tables

6 years ago[Minor] Destroy symbols table on disconnect
Alexander Moisseev [Mon, 27 Aug 2018 16:26:44 +0000 (19:26 +0300)]
[Minor] Destroy symbols table on disconnect

6 years agoadjust Spamhaus group name for received IPs 2445/head
heraklit256 [Mon, 27 Aug 2018 16:19:50 +0000 (18:19 +0200)]
adjust Spamhaus group name for received IPs

6 years ago[WebUI] Avoid errors table reinitialization
Alexander Moisseev [Sun, 26 Aug 2018 19:50:24 +0000 (22:50 +0300)]
[WebUI] Avoid errors table reinitialization

6 years ago[WebUI] Avoid history table reinitialization
Alexander Moisseev [Thu, 23 Aug 2018 17:09:45 +0000 (20:09 +0300)]
[WebUI] Avoid history table reinitialization

6 years ago[Minor] Support ucontext on osx
Vsevolod Stakhov [Sun, 26 Aug 2018 13:26:22 +0000 (14:26 +0100)]
[Minor] Support ucontext on osx

6 years ago[Minor] Improve virtual ticks obtaining methods
Vsevolod Stakhov [Sun, 26 Aug 2018 13:16:33 +0000 (14:16 +0100)]
[Minor] Improve virtual ticks obtaining methods

6 years agoMerge pull request #2442 from negram/more-check-parameters
Vsevolod Stakhov [Sun, 26 Aug 2018 12:30:41 +0000 (13:30 +0100)]
Merge pull request #2442 from negram/more-check-parameters

[Minor] check if required parameters are set when calling tcp:request()

6 years ago[Minor] Really remove stupid warnings
Vsevolod Stakhov [Sat, 25 Aug 2018 16:39:21 +0000 (17:39 +0100)]
[Minor] Really remove stupid warnings

6 years ago[Project] Improve language detector: cleanup unused files, categorize
Vsevolod Stakhov [Fri, 24 Aug 2018 13:52:04 +0000 (14:52 +0100)]
[Project] Improve language detector: cleanup unused files, categorize

6 years ago[Minor] check if required parameters are set when calling tcp:request() 2442/head
Mikhail Galanin [Fri, 24 Aug 2018 13:46:30 +0000 (14:46 +0100)]
[Minor] check if required parameters are set when calling tcp:request()

6 years ago[Minor] Fix setting utf raw content
Vsevolod Stakhov [Fri, 24 Aug 2018 09:20:07 +0000 (10:20 +0100)]
[Minor] Fix setting utf raw content

6 years ago[Test] Remove legacy tokenizer tests
Vsevolod Stakhov [Fri, 24 Aug 2018 09:19:55 +0000 (10:19 +0100)]
[Test] Remove legacy tokenizer tests

6 years agoMerge pull request #2441 from negram/coroutines-to-finish-periodic-onload
Vsevolod Stakhov [Fri, 24 Aug 2018 09:06:16 +0000 (10:06 +0100)]
Merge pull request #2441 from negram/coroutines-to-finish-periodic-onload

Coroutines to finish/periodic/onload

6 years ago[Minor] no to misleading comments 2441/head
Mikhail Galanin [Fri, 24 Aug 2018 09:03:19 +0000 (10:03 +0100)]
[Minor] no to misleading comments

6 years ago[Test] Use new routines in test, just for test (manual one) :)
Mikhail Galanin [Fri, 24 Aug 2018 08:20:48 +0000 (09:20 +0100)]
[Test] Use new routines in test, just for test (manual one) :)

6 years ago[Test] More test cases for ClickHouse
Mikhail Galanin [Fri, 24 Aug 2018 08:20:06 +0000 (09:20 +0100)]
[Test] More test cases for ClickHouse

6 years ago[Minor] Reworked clickhouse routines using new API
Mikhail Galanin [Fri, 24 Aug 2018 08:18:06 +0000 (09:18 +0100)]
[Minor] Reworked clickhouse routines using new API

6 years ago[Minor] call periodic, finish and on_load via coroutine
Mikhail Galanin [Fri, 24 Aug 2018 08:17:13 +0000 (09:17 +0100)]
[Minor] call periodic, finish and on_load via coroutine

6 years ago[Minor] Split lua_thread_pool_get on lua_thread_pool_get_for_task/lua_thread_pool_get...
Mikhail Galanin [Fri, 24 Aug 2018 08:13:24 +0000 (09:13 +0100)]
[Minor] Split lua_thread_pool_get on lua_thread_pool_get_for_task/lua_thread_pool_get_for_config

6 years agoMerge pull request #2439 from negram/parameters-check
Vsevolod Stakhov [Thu, 23 Aug 2018 19:09:39 +0000 (20:09 +0100)]
Merge pull request #2439 from negram/parameters-check

[Minor] Parameters check: either config or task should be set

6 years ago[Project] Further changes in unicode operations
Vsevolod Stakhov [Thu, 23 Aug 2018 19:06:34 +0000 (20:06 +0100)]
[Project] Further changes in unicode operations

* Normalise unicode
* Add normality flag for text parts
* Store UCS in text parts
* Rework unicode conversions and operations

6 years ago[Minor] Parameters check: either config or task should be set 2439/head
Mikhail Galanin [Thu, 23 Aug 2018 16:50:17 +0000 (17:50 +0100)]
[Minor] Parameters check: either config or task should be set

6 years ago[Project] Start unicode rework
Vsevolod Stakhov [Thu, 23 Aug 2018 16:27:34 +0000 (17:27 +0100)]
[Project] Start unicode rework

6 years ago[Minor] Fix misprint
Vsevolod Stakhov [Thu, 23 Aug 2018 15:43:17 +0000 (16:43 +0100)]
[Minor] Fix misprint

6 years ago[Minor] Implement better support of indexes in adding of headers
Vsevolod Stakhov [Thu, 23 Aug 2018 15:31:22 +0000 (16:31 +0100)]
[Minor] Implement better support of indexes in adding of headers

6 years ago[Minor] Store full order of headers in milter mode
Vsevolod Stakhov [Thu, 23 Aug 2018 15:12:36 +0000 (16:12 +0100)]
[Minor] Store full order of headers in milter mode

6 years agoMerge pull request #2438 from negram/add-coroutine-to-http
Vsevolod Stakhov [Thu, 23 Aug 2018 15:21:02 +0000 (16:21 +0100)]
Merge pull request #2438 from negram/add-coroutine-to-http

Add coroutine to http

6 years ago[Test] More test cases for HTTP API 2438/head
Mikhail Galanin [Thu, 23 Aug 2018 12:49:59 +0000 (13:49 +0100)]
[Test] More test cases for HTTP API

6 years ago[Minor] Added coroutine support to HTTP module
Mikhail Galanin [Thu, 23 Aug 2018 12:45:32 +0000 (13:45 +0100)]
[Minor] Added coroutine support to HTTP module

6 years ago[Feature] Support adding and deletion of recipients in the milter block
Vsevolod Stakhov [Thu, 23 Aug 2018 10:21:14 +0000 (11:21 +0100)]
[Feature] Support adding and deletion of recipients in the milter block

6 years ago[Test] Improved process termination in tests
Mikhail Galanin [Wed, 22 Aug 2018 15:00:30 +0000 (16:00 +0100)]
[Test] Improved process termination in tests

6 years ago[Test] Added test for HTTP API
Mikhail Galanin [Wed, 22 Aug 2018 14:59:44 +0000 (15:59 +0100)]
[Test] Added test for HTTP API

6 years ago[Minor] Move resume/yield methods into appropriate place
Mikhail Galanin [Wed, 22 Aug 2018 14:58:22 +0000 (15:58 +0100)]
[Minor] Move resume/yield methods into appropriate place

6 years ago[Minor] Add id selector transform function
Vsevolod Stakhov [Wed, 22 Aug 2018 14:50:14 +0000 (15:50 +0100)]
[Minor] Add id selector transform function

6 years ago[Minor] Allow to disable learn cache
Vsevolod Stakhov [Wed, 22 Aug 2018 14:36:49 +0000 (15:36 +0100)]
[Minor] Allow to disable learn cache

6 years agoMerge pull request #2434 from moisseev/eslint
Vsevolod Stakhov [Wed, 22 Aug 2018 14:20:26 +0000 (15:20 +0100)]
Merge pull request #2434 from moisseev/eslint

[WebUI] Avoid throughput summary table reinitialization

6 years ago[Minor] Improve charset detection logic
Vsevolod Stakhov [Wed, 22 Aug 2018 09:36:00 +0000 (10:36 +0100)]
[Minor] Improve charset detection logic

6 years ago[WebUI] Avoid throughput summary table reinitialization 2434/head
Alexander Moisseev [Tue, 21 Aug 2018 18:45:23 +0000 (21:45 +0300)]
[WebUI] Avoid throughput summary table reinitialization

on data update

6 years ago[Minor] Allow semicolon separated selectors
Vsevolod Stakhov [Tue, 21 Aug 2018 18:04:22 +0000 (19:04 +0100)]
[Minor] Allow semicolon separated selectors

6 years ago[Minor] Allow double quotes in selectors arguments and escapes
Vsevolod Stakhov [Tue, 21 Aug 2018 17:30:28 +0000 (18:30 +0100)]
[Minor] Allow double quotes in selectors arguments and escapes

6 years agoMerge pull request #2433 from negram/clickhouse-migration-functional-test
Vsevolod Stakhov [Tue, 21 Aug 2018 17:19:57 +0000 (18:19 +0100)]
Merge pull request #2433 from negram/clickhouse-migration-functional-test

[Test] Added test for clickhouse migration vNONE -> v2

6 years ago[Minor] Various fixes in functional selectors
Vsevolod Stakhov [Tue, 21 Aug 2018 17:17:42 +0000 (18:17 +0100)]
[Minor] Various fixes in functional selectors

6 years ago[Minor] Improve errors logging
Vsevolod Stakhov [Tue, 21 Aug 2018 16:16:21 +0000 (17:16 +0100)]
[Minor] Improve errors logging

6 years ago[Minor] Fix selector based ratelimit configuration
Vsevolod Stakhov [Tue, 21 Aug 2018 16:10:36 +0000 (17:10 +0100)]
[Minor] Fix selector based ratelimit configuration

6 years ago[Test] Added test for clickhouse migration vNONE -> v2 2433/head
Mikhail Galanin [Tue, 21 Aug 2018 14:55:50 +0000 (15:55 +0100)]
[Test] Added test for clickhouse migration vNONE -> v2

6 years ago[Minor] Fix entities decoding
Vsevolod Stakhov [Tue, 21 Aug 2018 14:04:35 +0000 (15:04 +0100)]
[Minor] Fix entities decoding

6 years ago[Minor] Treat   as an ordinary space
Vsevolod Stakhov [Tue, 21 Aug 2018 14:04:16 +0000 (15:04 +0100)]
[Minor] Treat   as an ordinary space

6 years ago[Minor] Add `in` and `not_in` transformations
Vsevolod Stakhov [Tue, 21 Aug 2018 11:39:33 +0000 (12:39 +0100)]
[Minor] Add `in` and `not_in` transformations

6 years ago[Minor] Add time to the selectors spec
Vsevolod Stakhov [Tue, 21 Aug 2018 11:36:58 +0000 (12:36 +0100)]
[Minor] Add time to the selectors spec

6 years ago[Feature] Support (almost) all html entities
Vsevolod Stakhov [Mon, 20 Aug 2018 17:23:28 +0000 (18:23 +0100)]
[Feature] Support (almost) all html entities

6 years ago[Feature] Use khash in HTML parser
Vsevolod Stakhov [Mon, 20 Aug 2018 14:27:16 +0000 (15:27 +0100)]
[Feature] Use khash in HTML parser

6 years agoMerge pull request #2406 from negram/lua-coroutine-model
Vsevolod Stakhov [Mon, 20 Aug 2018 10:57:04 +0000 (11:57 +0100)]
Merge pull request #2406 from negram/lua-coroutine-model

[Project] coroutine threaded model for API calls: thread pool

6 years ago[Fix] Use unicode replacements for HTML entities
Vsevolod Stakhov [Mon, 20 Aug 2018 10:30:04 +0000 (11:30 +0100)]
[Fix] Use unicode replacements for HTML entities

6 years agoMerge branch 'master' into lua-coroutine-model 2406/head
Mikhail Galanin [Mon, 20 Aug 2018 09:28:35 +0000 (10:28 +0100)]
Merge branch 'master' into lua-coroutine-model

6 years ago[Minor] Benchmark for lua calls
Mikhail Galanin [Mon, 20 Aug 2018 09:27:12 +0000 (10:27 +0100)]
[Minor] Benchmark for lua calls

6 years agoMerge pull request #2430 from moisseev/eslint
Vsevolod Stakhov [Sun, 19 Aug 2018 15:48:54 +0000 (16:48 +0100)]
Merge pull request #2430 from moisseev/eslint

[WebUI] Update FooTable 3.1.4 -> 3.1.6

6 years ago[WebUI] Update FooTable 3.1.4 -> 3.1.6 2430/head
Alexander Moisseev [Sun, 19 Aug 2018 15:45:12 +0000 (18:45 +0300)]
[WebUI] Update FooTable 3.1.4 -> 3.1.6

6 years ago[Minor] Combine selectors and use the proper table field in ratelimit
Vsevolod Stakhov [Sun, 19 Aug 2018 10:55:35 +0000 (11:55 +0100)]
[Minor] Combine selectors and use the proper table field in ratelimit

6 years ago[Feature] Add selectors combine function
Vsevolod Stakhov [Sun, 19 Aug 2018 10:55:19 +0000 (11:55 +0100)]
[Feature] Add selectors combine function

6 years ago[Feature] Support selectors in ratelimit module
Vsevolod Stakhov [Sat, 18 Aug 2018 18:25:28 +0000 (19:25 +0100)]
[Feature] Support selectors in ratelimit module

6 years ago[Minor] Add request header selector
Vsevolod Stakhov [Fri, 17 Aug 2018 19:35:34 +0000 (20:35 +0100)]
[Minor] Add request header selector

6 years ago[Minor] Fix vector invocation of elt transformer
Vsevolod Stakhov [Fri, 17 Aug 2018 19:32:22 +0000 (20:32 +0100)]
[Minor] Fix vector invocation of elt transformer

6 years ago[Minor] Rework lists
Vsevolod Stakhov [Fri, 17 Aug 2018 19:30:22 +0000 (20:30 +0100)]
[Minor] Rework lists

6 years ago[Minor] Add mempool selector
Vsevolod Stakhov [Fri, 17 Aug 2018 19:25:15 +0000 (20:25 +0100)]
[Minor] Add mempool selector

6 years ago[Minor] Allow to extract raw header
Vsevolod Stakhov [Fri, 17 Aug 2018 19:18:03 +0000 (20:18 +0100)]
[Minor] Allow to extract raw header

6 years ago[Minor] Fix init logic
Vsevolod Stakhov [Fri, 17 Aug 2018 19:08:41 +0000 (20:08 +0100)]
[Minor] Fix init logic

6 years ago[Minor] Add more selectors, apply better map logic in transformers
Vsevolod Stakhov [Fri, 17 Aug 2018 16:53:44 +0000 (17:53 +0100)]
[Minor] Add more selectors, apply better map logic in transformers

6 years ago[Feature] Integrate selectors framework to multimap
Vsevolod Stakhov [Fri, 17 Aug 2018 16:27:57 +0000 (17:27 +0100)]
[Feature] Integrate selectors framework to multimap

6 years ago[Minor] Better naming: lua_rspamd_dns -> lua_dns
Mikhail Galanin [Fri, 17 Aug 2018 15:45:12 +0000 (16:45 +0100)]
[Minor] Better naming: lua_rspamd_dns -> lua_dns

6 years ago[Minor] Better naming: renamed old module - lua_dns -> lua_dns_resolver
Mikhail Galanin [Fri, 17 Aug 2018 15:41:30 +0000 (16:41 +0100)]
[Minor] Better naming: renamed old module - lua_dns -> lua_dns_resolver

6 years ago[Minor] Moved coroutine-related functionality of DNS resolver into a separated module
Mikhail Galanin [Fri, 17 Aug 2018 15:39:02 +0000 (16:39 +0100)]
[Minor] Moved coroutine-related functionality of DNS resolver into a separated module

6 years ago[Feature] Add functional selectors library
Vsevolod Stakhov [Fri, 17 Aug 2018 12:10:07 +0000 (13:10 +0100)]
[Feature] Add functional selectors library

6 years agoMerge pull request #2428 from negram/empty-struct-first
Vsevolod Stakhov [Fri, 17 Aug 2018 12:10:46 +0000 (13:10 +0100)]
Merge pull request #2428 from negram/empty-struct-first

[Minor] Clear struct before use

6 years ago[Minor] Clear struct before use 2428/head
Mikhail Galanin [Fri, 17 Aug 2018 10:40:59 +0000 (11:40 +0100)]
[Minor] Clear struct before use

6 years ago[Minor] Small improvements
Mikhail Galanin [Fri, 17 Aug 2018 10:18:41 +0000 (11:18 +0100)]
[Minor] Small improvements

6 years ago[Minor] use callback helpers to avoid conflicts between coroutine- and callback-based...
Mikhail Galanin [Fri, 17 Aug 2018 10:16:45 +0000 (11:16 +0100)]
[Minor] use callback helpers to avoid conflicts between coroutine- and callback-based code

6 years ago[Minor] Added callback helpers
Mikhail Galanin [Fri, 17 Aug 2018 10:03:57 +0000 (11:03 +0100)]
[Minor] Added callback helpers

6 years agoMerge pull request #2426 from moisseev/eslint
Vsevolod Stakhov [Thu, 16 Aug 2018 20:38:07 +0000 (21:38 +0100)]
Merge pull request #2426 from moisseev/eslint

[Minor] Refactor upload.js module to use query function

6 years ago[Minor] Refactor upload.js module to use query function 2426/head
Alexander Moisseev [Thu, 16 Aug 2018 19:49:50 +0000 (22:49 +0300)]
[Minor] Refactor upload.js module to use query function

6 years ago[Minor] Add fuzzy headers to CORS headers list
Vsevolod Stakhov [Thu, 16 Aug 2018 12:40:44 +0000 (13:40 +0100)]
[Minor] Add fuzzy headers to CORS headers list

6 years agoMore links updates
Vsevolod Stakhov [Wed, 15 Aug 2018 17:25:35 +0000 (18:25 +0100)]
More links updates

6 years agoUpdate CI link
Vsevolod Stakhov [Wed, 15 Aug 2018 17:24:33 +0000 (18:24 +0100)]
Update CI link

6 years agoMerge branch 'master' into lua-coroutine-model
Mikhail Galanin [Wed, 15 Aug 2018 15:32:26 +0000 (16:32 +0100)]
Merge branch 'master' into lua-coroutine-model

6 years ago[Minor] Better Lua 5.3 compatibility
Vsevolod Stakhov [Wed, 15 Aug 2018 15:20:41 +0000 (16:20 +0100)]
[Minor] Better Lua 5.3 compatibility

6 years agoMerge pull request #2422 from moisseev/eslint
Vsevolod Stakhov [Wed, 15 Aug 2018 14:33:50 +0000 (15:33 +0100)]
Merge pull request #2422 from moisseev/eslint

[Minor] Minor WebUI refactoring

6 years ago[Minor] Slightly refactor set iteration
Vsevolod Stakhov [Wed, 15 Aug 2018 14:33:29 +0000 (15:33 +0100)]
[Minor] Slightly refactor set iteration

6 years agoMerge branch 'master' into lua-coroutine-model
Mikhail Galanin [Wed, 15 Aug 2018 14:30:47 +0000 (15:30 +0100)]
Merge branch 'master' into lua-coroutine-model

6 years agoMerge pull request #2423 from negram/dont-use-foreach-on-set
Vsevolod Stakhov [Wed, 15 Aug 2018 14:12:27 +0000 (15:12 +0100)]
Merge pull request #2423 from negram/dont-use-foreach-on-set

[Minor] kh_foreach should not be used with hash sets, it couses segfa…

6 years ago[Minor] kh_foreach should not be used with hash sets, it couses segfault on -O0 ... 2423/head
Mikhail Galanin [Wed, 15 Aug 2018 14:09:36 +0000 (15:09 +0100)]
[Minor] kh_foreach should not be used with hash sets, it couses segfault on -O0 -fno-omit-frame-pointer. See kh_val() description

6 years ago[Minor] Use query function for authentication 2422/head
Alexander Moisseev [Wed, 15 Aug 2018 12:03:09 +0000 (15:03 +0300)]
[Minor] Use query function for authentication

6 years ago[Minor] Use Ajax "headers" parameter
Alexander Moisseev [Wed, 15 Aug 2018 11:58:33 +0000 (14:58 +0300)]
[Minor] Use Ajax "headers" parameter

to set custom headers

6 years ago[Minor] Lua v5.3 compatibility
Mikhail Galanin [Wed, 15 Aug 2018 11:30:36 +0000 (12:30 +0100)]
[Minor] Lua v5.3 compatibility

6 years ago[Minor] Do not pass thread info via callback data, it is used by different tasks
Mikhail Galanin [Wed, 15 Aug 2018 11:30:01 +0000 (12:30 +0100)]
[Minor] Do not pass thread info via callback data, it is used by different tasks

6 years agoMerge pull request #2421 from moisseev/eslint
Vsevolod Stakhov [Wed, 15 Aug 2018 11:26:10 +0000 (12:26 +0100)]
Merge pull request #2421 from moisseev/eslint

[WebUI] Fix disabling and hiding controls on page reload

6 years ago[Feature] Add more ratelimits: by digest, by attachments data, by filenames
Vsevolod Stakhov [Wed, 15 Aug 2018 11:17:15 +0000 (12:17 +0100)]
[Feature] Add more ratelimits: by digest, by attachments data, by filenames

6 years ago[WebUI] Fix disabling and hiding controls on page reload 2421/head
Alexander Moisseev [Wed, 15 Aug 2018 10:28:17 +0000 (13:28 +0300)]
[WebUI] Fix disabling and hiding controls on page reload