Commit Graph

9119 Commits

Author SHA1 Message Date
Valentin Lorentz
f82a7c7e17 Issue error message at plugin load if a command has no docstring. 2013-06-01 16:35:47 +02:00
Valentin Lorentz
18c671fc6c scripts/supybot: Invoke i18n in the 'try' block to handle the case where the config file does not exist. 2013-06-01 16:26:41 +02:00
Valentin Lorentz
8aba15807d Socket: Assert 'irc' is not None. 2013-06-01 12:08:12 +02:00
Valentin Lorentz
427f01032b Factoids: Fix XHTML validation of the web interface. 2013-06-01 10:32:51 +02:00
Valentin Lorentz
74db03177f httpserver: Explicitely define the charset. 2013-06-01 10:32:36 +02:00
Valentin Lorentz
1a71fa2d81 httpserver: Fix Content-type of default.css which caused the stylesheet not to be applied. 2013-06-01 10:11:54 +02:00
Valentin Lorentz
792df99688 httpserver: Fix design. 2013-05-31 17:55:56 +02:00
Valentin Lorentz
b2d5544ccf httpserver: Fix restarting the server once a plugin has been unloaded and loaded back. 2013-05-31 17:55:35 +02:00
Valentin Lorentz
2016983d35 Add supybot.utils.net.getAddressFromHostname() and improve Socket driver to try successively all IP addresses. 2013-05-31 17:21:10 +02:00
Valentin Lorentz
9ea1019970 httpserver: Fix issue with Python 2 if no favicon is set. 2013-05-31 16:12:49 +02:00
Valentin Lorentz
cefd91d4f1 Fix encoding issues with Alias containing non-ascii characters. 2013-05-31 15:42:57 +02:00
Valentin Lorentz
b360871378 Google: Fix previous commit. 2013-05-30 13:16:36 +00:00
Valentin Lorentz
6e8b7be0f1 Google: Fix @calc. 2013-05-30 13:13:19 +02:00
Valentin Lorentz
2bf0364c0e travis.yml: Add feedparser and chardet as dependencies. 2013-05-29 15:44:15 +02:00
Valentin Lorentz
863addd989 RSS: Add link to a patch to apply to feedparser. 2013-05-29 15:21:56 +02:00
Valentin Lorentz
ad25f17639 RSS: Add Python 3 support. 2013-05-29 15:16:23 +02:00
Valentin Lorentz
6266d0f16f Google: Remove plugins/Google/local/simplejson/ since it is not used. 2013-05-29 14:48:20 +02:00
Valentin Lorentz
f74d23b9c6 Alias: Try to fix UnicodeDecodeError issues. 2013-05-28 21:08:03 +02:00
Valentin Lorentz
5691ce58a5 Seen: Fix error if last message contained non-ascii characters. 2013-05-24 19:36:54 +02:00
Valentin Lorentz
2d4914bc99 Merge branch 'gpgauth' into testing
Conflicts:
	src/ircdb.py
2013-05-24 17:20:27 +02:00
Valentin Lorentz
0537166502 RSS: Fix formating if newline character in an entry title. Closes GH-395. 2013-05-22 14:03:38 +02:00
Valentin Lorentz
ba6e2fff6f ircmsgs.IrcMsg: Display args in case of AssertionError. 2013-05-21 19:38:55 +02:00
Valentin Lorentz
58befaee5c Admin: @nick only sets the nick on the current network. Closes GH-273. 2013-05-21 18:52:46 +02:00
Valentin Lorentz
a15dea55db Google: Configurable base URL. Closes GH-64. 2013-05-21 18:40:38 +02:00
Valentin Lorentz
efcf9d7837 Channel: Add hostmask of the user kicking the bot, in the logs. 2013-05-21 18:30:16 +02:00
Valentin Lorentz
3da554bde8 supybot-wizard: Display a warning if conf is in the source folder. Closes GH-402. 2013-05-21 17:30:14 +02:00
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
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