Commit Graph

1254 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
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
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
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
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
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 11efcee422 Merge commit 'refs/pull/422/head' of github.com:znc/znc 2013-10-20 17:42:45 +04:00
Ingmar Runge b5c898eaff modules: add OnAddNetwork, OnDeleteNetwork hooks. 2013-10-18 20:35:21 +02: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
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
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
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 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
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 755c604a7c A bit more debug output on modperl 2013-07-01 20:42:58 +04: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 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
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
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 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
Ravomavain 3ba4598994 Add -sanitize option to log module. 2013-05-20 12:23:40 +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 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
md-5 c9c66cb9b6 Close issue #359 - partyline rejoin on delete 2013-05-14 17:34:00 +10:00