Commit Graph

3199 Commits

Author SHA1 Message Date
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
Alexey Sokolov 7454331ea3 cyrusauth: Fix user creation 2013-08-29 09:11:06 +04:00
KindOne 47799abb0b modules/sasl.cpp: correct typo. 2013-08-29 08:58:19 +04:00
Alexey Sokolov 1da2ca00f9 cyrusauth: Fix error message in case of failure 2013-08-29 08:25:34 +04:00
dgw 3e1a2d9ea7 Implement permission inheritance in log module
Quick-and-dirty matching of permissions when new log directories are
created. Currently gets tripped up by the umask with some perms.
2013-08-21 00:50:15 +04:00
Alexey Sokolov cec2fa66be Don't create folders with \ in log module
Also don't try to write files with ? in filename

Fix #377
2013-08-18 15:20:07 +04:00
Alexey Sokolov 46e9e20a52 "make clean" removes .depend/ 2013-08-18 15:10:12 +04:00
Alexey Sokolov dfd328f7ac Merge pull request #394 from Niichan/fix_connection_notice
modules/notify_connect: Fixed syntax on attach/detach messages
2013-08-16 15:12:52 -07:00
Sam Dodrill f7e3b34ccc modules/notify_connect: Fixed syntax on attach/detach messages to be more consistent 2013-08-12 18:49:14 -07:00
multihunter ff099097aa Remove unneeded SetSkinName() from webadmin
SetSkinName() was called two times in GetNewUser interface.
Removed the first call because "skin" is a combo box and can't be empty.
2013-08-04 01:23:34 +04:00
Alexey Sokolov eba1b78182 Merge pull request #391 from MartinNowack/master
Request secure cookie transmission for HTTPS
2013-08-01 10:22:43 -07:00
Martin Nowack eda4426085 Request secure cookie transmission for HTTPS
If cookies are not marked as secure, they can be sent
back by the client on unencrypted channels, disclosing
information. With this fix, clients are requested to
send cookies back on a secure channel in case HTTPS is
used.
2013-08-01 15:14:54 +02:00
Alexey Sokolov 16261f77bc Merge commit 'refs/pull/378/head' of github.com:znc/znc 2013-07-01 21:02:25 +04:00
Alexey Sokolov 755c604a7c A bit more debug output on modperl 2013-07-01 20:42:58 +04:00
Lunatrius 4368c189f7 Fixed double forward slashes and incorrect active module highlighting. 2013-07-01 17:30:32 +02:00
Alexey Sokolov 7852e30855 Merge pull request #376 from nurupo/master
nickserv: wenet.ru's nickserv request fix
2013-06-26 09:31:13 -07:00
Maxim Biro d469926562 Fixed wenet.ru's nickserv request.
Wenet.ru uses control characters in the nickserv request. It sends something
like "\x02/NickServ IDENTIFY \x1Fpassword\x1F\x02", so no wonder the
CString:find() was failing.
2013-06-20 23:23:02 -04:00
Alexey Sokolov 25cc51ac7c Merge commit 'refs/pull/310/head' of github.com:znc/znc 2013-06-20 23:48:11 +04:00
Alexey Sokolov d0a3fddd6e Fix "Error: Success" message in Csocket
When SSL remote closes socket without handshake.
Patch is submitted to upstream Csocket too.
2013-06-16 11:03:37 +04:00
Alexey Sokolov e10b9a1ef5 Don't make backup of znc.conf readable by everyone.
It doesn't really matter, since the whole ~/.znc/ is not readable, but
it's better to be safe.
2013-06-15 21:15:38 +04:00
Alexey Sokolov b2dcad5fd4 Change ZNC license to Apache 2.0
The following people agreed with the change, in alphabetical order:
(people who approved in several ways are listed only once)
By email:
- Adam (from Anope)
- Austin Morton
- Brian Campbell
- Christian Walde
- Daniel Holbert
- Daniel Wallace
- Falk Seidel
- Heiko Hund
- Ingmar Runge
- Jim Hull
- Kyle Fuller
- Lee Aylward
- Martin Martimeo
- Matt Harper
- Michael J Edgar
- Michael Ziegler
- Nick Bebout
- Paul Driver
- Perry Nguyen
- Philippe (cycomate)
- Reuben Morais
- Roland Hieber
- Sebastian Ramacher
- Stefan Rado
- Stéphan Kochen
- Thomas Ward
- Toon Schoenmakers
- Veit Wahlich
- Wulf C. Krueger

By IRC:
- CNU
- Jonas Gorski
- Joshua M. Clulow
- Prozac/SHiZNO
- SilverLeo
- Uli Schlachter

At https://github.com/znc/znc/issues/311 :
- Alexey Sokolov
- Elizabeth Myers
- flakes
- Jens-Andre Koch
- Jyzee
- KindOne/ineedalifetoday
- Lee Williams
- Mantas Mikulėnas
- md-5
- Reed Loden

At the last few pull requests' comments:
- Allan Odgaard
- Jacob Baines
- Lluís Batlle i Rossell
- ravomavain
- protomouse

The following commits' authors didn't respond:
Trivial changes:
- f70f1086fd
- 4ca8b50e45

The changes which are not presented in master anymore:
- 5512ed2ea0
- 960a4498f7
- 0f739de2c0
- 7f53cc810b

Fix #311
Fix #218
2013-06-14 00:43:34 +04:00
Alexey Sokolov 30b4cfa142 Merge pull request #371 from viric/pem_mode
makepem: create pem only rw for the user, on non-win32
2013-06-13 13:34:06 -07:00
Alexey Sokolov fddd891879 Merge pull request #372 from viric/sasl_unaligned
Fixing unaligned accesses in sasl module
2013-06-13 13:32:58 -07:00