3919 Commits

Author SHA1 Message Date
Alexey Sokolov
1c182775e6 Bring version number back to 1.6.x 2018-03-05 08:28:35 +00:00
Alexey Sokolov
31e43ffc03 Increase the version number to 1.6.6 znc-1.6.6 2018-03-05 08:17:23 +00:00
Alexey Sokolov
ab8a759065 ZNC 1.6.6-rc1 znc-1.6.6-rc1 2018-02-22 23:20:11 +00:00
Alexey Sokolov
237fbc9665 Fix use-after-free in znc --makepem
X509_get_subject_name() returns an internal pointer, which was destroyed
by X509_set_subject_name(), and then accessed again in
X509_set_issuer_name().
But X509_set_subject_name() isn't needed at all, because subject name
was modified in place.

(cherry picked from commit 744bd7d55c)
2018-02-22 00:42:08 +00:00
Alexey Sokolov
ce4dff3b20 Use termios instead of deprecated getpass().
Fix build on cygwin

(cherry picked from commit f3762e8b05)
2018-02-22 00:41:41 +00:00
Alexey Sokolov
c6485cddc9 Revert version to 1.6.x 2017-03-12 21:08:00 +00:00
Alexey Sokolov
0267082eaa 1.6.5 znc-1.6.5 2017-03-12 21:00:29 +00:00
Alexey Sokolov
c40d4a4efb ZNC 1.6.5-rc1 znc-1.6.5-rc1 2017-03-03 23:28:35 +00:00
Alexey Sokolov
0679957340 Fix regression of 1.6.4 which caused crash in modperl/modpython.
See #1283
2017-02-19 10:30:44 +00:00
Jos Ahrens
9635658258 [sasl] Do not try to convert entire "verbose" command to bool. (#1365)
Fixes #1291 for the stable branch.

Ref. 9864b2716a
for the original fix by psychon with dgw, this is merely a non-cherry-pick backport
as I realized too late it was already fixed elsewhere in the same manner.
2017-01-21 15:32:38 +00:00
Alexey Sokolov
3d386aff19 Return version number to 1.6.x 2016-12-10 21:07:02 +00:00
Alexey Sokolov
ed71ad1e2b Increase the version number to 1.6.4 znc-1.6.4 2016-12-10 20:51:18 +00:00
Alexey Sokolov
3bd46744cc 1.6.4-rc3 znc-1.6.4-rc3 2016-12-03 19:23:00 +00:00
Alexey Sokolov
1a89740335 Stop-gap for OpenSSL 1.1 in 1.6 branch.
This is properly fixed already in 1.7 branch.
2016-12-03 19:08:56 +00:00
Alexey Sokolov
63a2fbc634 Don't reset module's attributes to NULL during CALLMOD.
It conflicted with nested calls to a module. Such calls usually don't
happen, but could be triggered using alias module.

In this case m_pClient became NULL while executing the alias, and the
rest of that alias caused segfault.

Fix #1347
2016-12-01 23:31:56 +00:00
Alexey Sokolov
0aa3f7e362 route_replies: fix module to check if we are not connected to a network.
Cherry-pick of 34db7be4ae
znc-1.6.4-rc2
2016-11-22 23:53:39 +00:00
Alexey Sokolov
d596226ddc ZNC 1.6.4-rc1 znc-1.6.4-rc1 2016-11-20 23:51:03 +00:00
Alexey Sokolov
6366430870 Fix deletion of users which are connecting.
Close #1342
2016-11-20 17:56:26 +00:00
Alexey Sokolov
a76a9db369 Merge branch '1.6.x' of github.com:znc/znc into 1.6.x 2016-11-19 23:41:15 +00:00
Alexey Sokolov
0ac3cfc8d5 Fix regression of 1.6.0
Cloning a user caused a non-immediate segfault.
This was fixed already in 1.7 branch (by refactoring).
Fix #1340
2016-11-19 23:35:12 +00:00
Alexey Sokolov
676d105347 Workaround gitter for 1.6
It's fixed properly for 1.7 already.
Fix #1321
2016-11-17 23:45:25 +00:00
Will Elwood
4c7fa1aabf Fix version.sh for ancient git
I'm not sure when the `format` argument was added to `git log`, but it seems to be an alias for `pretty` (ie both exist in current versions of git). I noticed this was failing on my ancient system that's stuck with git 1.5, this makes it work.

Also, `ignore-submodules` is not understood by ancient `git status` - I believe the expected output would be achieved by simply removing this argument, but it's not important since it fails gracefully enough and fixing it so newer git doesn't fail seems more complicated.
2016-11-16 15:49:47 +00:00
Alexey Sokolov
0aaabe8c9f Update Csocket submodule: fix build with openssl 1.1 2016-11-16 14:42:34 +00:00
Alexey Sokolov
b7dcac5e5f Merge pull request #1311 from welwood08/openssl-1.1
OpenSSL 1.1 compatibility
2016-09-13 20:41:48 +01:00
William Elwood
853dcc211d Fix use of a feature deprecated in OpenSSL 1.1
If OpenSSL 1.1 is configured in such a way that features deprecated in 1.1.0 are not built, then compile errors would result here.
2016-09-13 11:51:13 +01:00
William Elwood
6a5c2c649d Fix use of a feature deprecated in OpenSSL 0.9.8
If OpenSSL 1.1 is configured in such a way that features deprecated in 0.9.8 are not built, then compile errors would result here.
I also noticed a potential memory leak where pRSA was not always freed before early return from this function - fixed by using C++11 unique_ptr.
2016-09-13 11:50:40 +01:00
William Elwood
03775fcdc5 Fix compile errors caused by OpenSSL 1.1 2016-09-12 23:39:19 +01:00
Alexey Sokolov
debfdf6c02 Fix build on OS X after fixing build on Cygwin 2016-09-09 00:17:20 +01:00
Alexey Sokolov
9974b6692b Fix TSAN on Travis 2016-09-08 22:19:25 +01:00
Alexey Sokolov
a964b2bbef Merge branch '1.6.x' of github.com:znc/znc into 1.6.x 2016-09-08 22:14:47 +01:00
Alexey Sokolov
14cef81bb5 Merge pull request #1312 from welwood08/gtest
Fix `make test` in 1.6.x
2016-09-04 22:02:43 +01:00
William Elwood
f7d0f0ccb0 Fix make test in 1.6.x since GoogleTest has moved to new hosting 2016-09-04 12:08:29 +01:00
Alexey Sokolov
aff7e25043 Fix cygwin build
(cherry picked from commit f1ef8c79db)
2016-08-13 09:55:00 +01:00
Alexey Sokolov
dd58e369f8 Fix OnInvite in modpython and modperl.
They were silently not called.

Close #1283
2016-07-31 10:35:19 +01:00
Alexey Sokolov
bb20971fff Switch ZNC-Linker channel notification of Travis to MetaNova's server 2016-04-01 22:15:50 +01:00
Alexey Sokolov
0ff90ea451 Fix error in *controlpanel when setting bindhost of another user.
Thanks to Kult for reporting this.
2016-03-04 22:24:46 +00:00
Alexey Sokolov
e5ff36eb8e Revert version to 1.6.x after release of 1.6.3 2016-02-23 21:37:38 +00:00
Alexey Sokolov
90d03a48e5 ZNC 1.6.3 znc-1.6.3 2016-02-23 21:23:42 +00:00
Alexey Sokolov
6fe9dfc25e ZNC 1.6.3-rc2 znc-1.6.3-rc2 2016-02-18 22:21:35 +00:00
Alexey Sokolov
71cdb81fe8 Don't save ZNC version to config as part of quit message.
Introduce one more string for ExpandString.

Fix #1244
2016-02-18 22:18:08 +00:00
Alexey Sokolov
b49a92b1e6 ZNC 1.6.3-rc1 znc-1.6.3-rc1 2016-02-08 21:18:12 +00:00
Alexey Sokolov
17dcf6ebb2 Update Csocket submodule: Fix for LibreSSL 2016-02-08 00:36:39 +00:00
Alexey Sokolov
13ce4e3a1e webadmin: Don't autocomplete password in user settings even in Firefox
Fix #1163
2016-02-04 23:39:49 +00:00
Alexey Sokolov
65521d9e43 webadmin: Fix error message on invalid user.
Calling PrintErrorPage twice doesn't work very well.

See #1163
2016-02-04 23:18:49 +00:00
Alexey Sokolov
e7dd61c55c Fix Csocket after previous commit... 2016-01-27 08:11:06 +00:00
Alexey Sokolov
26b959dbf5 Fix znc-buildmod on cygwin in 1.6.x versions.
Cygwin's gcc requires -lznc to be after .o which needs symbols from -lznc

It's already fixed in 1.7.x in a better way, but that way requires more
changes...
2016-01-27 00:00:22 +00:00
Alexey Sokolov
66daadfee8 sasl: add option to show which mechanisms failed and succeeded
Fix #770
2016-01-17 12:04:53 +00:00
Alexey Sokolov
5d014193b4 Don't require reconnect after changing encoding. 2016-01-09 18:18:44 +00:00
dgw
ed5eca4f74 [buildmod] non-zero exit code when file not found
Fixes #1226
Close #1227
2016-01-07 20:58:09 +00:00
Alexey Sokolov
c21e60ad7a Fix memory leak in modperl.
The reason is the same as it was for modpython in #1017
2016-01-07 01:14:21 +00:00