Commit Graph

10091 Commits

Author SHA1 Message Date
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
Daniel Folkinshteyn
81c366a6be Web: create a cofigurable url whitelist
Prevent various forms of abuse that result via the Web plugin, such as fetching or titling
malicious content, or revealing bot IP.
2013-05-11 14:12:31 -04: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
Daniel Folkinshteyn
af1931b3db RSS: add option display headline timestamp. 2013-05-05 11:23:15 -04:00
Daniel Folkinshteyn
78659113c1 RSS: add option to strip url redirects from headlines 2013-05-04 00:01:52 -04:00
Daniel Folkinshteyn
02a2a056a4 Owner: Reload module configuration in reload.
Pulled from Limnoria
2013-05-03 23:44:27 -04:00
Daniel Folkinshteyn
0b36a29977 Owner: Prevent use of uninitialized variable.
(pulled from Limnoria)
2013-05-03 23:43:17 -04:00
Daniel Folkinshteyn
bc0d16a4e1 RSS: keep track of headlines over multiple feed fetches, with configurable expiration.
This is better at avoiding repeats than just keeping the last fetch, since some feeds
shuffle items around (like google news search).
2013-05-03 23:39:34 -04:00
Valentin Lorentz
b9a46cef21 Factoids: Fix @lock and @unlock. 2013-05-04 01:01:11 +02:00
Valentin Lorentz
c133d973aa Revert "Fix typo."
This reverts commit 390af5d049.

Conflicts:
	locales/fr.po
2013-05-01 05:53:20 +00:00
Valentin Lorentz
da5fb34b11 Channel: Fix l10n-fr. 2013-04-30 18:32:39 +00:00
Valentin Lorentz
71e50278c8 Python 3.3 is not supported. 2013-04-27 19:08:20 +02:00