Commit Graph

1246 Commits

Author SHA1 Message Date
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
Alexey Sokolov 588e478f9e webadmin: clarify that + is SSL 2013-05-12 13:21:32 +04:00
TheLordOfTime 4f5245f502 controlpanel.cpp: Increase verbosity of successful "Disconnect" command
This modifies line 897 to have more verbosity on the output for a successful execution of the "Disconnect" command, which will allow for the output to say what network was force-disconnected on what user.

This is a repaired version of pull request #352 which I closed after a FTBFS which I did not realize.
2013-05-11 16:22:27 -03:00
Alexey Sokolov a3c0b74ffc Merge pull request #345 from protomouse/add-missing-tmodinfo
Add TModInfo for charset and missingmotd modules
2013-05-10 03:36:46 -07:00
Martin Häger 6fee11f765 add missing TModInfo to missingmotd module 2013-05-09 13:41:19 +02:00
Martin Häger 84fbb24dc5 add missing TModInfo to charset module 2013-05-09 13:41:18 +02:00
Uli Schlachter c28207d35b Makefile: Remove unused (and broken) variable
Signed-off-by: Uli Schlachter <psychon@znc.in>
2013-05-07 21:33:46 +02:00
Uli Schlachter ed478e6f7b make clean: Only delete files that can be regenerated
Previously, "make clean" would happily delete swig's output files even though
configure did not find swig and thus these files could not be generated again.

This half-fixes issue 276. It would be great if the Makefiles never delete files
which are part of the tarball, but at least they now don't delete files which
cannot be regenerated.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2013-05-07 21:29:11 +02:00
Mantas Mikulėnas 72c9513f6e route_replies: Add some WHOIS numerics
Charybdis can return all these.
2013-04-28 03:16:57 +03:00