Commit Graph

4100 Commits

Author SHA1 Message Date
Valentin Lorentz
97a977a1eb Merge branch 'py3k-backport' into testing 2012-09-07 17:20:16 +00:00
Valentin Lorentz
f747c5a7d4 Config: Fix @reload. 2012-09-07 17:20:09 +00:00
Valentin Lorentz
f912de74f6 Admin: Change message 'It's banned me' into 'I am banned.'. Closes GH-329. 2012-09-03 14:07:23 +02:00
Valentin Lorentz
e5e2db15b2 ShrinkUrl: Implement @expand. Closes GH-392. 2012-09-02 10:06:33 +02:00
nyuszika7h
de61bb6b93 Google: Add translate command (needs testing)
https://github.com/myano/jenni/blob/master/modules/translate.py
is where I got the idea from. Say thanks to sbp and yano too! :)
2012-08-31 16:52:58 +02:00
Valentin Lorentz
619dd2ce82 Merge branch 'merge-gribble' into testing 2012-08-30 11:38:56 +02:00
Daniel Folkinshteyn
38ff1a1137 Seen: require caller to be in target channel when using commands in this plugin.
This fixes information leakage from private channels.

Conflicts:
	plugins/Seen/plugin.py
2012-08-30 11:33:55 +02:00
Daniel Folkinshteyn
e557541de1 Channelstats: require caller to be in target channel when using commands in this plugin.
This fixes information leakage from private channels.
2012-08-30 11:33:01 +02:00
Daniel Folkinshteyn
643788b478 Math: default %f formatting rounds to 6 decimal places. increase that to 16. 2012-08-30 11:32:43 +02:00
Valentin Lorentz
ba876d7ddf Fix commit 17227a6829. 2012-08-28 20:27:22 +00:00
Valentin Lorentz
17227a6829 AutoMode: Dismiss auto-op/halfop/voice if the user already has it. 2012-08-27 15:42:08 +02:00
Valentin Lorentz
0c6320e9c1 RSS: Display error instead of traceback if fetching a feed failed. 2012-08-26 07:38:40 +00:00
Valentin Lorentz
30f711b12f Google: Prevent flooding when no matches are found. 2012-08-26 07:37:40 +00:00
Terje Hoås
e1adc011c3 Google: Stop output when there are no result. 2012-08-17 17:16:26 +02:00
Valentin Lorentz
b5e965c48a Web: Decode _after_ reading the page in @fetch. 2012-08-14 21:08:54 +00:00
Joe Julian
653e4dec1b urlquoting the url leads to short urls that prepend "http://" to the url 2012-08-14 18:56:44 +02:00
Valentin Lorentz
24d73eb1f8 ShrinkUrl: Add ur1.ca support. 2012-08-11 11:07:40 +02:00
Valentin Lorentz
12b8e44dc7 AutoMode: Fix traceback since b5c99b1c. 2012-08-10 13:04:25 +00: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
62d56dee18 Alias: Allow pipes in name. 2012-08-08 21:44:10 +02:00
Valentin Lorentz
1e794d88d7 ChannelLogger: Use open() instead of file(). 2012-08-07 20:53:06 +00:00
Valentin Lorentz
94d09da44a Alias: Save and restore aliases with dots in them. 2012-08-06 20:36:10 +02:00
Valentin Lorentz
22befe3d61 Owner: Prevent use of uninitialized variable. 2012-08-05 18:28:17 +02:00
Valentin Lorentz
ea17fe5c57 Unix: Decode stream for the command line in sysuname. 2012-08-05 18:26:39 +02:00
Valentin Lorentz
4fc1e934c7 PluginDownloader: Open target files in binary mode. 2012-08-05 18:02:54 +02:00
Valentin Lorentz
a40ebae4da String: Apply/unapply base64 encoding when dealing with a binary encoding. 2012-08-05 17:55:29 +02:00
Valentin Lorentz
5ae3e3fdcf ShrinkUrl: Decode data from web services. 2012-08-05 16:58:09 +02:00
Valentin Lorentz
709c3390ef Internet: Remove debug print. 2012-08-05 15:20:35 +02:00
Valentin Lorentz
124e292f1f Catch sort errors in ChannelUserDB.
In case the dictionnary has both integers and strings as keys, items.sort() raises a TypeError.
2012-08-05 15:19:20 +02:00
Valentin Lorentz
a731841af8 Dict: Decode network stream as unicode. 2012-08-05 14:38:11 +02:00
Valentin Lorentz
34bb33b65f Alias & MoobotFactoids: Fix import error in test.py. 2012-08-05 14:14:55 +02:00
Valentin Lorentz
242a54fbf2 Alias & RSS: remove third argument to types.MethodType.
It is useless in the case in point, and is not compatible with Python 3.
2012-08-05 14:08:04 +02:00
Valentin Lorentz
8507498be4 Web: make plugin py3k-friendly. 2012-08-04 22:23:40 +02:00
Valentin Lorentz
6537137b3f Unix: make plugin py3k-friendly. 2012-08-04 22:20:20 +02:00
Valentin Lorentz
65eb79b8f2 String: Use the 'codecs' module and make it py3k-friendly. 2012-08-04 22:04:13 +02:00
Valentin Lorentz
de5747aecb ShrinkUrl: Use utils.web.getUrl instead of httplib2. 2012-08-04 21:33:58 +02:00
Valentin Lorentz
36812798fb Make ChannelUserDictionary subclass collections.MutableMapping instead of deprecated UserDict.DictMixin. 2012-08-04 21:16:00 +02:00
Valentin Lorentz
11df697b96 RSS: Be compatible with new versions of feedparser. 2012-08-04 20:43:11 +02:00
Valentin Lorentz
c99fe9519e PluginDownloader: Make plugin py3k-friendly. 2012-08-04 20:39:30 +02:00
Valentin Lorentz
0134696b8b Misc: make plugin py3k-friendly. 2012-08-04 20:25:36 +02:00
Valentin Lorentz
987aaa6c37 Math: use string.ascii_uppercase instead of string.uppercase. 2012-08-04 20:23:30 +02:00
Valentin Lorentz
224bdf89e7 Math: implement __lt__ and __eq__ in converter.Unit. 2012-08-04 20:22:11 +02:00
Valentin Lorentz
1be1ddb386 Later: Use open() instead of file(). 2012-08-04 20:20:14 +02:00
Valentin Lorentz
0b49c7312f Internet: use binary I/O. 2012-08-04 20:07:24 +02:00
Valentin Lorentz
978a702346 Google: Use 'json' module and apply .decode() on data. 2012-08-04 19:50:30 +02:00
Valentin Lorentz
a89ff32297 Filter: Use the 'codecs' module instead of .encode and .decode. 2012-08-04 19:43:11 +02:00
Valentin Lorentz
9dcfce01c7 Dict: Open connection in binary mode. 2012-08-04 19:22:31 +02:00
Valentin Lorentz
dcd07a2ec4 ChannelStats & Filter & Math & Unit: use utils instead of str.translate. 2012-08-04 19:13:35 +02:00
Valentin Lorentz
88c2c130ca BadWords & Nickometer: Use 'future' divisions. 2012-08-04 18:54:14 +02:00
Valentin Lorentz
8b7d16c850 Alias & RSS: Use types.MethodType instead of new.instancemethod. 2012-08-04 18:46:16 +02:00