commit b6a405f: Merge pull request #12 from rspamd/master

GitHub noreply at github.com
Tue Apr 16 11:14:16 UTC 2019


Author: heraklit256
Date: 2019-04-15 18:23:32 +0000
URL: https://github.com/rspamd/rspamd/commit/b6a405f63e71ba8ca252d9aaf6587c0b7520490b

Merge pull request #12 from rspamd/master
merge upstream into local master

 .drone.yml                                         |    4 +
 .github/ISSUE_TEMPLATE.md                          |   36 +-
 .github/ISSUE_TEMPLATE/bug_report.md               |   43 +
 .github/ISSUE_TEMPLATE/feature_request.md          |   30 +
 .github/stale.yml                                  |   17 +
 .luacheckrc                                        |    2 +
 .stylelintrc.json                                  |   17 +
 CMakeLists.txt                                     |   24 +-
 CONTRIBUTING.md                                    |  102 ++
 CONTRIBUTIONS.md                                   |  125 --
 ChangeLog                                          |  176 ++
 PVS-Studio.cmake                                   |  547 ++++++
 README.md                                          |    2 +-
 clang-plugin/printf_check.cc                       |   13 +-
 conf/composites.conf                               |   10 +-
 conf/modules.d/external_services.conf              |    2 -
 conf/modules.d/surbl.conf                          |    7 +-
 conf/scores.d/rbl_group.conf                       |   37 +
 conf/scores.d/surbl_group.conf                     |   62 +-
 contrib/fpconv/CMakeLists.txt                      |   12 +
 contrib/fpconv/LICENSE                             |   23 +
 contrib/fpconv/fpconv.c                            |  332 ++++
 contrib/fpconv/fpconv.h                            |   33 +
 contrib/fpconv/powers.h                            |   87 +
 contrib/librdns/curve.c                            |   25 +-
 contrib/librdns/dns_private.h                      |    4 +
 contrib/librdns/rdns.h                             |    7 +-
 contrib/librdns/resolver.c                         |   55 +-
 contrib/librdns/util.c                             |   92 +-
 contrib/librdns/util.h                             |    7 +-
 contrib/libucl/ucl.h                               |   44 +-
 contrib/libucl/ucl_hash.c                          |   18 +-
 contrib/libucl/ucl_internal.h                      |   13 +-
 contrib/libucl/ucl_parser.c                        |   18 +-
 contrib/libucl/ucl_util.c                          |   69 +-
 contrib/lua-lpeg/lpegre.lua                        |  267 +++
 contrib/{lua-lpeg => lua-lupa}/LICENSE             |   12 +-
 contrib/lua-lupa/README.md                         |  179 ++
 contrib/lua-lupa/lupa.lua                          | 1807 ++++++++++++++++++++
 contrib/lua-torch/nn/StochasticGradient.lua        |   11 +-
 contrib/lua-torch/nn/lib/THNN/CMakeLists.txt       |    2 +
 contrib/lua-torch/torch7/CMakeLists.txt            |    1 -
 contrib/lua-torch/torch7/lib/TH/CMakeLists.txt     |    2 +-
 contrib/publicsuffix/effective_tld_names.dat       | 1290 +++++++++-----
 doc/doxydown/doxydown.pl                           |    9 +-
 interface/css/rspamd.css                           |  875 +++++-----
 interface/index.html                               |  123 +-
 interface/js/app/graph.js                          |   84 +-
 interface/js/app/rspamd.js                         |    4 +-
 interface/js/app/symbols.js                        |    2 +-
 interface/js/app/upload.js                         |    9 +-
 lualib/lua_auth_results.lua                        |   37 +-
 lualib/lua_dkim_tools.lua                          |  164 +-
 lualib/lua_ffi/common.lua                          |   11 +
 lualib/lua_ffi/init.lua                            |    1 +
 lualib/lua_ffi/spf.lua                             |  143 ++
 lualib/lua_ical.lua                                |   47 +
 lualib/lua_maps.lua                                |   40 +-
 lualib/lua_redis.lua                               |  170 +-
 lualib/lua_scanners/clamav.lua                     |    2 +-
 lualib/lua_scanners/common.lua                     |   53 +-
 lualib/lua_scanners/init.lua                       |    1 +
 lualib/lua_scanners/oletools.lua                   |    6 +-
 lualib/lua_scanners/vadesecure.lua                 |    4 +-
 lualib/lua_squeeze_rules.lua                       |   25 +
 lualib/lua_util.lua                                |   65 +-
 lualib/rspamadm/configgraph.lua                    |  174 ++
 lualib/rspamadm/configwizard.lua                   |  104 +-
 lualib/rspamadm/dns_tool.lua                       |  177 ++
 lualib/rspamadm/mime.lua                           |    2 +-
 lualib/rspamadm/stat_convert.lua                   |    4 +-
 lualib/rspamadm/template.lua                       |  129 ++
 package.json                                       |    4 +-
 rules/misc.lua                                     |    2 +-
 rules/regexp/headers.lua                           |   18 +-
 rules/regexp/misc.lua                              |   88 +-
 src/CMakeLists.txt                                 |    3 +-
 src/client/rspamc.c                                |   35 +-
 src/client/rspamdclient.c                          |    5 +-
 src/client/rspamdclient.h                          |    4 +-
 src/controller.c                                   |    5 +-
 src/fuzzy_storage.c                                |   22 +-
 src/libcryptobox/cryptobox.c                       |    4 +
 src/libmime/archives.c                             |   37 +-
 src/libmime/archives.h                             |    4 +-
 src/libmime/email_addr.h                           |    6 +-
 src/libmime/message.c                              |   83 +-
 src/libmime/mime_parser.c                          |   17 +-
 src/libserver/cfg_file.h                           |    5 +-
 src/libserver/cfg_rcl.c                            |  161 +-
 src/libserver/cfg_rcl.h                            |    7 +-
 src/libserver/cfg_utils.c                          |    2 +-
 src/libserver/dkim.c                               |   86 +-
 src/libserver/dns.c                                |   44 +-
 src/libserver/dns.h                                |   38 +-
 src/libserver/html.c                               |   57 +-
 src/libserver/html.h                               |    1 +
 src/libserver/milter.c                             |    6 +-
 src/libserver/milter.h                             |    4 +-
 src/libserver/protocol.c                           |   76 +-
 src/libserver/rspamd_control.c                     |    5 +-
 src/libserver/rspamd_symcache.c                    |   28 +-
 src/libserver/rspamd_symcache.h                    |   47 +-
 src/libserver/spf.c                                |  208 ++-
 src/libserver/spf.h                                |   40 +-
 src/libserver/task.c                               |  123 +-
 src/libserver/task.h                               |  105 +-
 src/libserver/url.c                                |  107 +-
 src/libserver/url.h                                |  111 +-
 src/libserver/worker_util.c                        |   72 +-
 src/libstat/backends/sqlite3_backend.c             |   62 +-
 src/libstat/tokenizers/tokenizers.c                |    4 +-
 src/libutil/hash.c                                 |   19 +-
 src/libutil/hash.h                                 |   12 +
 src/libutil/http_connection.c                      |  251 ++-
 src/libutil/http_connection.h                      |   62 +-
 src/libutil/http_context.c                         |  194 ++-
 src/libutil/http_context.h                         |    7 +-
 src/libutil/http_message.c                         |    4 +-
 src/libutil/http_private.h                         |    5 +-
 src/libutil/http_router.c                          |    5 +-
 src/libutil/logger.c                               |    8 +-
 src/libutil/map.c                                  |  170 +-
 src/libutil/map_private.h                          |    1 -
 src/libutil/mem_pool.c                             |   20 +-
 src/libutil/multipattern.c                         |    1 -
 src/libutil/printf.c                               |   76 +-
 src/libutil/rrd.c                                  |   13 +-
 src/libutil/shingles.c                             |    4 +
 src/libutil/sqlite_utils.c                         |    2 +
 src/libutil/str_util.c                             |    8 +-
 src/libutil/str_util.h                             |    5 +-
 src/libutil/upstream.c                             |   49 +-
 src/libutil/upstream.h                             |    4 +
 src/libutil/util.c                                 |   33 +-
 src/libutil/util.h                                 |    3 +
 src/log_helper.c                                   |    6 +-
 src/lua/lua_common.c                               |  358 ++--
 src/lua/lua_common.h                               |   10 +-
 src/lua/lua_config.c                               |  295 +++-
 src/lua/lua_cryptobox.c                            |   84 +
 src/lua/lua_dns.c                                  |   18 +-
 src/lua/lua_dns_resolver.c                         |   28 +-
 src/lua/lua_dns_resolver.h                         |    6 +-
 src/lua/lua_html.c                                 |    9 +-
 src/lua/lua_http.c                                 |  185 +-
 src/lua/lua_logger.c                               |   61 +-
 src/lua/lua_task.c                                 |  361 +++-
 src/lua/lua_tcp.c                                  |   14 +-
 src/lua/lua_thread_pool.c                          |    4 +-
 src/lua/lua_udp.c                                  |    2 +-
 src/lua/lua_url.c                                  |   30 +-
 src/lua/lua_util.c                                 |  246 ++-
 src/lua_worker.c                                   |    2 +-
 src/plugins/dkim_check.c                           |    6 +
 src/plugins/fuzzy_check.c                          |    9 +-
 src/plugins/lua/antivirus.lua                      |   12 +
 src/plugins/lua/arc.lua                            |   16 +-
 src/plugins/lua/bayes_expiry.lua                   |   11 +-
 src/plugins/lua/clickhouse.lua                     |   42 +-
 src/plugins/lua/clustering.lua                     |    6 +-
 src/plugins/lua/dkim_signing.lua                   |   15 +-
 src/plugins/lua/dmarc.lua                          |    3 +-
 src/plugins/lua/elastic.lua                        |   11 +-
 src/plugins/lua/external_services.lua              |    2 +-
 src/plugins/lua/greylist.lua                       |   23 +-
 src/plugins/lua/mime_types.lua                     |   91 +-
 src/plugins/lua/neural.lua                         |   13 +-
 src/plugins/lua/rbl.lua                            |   14 +-
 src/plugins/lua/replies.lua                        |   69 +-
 src/plugins/lua/reputation.lua                     |    5 +-
 src/plugins/lua/settings.lua                       |   26 +-
 src/plugins/lua/spamassassin.lua                   |   35 +-
 src/plugins/lua/spamtrap.lua                       |    2 +-
 src/plugins/regexp.c                               |    2 +-
 src/plugins/spf.c                                  |   37 +-
 src/plugins/surbl.c                                |  264 ++-
 src/rspamadm/configdump.c                          |    6 +-
 src/rspamadm/configtest.c                          |    6 +-
 src/rspamadm/control.c                             |   14 +-
 src/rspamadm/lua_repl.c                            |    2 -
 src/rspamadm/rspamadm.c                            |   33 +-
 src/rspamadm/rspamadm.h                            |    1 +
 src/rspamd.c                                       |   43 +-
 src/rspamd_proxy.c                                 |   20 +-
 src/worker.c                                       |   10 +-
 .../{003_eddsa.robot => 007_sign_maps.robot}       |   11 +-
 .../functional/configs/dkim_signing/sign_maps.conf |    9 +
 test/functional/messages/next2last-doublebad.eml   |    4 +-
 test/lua/unit/logger.lua                           |   10 +-
 test/lua/unit/rspamd_util.lua                      |   89 +
 test/rspamd_dns_test.c                             |   19 +-
 test/rspamd_lua_pcall_vs_resume_test.c             |    6 +-
 test/rspamd_lua_test.c                             |    3 +-
 test/rspamd_upstream_test.c                        |    2 +-
 195 files changed, 10730 insertions(+), 2814 deletions(-)


More information about the Commits mailing list