Commit Graph

8792 Commits

Author SHA1 Message Date
Valentin Lorentz
d0f50fb388 Channel: Log when the bot is kicked. 2013-05-21 17:19:21 +02:00
Valentin Lorentz
c56f26b91d Wrap now internationalizes docstrings. 2013-05-20 17:52:41 +02:00
Valentin Lorentz
66025cf7e4 New syntax for wrap(). Now supports being used as a Python decorator with arguments.
For example, in Admin, "join = wrap(join, ['validChannel', additional('something')])" could become "@wrap(['validChannel', additional('something')])".
2013-05-20 17:40:04 +02:00
Valentin Lorentz
b887a97be2 travis.yml: Remove useless command. 2013-05-20 17:37:49 +02:00
Valentin Lorentz
6783e5834b Later: Fix typo. 2013-05-19 08:46:24 +00:00
Valentin Lorentz
a678bfc0d2 Alias: Fix encoding issue. 2013-05-18 17:59:26 +02:00
Valentin Lorentz
8bfea88e3f Factoids: Use supybot.plugins.Factoids.requireVoice for @forget too. 2013-05-18 14:47:38 +02:00
Valentin Lorentz
9e1cf727e3 Network: Add @whowas. Closes GH-227. 2013-05-18 14:46:58 +02:00
Valentin Lorentz
6493be1f13 httpserver: Add doctype. 2013-05-17 20:13:46 +02:00
Valentin Lorentz
1090c4623f Factoids: Add supybot.plugins.Factoids.requireVoice. Closes GH-378. 2013-05-17 17:47:43 +02:00
Valentin Lorentz
ed62c9efb1 commands.py: Rename 'isGranted' to 'haveHalfop+' and add 'haveVoice+'. 2013-05-17 17:36:11 +02:00
Valentin Lorentz
f42023bf19 Fix SupyTestCase.assert* with Python 2.6. 2013-05-15 18:52:56 +02:00
Valentin Lorentz
65afe65ae6 Factoids: Enforce order of approximate factoids. 2013-05-14 20:16:05 +02:00
Valentin Lorentz
0083b00b64 travis.yml: Enable Python 3.3. 2013-05-14 20:02:09 +02:00
Valentin Lorentz
04b7d9eeda Fix compatibility with Python 3.3.1. 2013-05-14 19:59:19 +02:00
Valentin Lorentz
6ffcf122a7 Remove code specific to Python 2.{3,4,5}. 2013-05-13 15:27:26 +02:00
Valentin Lorentz
93ecc2424f Google: Fix encoding issue. 2013-05-13 14:18:22 +02:00
Valentin Lorentz
8421300e14 String: Fix test. 2013-05-13 13:51:30 +02:00
Valentin Lorentz
8d95a424b0 Fix fetch of RSS feeds containing unicode. 2013-05-13 10:51:24 +02:00
Valentin Lorentz
63f911b8a4 Merge branch 'py3k-backport' into testing
Conflicts:
	setup.py
2013-05-11 11:55:43 +02:00
Valentin Lorentz
cd6d9da8e4 Debug: Fix Python 3 compatibility. 2013-05-11 11:44:21 +02:00
Valentin Lorentz
f0e49a0402 Math: Fix load on Python 3. 2013-05-11 11:42:18 +02:00
Valentin Lorentz
75c3d2fa89 Dict: Use normal import (was broken in Python 3.3 for some reason). 2013-05-11 11:41:55 +02:00
Valentin Lorentz
a55611a49e core: Various Python 3 compatibility fixes.
Conflicts:
	src/httpserver.py
2013-05-11 11:19:31 +02:00
Valentin Lorentz
f8a57b78e4 Google: Fix snarfer with Python 3. 2013-05-11 11:17:53 +02:00
Valentin Lorentz
0608676d0a setup.py: Remove error output if not in a git repo. 2013-05-11 11:16:25 +02:00
Valentin Lorentz
c84d3d6b75 Speed up install on Python3 (2to3 is ran only on modified files). 2013-05-11 11:16:18 +02:00
Valentin Lorentz
00d9567b4f Fix typo. 2013-05-11 11:16:13 +02:00
Valentin Lorentz
3b44bc34b7 Fix previous commit. 2013-05-11 11:16:03 +02:00
Valentin Lorentz
20665cf31d 2to3/run.py: Fix compatibility issue with old Python 3.x versions (2to3 does not suport -W and -o). 2013-05-11 11:15:58 +02:00
Valentin Lorentz
38d039ada2 setup.py: In debug mode, display 2to3 logs. 2013-05-11 11:15:53 +02:00
Valentin Lorentz
3e26a2d7cf setup.py: Add the --debug switch. 2013-05-11 11:15:49 +02:00
Valentin Lorentz
29421f3cd7 setup.py: Hide 2to3's output. 2013-05-11 11:15:43 +02:00
Valentin Lorentz
c7a1779f53 Fix previous commit 2013-05-11 11:15:37 +02:00
Valentin Lorentz
4a032834fb setup.py: Fix bug if setup is not in the current working directory. 2013-05-11 11:15:32 +02:00
Valentin Lorentz
170183adbd setup.py: exit after it has called itself. 2013-05-11 11:15:17 +02:00
Valentin Lorentz
cadf953e86 Make the setup.py runnable by Python 3 and run 2to3 automatically.
Conflicts:
	sandbox/run_2to3.sh
	setup.py
2013-05-11 11:15:03 +02:00
Valentin Lorentz
3935152d65 Fix 'dictionary changed size during iteration'. 2013-05-10 23:55:48 +02:00
Valentin Lorentz
cb6139e110 Fix typo. 2013-05-10 23:22:23 +02:00
Valentin Lorentz
3b179ec304 Apparently, Python 3.3 does not like sys.modules to be reassigned. 2013-05-10 23:20:02 +02:00
Valentin Lorentz
9553798c90 sys.modules is a dict, not a list (again). 2013-05-10 22:23:57 +02:00
Valentin Lorentz
ee1d8731c9 sys.modules is a dict, not a list. 2013-05-10 22:08:59 +02:00
Valentin Lorentz
e787f3343e Fix typo. 2013-05-10 22:03:15 +02:00
Valentin Lorentz
3570acff72 Fix plugin load if previous (re)load failed. 2013-05-10 17:55:56 +02:00
Valentin Lorentz
1a6d4b64d2 setup.py: Remove error output if not in a git repo. 2013-05-10 17:55:31 +02:00
Valentin Lorentz
115f8001fe ChannelStats: Fix bug when conf.supybot.databases.plugins.channelSpecific is true (KeyError in channels list). 2013-05-09 12:47:53 +02:00
Valentin Lorentz
70a169ab6f Debug: Fix Python 3 compatibility. 2013-05-09 10:16:51 +02:00
Valentin Lorentz
8f6063135e Add supybot.abuse.flood.interval. 2013-05-09 09:40:55 +02:00
Valentin Lorentz
c0c479a77c Math: Fix load on Python 3. 2013-05-08 19:28:16 +00:00
Valentin Lorentz
b9a46cef21 Factoids: Fix @lock and @unlock. 2013-05-04 01:01:11 +02:00