Commit Graph

9099 Commits

Author SHA1 Message Date
Valentin Lorentz
b99525db63 Owner: Fix bug with @enable and @disable if a plugin is given. Closes GH-43. Closes GH-44.
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
(cherry picked from commit 8fb97c56bc)

Signed-off-by: Daniel Folkinshteyn <nanotube@users.sourceforge.net>
2011-12-12 11:04:25 -05:00
James McCoy
b42b06fe79 RSS._getConverter: Encode strings before handing them off to other functions
When the feed has a specified encoding, we'll be dealing with unicode objects
in the response from feedparser.parse().  To avoid possible UnicodeErrors, we
need to encode() before handing the string off to other functions, so the
other functions are always dealing with bytestrings instead of bytestrings and
unicode objects.  Mixing unicode and bytestrings will cause implicit
conversions of the unicode objects, which will most likely use the wrong
encoding.

Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
(cherry picked from commit 964c73f591)

Signed-off-by: Daniel Folkinshteyn <nanotube@users.sourceforge.net>
2011-12-12 11:04:03 -05:00
James McCoy
50e4b6baf1 String.decode: Only encode('utf-8') when the decode string is unicode
Closes: Sf#3165718
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
(cherry picked from commit 01c8dc7f78)

Signed-off-by: Daniel Folkinshteyn <nanotube@users.sourceforge.net>
2011-12-12 11:03:18 -05:00
James McCoy
ca23cbb774 Merge branch 'maint/0.83.4' 2011-12-06 01:18:18 -05:00
James McCoy
c90fafebe7 Simplify handling of per-network waitingJoins
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2011-12-06 00:55:29 -05:00
Daniel Folkinshteyn
1e1b39783b Services: catch occasional error when removing waiting joins from list
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2011-12-06 00:53:19 -05:00
Daniel Folkinshteyn
d5648ab534 Services: fix problem with some channels being mixed up between networks on startup, when noJoinsUntilIdentified is true.
When noJoinsUntilIdentified config is true, the bot holds join messages in a 'waitingJoins' list, and processes them
once nickserv identification comes through. The problem was that when the bot is configured to join multiple networks,
join messages from different networks would get appended to the same list, without any differentiation by which message
belongs to which network. Thus, if there are messages waiting for multiple networks, it would often be the case that
whichever network got identification done first, would 'pick up' other network's join messages.

This fix stores the network name along with the join messages in the list, and has each network pick out only its own
join messages.

Conflicts:

	src/version.py

Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2011-12-06 00:53:07 -05:00
Daniel Folkinshteyn
71bcc2bc7c Services: add some more strings indicating identification success.
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2011-12-06 00:38:29 -05:00
James McCoy
998819da58 Bug fixes in src/ircmsgs.py
unbans did send the repr() of the ban list, and IrcMsg.__hash__ did try to hash a list.

Conflicts:

	src/version.py

Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2011-12-06 00:22:40 -05:00
James McCoy
f6f9e654cb Only use ircmsg.whois's mask argument if it's non-empty.
Closes: Sf#3121298
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2011-12-06 00:08:01 -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
Valentin Lorentz
a79e9c0cad Debug: Fix import. 2011-12-05 23:21:23 -05:00
James McCoy
5b4c150d03 Prevent nesting of Misc.tell
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2011-12-05 23:13:09 -05:00
James McCoy
360a2036ac Use socket.inet_aton for isIPV4 since Windows doesn't (always?) have inet_pton
Closes: Sf#3430008
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2011-12-05 22:48:09 -05:00
Valentin Lorentz
78accda006 Since: Fix traceback. 2011-12-03 20:55:25 +01:00
Valentin Lorentz
f1852f2e2b Seen: Fix error message ('You must be in') for @since. 2011-12-03 12:45:07 +01:00
Valentin Lorentz
0caf7dba5b Fix network registration (SASL password should not be set up on registration). 2011-12-03 12:36:16 +01:00
Daniel Folkinshteyn
a98b2df392 core: make sure owner is never ignored. also simplify the logic flow in ignore checking.
Thanks m4v for the patch!
2011-11-26 19:09:19 +01:00
Daniel Folkinshteyn
f9377108b0 Merge branch 'ownerignore' 2011-11-21 15:14:52 -05:00
Daniel Folkinshteyn
f3e5223f3f Undo the web title fix because it appears it broke more than it fixed. 2011-11-21 15:14:34 -05:00
Daniel Folkinshteyn
20bfa97649 core: make sure owner is never ignored. also simplify the logic flow in ignore checking.
Thanks m4v for the patch!
2011-11-21 15:09:38 -05:00
skizzhg
6d1cf739ab Games: Update l10n-it. 2011-11-21 19:43:56 +01:00
Valentin Lorentz
8787b366cc Scheduler: Fix typo in l10n-fr. 2011-11-19 22:45:12 +01:00
Valentin Lorentz
05b32b467f Services: Fix traceback on NickServ notice. 2011-11-15 06:29:36 +01:00
Valentin Lorentz
6a4a7b00cf Merge pull request #274 from Mkaysi/mkaysi
Topic: add l10n-fi.
2011-11-14 12:50:32 -08:00
Mika Suomalainen
0f3c2f5b35 Topic: add l10n-fi 2011-11-14 18:36:08 +02:00
Mika Suomalainen
8413a657c9 Topic: continue partial l10n-fi.
It's still partial.
2011-11-14 09:00:37 +02: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
7bb41fe6ec Merge pull request #272 from fbesser/fbesser
german translations
2011-11-13 10:20:13 -08:00
Florian Besser
e41e5ca171 Services: Add l10n-de 2011-11-13 19:04:13 +01:00
Florian Besser
663308cb63 Channel: Fix l10n-de 2011-11-13 19:03:42 +01:00
Florian Besser
15fee0b118 Seen: Fix l10n-de 2011-11-13 18:08:24 +01:00
Valentin Lorentz
dbb3e9c203 Debug: Fix import. 2011-11-13 16:34:01 +01:00
Florian Besser
ce20d8efd0 Channel: Update l10n-de 2011-11-12 23:06:18 +01: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
Valentin Lorentz
f232eaac6f Merge pull request #268 from fbesser/fbesser
german translations
2011-11-11 02:10:35 -08:00
Florian Besser
6c32f85ed7 Status: Add l10n-de 2011-11-11 11:04:59 +01:00
Florian Besser
572e081160 Todo: Add l10n-de 2011-11-11 11:03:27 +01:00
Florian Besser
c562158784 Games: Add l10n-de 2011-11-11 10:39:31 +01:00
Florian Besser
566904e916 Seen: Add l10n-de 2011-11-11 02:43:26 +01:00
Florian Besser
7c1800edaf PluginDownloader: Add l10n-de 2011-11-11 02:43:26 +01:00
Florian Besser
2aa6e5fd49 User: Fix l10n-de 2011-11-11 02:43:26 +01:00
Valentin Lorentz
cf8126223b Google: Apply gholms's patch to fix @calc match. 2011-11-09 10:04:53 +01:00
skizzhg
a93750bad7 Admin: Update l10n-it. 2011-11-07 19:40:04 +01:00
Valentin Lorentz
7ad9788a49 Merge branch 'testing' of github.com:ProgVal/Limnoria into testing 2011-11-07 19:39:59 +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