Valentin Lorentz
3dba9088b0
Merge remote-tracking branch 'supybot/master' into testing
...
Conflicts:
INSTALL
plugins/ChannelLogger/README.txt
plugins/ChannelStats/README.txt
plugins/Google/plugin.py
plugins/Google/test.py
plugins/Plugin/test.py
plugins/Web/test.py
setup.py
src/callbacks.py
src/ircdb.py
src/irclib.py
src/utils/str.py
test/test_irclib.py
2013-01-01 21:11:24 +01:00
Valentin Lorentz
79eeb8eb95
Revert "irclib: Apply changes to supybot.protocols.irc.maxHistoryLength immediately."
...
This reverts commit 1d2eefe880
.
IrcState instances are created more than five times a second! Imagine how much
memory is used (hint: 300MB five minutes after startup).
We should first try to reduce this amount.
2012-12-27 16:06:01 +00:00
Valentin Lorentz
1d2eefe880
irclib: Apply changes to supybot.protocols.irc.maxHistoryLength immediately.
2012-12-27 12:24:24 +00:00
Valentin Lorentz
84148988b3
Fix tests broken by 6a06ca991
.
2012-12-26 15:37:52 +01:00
Valentin Lorentz
6a06ca9911
core: Initialize list of bans when joining a channel.
2012-12-23 17:19:25 +01:00
James McCoy
232aa86a1e
Merge branch 'maint/0.83.4'
2012-09-01 09:13:52 -04:00
James McCoy
c74e8f35ab
Fix regression in parsing 004 messages
...
This was introduced in commit 4232e40e26
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2012-08-26 12:59:41 -04:00
Valentin Lorentz
d2ab53cd19
Fix parsing of 004 message. (Broken in d9531d2d
).
2012-08-25 20:17:15 +02:00
Valentin Lorentz
45bf9db03c
Merge branch 'py3k-backport' into testing
...
This branch provides support of Python 3 via 2to3 (without dropping
Python 2 support).
2012-08-08 21:46:29 +02:00
Valentin Lorentz
e3d170d9fe
Add support for network-specific umodes.
2012-08-06 15:59:00 +02:00
Valentin Lorentz
e23fa611d6
Call other.__eq__ in irclib.Irc.__eq__ instead of using the == comparator.
...
Here, this operator is not reflexive, and Python 3 calls the second members resulting in a stack overflow.
2012-08-04 13:25:47 +02:00
Valentin Lorentz
1cb657ddb2
Import imap directly from itertools instead of utils.iter.
2012-08-04 13:21:37 +02:00
Digital-Lemon
51ef07caf5
Added Irc objects creation time
2012-06-30 02:32:49 +02:00
James McCoy
438b50dccc
irclib: Modes aren't case insenstive
...
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2012-06-06 13:38:38 +02:00
James McCoy
6d1b957e07
irclib: Modes aren't case insenstive
...
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2012-06-06 06:00:48 -04:00
Valentin Lorentz
e92b8a62f5
Merge supybot's master (will make future merges easier)
...
Conflicts:
plugins/Misc/plugin.py
plugins/String/plugin.py
src/drivers/Socket.py
src/irclib.py
src/ircutils.py
2012-04-03 16:55:29 +02:00
nyuszika7h
c656abf096
irclib.py: Add network name to 'Outgoing message' debug log message
2011-12-28 11:37:10 +01:00
James McCoy
d9531d2d29
Fix parsing of 004 message for supported umodes/chanmodes
...
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2011-12-14 01:31:28 +08:00
James McCoy
b8c43dc5cc
Perform all received* IrcMsg tagging in one spot.
...
This also fixes a long-standing failing Misc test since it was relying on the
receivedAt tag.
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2011-12-13 18:06:26 +01:00
James McCoy
ca23cbb774
Merge branch 'maint/0.83.4'
2011-12-06 01:18:18 -05:00
James McCoy
4ddfae427f
Perform all received* IrcMsg tagging in one spot.
...
This also fixes a long-standing failing Misc test since it was relying on the
receivedAt tag.
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2011-12-05 23:52:38 -05:00
James McCoy
8b73f78b3e
Merge branch 'maint/0.83.4'
...
Conflicts:
plugins/Misc/plugin.py
src/ircutils.py
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2011-11-13 15:26:19 -05:00
James McCoy
4833976294
One last fix to umode filtering.
...
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2011-11-13 15:10:16 -05:00
Valentin Lorentz
b5187ea31d
Fix commit b23480b9
again.
2011-11-12 00:39:08 +01:00
Valentin Lorentz
efd158da58
Fix commit b23480b9
. Closes GH-267.
2011-11-11 23:50:55 +01:00
Valentin Lorentz
348d1bd99c
Fix typo (lamda => lambda).
2011-11-11 19:56:20 +01:00
James McCoy
d6336421e0
Fix IRC.do376's handling of supported state
...
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2011-11-07 05:58:48 -05:00
James McCoy
4232e40e26
Fix parsing of 004 message for supported umodes/chanmodes
...
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2011-11-07 05:58:27 -05:00
James McCoy
3bfda3cc7a
Fix filtering of unsupported umodes
...
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2011-11-06 22:20:55 -05:00
Valentin Lorentz
74b98f5c2a
Merge remote-tracking branch 'supybot/master' into testing
2011-10-31 22:07:48 +01:00
James McCoy
02c0d0ce3c
Merge branch 'check-umodes'
2011-10-29 17:25:57 -04:00
James McCoy
b23480b915
irclib: Filter out unsupported umodes before sending them to the server
...
Closes: Sf#3075891
Signed-off-by: James McCoy <vega.james@gmail.com>
2011-10-29 17:22:42 -04:00
James McCoy
c9e548bdd9
irclib: Add support for 004 messages from the server
...
At a minimum, the message gives us the server name, ircd version, supported
umodes, and supported channel modes. Add the umodes and channel modes to
self.supported.
Some IRCds (e.g., hybrid and ircd-seven) have an extra arg which seems to be
the channel modes that require arguments.
Signed-off-by: James McCoy <vega.james@gmail.com>
2011-10-29 17:22:27 -04:00
Valentin Lorentz
e253fe1543
Allow network-specific nicks. Closes GH-134.
2011-10-27 12:31:37 +02:00
nyuszika7h
ca502c6814
irclib.py: Added network name to SASL authentication success/fail.
2011-09-13 19:55:01 +02:00
nyuszika7h
dcaefbdcf5
Add SASL support to core.
2011-09-13 11:07:52 +02:00
Jeremy Fincher
b774268498
Added network to debug "Incoming message" log.
2009-12-28 12:17:27 -06:00
James Vega
56ba12aa4b
Add support for UltimateIRCd's ! (protected) user mode.
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-10-23 19:20:02 -04:00
Štěpán Němec
a66034f852
Fix some typos/wordings.
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-08-26 16:34:12 -04:00
Jeremy Fincher
fa9a9cb04d
Ensured logging of error messages with unrecognized numeric codes. Fixes SR #1859821 , but nothing can rectify freenode's idiocy completely.
2009-03-12 14:04:55 -05:00
Jeremy Fincher
9f3bc9d355
IrcCallback's super() doesn't take any args.
2009-03-11 13:37:25 -04:00
James Vega
a3e4fc5b1d
Change the modeline to use softtabstop instead of tabstop.
2006-02-11 15:52:51 +00:00
Jeremy Fincher
dca3a3c099
Minor style tweak.
2006-01-12 03:57:10 +00:00
James Vega
0b83f017d9
src/irclib.py: Document the protected/channel owner patch
2005-11-30 16:02:09 +00:00
Marius Rieder
cbb5b7aaa2
protect_and_chanowner_in_unrealircd
...
Add protectet users (&) und the channelowner (~) used in unrealircd to the ops list.
2005-11-01 04:49:23 +00:00
Jeremy Fincher
603cab6b0a
Loaded plugins during __init__ rather than do001.
2005-08-15 05:37:05 +00:00
Jeremy Fincher
27656e5fef
Added a few more asserts and clarified an already existing one.
2005-08-15 05:36:23 +00:00
James Vega
a3149f0ec0
src/irclib: If the post-inFilter message differs from the pre-inFilter message, log it for debugging purposes.
2005-08-04 21:19:41 +00:00
James Vega
6f8e3d37aa
src/irclib: Let's not override the name for the set type.
2005-07-10 18:27:40 +00:00
James Vega
bd31b7f596
src/irclib: Handle IRCds which use a MAXLIST-style value for the MAXBANS 005 key.
2005-06-29 14:20:54 +00:00