Commit Graph

24 Commits

Author SHA1 Message Date
MAGIC 99687b0f24 Welcome to 2021 2021-01-01 19:37:07 +01:00
Alexey Sokolov 1580140b3b Merge branch 'reorder' 2020-10-04 20:40:45 +01:00
njhanley 99b33eade9 Add MoveChan and SwapChans commands 2020-09-29 19:32:45 -04:00
Alexey Sokolov 47e633b267 Don't load modperl as a python module
Close #1757
2020-09-17 23:08:19 +01:00
Alexey Sokolov dff01490ca Merge branch '1.8.x' 2020-05-31 11:49:10 +01:00
Alexey Sokolov 2390ad111b Fix null pointer dereference in echo-message
The bug was introduced while fixing #1705. If a client did not enable
echo-message, and doesn't have a network, it crashes.

Thanks to LunarBNC for reporting this
2020-05-31 11:45:40 +01:00
Alexey Sokolov b3b38956a7 Rewrite how modpython loads modules
'imp' was deprecated since python 3.3.
This removes the undocumented feature of loading python C extension as
ZNC module, but adds a test that python package can be loaded.

Bump python requirements to 3.4
2020-05-23 13:32:50 +01:00
Alexey Sokolov 8717badcfc Try fix flaky ZNCTest.AwayNotify 2020-04-21 23:09:11 +01:00
Alexey Sokolov b1d4cb0ae5 Add test for sasl module 2020-03-29 13:46:59 +01:00
Alexey Sokolov d229761821 Fix echo-message for *status
Close #1705
2020-03-29 08:45:10 +01:00
Alexey Sokolov f3d7922499 Update copyright in files which were missing in the previous update 2020-01-05 11:37:51 +00:00
Jonathan Herlin e99cad4c25 Fix crypt module test (#1673) 2019-07-05 20:03:46 +01:00
Alexey Sokolov 0370efe830 Merge branch '1.7.x' 2019-04-19 12:15:14 +01:00
Alexey Sokolov 964747e6b4 Increase znc-buildmod timeout in the test.
For some slow systems 30s is too small.
2019-04-19 12:13:44 +01:00
Alexey Sokolov 8d309bbb3d Merge branch '1.7.x' 2019-03-30 16:17:59 +00:00
Alexey Sokolov 64613bc8b6 Don't crash if user specified invalid encoding.
This is CVE-2019-9917
2019-03-22 00:22:00 +00:00
Pierre Gordon 6af027c5dd Normalize methods with 'UserName' to 'Username' 2019-01-01 16:19:27 -05:00
Alexey Sokolov 4b92790562 Fix #1543 for modperl too
While at it, fix a memory leak in NV handling

Add some tests
2018-06-04 22:03:10 +01:00
Alexey Sokolov c6a04023a4 Reformat test 2018-04-04 01:21:09 +01:00
Alexey Sokolov d8327977ca Add socket test to modperl 2018-03-27 22:49:23 +01:00
Alexey Sokolov 6eaa93f8da Fix python sockets after latest changes.
The issue was triggered by CCoreTranslationMixin being parent of
CZNCSock, and DisableReadLine wasn't found as attribute anymore.

Thanks to obiw4n for report.
2018-03-27 22:26:05 +01:00
Alexey Sokolov 5cb50eccd1 Save channel key on user JOIN even if user was not on the channel yet,
which is the usual case.

Fix #1223
2018-02-14 08:30:21 +00:00
Alexey Sokolov 986bb8dc6d Add test for away-notify and cap-notify
Fix #1360
2018-02-13 21:55:32 +00:00
Alexey Sokolov 70dabc07dc Split integration test file to several files. 2018-02-13 21:25:17 +00:00