Commit Graph

3242 Commits

Author SHA1 Message Date
Ingmar Runge e69032af17 squash some compiler warnings
(cherry picked from commit b3021f913e)
2014-04-14 21:41:41 +01:00
Ingmar Runge 4f40500383 certauth: improve const correctness
(cherry picked from commit 39468f6aa2)
2014-04-14 21:40:51 +01:00
Ingmar Runge 3f2042350e certauth: case insensitive hex key comparison
As noted in issue 464, comparing the hex representation of the public
key fingerprint should be case insensitive.

(cherry picked from commit f4a7386ad4)
2014-04-14 21:40:46 +01:00
Alexey Sokolov 6727e967f0 Fix build of modperl under MacOS X, again
(cherry picked from commit 4e5a45f73e)
2014-04-14 21:40:04 +01:00
Alexey Sokolov 9fdeb58695 Don't create ~/.znc/modules/
It confuses people too much

(cherry picked from commit 2858da4c76)
2014-04-14 21:39:51 +01:00
dgw 7fdcae7825 Remove accidental timeout in shell module
(cherry picked from commit 38fc398c2a)
2014-04-14 21:39:42 +01:00
Alexey Sokolov 3c29bbb7ad Don't reread list of TZs every time
(cherry picked from commit 225b494761)
2014-04-14 21:39:29 +01:00
Alexey Sokolov 564a07752b Don't ask if user wants to create znc.pem or not
Sure they want!

(cherry picked from commit 05ca849339)
2014-04-14 21:39:13 +01:00
Nicolas Martyanoff 1ace1cd1ab Include the command name in ERR_INVALIDCAPCMD messages
As described in the IRCv3 Client Capability Negotiation document
(http://ircv3.org/specification/capability-negotiation-3.1).

(cherry picked from commit f215ec602f)
2014-04-14 21:38:48 +01:00
Kuba Niewiarowski 0e85418932 Disable autocomplete password on add_edit_user.tpml
Autocomplete should be desabled because in default web browsers fill this resoulting "Invalid user settings" message when for example user changes skin.
(cherry picked from commit 1587103d36)
2014-04-14 21:38:26 +01:00
Uli Schlachter 28994e0da3 autogen.sh: Check for pkg-config before calling automake
Signed-off-by: Uli Schlachter <psychon@znc.in>
(cherry picked from commit c5f31f0a4d)
2014-04-14 21:38:05 +01:00
Alexey Sokolov 934e6104c7 Warn users about port 6667 in --makeconf
This should decrease chance of web browsers failing to connect to ZNC

(cherry picked from commit f456b274b5)
2014-04-14 21:37:35 +01:00
dgw f0e0708269 ircline.org nickserv message support
Makes sure ZNC understands when NickServ at ircline.org (N) asks
the user to identify. Addresses #364

(cherry picked from commit 4747c0760a)
2014-04-14 21:37:24 +01:00
Alexey Sokolov 5ab0a821bc Fix modperl build on MacOS X
.so is not the right extension for shared objects there

(cherry picked from commit d05e069bd4)
2014-04-14 21:37:15 +01:00
Alexey Sokolov e31635d05d Fix ./configure not to fail on non-bash
Thanks to jayne for patch

(cherry picked from commit a727ca6a6d)
2014-04-14 21:37:06 +01:00
dgw bd2c099a50 Add identify prompt for StarChat.net
Apparently StarChat.net uses a very old (?) or obscure NickServ
service that doesn't send any of the more common prompts for ID.
(It also doesn't support nick grouping, more's the pity.)
(cherry picked from commit e379a7a81a)
2014-04-14 21:36:54 +01:00
Conor O'Gorman 4d5d55d942 define terminal control codes for messages, tidy, tweak ok message
(cherry picked from commit dd0ba1def4)
2014-04-14 21:36:43 +01:00
Conor O'Gorman 2d1042d479 fix #235, erroric console output, status message overwrite
using alternative message style
otherwise ncurses/terminal codes for cursor position would seem necessary

(cherry picked from commit 2d1a632910)
2014-04-14 21:36:37 +01:00
James Seward ee438955bc Trim servername in jump command
Fixes e.g. tab-completing servername in irssi

(cherry picked from commit 07c1628d50)
2014-04-14 21:35:56 +01:00
Falk Seidel 8381b874ef Welcome to 2014 - year 10 with ZNC
(cherry picked from commit f19b4caa43)
2014-04-14 21:35:36 +01:00
dgw 48e0af03c1 tweak wording of "out of networks" errors
(cherry picked from commit 2b3d40a501)
2014-04-14 21:35:12 +01:00
Chris Dennett 2d2e123777 Added SSL (+) and port in networks list for connected servers.
(cherry picked from commit 054e873bec)
2014-04-14 21:34:58 +01:00
Andrew Northall 0d2622ec23 Add the ability to set and retrieve MaxNetworks
(cherry picked from commit 5f660f37c2)
2014-04-14 21:34:19 +01:00
Vincent Bernat 1a37a39a57 awaystore: ping when requesting to come back
When using the `back` command, also call `Ping()`. Otherwise, we will
be marked away in less than a minute.

(cherry picked from commit 459afe11e8)
2014-04-14 21:33:40 +01:00
Alexey Sokolov b29e7d57b2 Don't generate .pyc files ourself
It's good for cross-compilation, because in that case binaries produced
by CXX are not runnable.

(cherry picked from commit bfd1edc740)
2014-04-14 21:33:23 +01:00
Alexey Sokolov e391c4e266 Fix new OnAdd/DeleteNetwork hooks for perl/python
(cherry picked from commit 2a7bc29fcc)
2014-04-14 21:32:28 +01:00
KindOne 8deb283924 Correct double output in controlpanel.
(cherry picked from commit e73f056cf1)
2014-04-14 21:31:59 +01:00
Alexey Sokolov 49cf40b19c Increase the version number to 1.2 znc-1.2 2013-11-04 16:07:13 +04:00
Kyle Fuller a4e275408a Merge pull request #425 from KindOne-/patch-2
Correct typo in controlpanel.
2013-10-31 04:36:19 -07:00
KindOne d173219ef8 Correct typo in controlpanel.
This typo was created in commit 853ddc5c2a
2013-10-30 23:32:23 -04:00
Corn Flakes 76d67e006e Merge pull request #418 from akihiro/master
Fix: Converted raw string include NULL character in charset module
2013-10-27 08:20:43 -07:00
Hiroaki Mizuguchi d3a7283d0b Fix: Converted raw string include NULL character in charset module 2013-10-26 09:35:20 +00:00
Alexey Sokolov feca415c23 Fix a random crash with module hooks
How to reproduce:
1. have a global module which in a hook does something which calls
hooks too, e.g. Broadcast()
2. have another global module loaded after the first one which uses
m_pNetwork in that hook
3. enjoy the crash (or just weird behavior if you're unlucky)

So, when ZNC is setup with the "proper" global modules and in a special
order, one can crash it just from IRC, by triggering the needed module hooks.

Affected version: 1.0

Thanks to ChauffeR (Simone Esposito) for reporting the issue
and helping to debug it.
2013-10-20 22:33:57 +04:00
Alexey Sokolov cc279666de Pregenerate version.cpp in release tarballs 2013-10-20 19:36:16 +04:00
Alexey Sokolov 6aaf0770f3 Remove test .o files on make clean 2013-10-20 17:52:04 +04:00
Alexey Sokolov c74344f783 Fix error message for invalid network name 2013-10-20 17:51:43 +04:00
Alexey Sokolov 11efcee422 Merge commit 'refs/pull/422/head' of github.com:znc/znc 2013-10-20 17:42:45 +04:00
Alexey Sokolov 40a32820fd Merge pull request #423 from KindOne-/patch-1
Update outdated README info.
2013-10-20 06:30:15 -07:00
KindOne 71df50ec62 Update outdated info.
gcc 3 is outdated.
saslauth is now called cyrusauth.
Add freenode network.
2013-10-19 02:51:35 -04:00
Ingmar Runge 7a1b725958 whitespace fix 2013-10-18 21:03:20 +02:00
Ingmar Runge b5c898eaff modules: add OnAddNetwork, OnDeleteNetwork hooks. 2013-10-18 20:35:21 +02:00
Alexey Sokolov d16ab96032 Fix saving config on cygwin
It failed always on some installations
2013-10-15 22:04:21 +04:00
Alexey Sokolov 91c07d5af1 Fix tests on cygwin
Thanks to KindOne for reporting it
2013-10-14 20:27:27 +04:00
Alexey Sokolov bb9905e99e Add make-tarball.sh script
Initially by psychon, then kylef modified it and helped to find it when
it was lost

So let it just lay here in order not to be lost again
2013-10-14 00:18:33 +04:00
Alexey Sokolov 6022a2c06a Merge pull request #419 from TheLordOfTime/master
controlpanel.cpp: Modify the message for when you attempt to delete the currently active network
2013-10-13 10:27:25 -07:00
Alexey Sokolov 1c06af3b38 Fix: Don't try to include zncconfig.h when it doesn't exist yet 2013-10-13 21:08:43 +04:00
Alexey Sokolov 256be59ffe Test CConfig too 2013-10-13 21:00:44 +04:00
Alexey Sokolov 91e5330db5 More string tests. 2013-10-13 21:00:43 +04:00
Alexey Sokolov da05a290e6 Force including zncconfig.h at the beginning of every .cpp
Otherwise it's easy to have STL compiled with different options in
different .cpp's, which leads to very weird crashes.
2013-10-13 21:00:43 +04:00
Alexey Sokolov 257e681036 Rename EscapeTest to StringTest 2013-10-13 21:00:43 +04:00