Commit Graph

3177 Commits

Author SHA1 Message Date
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
Lluís Batlle i Rossell 87cdee0438 Fixing unaligned accesses in sasl module
Visible for example in armv5tel, without kernel fixup for unaligned accesses.
2013-06-12 20:45:29 +00:00
Lluís Batlle i Rossell 0adf4876a4 makepem: create pem only rw for the user, on non-win32 2013-06-12 20:29:47 +00:00
Alexey Sokolov c5ce73fbd3 Update man page: znc-config doesn't exist anymore 2013-06-12 01:17:26 +04:00
Alexey Sokolov a06b6495e8 Revert "Rewrite the JOIN channel logic, dropping MaxJoins"
This reverts commit db7c47f97d.

Too many joined channels at once started to cause disconnect because of
"Max SendQ Exceeded", which is not much better than previous Flood.

Now MaxJoins is 0 by default, which preserves the current behavior of
joining all channels at once. If someone experiences those disconnects
due to SendQ, they can tune MaxJoins.

Fix #329

Conflicts:
	include/znc/User.h
	modules/controlpanel.cpp
	modules/webadmin.cpp
	src/User.cpp
2013-06-09 23:39:10 +04:00
Alexey Sokolov 516b3fbeb2 README: ./bootstrap.sh requires gettext now because of AM_ICONV 2013-06-09 14:06:48 +04:00
Alexey Sokolov 99895c77df Rewrite printing timestamps in znc -D
Previous commit doing it was 0f739de2c0
2013-06-04 23:13:17 +04:00
Alexey Sokolov d0e0b565ba Use modified AM_ICONV instead of AC_CHECK_FUNC for iconv
Modifications from /usr/share/aclocal/ version:
1. Don't use AC_LIB_RPATH
2. AC_SUBST([HAVE_ICONV])

So now charset module is buildable on openbsd with:
./configure CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib

Fix #255
2013-05-29 21:15:24 +04:00
Alexey Sokolov 2bd410ee55 Fix NULL pointer dereference in webadmin.
Triggerable by any non-admin, if webadmin is loaded.

The only affected version is 1.0

Thanks to ChauffeR (Simone Esposito) for reporting this.
2013-05-27 23:52:32 +04:00
Alexey Sokolov def14c2b99 Merge pull request #355 from ravomavain/pull_logstrip
Add -sanitize option to log module. (v3)
2013-05-26 06:04:33 -07:00
Ravomavain 3ba4598994 Add -sanitize option to log module. 2013-05-20 12:23:40 +02:00
Ravomavain 10a982b6d3 Add CString::StripControls to strip controls (Colors, C0) from strings 2013-05-20 12:23:32 +02:00
Alexey Sokolov 40fa544e10 Make autocycle network module, fix #340
As user module, it even doesn't behave very well, because of shared
state between networks.
2013-05-19 20:43:09 +04:00
Alexey Sokolov 501a9f21c4 Revert "Make simple_away and keepnick also support user modules"
This reverts commit fb62b5e7a6.
I need to test changes better...
To be proper user modules they need to store per-network state, just a
flag isn't enough.
2013-05-19 20:39:55 +04:00
Alexey Sokolov 8f0605f402 Fix #323 bug about GMT±N timezones 2013-05-19 19:43:28 +04:00
Alexey Sokolov 46b28559fc webadmin: Enable embedding network modules and to network pages. 2013-05-19 18:40:12 +04:00
Alexey Sokolov fb62b5e7a6 Make simple_away and keepnick also support user modules
Fix #318
2013-05-19 14:45:12 +04:00
Alexey Sokolov 2b0469769f Merge commit 'refs/pull/360/head' of github.com:znc/znc 2013-05-18 17:15:42 +04:00
Alexey Sokolov 5e568a30f2 nickserv: don't confuse people so much
Password is hidden from arguments, because it's bad to show it right
here. But it looked like it refused to save the pass.
2013-05-18 14:23:49 +04:00
Alexey Sokolov f96ea81899 Debug: escape also escape character 2013-05-18 09:30:54 +04:00
Alexey Sokolov 9d23158aab Merge commit 'refs/pull/356/head' of github.com:znc/znc 2013-05-18 09:10:28 +04:00
Alexey Sokolov c3f421ba25 Merge branch 'master' of github.com:znc/znc 2013-05-17 00:22:23 +04:00
Alexey Sokolov 89d4c9faeb Fix compilation on OpenBSD
That OS doesn't support AI_ADDRCONFIG, but in that case we
defined HAVE_PTHREAD, but didn't add needed params to compiler

Thanks to fred for shell access for tests
2013-05-17 00:20:30 +04:00