Commit Graph

3845 Commits

Author SHA1 Message Date
James McCoy
ff96b898f9 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>

Conflicts:

	plugins/RSS/plugin.py
2011-12-19 01:32:05 +01:00
Valentin Lorentz
72077c8c97 Google: fix previous cherry-pick. 2011-12-13 18:10:20 +01:00
Daniel Folkinshteyn
b991c8679b Google: use web scraping as fallback to ig api
ig api doesn't have everything (for one, timezones),
and also, in case the IG api ever dies.

Conflicts:

	plugins/Google/plugin.py
2011-12-13 18:10:15 +01:00
Daniel Folkinshteyn
e1ffe0f4e3 Google: use google ig api for the calc. no more web scraping. let's hope this stays alive.
Conflicts:

	plugins/Google/plugin.py
2011-12-13 18:10:09 +01:00
James McCoy
d1bc7922ee Simplify handling of per-network waitingJoins
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2011-12-13 18:08:00 +01:00
Daniel Folkinshteyn
761435ba1a Services: catch occasional error when removing waiting joins from list
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2011-12-13 18:07:56 +01:00
Daniel Folkinshteyn
8c3304c520 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>

Conflicts:

	plugins/Services/plugin.py
2011-12-13 18:07:22 +01:00
James McCoy
f0233c370f Prevent nesting of Misc.tell
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2011-12-13 18:05:21 +01: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
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
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
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
Florian Besser
ce20d8efd0 Channel: Update l10n-de 2011-11-12 23:06:18 +01: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
Tanner
ae64f667a7 Success: Added a description to READEME.txt 2011-11-06 21:27:39 +08:00
Tanner
819d21263b ShrinkUrl: Added a description to README.txt 2011-11-06 21:26:55 +08:00
Tanner
a913f4cf25 Web: Added a description to README.txt 2011-11-06 21:26:55 +08:00
Tanner
08c2bbb1b7 Services: Added a description to README.txt 2011-11-06 21:26:55 +08:00
Tanner
752eaabce3 Seen: Added a description to README.txt 2011-11-06 21:26:55 +08:00
Tanner
0ebe41f0eb Todo: Added a description to READEME.txt 2011-11-06 21:26:55 +08:00
Tanner
a921b7fd4d Topic: Added a description to READEME.txt 2011-11-06 21:26:54 +08:00
Tanner
25b3a8aa70 Success: Added a description to READEME.txt 2011-11-06 21:26:54 +08:00
Tanner
4e9c76bf8b Scheduler: Added a description to README.txt 2011-11-06 21:26:54 +08:00
nyuszika7h
99de7b2347 Time: Add l10n-hu. 2011-11-06 21:25:11 +08:00
nyuszika7h
1c6ff67cee RSS: Fix l10n-hu. 2011-11-06 21:25:10 +08:00
Valentin Lorentz
dc593832f5 Merge pull request #264 from fbesser/fbesser
some new german translations
2011-11-04 11:02:55 -07:00
Florian Besser
d965daa1a2 User: Update l10n-de 2011-11-04 19:00:09 +01:00
Florian Besser
2ff43a48c7 Owner: Update l10n-de 2011-11-04 18:59:37 +01:00
Florian Besser
f32c65b526 Misc: Update l10n-de 2011-11-04 18:58:59 +01:00
Florian Besser
60b627e6bb NickCapture: Add l10n-de 2011-11-04 18:58:14 +01:00
Florian Besser
78766218bb Later: Add l10n-de 2011-11-04 18:57:32 +01:00
Florian Besser
d18afe202a Dunno: Add l10n-de 2011-11-04 18:56:46 +01:00
Florian Besser
b93b6cee81 AutoMode: Add l10n-de 2011-11-04 18:56:09 +01:00
Valentin Lorentz
4903b65000 Merge pull request #262 from fbesser/fbesser
Update: Admin, Fix: Plugin and Add: Alias l10n-de
2011-11-01 13:34:00 -07:00
Florian Besser
6cd880ac42 Alias: Add l10n-de 2011-11-01 20:56:28 +01:00
Florian Besser
fbee692c4a Plugin: Fix l10n-de 2011-11-01 20:55:42 +01:00
Florian Besser
6415f99e29 Admin: Update l10n-de 2011-11-01 20:42:48 +01:00