]>
source.dussan.org Git - rspamd.git/log
Vsevolod Stakhov [Fri, 21 Jun 2019 17:34:02 +0000 (18:34 +0100)]
Merge pull request #2935 from citrin/clickhouse
[Minor] ClickHouse: Improve schema and tests
Vsevolod Stakhov [Fri, 21 Jun 2019 15:17:51 +0000 (16:17 +0100)]
Merge pull request #2937 from citrin/robot
[Minor] Update test to work with current robot version
Anton Yuzhaninov [Fri, 21 Jun 2019 13:54:56 +0000 (15:54 +0200)]
[Minor] Update test to work with current robot version
Vsevolod Stakhov [Fri, 21 Jun 2019 11:27:51 +0000 (12:27 +0100)]
[Minor] Fix pipeline
Vsevolod Stakhov [Thu, 20 Jun 2019 11:37:40 +0000 (12:37 +0100)]
[Fix] Fix out of bound access in lua logger
Anton Yuzhaninov [Fri, 21 Jun 2019 10:10:31 +0000 (11:10 +0100)]
Save ClickHouse error log
Anton Yuzhaninov [Thu, 20 Jun 2019 18:31:56 +0000 (19:31 +0100)]
[Minor] Tests: Fix robot warning and reformat to better redability
Vsevolod Stakhov [Thu, 20 Jun 2019 18:28:15 +0000 (19:28 +0100)]
Merge pull request #2934 from citrin/perltidy
[Minor] Perltidy
Anton Yuzhaninov [Thu, 20 Jun 2019 18:16:37 +0000 (20:16 +0200)]
[Minor] Format perl scripts using current perltidy version
Anton Yuzhaninov [Thu, 20 Jun 2019 18:14:03 +0000 (20:14 +0200)]
[Minor] CI: show perltidy/tidyall versions
Different perltidy versions format code differently.
Anton Yuzhaninov [Thu, 20 Jun 2019 17:27:12 +0000 (18:27 +0100)]
[Minor] Fix ClickHouse test after upgrade
Current ClickHouse version refuses to run from root if data directory is
not owned by root. Run it from user clickhouse as it supposed to be run.
Also cleanup ClickHouse config (some options prevented it to start,
others just unnecessary).
Anton Yuzhaninov [Wed, 19 Jun 2019 16:50:24 +0000 (17:50 +0100)]
[Minor] Document ClickHouse table schema
Vsevolod Stakhov [Tue, 18 Jun 2019 11:54:44 +0000 (12:54 +0100)]
[Rules] Rework LEAKED_PASSWORD_SCAM rule one more time
Vsevolod Stakhov [Tue, 18 Jun 2019 11:50:45 +0000 (12:50 +0100)]
[Minor] Add has_symbol function to rspamd expressions
Vsevolod Stakhov [Tue, 18 Jun 2019 11:46:34 +0000 (12:46 +0100)]
[Rules] Add dedicated bitcoin addresses filter rule
Vsevolod Stakhov [Tue, 18 Jun 2019 09:11:09 +0000 (10:11 +0100)]
[Feature] Lua_mimepart: Add function filter_words
Vsevolod Stakhov [Mon, 17 Jun 2019 16:57:21 +0000 (17:57 +0100)]
[Rules] Add more detection to LEAKED_PASSWORD_SCAM
Vsevolod Stakhov [Mon, 17 Jun 2019 16:45:00 +0000 (17:45 +0100)]
[Minor] Clickhouse: Fix escaping
Vsevolod Stakhov [Mon, 17 Jun 2019 16:42:20 +0000 (17:42 +0100)]
[Fix] Clickhouse: Fix quoting
Issue: #2928
Vsevolod Stakhov [Mon, 17 Jun 2019 15:55:31 +0000 (16:55 +0100)]
[Minor] Try to fix types
Vsevolod Stakhov [Mon, 17 Jun 2019 11:16:29 +0000 (12:16 +0100)]
[Minor] Fix various settings issues
Vsevolod Stakhov [Sun, 16 Jun 2019 16:28:37 +0000 (17:28 +0100)]
Merge pull request #2927 from moisseev/webui
[Minor] WebUI: Remove hyperlink from logo
moisseev [Sun, 16 Jun 2019 15:29:00 +0000 (18:29 +0300)]
[Minor] WebUI: Remove hyperlink from logo
Vsevolod Stakhov [Sun, 16 Jun 2019 10:26:49 +0000 (11:26 +0100)]
Merge pull request #2926 from moisseev/webui
[Minor] Remove `form` role
moisseev [Sat, 15 Jun 2019 17:56:17 +0000 (20:56 +0300)]
[Minor] WebUI: Remove unused code
moisseev [Sat, 15 Jun 2019 15:33:31 +0000 (18:33 +0300)]
[Minor] Remove `form` role
as it is unnecessary for a `form` element.
Vsevolod Stakhov [Sat, 15 Jun 2019 11:38:14 +0000 (12:38 +0100)]
[Minor] Lua_config: Add config unload scripts
Vsevolod Stakhov [Sat, 15 Jun 2019 11:20:48 +0000 (12:20 +0100)]
[Test] Improve settings tests coverage
Vsevolod Stakhov [Sat, 15 Jun 2019 11:20:29 +0000 (12:20 +0100)]
[Project] Allow to set allowed and forbidden ids for symbols
Vsevolod Stakhov [Fri, 14 Jun 2019 18:58:46 +0000 (19:58 +0100)]
[Test] Add test for virtual symbols
Vsevolod Stakhov [Fri, 14 Jun 2019 18:58:28 +0000 (19:58 +0100)]
[Project] Fix virtual symbols processing in settings
Vsevolod Stakhov [Fri, 14 Jun 2019 18:29:14 +0000 (19:29 +0100)]
[Project] Fix some more issues
Vsevolod Stakhov [Fri, 14 Jun 2019 18:16:36 +0000 (19:16 +0100)]
[Project] Lua_config: Add post init scripts
Vsevolod Stakhov [Fri, 14 Jun 2019 17:28:31 +0000 (18:28 +0100)]
[Project] Various fixes
Vsevolod Stakhov [Fri, 14 Jun 2019 16:49:47 +0000 (17:49 +0100)]
[Doc] Support available versions in doxydown
Vsevolod Stakhov [Fri, 14 Jun 2019 16:44:59 +0000 (17:44 +0100)]
[Project] Add missing methods to lua_config
Vsevolod Stakhov [Fri, 14 Jun 2019 16:44:46 +0000 (17:44 +0100)]
[Project] Rework settings registration
Vsevolod Stakhov [Fri, 14 Jun 2019 16:12:00 +0000 (17:12 +0100)]
[Minor] Lua_task: Allow to set settings id
Vsevolod Stakhov [Fri, 14 Jun 2019 15:11:52 +0000 (16:11 +0100)]
[Project] Implement checks for symbols against allowed ids
Vsevolod Stakhov [Fri, 14 Jun 2019 14:49:10 +0000 (15:49 +0100)]
[Project] Add symbols for explicit enabling
Vsevolod Stakhov [Fri, 14 Jun 2019 14:40:51 +0000 (15:40 +0100)]
[Project] Link symcache item to metric symbol
Vsevolod Stakhov [Fri, 14 Jun 2019 13:41:58 +0000 (14:41 +0100)]
[Minor] Lua_config: Add get_group_symbols method
Vsevolod Stakhov [Fri, 14 Jun 2019 13:15:39 +0000 (14:15 +0100)]
[Project] Implement logic to deal with settings id in the cache
Vsevolod Stakhov [Fri, 14 Jun 2019 12:23:15 +0000 (13:23 +0100)]
[Project] Add preprocessed settings to the config structure
Vsevolod Stakhov [Fri, 14 Jun 2019 10:50:41 +0000 (11:50 +0100)]
[Fix] Html: Fix processing of fjlig entity
TODO: Make a generic fix
Vsevolod Stakhov [Thu, 13 Jun 2019 15:05:10 +0000 (16:05 +0100)]
[Project] Implement settings ids checks
Vsevolod Stakhov [Thu, 13 Jun 2019 14:44:25 +0000 (15:44 +0100)]
[Project] Add methods to manipulate with allowed ids
Vsevolod Stakhov [Wed, 12 Jun 2019 13:45:57 +0000 (14:45 +0100)]
[Minor] Protocol: Allow parsing of recipients with commas
Vsevolod Stakhov [Tue, 11 Jun 2019 18:24:02 +0000 (19:24 +0100)]
[Minor] Clickhouse: Store settings id
Vsevolod Stakhov [Tue, 11 Jun 2019 16:54:25 +0000 (17:54 +0100)]
[Project] Settings: Add lua_settings library
Vsevolod Stakhov [Tue, 11 Jun 2019 14:54:18 +0000 (15:54 +0100)]
[Test] Fix clickhose tests
Vsevolod Stakhov [Tue, 11 Jun 2019 11:48:25 +0000 (12:48 +0100)]
[Feature] Clickhouse: Add authenticated user and settings id columns
Vsevolod Stakhov [Tue, 11 Jun 2019 11:17:38 +0000 (12:17 +0100)]
[Minor] Another try to fix transactions mess
Vsevolod Stakhov [Mon, 10 Jun 2019 19:50:22 +0000 (20:50 +0100)]
[Minor] Sqlite: Try to fix messy transaction
Vsevolod Stakhov [Mon, 10 Jun 2019 19:20:47 +0000 (20:20 +0100)]
[Test] Copy statistics to avoid permissions problem
Vsevolod Stakhov [Mon, 10 Jun 2019 15:33:19 +0000 (16:33 +0100)]
[Rework] Eliminate lua_squeeze as it has shown no improvements
Vsevolod Stakhov [Mon, 10 Jun 2019 12:50:08 +0000 (13:50 +0100)]
[Test] Forgotten data files
Vsevolod Stakhov [Mon, 10 Jun 2019 12:47:35 +0000 (13:47 +0100)]
[Test] Add classifier symbols to the tests
Vsevolod Stakhov [Mon, 10 Jun 2019 12:41:56 +0000 (13:41 +0100)]
[Test] Add some classifiers to settings tests
Vsevolod Stakhov [Mon, 10 Jun 2019 12:41:31 +0000 (13:41 +0100)]
[Minor] Sqlite: Improve tokens retreiving
Vsevolod Stakhov [Mon, 10 Jun 2019 11:35:21 +0000 (12:35 +0100)]
[Conf] Slashing: Change default stats backend to Redis
Vsevolod Stakhov [Mon, 10 Jun 2019 10:54:07 +0000 (11:54 +0100)]
[Test] Add settings id tests
Vsevolod Stakhov [Mon, 10 Jun 2019 10:53:43 +0000 (11:53 +0100)]
[Minor] Settings: Use numeric settings id
Vsevolod Stakhov [Mon, 10 Jun 2019 10:30:46 +0000 (11:30 +0100)]
[Minor] Settings: Treat settings section name as implicit id
Vsevolod Stakhov [Mon, 10 Jun 2019 07:57:47 +0000 (08:57 +0100)]
Merge pull request #2921 from moisseev/mime-types
[Minor] Add "application/excel" CT for "*.xls"
Alexander Moisseev [Mon, 10 Jun 2019 06:02:41 +0000 (09:02 +0300)]
[Minor] Add "application/excel" CT for "*.xls"
Vsevolod Stakhov [Sun, 9 Jun 2019 08:51:58 +0000 (09:51 +0100)]
[Test] Improve address parsing unit tests
Vsevolod Stakhov [Sun, 9 Jun 2019 08:51:42 +0000 (09:51 +0100)]
[Minor] Allow braced and prefixed IPv6 addresses
Vsevolod Stakhov [Sun, 9 Jun 2019 08:35:55 +0000 (09:35 +0100)]
Merge pull request #2915 from gollux/master
libutil: Fix parsing of address "IPv6:::1"
Vsevolod Stakhov [Sun, 9 Jun 2019 08:34:29 +0000 (09:34 +0100)]
[Conf] Surbl: Utilise new `check_emails` option
Vsevolod Stakhov [Sun, 9 Jun 2019 08:28:03 +0000 (09:28 +0100)]
[Feature] SURBL: Allow to check email domains
Issue: #2913
Vsevolod Stakhov [Sat, 8 Jun 2019 08:41:16 +0000 (09:41 +0100)]
[Minor] Lua_cryptobox: Allow to define output hash length
Vsevolod Stakhov [Sat, 8 Jun 2019 08:32:19 +0000 (09:32 +0100)]
[Minor] Fix types
Vsevolod Stakhov [Fri, 7 Jun 2019 15:02:17 +0000 (16:02 +0100)]
[Fix] Do not assert if length of sig is bad, just fail verification
Vsevolod Stakhov [Fri, 7 Jun 2019 12:40:37 +0000 (13:40 +0100)]
[Project] Store settings id directly
Vsevolod Stakhov [Wed, 5 Jun 2019 16:09:51 +0000 (17:09 +0100)]
Merge pull request #2917 from moisseev/webui
[WebUI] Scan/Learn: enable/disable buttons on mouse events
moisseev [Wed, 5 Jun 2019 16:07:16 +0000 (19:07 +0300)]
[WebUI] Scan/Learn: enable/disable buttons on mouse events
(drag-and-drop and context menu cut, delete, paste)
Vsevolod Stakhov [Wed, 5 Jun 2019 13:09:42 +0000 (14:09 +0100)]
[Minor] Langdet: Improve debugging slightly
Vsevolod Stakhov [Wed, 5 Jun 2019 12:59:45 +0000 (13:59 +0100)]
[CritFix] Langdet: Fix language detection where no stop words found
Vsevolod Stakhov [Wed, 5 Jun 2019 12:59:29 +0000 (13:59 +0100)]
[Minor] Langdet: Increase cut-off limit
Vsevolod Stakhov [Wed, 5 Jun 2019 11:04:15 +0000 (12:04 +0100)]
[Fix] Lang_det: Try better to distinguish Chinese and Japanese
Vsevolod Stakhov [Wed, 5 Jun 2019 10:39:15 +0000 (11:39 +0100)]
[Fix] Really fix hyperscan workaround
Closes: #2916
Vsevolod Stakhov [Wed, 5 Jun 2019 09:45:27 +0000 (10:45 +0100)]
Revert "[Fix] Escape utf in regexp to dodge ragel/hyperscan issue"
This reverts commit
e658c7fcb5d275f144954b9cea1c34fadfa81902.
Martin Mares [Tue, 4 Jun 2019 16:35:50 +0000 (18:35 +0200)]
libutil: Fix parsing of address "IPv6:::1"
Dropping of leading colon must be performed after the "IPv6:" prefix
is stripped.
Also fixed a couple of wrong comments.
Vsevolod Stakhov [Tue, 4 Jun 2019 11:56:30 +0000 (12:56 +0100)]
[Test] Fix json tests
Vsevolod Stakhov [Tue, 4 Jun 2019 09:06:24 +0000 (10:06 +0100)]
[Fix] Escape utf in regexp to dodge ragel/hyperscan issue
Vsevolod Stakhov [Mon, 3 Jun 2019 16:09:15 +0000 (17:09 +0100)]
[Minor] Arm64: Implement poor man slabs
Issue: #2906
Vsevolod Stakhov [Mon, 3 Jun 2019 16:09:02 +0000 (17:09 +0100)]
[Minor] Fix missing require
Vsevolod Stakhov [Mon, 3 Jun 2019 15:10:19 +0000 (16:10 +0100)]
[Minor] Dkim_signing: NDR are not DKIM signed
Issue: #2901
Vsevolod Stakhov [Sun, 2 Jun 2019 22:32:24 +0000 (23:32 +0100)]
[Minor] Fix indentation
Vsevolod Stakhov [Sat, 1 Jun 2019 20:57:42 +0000 (21:57 +0100)]
[Minor] Fix tabulation
Vsevolod Stakhov [Fri, 31 May 2019 15:41:10 +0000 (16:41 +0100)]
[Test] Adopt dkim signing tests to load modules
Vsevolod Stakhov [Fri, 31 May 2019 15:40:52 +0000 (16:40 +0100)]
[Minor] Compat: Allow to use old style sign_condition
Vsevolod Stakhov [Fri, 31 May 2019 15:20:42 +0000 (16:20 +0100)]
[Rework] Dkim: Remove signing code
Vsevolod Stakhov [Fri, 31 May 2019 15:16:38 +0000 (16:16 +0100)]
[Rework] Dkim_signing: Move sign condition to dkim_signing
Vsevolod Stakhov [Fri, 31 May 2019 15:16:16 +0000 (16:16 +0100)]
[Minor] Lua_util: Add callback_from_string routine
Vsevolod Stakhov [Fri, 31 May 2019 14:19:43 +0000 (15:19 +0100)]
[Test] Add functional tests for ssl in lua_tcp
Vsevolod Stakhov [Fri, 31 May 2019 14:19:29 +0000 (15:19 +0100)]
[Test] Add dummy ssl echo server
Vsevolod Stakhov [Fri, 31 May 2019 14:19:00 +0000 (15:19 +0100)]
[Test] Fix sockets reusing
Vsevolod Stakhov [Thu, 30 May 2019 16:23:44 +0000 (17:23 +0100)]
[Minor] LibUCL: Fix reading at the end of chunk