Commit Graph

2695 Commits

Author SHA1 Message Date
Uli Schlachter c87e7cf5ba Update Csocket to e00323f9f18
This breaks API for Csock::SockError()!

Signed-off-by: Uli Schlachter <psychon@znc.in>
2012-01-14 11:33:38 +01:00
Uli Schlachter 02e42958f0 Make certs valid for 10 years
Previously, a certificate generated with --makepem expired after a year which is
weird and pointless (come on, it's self-signed!).

Signed-off-by: Uli Schlachter <psychon@znc.in>
2012-01-13 20:57:10 +01:00
Kyle Fuller c2316321b8 JUMPNETWORK: Tell the user we have switched network before we do
The reason for this is so that any messages sent in *status by attaching
a new network will show up after the switched message.

<*status> Switched to efnet
<*status> You are currently disconnected from IRC. Use 'connect' to reconnect.
2012-01-11 14:49:25 +00:00
Kyle Fuller 3d7d1793aa Move IRCConnectEnabled to each network instead of a global user setting 2012-01-11 14:49:17 +00:00
Kyle Fuller 4abf3feae4 Remove trailing whitespace 2012-01-11 13:18:54 +00:00
Alexey Sokolov 1b7c9f4ed0 Make bouncedcc's description a bit shorter to fit in small tables better in output of *status. 2012-01-11 09:46:56 +07:00
Alexey Sokolov d1dcee45f2 Merge pull request #102 from TheEvilPhoenix/master
Pull for: Updated bouncedcc module description
2012-01-10 18:44:02 -08:00
TEP 9fdac9f37a Modified description field for bouncedcc module to explain what the module actually does. 2012-01-10 21:37:16 -05:00
Alexey Sokolov 8e558e83ab nickserv: support also wenet.ru's nickserv request. 2012-01-09 16:45:48 +07:00
Alexey Sokolov 8ca1859a22 Fix python in README 2012-01-09 02:52:02 +07:00
Alexey Sokolov 9680b6a8eb Make autovoice a network module.
Thanks to nyuszika7h for suggestion.
2012-01-02 19:04:56 +07:00
Alexey Sokolov 6274111aa7 Add one more message for nickserv's request to auth. 2012-01-02 16:25:14 +07:00
Alexey Sokolov f374874b1a Fix several issues in modpython.
1. In several cases CString wasn't handled properly.
2. Some container-like object didn't return from functions properly.
3. Buffer.h was missing
2012-01-02 14:40:50 +07:00
Alexey Sokolov 13bfec0809 Python and Perl should know that off_t is integer type. 2012-01-02 02:44:09 +07:00
Alexey Sokolov 52ba5917af Merge branch 'master' of github.com:znc/znc 2012-01-01 22:06:02 +07:00
Alexey Sokolov 78c6b1edd2 Fix moddata path for python modules.
How did it ever work before? ><
2012-01-01 22:04:22 +07:00
Uli Schlachter 87aad36121 Increase the version number to 0.205
Signed-off-by: Uli Schlachter <psychon@znc.in>
2012-01-01 14:50:20 +01:00
Alexey Sokolov 7ca8aa96a2 Add missing dependency to modperl. 2012-01-01 19:47:04 +07:00
Alexey Sokolov a0cd9d4cee Merge branch 'master' of github.com:znc/znc 2012-01-01 16:59:36 +07:00
Alexey Sokolov 2cbf26f5ff Support RusNet's NickServ.
It requires to use /nickserv instead of /msg nickserv, so now all
commands used by nickserv module are customizable.
2012-01-01 16:57:02 +07:00
Alexey Sokolov c8a4668bbf Unload all python modules when modpython is unloaded.
Only user modules were unloaded before.
2012-01-01 16:46:21 +07:00
Alexey Sokolov 0260558155 Show more debug info with --enable-debug 2012-01-01 16:45:45 +07:00
Alexey Sokolov 68dc048a8f Merge pull request #100 from Un1matr1x/master
It's 2012
2012-01-01 00:42:50 -08:00
Un1matr1x 73270ff023 Welcome in 2012 2012-01-01 09:30:19 +01:00
Uli Schlachter 01341cfb0a Fix some invalid iterator uses
This fixes #96. When the last user in a partyline channel is deleted, the
channel is deleted, too. This invalidates the iterator used in OnDeleteUser().
This fix is to increase the iterator before the channel can be deleted.

After the above fix, znc still crashed due to another broken use of iterators.
When a network is deleted, it takes all its clients with it (why aren't they
just moved into the "no network"-state?"). However, deleting a CClient removes
it from the network's list of clients via CClient::Disconnect(). This resulted
in another invalid use of iterators.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2011-12-29 13:54:24 +01:00
Uli Schlachter cdc27e1434 Automatically load autoaway if away is requested
This module was renamed in f604709cf0.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2011-12-29 13:54:24 +01:00
Alexey Sokolov 6443563bd5 Python modules are network mods by default. 2011-12-29 18:58:46 +07:00
Alexey Sokolov 57a51dfd78 Fix codestyle. 2011-12-29 11:52:41 +07:00
Alexey Sokolov c53cf06425 Merge https://github.com/leedo/znc into motd 2011-12-29 11:49:51 +07:00
Alexey Sokolov 8bb7ea5370 Rework modperl to better integrate with perl.
Now it supports global and network modules.
Fixes github issue #82
2011-12-29 11:35:25 +07:00
Lee Aylward f4019b6740 send 422 event if MOTD buffer is empty 2011-12-07 19:09:23 -06:00
Alexey Sokolov 9e047a3beb Store all 005 values in a map.
Thanks to jayne for requesting this.
2011-12-04 19:53:26 +07:00
Alexey Sokolov eb66e58028 autoreply: Honor RFC 2812.
There must not be autoreply for notices.

Thanks to nyuszika7h for noticing this.
2011-11-29 18:51:17 +07:00
Alexey Sokolov 142fdeed33 Merge branch 'master' of github.com:znc/znc 2011-11-28 16:44:36 +07:00
Alexey Sokolov cecaf2c79a Add a line to AUTHORS... Not with new names though. 2011-11-28 16:43:32 +07:00
Kyle Fuller 44a230c8b7 Remove notes on the GENERATE command in the cert module 2011-11-21 20:20:51 +00:00
Kyle Fuller b9457274bd nickserv: Use CModCommands 2011-11-21 12:10:14 +00:00
Alexey Sokolov 48a013f758 Merge branch 'master' of github.com:znc/znc 2011-11-19 11:49:19 +07:00
Alexey Sokolov 3fd0429e1e Python: Use znc.Socket if no socket class is specified in CreateSocket()
Thanks to Azelphur for giving this idea.
2011-11-19 11:47:47 +07:00
Kyle Fuller 3945d435d9 Move delete networks out of looping over the clients in CUser::Clone
This was moved in the previous commit when I tried to merge it to the
commit below.
2011-11-13 03:30:30 +00:00
Kyle Fuller 01b15bfb5b Fix webadmin when editing a user
Since this creates a new user, and then clones it. It would clear all
the networks. To fix this, I have made an option bCloneNetworks to
CUser::Clone. This replaces the bCloneChans because this is unnessecery
now.

Fixes #88
2011-11-13 00:28:44 +00:00
Alexey Sokolov 2ffcbed5bb Clarify the last commit a bit using a comment. 2011-11-12 09:46:14 +07:00
Kyle Fuller 0b57b7d437 Properly handle CIRCNetwork's when we rehash
This commit does the following:
- Do not segfault on rehash
- Delete CIRCNetwork's when they are removed from config
- Update to the configs nick/altnick/realname/ident
2011-11-09 20:02:41 +00:00
Kyle Fuller 18989a21c6 Merge branch 'master' of github.com:znc/znc 2011-11-09 20:02:27 +00:00
Kyle Fuller 812ec24105 Don't forward a 670 to a client
This might result in the client switching to SSL if it supports it.
Breaking the current connection
2011-11-08 19:19:22 +00:00
Kyle Fuller a36d47c947 Add {Add,Del,List}Network to *admin module 2011-11-08 19:19:20 +00:00
Uli Schlachter e5facdf557 route_replies: Handle raw 482
lahwran reported the following message from *route_replies and also figured out
which message we failed to handle, thanks!

<*route_replies> This module hit a timeout which is possibly a bug.
<*route_replies> To disable this message, do "/msg *route_replies silent yes"
<*route_replies> Last request: MODE #somesecretchannel I

Signed-off-by: Uli Schlachter <psychon@znc.in>
2011-11-08 19:19:20 +00:00
Reuben Morais 7cdf42d571 Clear text colors before appending timestamps to buffer lines 2011-11-08 19:19:19 +00:00
Kyle Fuller 74738a20b7 Fix a NULL pointer issue on CChan::SaveBuff
I also cleaned up a little and loop over vClients once instead of twice
2011-11-07 16:55:55 +00:00
Kyle Fuller 94ffcbed59 Don't forward a 670 to a client
This might result in the client switching to SSL if it supports it.
Breaking the current connection
2011-11-07 16:28:12 +00:00