Commit Graph

3221 Commits

Author SHA1 Message Date
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
Thomas Ward 5b34d39690 controlpanel.cpp: Modify the message for when you attempt to delete the currently active network 2013-10-12 20:20:05 -04:00
Alexey Sokolov 8a205483f1 Merge pull request #416 from schoentoon/master
Implemented a nick compare function
2013-10-10 13:50:14 -07:00
Toon Schoenmakers 98ceafb1ba Replaced the GetNick().Equals() with NickEquals() where possible
Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>
2013-10-10 22:35:49 +02:00
Toon Schoenmakers 9166f5a250 Renamed IsNick to NickEquals
Also added a TODO to add proper IRC case comparing.

Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>
2013-10-10 18:36:03 +02:00
Toon Schoenmakers 83b9a28e4c Implemented a nick compare function
As suggested by the todos in IRCSock, added IsNick(CString) method
so the ugly Nick.GetNick().Equals(GetNick()) could be simplified.

Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>
2013-10-10 17:22:16 +02:00
Alexey Sokolov b7ce935cb3 Make travis show config.log 2013-10-06 00:05:15 +04:00
Alexey Sokolov 627b53b494 Fix test, make travis output more verbose 2013-10-05 23:50:28 +04:00
Alexey Sokolov e13bfa1110 Use gtest for EscapeTest 2013-10-05 23:30:27 +04:00
KindOne 8c6b4b8d21 Correct two typos. 2013-09-18 00:26:37 +04:00
Kyle Fuller e7ff40f785 Fix a crash when you delete a user with more than one attached client
Fixes #403
2013-09-17 18:55:22 +02:00
Alexey Sokolov 8c46fa8448 Fix version number generation from tarballs on openbsd
Thanks to fred for reporting this
2013-09-16 04:12:11 +04:00
Uli Schlachter 8cf938931b ax_pthread: Check for g++ instead of gcc
Surprisingly, ZNC is written in C++, not C and thus needs a C++ compiler, not a
C one.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2013-09-11 23:56:37 +02:00
Kyle Fuller fabf94a38b Merge pull request #400 from stephank/patch-1
Add missing include for `sys/stat.h`.
2013-09-11 12:04:16 -07:00
Stéphan Kochen 3d3ca53bf1 Add missing include for sys/stat.h. 2013-09-10 22:37:24 +02:00
Alexey Sokolov a09d644975 Fix error message for /znc addnetwork irc.network.net 2013-09-07 16:02:50 +04:00
Alexey Sokolov 04b2d8fabf Merge commit 'refs/pull/396/head' of github.com:znc/znc 2013-09-07 12:31:14 +04:00
Alexey Sokolov 958e9ad61c ControlPanel: support network module manipulation
Fix #380
2013-09-07 12:28:39 +04:00
Alexey Sokolov 8bde1ff70a Merge pull request #399 from dgw/azzurra-nickserv
Fix Azzurra NickServ auth
2013-09-06 22:35:59 -07:00
dgw 974e8548ae Fix Azzurra NickServ auth
Azzurra uses an unusual IDENTIFY prompt. Check for it in addition to
the existing list of possibilities.
2013-09-02 03:44:54 +04:00
Alexey Sokolov 894e0a2f18 Return old fakeonline module as modules_online
It was accidentally dropped in 0.207 because of the confusing name,
it looked too much like antiidle module.

Instead, this module tells broken clients like Colloquy that *status and
*module are "online". Otherwise those clients require user to always
prepend messages to *module with "/msg *module", even if the window of
*module's query is active.

Also fix the module to support network modules
2013-09-01 22:21:11 +04:00
Alexey Sokolov d5e03cb736 Fix support for /msg @#chan :hi
005 STATUSMSG defines list of characters prependable to channel name,
but we used simple modes instead.

See
https://tools.ietf.org/html/draft-brocklesby-irc-isupport-03#section-3.16

Fix #272

Thanks to grawity for the link to 005 docs draft, and to carrot for
testing the patch.
2013-08-29 22:31:25 +04:00