Limnoria/plugins
Daniel Folkinshteyn 37597bfe94 Create a commands.process function which runs a function inside a separate process.
This is the only way to limit the execution time of a possibly long-running python statement.
Use this on String.re, due to the possibility of pathologically long re matching in python.
This allows us to remove the 'trusted-only' restriction on string.re.
In the future, this should probably be used in other places that take user-supplied regexps,
such as 'misc last --regexp', for example, as well as other potentially long-running tasks
that can block the bot.

Conflicts:

	plugins/String/plugin.py
	src/commands.py
2011-08-15 17:24:33 +02:00
..
Admin Admin: fixed l10n-fi. 2011-08-13 23:32:12 +03:00
Alias Alias: fix l10n-fi. 2011-08-13 23:45:52 +03:00
Anonymous Admin & Anonymous & AutoMode & Channel & Misc & NickCapture & Seen & Todo & URL: Update l10n-it. 2011-08-10 11:48:07 +02:00
AutoMode Admin & Anonymous & AutoMode & Channel & Misc & NickCapture & Seen & Todo & URL: Update l10n-it. 2011-08-10 11:48:07 +02:00
BadWords Update l10n-it for many plugins. 2011-08-07 11:16:04 +02:00
Channel Admin & Anonymous & AutoMode & Channel & Misc & NickCapture & Seen & Todo & URL: Update l10n-it. 2011-08-10 11:48:07 +02:00
ChannelLogger ChannelLogger: update l10n-fi. 2011-08-10 14:30:58 +03:00
ChannelStats ChannelStats: improved README 2011-07-08 00:36:09 +03:00
Conditional Update l10n-it for many plugins. 2011-08-07 11:16:04 +02:00
Config Revert "In registry.py, test whether a requested configuration variable is a channel name before creating it automatically. Closes GH-63." 2011-08-12 01:06:31 +02:00
Ctcp Ctcp: update l10n-fi 2011-08-10 14:27:55 +03:00
Dict Update l10n-it for many plugins. 2011-08-07 11:16:04 +02:00
Dunno Dunno: improved README 2011-07-08 00:52:31 +03:00
Factoids Update l10n-it for many plugins. 2011-08-07 11:16:04 +02:00
Filter Update l10n-it for many plugins. 2011-08-07 11:16:04 +02:00
Format Format: update l10n-fi 2011-08-10 14:20:09 +03:00
Games Admin & Channel & Games & Math & MessageParser & Misc & MoobotFactoids & Network & Nickometer & Owner & Praise & Relay & Reply & Topic & Unix & Web: update/add l10n-it. 2011-08-06 18:55:38 +02:00
Google Update l10n-it for many plugins. 2011-08-07 11:16:04 +02:00
Herald Update l10n-it for many plugins. 2011-08-07 11:16:04 +02:00
Internet Internet: improved README. 2011-07-08 13:20:23 +03:00
Karma Karma: update l10n-fi 2011-08-10 14:23:54 +03:00
Lart Update l10n-it for many plugins. 2011-08-07 11:16:04 +02:00
Later Merge branch 'testing' of github.com:ProgVal/Limnoria into testing 2011-08-12 13:07:14 +02:00
Limiter Update l10n-it for many plugins. 2011-08-07 11:16:04 +02:00
Math Update l10n-it for many plugins. 2011-08-07 11:16:04 +02:00
MessageParser Update l10n-it for many plugins. 2011-08-07 11:16:04 +02:00
Misc Misc: fix potential ddos when misc.last command is fed a specially-crafted regexp. 2011-08-13 01:56:21 +02:00
MoobotFactoids Merge branch 'testing' of github.com:ProgVal/Limnoria into testing 2011-08-06 18:58:17 +02:00
Network Update l10n-it for many plugins. 2011-08-07 11:16:04 +02:00
News News: added l10n-fi. 2011-07-23 18:01:28 +03:00
NickCapture NickCapture: update l10n-fi 2011-08-10 15:07:11 +03:00
Nickometer Merge branch 'testing' of github.com:ProgVal/Limnoria into testing 2011-08-06 18:58:17 +02:00
Note Secure some more commands which take a regexp from untrusted user input. 2011-08-13 01:59:18 +02:00
Owner Owner: update l10n-fi 2011-08-10 14:37:41 +03:00
Plugin Plugin: fix l10n-fi. 2011-07-24 17:56:29 +03:00
PluginDownloader PluginDownloader: Installing a plugin overrides the existing plugin with the same name, if any. 2011-07-14 17:34:27 +02:00
Praise Update l10n-it for many plugins. 2011-08-07 11:16:04 +02:00
Protector Quote: added l10n-fi. 2011-07-24 16:05:28 +03:00
Quote Quote: added l10n-fi. 2011-07-24 16:05:28 +03:00
QuoteGrabs QuoteGrabs: added l10n-fi. 2011-07-29 19:42:52 +03:00
Relay Merge branch 'testing' of github.com:ProgVal/Limnoria into testing 2011-08-06 18:58:17 +02:00
Reply Reply: update l10n-fi. 2011-08-10 13:06:55 +03:00
RSS RSS: add channel-specific blacklist and whitelist. 2011-08-14 10:53:58 +02:00
Scheduler Scheduler: added l10n-fi. 2011-08-07 20:46:45 +03:00
Seen Merge branch 'testing' of github.com:ProgVal/Limnoria into testing 2011-08-12 13:07:14 +02:00
Services Services: added l10n-fi 2011-08-13 23:03:12 +03:00
ShrinkUrl Dict & Limiter & Note & Scheduler & ShrinkUrl & URL & Utilities: Add Italian translation 2011-06-16 19:06:16 +02:00
Status ChannelLogger & Format & Karma & Later & Misc & Owner & Reply & Seen & Status & Todo & URL & Unix: Update messages.pot and l10n-fr. 2011-08-10 11:44:57 +02:00
String Create a commands.process function which runs a function inside a separate process. 2011-08-15 17:24:33 +02:00
Success Admin & Alias & Anonymous & AutoMode & Ctcp & Dunno & Internet & Lart & NickCapture & Protector & Quote & Success: Add Italian translation 2011-06-12 22:30:45 +02:00
Time Time: Remove useless/bad/wrong error message from @tztime. 2011-08-12 13:07:40 +02:00
Todo Secure some more commands which take a regexp from untrusted user input. 2011-08-13 01:59:18 +02:00
Topic Merge branch 'master' of git://supybot.git.sourceforge.net/gitroot/supybot/supybot into testing 2011-08-06 19:00:32 +02:00
Unix ChannelLogger & Format & Karma & Later & Misc & Owner & Reply & Seen & Status & Todo & URL & Unix: Update messages.pot and l10n-fr. 2011-08-10 11:44:57 +02:00
URL Admin & Anonymous & AutoMode & Channel & Misc & NickCapture & Seen & Todo & URL: Update l10n-it. 2011-08-10 11:48:07 +02:00
User User: Admins can now see capabilities of other users. Closes GH-106. 2011-08-07 11:59:19 +02:00
Utilities Utilities: fix l10n-it. 2011-07-22 02:02:11 +02:00
Web Admin & Channel & Games & Math & MessageParser & Misc & MoobotFactoids & Network & Nickometer & Owner & Praise & Relay & Reply & Topic & Unix & Web: update/add l10n-it. 2011-08-06 18:55:38 +02:00
__init__.py Secure some more commands which take a regexp from untrusted user input. 2011-08-13 01:59:18 +02:00