]>
jfr.im git - irc/evilnet/znc.git/log
MrLenin [Fri, 29 Jan 2016 18:59:32 +0000 (13:59 -0500)]
Initial commit for evilnet modifications to znc 1.6.2
Alexey Sokolov [Sun, 15 Nov 2015 17:36:31 +0000 (17:36 +0000)]
Increase the version number to 1.6.2
Alexey Sokolov [Mon, 2 Nov 2015 20:44:33 +0000 (20:44 +0000)]
ZNC 1.6.2-rc1
Alexey Sokolov [Mon, 2 Nov 2015 00:35:23 +0000 (00:35 +0000)]
Update Csocket: fix build without sslv3 (#1146)
Alexey Sokolov [Sat, 31 Oct 2015 02:25:34 +0000 (02:25 +0000)]
Add missing return statement to dcc module.
It was harmless, but it makes Coverity happier.
Alexey Sokolov [Fri, 30 Oct 2015 14:52:51 +0000 (14:52 +0000)]
Fix some unitialized fields in modules.
They are not used before OnLoad anyway, but Coverity will be happier.
Alexey Sokolov [Fri, 30 Oct 2015 14:36:01 +0000 (14:36 +0000)]
Fix memory leak when reading invalid znc.conf
Found by https://scan.coverity.com/
Alexey Sokolov [Fri, 30 Oct 2015 01:09:13 +0000 (01:09 +0000)]
Really fix #528
The previous fix (
5e6e3be3 ) left a possibility to use-after-delete,
though it has been much harder to accidentally trigger.
If AddChan(pChan) fails, it deletes pChan, so the new crash was
happening during showing of error message.
Test for this is at master branch:
9777a1a667
Thanks to https://scan.coverity.com/ for pointing at this.
Alexey Sokolov [Fri, 16 Oct 2015 19:28:42 +0000 (20:28 +0100)]
Merge pull request #1153 from Mikaela/travis-trusty
.travis.yml: use Ubuntu Trusty & #znc-dev
Mikaela Suomalainen [Thu, 15 Oct 2015 12:08:52 +0000 (15:08 +0300)]
.travis.yml: use Ubuntu Trusty & #znc-dev
http://blog.travis-ci.com/2015-10-14-opening-up-ubuntu-trusty-beta/ and
we have been talking forever about moving notifications to #znc-dev and
there have been multiple PRs for that.
-y is apparently needed with trusty or apt hangs forever waiting for
yes/no.
Alexey Sokolov [Fri, 2 Oct 2015 19:42:24 +0000 (20:42 +0100)]
Merge pull request #1113 from Mikaela/travis
.travis.yml: enable fast_finish
Alexey Sokolov [Mon, 28 Sep 2015 06:43:29 +0000 (07:43 +0100)]
Merge pull request #1101 from Mikaela/perform-descriptions
perform: add descriptions for commands
Mikaela Suomalainen [Sat, 19 Sep 2015 06:50:03 +0000 (09:50 +0300)]
perform: add descriptions for commands
Thanks @ChasedSpade
Closes #1100
Closes #1102
Mikaela Suomalainen [Mon, 21 Sep 2015 13:40:45 +0000 (16:40 +0300)]
.travis.yml: enable fast_finish
When fast_finish is True, Travis will inform that the build has failed
when one build fails which is usually desirable instead of waiting for
everything to finish.
However builds that haven't finished yet will continue, this doesn't
stop them or do anything else to them.
`travis lint` passes so,
[CI SKIP]
Mikaela Suomalainen [Sat, 19 Sep 2015 06:59:40 +0000 (09:59 +0300)]
cert: add description for the "info" command
J-P Nurmi [Sun, 20 Sep 2015 15:30:48 +0000 (17:30 +0200)]
Fix more warnings [-Winconsistent-missing-override]
Alexey Sokolov [Sun, 20 Sep 2015 14:16:13 +0000 (15:16 +0100)]
Merge pull request #1087 from Mikaela/route_replies
route_replies: make the timeout error more clear
Alexey Sokolov [Sun, 20 Sep 2015 14:14:14 +0000 (15:14 +0100)]
Merge pull request #1104 from Mikaela/module-descriptions
Add descriptions for missing commands in lastseen & certauth & route_replies
Mikaela Suomalainen [Sun, 20 Sep 2015 13:28:50 +0000 (16:28 +0300)]
lastseen & certauth & route_replies: add missing descriptions
Mikaela Suomalainen [Sun, 13 Sep 2015 12:15:24 +0000 (15:15 +0300)]
route_replies: make the error more clear
J-P Nurmi [Sat, 19 Sep 2015 19:01:20 +0000 (21:01 +0200)]
Fix warnings [-Winconsistent-missing-override]
Mikaela Suomalainen [Sat, 19 Sep 2015 05:40:53 +0000 (08:40 +0300)]
perform: say "number" instead of "nr"
I think it's inconsistent that perform uses abbreviation "nr" of "number"
while it talks about "command" instead of "cmd".
KindOne [Thu, 17 Sep 2015 12:55:27 +0000 (08:55 -0400)]
autovoice: Check for autovoices when we are opped.
Fixes #120
Jos Ahrens [Mon, 7 Sep 2015 11:14:32 +0000 (13:14 +0200)]
Fix stickychan joining inaccessable channels.
Channels that raise this error are unlikely to ever be unblocked,
either due to a jupe, or because the name contains illegal characters.
Alexey Sokolov [Fri, 4 Sep 2015 19:05:43 +0000 (20:05 +0100)]
Remove efnet from 1.6 branch's travis as well
Jos Ahrens [Mon, 31 Aug 2015 08:38:35 +0000 (10:38 +0200)]
Always try to delete an uppercase CTCP response in DelCtcpReply
AddCtcpReply always adds an CTCP response in uppercase, it is only fair we do the same in DelCtcpReply
J-P Nurmi [Sat, 29 Aug 2015 19:07:55 +0000 (21:07 +0200)]
Fix yet another startup failure with awaynick & simple_away
The detection whether simple_away is already on the list of loaded
modules failed when the simple_away load line contained arguments.
Close #954
J-P Nurmi [Fri, 21 Aug 2015 22:14:48 +0000 (01:14 +0300)]
Merge pull request #1026 from jpnurmi/perms
Fix #124: OnChanMsg(): nick doesn't have perms
Alexey Sokolov [Thu, 13 Aug 2015 23:31:29 +0000 (00:31 +0100)]
Fix build on ancient openssl.
J-P Nurmi [Tue, 11 Aug 2015 21:02:15 +0000 (23:02 +0200)]
Fix #124: OnChanMsg(): nick doesn't have perms
Alexey Sokolov [Tue, 11 Aug 2015 19:57:09 +0000 (20:57 +0100)]
Make error message from ./bootstrap.sh less confusing.
J-P Nurmi [Tue, 11 Aug 2015 11:58:19 +0000 (13:58 +0200)]
Fix CClient::GetNickMask()
A regression introduced by
cebc093 . A potentially empty network
specific bind _host_ should not be used as nick mask _ident_.
Alexey Sokolov [Tue, 4 Aug 2015 23:17:22 +0000 (00:17 +0100)]
s/NULL/nullptr/ in modpython's codegen.pl
Alexey Sokolov [Tue, 4 Aug 2015 23:10:58 +0000 (00:10 +0100)]
Update codegen.pl too. See #1017
Alexey Sokolov [Tue, 4 Aug 2015 22:40:50 +0000 (23:40 +0100)]
Fix memory leak in modpython.
Update typemaps for CString from latest SWIG.
The relevant change is "free p;" -> "delete p;"
CString object itself was deleted, but its destructor wasn't called,
so it couldn't free the underlying character data.
Fix #1017
J-P Nurmi [Mon, 3 Aug 2015 23:12:42 +0000 (01:12 +0200)]
Merge branch '1.6.1' into 1.6.x
Alexey Sokolov [Mon, 3 Aug 2015 22:59:17 +0000 (23:59 +0100)]
Increase the version number to 1.6.1
J-P Nurmi [Sat, 1 Aug 2015 10:33:26 +0000 (12:33 +0200)]
Merge pull request #1013 from DarthGandalf/cap-end
Support "CAP :END"
J-P Nurmi [Fri, 31 Jul 2015 21:49:05 +0000 (23:49 +0200)]
Merge pull request #1009 from jpnurmi/keys
Fix #1008: Channel keys get saved in a very wrong way
J-P Nurmi [Fri, 31 Jul 2015 19:52:41 +0000 (21:52 +0200)]
Merge pull request #1010 from jpnurmi/modules_online
Fix #1007: modules_online uses wrong ident
Alexey Sokolov [Thu, 30 Jul 2015 21:01:11 +0000 (22:01 +0100)]
Support "CAP :END"
Thanks to jaybe for complaining about this.
J-P Nurmi [Tue, 28 Jul 2015 10:27:01 +0000 (12:27 +0200)]
Fix #1007: modules_online uses wrong ident
J-P Nurmi [Sun, 26 Jul 2015 23:38:02 +0000 (01:38 +0200)]
Fix #1008: Channel keys get saved in a very wrong way
J-P Nurmi [Sat, 25 Jul 2015 20:44:07 +0000 (22:44 +0200)]
ZNC 1.6.1-rc1
Alexey Sokolov [Thu, 23 Jul 2015 00:11:16 +0000 (01:11 +0100)]
'-L"/path"' -> '-L/path'
Alexey Sokolov [Tue, 21 Jul 2015 21:43:18 +0000 (22:43 +0100)]
Fix -DVERSION_EXTRA="foo"
It was broken since
58a34fa5adea8ffc519f03b30ec9c2f377bab9cd (since ZNC 1.2)
Alexey Sokolov [Fri, 10 Jul 2015 19:00:37 +0000 (20:00 +0100)]
Hint in webadmin how to delete current port
Alexey Sokolov [Fri, 10 Jul 2015 07:11:24 +0000 (08:11 +0100)]
Merge pull request #989 from Mkaysi/readme
README: fix formatting & links
Mikaela Suomalainen [Wed, 8 Jul 2015 08:26:07 +0000 (11:26 +0300)]
README: fix formatting & links
[CI SKIP]
Alexey Sokolov [Tue, 7 Jul 2015 21:26:56 +0000 (22:26 +0100)]
Fix build after previous commit...
Alexey Sokolov [Tue, 7 Jul 2015 19:58:56 +0000 (20:58 +0100)]
Fix query buffer size for users who has 0 in default channel buffer size.
Users who upgrade from <=1.4 to 1.6.0 and have configured 0 for channel buffer, were silently not getting any queries while disconnected anymore.
Thanks to jpnurmi for the idea how to bandaid this in 1.6.x branch.
Proper fix will go to 1.7 and will take form of separate settings for channel and query buffers.
See #967
Pavel Djundik [Tue, 7 Jul 2015 16:01:53 +0000 (19:01 +0300)]
Don't print local ip address on 404 page, fixes #944
(cherry picked from commit
01279a4efa565e1a1591c3d29b90a8780a1f2d7f )
Alexey Sokolov [Fri, 5 Jun 2015 07:04:33 +0000 (08:04 +0100)]
Mention ExpandString in CTCP replies in webadmin
Alexey Sokolov [Tue, 28 Apr 2015 20:28:24 +0000 (21:28 +0100)]
configure.ac: specify required compiler versions
Close #956
J-P Nurmi [Tue, 28 Apr 2015 08:00:55 +0000 (10:00 +0200)]
Fix #954: Startup failure when simple_away is loaded after awaynick
Alexey Sokolov [Sun, 26 Apr 2015 18:21:40 +0000 (19:21 +0100)]
Add non-minified jQuery's source.
jQuery's license (MIT) does *NOT* require this.
But Debian is not happy without it.
Alexey Sokolov [Sat, 18 Apr 2015 16:38:56 +0000 (17:38 +0100)]
Revert "Make tables... not so tabular."
This reverts commit
2c3064fb562ab3bba8d18f0780f606db85272998 .
Alexey Sokolov [Sat, 18 Apr 2015 09:05:37 +0000 (10:05 +0100)]
Main ZNC IRC channel is on freenode.
876 users vs. 220 on efnet.
Fix #895
Alexey Sokolov [Fri, 17 Apr 2015 21:56:35 +0000 (22:56 +0100)]
Update error message about --datadir
Noone remembers these days that at some point ZNC supported using the
same config directory, but different znc.conf. So now the old message is
just confusing.
However, nowadays many people confuse "/znc foo" in IRC client with
"znc foo" in shell.
Alexey Sokolov [Thu, 16 Apr 2015 19:31:31 +0000 (20:31 +0100)]
Last commit broke async auth, e.g. via imapauth. Fix it.
See #946
Alexey Sokolov [Thu, 16 Apr 2015 00:23:57 +0000 (01:23 +0100)]
Fix compilation warning
Alexey Sokolov [Thu, 16 Apr 2015 00:21:57 +0000 (01:21 +0100)]
Fix rare conflict of HTTP-Basic auth and cookies.
Fix #946
Alexey Sokolov [Thu, 9 Apr 2015 20:25:42 +0000 (21:25 +0100)]
Make help non-table more compact.
Alexey Sokolov [Wed, 8 Apr 2015 22:39:50 +0000 (23:39 +0100)]
Make tables... not so tabular.
Fix #743
Fix #914
Close #922
Alexey Sokolov [Mon, 6 Apr 2015 21:40:55 +0000 (22:40 +0100)]
Improve breadcrumbs in webadmin.
Fix #227
Alexey Sokolov [Mon, 6 Apr 2015 19:41:57 +0000 (20:41 +0100)]
Remove "-" between "ZNC" and version number.
ZNC 1.6.0 looks better than ZNC - 1.6.0, IMHO
Alexey Sokolov [Sat, 4 Apr 2015 16:47:59 +0000 (17:47 +0100)]
Fix CUser::GetUserClients() and CUser::GetAllClients() in modpython.
Thanks to Lymia for reporting it.
(cherry picked from commit
cd832aaf693409d57a3c8819aa75a08cb5cf7577 )
J-P Nurmi [Wed, 1 Apr 2015 05:52:38 +0000 (07:52 +0200)]
Merge pull request #937 from elyscape/fix/1.6.x/write_chan_config_removal
Write config file when channel is removed (#932)
Eli Young [Tue, 31 Mar 2015 23:44:52 +0000 (16:44 -0700)]
Write config file when channel is removed (#932)
Alexey Sokolov [Fri, 6 Mar 2015 20:56:10 +0000 (20:56 +0000)]
Travis: disable parallelism.
ASan crashes so often, probably because of lack of RAM :(
Slow build is more useful than what we have now.
Alexey Sokolov [Thu, 5 Mar 2015 23:13:26 +0000 (23:13 +0000)]
Explain in webadmin why encoding settings are disabled.
Alexey Sokolov [Sun, 1 Mar 2015 21:00:11 +0000 (13:00 -0800)]
Merge pull request #901 from jpnurmi/version
Display development version as "1.6.x" - ref #748
Alexey Sokolov [Sun, 1 Mar 2015 04:10:31 +0000 (20:10 -0800)]
Merge pull request #905 from jpnurmi/chansaver
Fix chansaver loading
J-P Nurmi [Sat, 28 Feb 2015 20:15:23 +0000 (21:15 +0100)]
Fix chansaver loading
CModules::LoadModule() sets the module type _after_ construction.
The constructor cannot therefore do actions based on the module
type. Move loading to OnLoad().
J-P Nurmi [Sat, 28 Feb 2015 00:24:50 +0000 (01:24 +0100)]
Display development version as "1.6.x" - ref #748
Alexey Sokolov [Thu, 26 Feb 2015 05:39:01 +0000 (21:39 -0800)]
Merge pull request #890 from jpnurmi/unused
Fix compilation warning when HAVE_LIBSSL is not defined
J-P Nurmi [Wed, 25 Feb 2015 08:34:27 +0000 (09:34 +0100)]
Fix compilation warning when HAVE_LIBSSL is not defined
Building core object Socket...
src/Socket.cpp:30:16: warning: unused function 'ZNC_DefaultCipher' [-Wunused-function]
static CString ZNC_DefaultCipher() {
^
1 warning generated.
J-P Nurmi [Mon, 23 Feb 2015 08:07:39 +0000 (09:07 +0100)]
CString: fix 'comparision' typos in the docs
Alexey Sokolov [Mon, 23 Feb 2015 06:02:55 +0000 (06:02 +0000)]
Merge branch '1.6' into 1.6.x
Alexey Sokolov [Mon, 23 Feb 2015 05:36:06 +0000 (21:36 -0800)]
Merge pull request #874 from jpnurmi/webadmin
Fix #872: webadmin checkboxes
Uli Schlachter [Sat, 14 Feb 2015 18:45:01 +0000 (19:45 +0100)]
configure: Fix C++11 test with -Werror=missing-declarations
This fixes the following error (copied from config.log):
conftest.cpp:49:14: error: no previous declaration for 'void
test_template_alias_sfinae::test()' [-Werror=missing-declarations]
Signed-off-by: Uli Schlachter <redacted>
(cherry picked from commit
2d1336dcf3d620f115aec771ddfb86b199a71e21 )
J-P Nurmi [Thu, 19 Feb 2015 08:29:36 +0000 (09:29 +0100)]
Merge pull request #878 from Mkaysi/sasl16
modules/sasl.cpp: update help for "set"
Mikaela Suomalainen [Thu, 19 Feb 2015 06:12:58 +0000 (08:12 +0200)]
modules/sasl.cpp: update help for "set"
This is the same as #793, but for correct branch.
Closes #793
J-P Nurmi [Tue, 3 Feb 2015 09:11:47 +0000 (10:11 +0100)]
Fix CIRCNetwork::FindChans() and FindQueries() to be case-insensitive
The playback module failed to clear a buffer, because it tried to
clear "NickServ" whereas ZNC had internally stored it has "nickserv".
Uli Schlachter [Sun, 15 Feb 2015 08:31:01 +0000 (09:31 +0100)]
SSLVerifyHost: Make some functions static
These functions shouldn't be visible outside of this file. This was caught by
-Werror=missing-declarations.
Signed-off-by: Uli Schlachter <redacted>
Uli Schlachter [Sat, 14 Feb 2015 18:41:26 +0000 (19:41 +0100)]
~CThreadPool(): Handle spurious wakeups
From pthread_cond_wait()'s man page:
When using condition variables there is always a boolean predicate involving
shared variables associated with each condition wait that is true if the
thread should proceed. Spurious wakeups from the pthread_cond_wait() or
pthread_cond_timedwait() functions may occur. Since the return from
pthread_cond_wait() or pthread_cond_timedwait() does not imply anything about
the value of this predicate, the predicate should be re-evaluated upon such
return.
Fix ~CThreadPool() to account for this possibility.
Signed-off-by: Uli Schlachter <redacted>
Thomas Kriechbaumer [Tue, 17 Feb 2015 10:08:30 +0000 (10:08 +0000)]
fix savebuff timer initialization
closes #868
J-P Nurmi [Thu, 19 Feb 2015 07:20:14 +0000 (08:20 +0100)]
Merge pull request #876 from Mkaysi/sasl-requireauth
sasl: fix help text for requireauth
Mikaela Suomalainen [Thu, 19 Feb 2015 06:08:35 +0000 (08:08 +0200)]
sasl: fix help text for requireauth
Closes #875
J-P Nurmi [Wed, 18 Feb 2015 10:29:28 +0000 (11:29 +0100)]
Fix #872: webadmin checkboxes
Don't claim all networks/users have loaded a module when there are none
J-P Nurmi [Mon, 16 Feb 2015 23:11:49 +0000 (00:11 +0100)]
Increase the version number to 1.6.1
Uli Schlachter [Sat, 14 Feb 2015 18:39:04 +0000 (19:39 +0100)]
Remove zncconfig.h in distclean
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=712254
Signed-off-by: Uli Schlachter <redacted>
Thomas Kriechbaumer [Thu, 12 Feb 2015 22:29:26 +0000 (22:29 +0000)]
fix sublists in changelog
Alexey Sokolov [Thu, 12 Feb 2015 20:48:26 +0000 (20:48 +0000)]
Increase the version number to 1.6.0
Alexey Sokolov [Wed, 4 Feb 2015 22:49:18 +0000 (22:49 +0000)]
Fix non-compilation with clang 3.1
Alexey Sokolov [Mon, 2 Feb 2015 20:27:03 +0000 (20:27 +0000)]
Merge pull request #841 from jpnurmi/cycle
Fix #840 - channel hopping/cycling
J-P Nurmi [Mon, 2 Feb 2015 09:39:37 +0000 (10:39 +0100)]
Fix #840 - channel hopping/cycling
A regression caused by
aed1d61 .
Alexey Sokolov [Sun, 1 Feb 2015 15:36:31 +0000 (15:36 +0000)]
Fix crash in znc --version, caused by latest commits.
Fix #838
Alexey Sokolov [Sun, 1 Feb 2015 09:19:55 +0000 (09:19 +0000)]
Merge branch 'version'
Alexey Sokolov [Sat, 31 Jan 2015 10:01:27 +0000 (10:01 +0000)]
Add ZNC to CTCP VERSION reply even if client is connected.
Previously, it replied to CTCP VERSION, but only if no client is connected.
See https://github.com/znc/znc/issues/820#issuecomment-
70506203