Mikhail Galanin
68be6b0567
[Test] more tests
5 years ago
Vsevolod Stakhov
7395c6df62
[Minor] Map type
5 years ago
Vsevolod Stakhov
7f90ecb880
[Minor] Sigh, disable redis schema usage for now
5 years ago
Vsevolod Stakhov
9307919cfa
Merge pull request #2509 from negram/fix-set_header
[Minor] Fixed task:set_request_header(), value is 3rd parameter
5 years ago
Vsevolod Stakhov
8726112ccb
[Minor] Fix more issues with reputation and redis schema
5 years ago
Vsevolod Stakhov
e65c04f17c
[Minor] Rework reputation config structure and validation
5 years ago
Vsevolod Stakhov
ba2f3148eb
[Feature] Add schema validation for Redis settings
5 years ago
Mikhail Galanin
8cf2fa72c9
[Minor] Fixed task:set_request_header(), value is 3rd parameter
5 years ago
Vsevolod Stakhov
d4e7f41003
Merge pull request #2508 from negram/test-case-via-param
Test case via param
5 years ago
Mikhail Galanin
a29439606c
[Test] Enable one more now-working test-case
5 years ago
Mikhail Galanin
abea727a9e
[Test] We don't this chek inside the test anymore. We have command-line param instead
5 years ago
Mikhail Galanin
99b68e8e51
[Test] Pass test-case patten into test engine
So that now we can set which test cases should be runned:
$ ./test/rspamd-test -p /rspamd/lua -t selectors.lua -c "case .* rcpts"
$ ./test/rspamd-test -p /rspamd/lua -c "case 1st rcpts"
-c accepts Lua-pattern
5 years ago
Vsevolod Stakhov
d82bb62834
[Minor] Fix implicit conversion
5 years ago
Vsevolod Stakhov
328ddb84bf
Merge pull request #2507 from negram/uncomment-working-cases
[Test] Uncommented cases which are now working
5 years ago
Vsevolod Stakhov
b8249b57dd
Merge pull request #2506 from negram/selectors-fix
Selectors fix
5 years ago
Mikhail Galanin
4bb33df06c
[Test] Uncommented cases which are now working
5 years ago
Mikhail Galanin
ca61c951dc
[Minor] logical error, get_variable() accepts either one or two arguments
When second argument is nil it still considered as two arguments call, however 2nd one is expected to be string.
5 years ago
Mikhail Galanin
0386a2a696
[Minor] misprint
5 years ago
Alexander Moisseev
193ded1291
[Minor] Use consistent return behavior
5 years ago
Vsevolod Stakhov
571ce4fc5e
Merge pull request #2502 from negram/selectors-test
[Test] Few "basic" test cases for selectors
5 years ago
Vsevolod Stakhov
adb5066f91
Merge pull request #2503 from negram/test-update
[Test] Rewrote test using new assertion
5 years ago
Vsevolod Stakhov
e5d49b802e
Merge pull request #2504 from negram/run-specific-lua-suite
[Test] Added key to run specific lua-test
5 years ago
Vsevolod Stakhov
fecb6115da
[Minor] Some more selectors fixes
5 years ago
Alexander Moisseev
ddcd7e0418
[Minor] Guard for-in
5 years ago
Mikhail Galanin
57d19346b6
[Test] Added key to run specifig lua-test
example:
$ ./test/rspamd-test -p /rspamd/lua -t selectors.lua
no way to run two test suites atm
5 years ago
Mikhail Galanin
90e1a1f4ea
[Test] Rewrote test using new assertion
5 years ago
Mikhail Galanin
f22a82dfc6
Merge branch 'master' into selectors-test
5 years ago
Mikhail Galanin
27689aa22f
[Test] Few "basic" test cases for selectors
5 years ago
Vsevolod Stakhov
50d51fca34
[Minor] Deepcopy is not good for recursive schemas
5 years ago
Vsevolod Stakhov
34dacbe0c8
Merge pull request #2501 from negram/new-assertions
[Test] Assertions for table comparison that are nicer to use
5 years ago
Mikhail Galanin
bd3b9f376e
[Test] Assertions for table comparsion that are nicer to use
5 years ago
Vsevolod Stakhov
3f158ae4b4
[Minor] Fix selectors iterators operations
5 years ago
Vsevolod Stakhov
ba47061e73
[Feature] Add generic selector to reputation module
5 years ago
Vsevolod Stakhov
af8e0a3aa3
[Minor] Remove outdated lgpl code, deprecated long ago
5 years ago
Vsevolod Stakhov
a89eebf63a
[Minor] Add tableshape library from https://github.com/leafo/tableshape
5 years ago
Vsevolod Stakhov
a133eafedf
[Feature] Add some recursion protection to lua logger
5 years ago
Vsevolod Stakhov
95df159193
Merge pull request #2500 from negram/init-urlparser-test
[Test] Init URL parser before running unit tests
5 years ago
Mikhail Galanin
dedc18fecc
[Test] Init URL parser before running unit tests
5 years ago
Vsevolod Stakhov
d08955ec92
Merge pull request #2497 from negram/doc-misprint-fix
[Minor] Misprint in function doc
5 years ago
Mikhail Galanin
d081f133da
[Minor] Misprint in function doc
5 years ago
Vsevolod Stakhov
52d2c9fe2d
[Conf] Slashing change: add settings configuration to the vanilla set
5 years ago
Vsevolod Stakhov
d714f0bd1a
[Fix] Show the proper frame when using lua_util.debugm
5 years ago
Vsevolod Stakhov
547c3f34f4
[Minor] Allow stack pos in logger.logx as well
5 years ago
Vsevolod Stakhov
2667d4c8ca
[Minor] Accept stack pos when showing debug in logger.debugm
5 years ago
Vsevolod Stakhov
b352a4cad4
[Minor] Improve `hash` processor
5 years ago
Vsevolod Stakhov
4cf646a8e5
[Minor] Simplify methods invocation
5 years ago
Vsevolod Stakhov
b2db46e552
[Project] Implement implicit conversions to userdata
5 years ago
Vsevolod Stakhov
22b8f221c6
[Project] Add method concept
5 years ago
Vsevolod Stakhov
413beccaaa
Merge pull request #2495 from negram/sa_body-regex
[Test] Input data for the last test case
5 years ago
Mikhail Galanin
5aaa0cdfad
[Test] Input data for the last test case
5 years ago