Commit Graph

4402 Commits

Author SHA1 Message Date
Alexey Sokolov 5b29bb711e Merge pull request #1228 from onovy/typos
Fixed few misspellings
2016-01-05 21:59:21 +00:00
Ondřej Nový 6881ca5b8f Fixed few misspellings 2016-01-05 20:45:08 +01:00
Alexey Sokolov 0268f6dda6 Merge pull request #1222 from onovy/ssl_ciphers_update
Default SSL ciphers updated to new Mozilla recommendation
2016-01-02 18:07:34 +00:00
onovy 5d6068ca9d Default SSL ciphers updated to new Mozilla recommendation 2016-01-02 17:32:30 +01:00
Alexey Sokolov 5b9cde062f Merge pull request #1220 from Un1matr1x/master
Welcome to 2016
2016-01-01 19:31:09 +00:00
Falk Seidel 8f73840e74 Welcome to 2016
🎆  Happy 2016 🎆
2016-01-01 20:11:21 +01:00
Alexey Sokolov a8cd5625bc Merge branch '1.6.x' 2015-12-30 16:13:58 +00:00
Alexey Sokolov 901ead89d5 Fix 404 when accessing web UI with the prefix, but without ending /
Thanks, txtsd
2015-12-30 16:13:19 +00:00
Alexey Sokolov b17481b751 Readme: Add coverity badge 2015-12-25 11:03:21 +00:00
Alexey Sokolov 8e0faa7475 Merge pull request #1213 from nasonfish/master
modules/sasl, modules/route_replies: interpret messages even if they have prefix tags (resolves #1212)
2015-12-22 16:41:38 +00:00
Daniel Barnes d4c299049e modules/sasl, modules/route_replies: interpret messages as intended even if they have prefix tags 2015-12-22 08:30:26 -07:00
Alexey Sokolov e210ade2ef Merge commit 'refs/pull/1205/head' of github.com:znc/znc 2015-12-14 18:03:25 +00:00
Donal Cahill 0a3ef43a2e Fix string comparison. 2015-12-13 23:23:12 +00:00
Donal Cahill 15c200c908 Disallow CIDR /00000 2015-12-13 23:16:58 +00:00
Donal Cahill 2ec724a256 Fix char comparison. 2015-12-13 20:13:19 +00:00
Donal Cahill db7e1ef162 Fix up CIDR code. 2015-12-13 15:36:35 +00:00
Donal Cahill 56c97af14b Improve code quality. 2015-12-13 12:23:08 +00:00
Donal Cahill a5540557ac Fix another memory leak. 2015-12-13 08:10:40 +00:00
Donal Cahill 8748abb525 Try to fix memory leak. 2015-12-13 07:58:04 +00:00
Donal Cahill d6b839ef85 Remove AI_ADDRCONFIG from CIDR IP conversion.
IPv6 tests will fail if AI_ADDRCONFIG is set. It's not really needed.
2015-12-13 07:39:10 +00:00
Donal Cahill b4bb4fa0cd Add support for CIDR notation in allowed hosts list.
Fixes #207
2015-12-13 06:31:51 +00:00
Alexey Sokolov 481fdf64a4 Fix build without SSL 2015-12-10 22:15:46 +00:00
Alexey Sokolov 16a8c77737 Replace virtual with override where possible.
Using clang-tidy
2015-12-08 20:51:50 +00:00
Alexey Sokolov 79e979e5cd Fix tabs/spaces inside comments 2015-12-07 01:07:45 +00:00
Alexey Sokolov d185d6f22d clang-format: switch tabs to spaces
I like tabs, but I have to admit that spaces make source code more
consistent, because every editor/viewer tends to render tabs differently :(
2015-12-07 00:53:30 +00:00
Alexey Sokolov 3861b6a583 Fix several comments broken by clang-format 2015-12-07 00:53:01 +00:00
Alexey Sokolov 33b0627d75 Add clang-format configuration.
For now, it uses tabs like before, to make the diff easier to read/check.
One of following commits will switch it to spaces.
2015-12-07 00:53:01 +00:00
Alexey Sokolov 02f8749a8b Protect some parts of code from clang-format 2015-12-07 00:48:58 +00:00
Alexey Sokolov 7869de1e0f Decrease max select()/poll() timeout to 5 sec.
With signals on a different thread, select() isn't interrupted anymore.
Probably need to wake up it differently now...
2015-12-06 16:16:29 +00:00
Alexey Sokolov e3da51cfaa Add comment
[skip ci]
2015-12-06 14:39:41 +00:00
Alexey Sokolov 582cd635f5 Fix --disable-tdns (thanks kerio) 2015-12-06 12:36:16 +00:00
Alexey Sokolov ec73703865 Add threads and encoding to doxygen output. 2015-12-06 01:16:58 +00:00
Alexey Sokolov d45743e0a2 Merge pull request #1174 from DarthGandalf/thread
Rework signal handling and use C++11 threads.
2015-12-06 00:53:58 +00:00
Alexey Sokolov 9c48119897 Use C++11 threads instead of custom pthread wrappers.
Signal handling of CThread was handled in previous commit.
2015-12-06 00:11:15 +00:00
Alexey Sokolov dfa94d6bc1 Move Unix signal processing to a dedicated thread. 2015-12-06 00:10:06 +00:00
Alexey Sokolov 85700bdee3 Add a comment for #820 and #1012 2015-12-05 18:04:32 +00:00
Alexey Sokolov 52a4548d51 Fix style a bit. 2015-12-05 17:54:23 +00:00
Adam 47f887ce43 Add SNI client support
Close #1200
2015-12-05 17:48:13 +00:00
Alexey Sokolov b2ed9d7615 Fix bad merge of Csocket submodule 2015-11-30 08:19:04 +00:00
Alexey Sokolov 7f6fc6643e Merge branch 'master' into notify
Conflicts:
    test/Integration.cpp
2015-11-30 08:02:47 +00:00
Alexey Sokolov d736397194 Small change for test of notify_connect for better variety 2015-11-30 08:00:51 +00:00
Alexey Sokolov bee266a08e Fix test after fixing #1190 2015-11-29 12:26:17 +00:00
Alexey Sokolov 569f057561 Call CTCP callback for actions too, as it was before switch to CMessage.
Partyline had both of callbacks, one of which is redundant.

Fix #1134
Fix #1190
2015-11-29 00:59:50 +00:00
Alexey Sokolov 391f89d6e2 Travis: notify #znc-dev through ZNC-Linker 2015-11-28 19:21:43 +00:00
Oleh Prypin 50edbd5f0d Test notify_connect module 2015-11-27 12:20:33 +02:00
Alexey Sokolov 45f661e496 Merge pull request #1192 from nospampleasemam/support-separate-sslkeyfile
support for separate SSLKeyFile configuration
2015-11-27 01:38:45 +00:00
Oleh Prypin facec8d4a3 Show client identification in notify_connect module 2015-11-26 17:00:30 +02:00
Alexey Sokolov b7aff7f7ea Don't bump compiler requirements from GCC 4.7 to GCC 4.8 yet.
Fix #1189
2015-11-26 14:02:15 +00:00
Dylan Lloyd dcd259778a support separate SSLKeyFile & SSLDHParamFile configuration 2015-11-25 17:00:23 -08:00
Alexey Sokolov 1ab7fbf3b9 Revert "znc.service.in: start after network-online.target"
This reverts commit 43f2253f2d.

See https://github.com/znc/znc/issues/1165#issuecomment-159006828 and above.
2015-11-25 00:04:51 +00:00