Commit Graph

3239 Commits

Author SHA1 Message Date
dgw e379a7a81a 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.)
2013-12-17 16:38:18 -05:00
Alexey Sokolov 9e0597fd07 Merge pull request #432 from dgw/out-of-networks-err-sp
Tweak wording of "out of networks" errors
2013-11-21 09:50:51 -08:00
dgw 2b3d40a501 tweak wording of "out of networks" errors 2013-11-21 13:07:17 +04:00
Alexey Sokolov 5d74720576 Merge pull request #430 from Dessimat0r/webadmin1
Added SSL (+) and port in networks list for connected servers
2013-11-20 20:36:29 -08:00
Chris Dennett 054e873bec Added SSL (+) and port in networks list for connected servers. 2013-11-17 16:34:32 +00:00
Alexey Sokolov 1790778417 Add ./configure --with-gtest=/path/to/gtest
The specified dir is expected to contain files DIR/src/gtest-all.cc and
DIR/src/gtest_main.cc

This is to make Debian happy, because make test doesn't require internet
access anymore.
2013-11-17 20:03:24 +04:00
Alexey Sokolov 74da8488ef Merge pull request #429 from somasonic/master
Add the ability to set and retrieve MaxNetworks from controlpanel module
2013-11-16 19:57:08 -08:00
Andrew Northall 5f660f37c2 Add the ability to set and retrieve MaxNetworks 2013-11-16 20:04:17 +00:00
Alexey Sokolov f6b8167e36 Merge pull request #341 from cork/master
Add irc command to allow disabling channel
2013-11-14 11:24:00 -08:00
Alexey Sokolov 62c843f8cf Merge branch 'master' of github.com:znc/znc 2013-11-14 22:40:56 +04:00
Alexey Sokolov bfd1edc740 Don't generate .pyc files ourself
It's good for cross-compilation, because in that case binaries produced
by CXX are not runnable.
2013-11-14 22:39:34 +04:00
Alexey Sokolov 3e56f093f2 X-Forwarded-For: verify the whole chain, from the end 2013-11-14 22:37:36 +04:00
Alexey Sokolov ccbc469168 Merge commit 'refs/pull/349/head' of github.com:znc/znc 2013-11-14 08:27:50 +04:00
Alexey Sokolov 4f0b5f4440 Merge pull request #426 from vincentbernat/fix/awaystore
awaystore: ping when requesting to come back
2013-11-12 20:03:16 -08:00
Alexey Sokolov 2a7bc29fcc Fix new OnAdd/DeleteNetwork hooks for perl/python 2013-11-09 10:17:34 +04:00
Vincent Bernat 459afe11e8 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.
2013-11-04 23:13:30 +01:00
Alexey Sokolov 66eba26e1c Merge commit 'refs/pull/408/head' of github.com:znc/znc 2013-11-04 22:18:30 +04:00
Alexey Sokolov 79b33ea15d Merge pull request #388 from Lunatrius/master
Add detached only support to the watch module.
2013-11-04 09:41:51 -08:00
Alexey Sokolov e8e95d770e Increase the version number to 1.3 2013-11-04 16:25:07 +04: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