Limnoria/plugins
Johannes Löthberg 27e7d6a9ac Aka: Add web UI (#1373)
* utils.web: Import html escaping functions

Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>

* Aka: Add web interface for browsing Akas

Fixes #1226.

Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>

* httpserver: Actually handle KeyError in unhook

Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>

* test: FakeHTTPConnection: Don't decode data in send

BaseHTTPRequestHandler expects to get bytes, so we can't decode the sent
data.

Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>

* test: HTTPPluginTestCase: Use BytesIO instead of StringIO

BaseHTTPRequestHandler expects bytes, not strings.

Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>

* test: HTTPPluginTestCase: Rewind wfile to 0 before reading the response

Otherwise the read pointer is at the end of the file.

Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>

* Aka: Add basic web UI tests

Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
2019-10-10 17:27:34 +02:00
..
Admin Remove confusing comment (irrelevant since 69ead6c2677262a52f8e9fcd185110d383f2c63d) 2017-09-24 21:21:55 +02:00
Aka Aka: Add web UI (#1373) 2019-10-10 17:27:34 +02:00
Alias all plugins: Use msg.channel instead of msg.args[0] + give network name to self.registryValue. 2019-08-24 23:35:01 +02:00
Anonymous all plugins: Use msg.channel instead of msg.args[0] + give network name to self.registryValue. 2019-08-24 23:35:01 +02:00
AutoMode all plugins: Use msg.channel instead of msg.args[0] + give network name to self.registryValue. 2019-08-24 23:35:01 +02:00
BadWords all plugins: Use msg.channel instead of msg.args[0] + give network name to self.registryValue. 2019-08-24 23:35:01 +02:00
Channel all plugins: Use msg.channel instead of msg.args[0] + give network name to self.registryValue. 2019-08-24 23:35:01 +02:00
ChannelLogger ChannelLogger: Fix filename escaping. 2019-09-14 14:35:43 +02:00
ChannelStats all plugins: Use msg.channel instead of msg.args[0] + give network name to self.registryValue. 2019-08-24 23:35:01 +02:00
Conditional Conditional: Do not use noReply() after running the command. 2017-10-26 09:55:52 +02:00
Config plugins/Config: Reply with success on setdefault 2019-10-06 17:43:58 +02:00
Ctcp Ctcp: Don't strip CTCP character in output. (bug added in previous commit) 2016-04-24 21:26:25 +02:00
Debug Add config variable supybot.commands.allowShell. (#1301) 2017-09-24 21:11:21 +02:00
Dict all plugins: Use msg.channel instead of msg.args[0] + give network name to self.registryValue. 2019-08-24 23:35:01 +02:00
Dunno all plugins: Use msg.channel instead of msg.args[0] + give network name to self.registryValue. 2019-08-24 23:35:01 +02:00
Factoids all plugins: Use msg.channel instead of msg.args[0] + give network name to self.registryValue. 2019-08-24 23:35:01 +02:00
Filter all plugins: Use msg.channel instead of msg.args[0] + give network name to self.registryValue. 2019-08-24 23:35:01 +02:00
Format Format: use string.capwords() - not .title() (#1378) 2019-10-10 07:46:36 -07:00
Games all plugins: Use msg.channel instead of msg.args[0] + give network name to self.registryValue. 2019-08-24 23:35:01 +02:00
Google all plugins: Use msg.channel instead of msg.args[0] + give network name to self.registryValue. 2019-08-24 23:35:01 +02:00
GPG GPG: Limit number of headers fetched on old Python versions. 2016-11-22 22:15:43 +01:00
Hashes Hashes: fix copyright year format 2017-11-09 09:08:41 -08:00
Herald all plugins: Use msg.channel instead of msg.args[0] + give network name to self.registryValue. 2019-08-24 23:35:01 +02:00
Internet Use a prefix-less help string, don't assume a '@' prefix (#1309) 2017-10-25 21:19:37 +02:00
Karma all plugins: Use msg.channel instead of msg.args[0] + give network name to self.registryValue. 2019-08-24 23:35:01 +02:00
Lart all plugins: Use msg.channel instead of msg.args[0] + give network name to self.registryValue. 2019-08-24 23:35:01 +02:00
Later Later: Add option senderHostname. 2019-03-06 15:29:09 +01:00
Limiter all plugins: Use msg.channel instead of msg.args[0] + give network name to self.registryValue. 2019-08-24 23:35:01 +02:00
Math Fix FutureWarning related to nested sets. 2018-12-29 23:36:57 +01:00
MessageParser all plugins: Use msg.channel instead of msg.args[0] + give network name to self.registryValue. 2019-08-24 23:35:01 +02:00
Misc all plugins: Use msg.channel instead of msg.args[0] + give network name to self.registryValue. 2019-08-24 23:35:01 +02:00
MoobotFactoids all plugins: Use msg.channel instead of msg.args[0] + give network name to self.registryValue. 2019-08-24 23:35:01 +02:00
Network Network: send whois requests using the original nick case 2019-10-05 16:40:37 -07:00
News News + RSS: Mock time.time() instead of using time.sleep() in tests. 2019-10-05 12:22:30 +02:00
NickAuth NickAuth: Fix NameError caused by e732931688. 2018-01-25 14:09:19 +01:00
NickCapture Use irc.isChannel instead of ircutils.isChannel when possible. 2019-08-04 21:52:40 +02:00
Nickometer Nickometer: Use non-euclidian division as was originally intended. 2019-08-26 22:24:14 +02:00
Note all plugins: Use msg.channel instead of msg.args[0] + give network name to self.registryValue. 2019-08-24 23:35:01 +02:00
Owner all plugins: Use msg.channel instead of msg.args[0] + give network name to self.registryValue. 2019-08-24 23:35:01 +02:00
Plugin Plugin: make @plugins take non-first words into account. Closes GH-68. 2015-12-28 20:09:48 +01:00
PluginDownloader PluginDownloader: update my repo name 2019-03-19 21:35:03 -07:00
Praise all plugins: Use msg.channel instead of msg.args[0] + give network name to self.registryValue. 2019-08-24 23:35:01 +02:00
Protector all plugins: Use msg.channel instead of msg.args[0] + give network name to self.registryValue. 2019-08-24 23:35:01 +02:00
Quote Remove need for 2to3. 2015-08-11 16:50:23 +02:00
QuoteGrabs all plugins: Use msg.channel instead of msg.args[0] + give network name to self.registryValue. 2019-08-24 23:35:01 +02:00
Relay all plugins: Use msg.channel instead of msg.args[0] + give network name to self.registryValue. 2019-08-24 23:35:01 +02:00
Reply Use irc.isChannel instead of ircutils.isChannel when possible. 2019-08-04 21:52:40 +02:00
RSS RSS: add 'announce channels' command to list channels a feed is announced to 2019-10-06 20:46:21 +02:00
Scheduler Channel & Dunno & Misc & RSS & Scheduler: Let the logging facility perform string templating to avoid extra format chars in argument. 2015-11-03 17:25:13 +01:00
Seen all plugins: Use msg.channel instead of msg.args[0] + give network name to self.registryValue. 2019-08-24 23:35:01 +02:00
Services Services: Add support for network-specific password. 2019-08-25 14:08:11 +02:00
ShrinkUrl all plugins: Use msg.channel instead of msg.args[0] + give network name to self.registryValue. 2019-08-24 23:35:01 +02:00
Status all plugins: Use msg.channel instead of msg.args[0] + give network name to self.registryValue. 2019-08-24 23:35:01 +02:00
String String, Hashes: remove links describing hashing methods 2017-11-09 09:01:29 -08:00
Success all plugins: Use msg.channel instead of msg.args[0] + give network name to self.registryValue. 2019-08-24 23:35:01 +02:00
Time all plugins: Use msg.channel instead of msg.args[0] + give network name to self.registryValue. 2019-08-24 23:35:01 +02:00
Todo Remove need for 2to3. 2015-08-11 16:50:23 +02:00
Topic all plugins: Use msg.channel instead of msg.args[0] + give network name to self.registryValue. 2019-08-24 23:35:01 +02:00
Unix all plugins: Use msg.channel instead of msg.args[0] + give network name to self.registryValue. 2019-08-24 23:35:01 +02:00
URL all plugins: Use msg.channel instead of msg.args[0] + give network name to self.registryValue. 2019-08-24 23:35:01 +02:00
User all plugins: Use msg.channel instead of msg.args[0] + give network name to self.registryValue. 2019-08-24 23:35:01 +02:00
Utilities Properly handle noReplies() in nested commands. 2017-10-21 15:37:43 +02:00
Web all plugins: Use msg.channel instead of msg.args[0] + give network name to self.registryValue. 2019-08-24 23:35:01 +02:00
__init__.py ChannelLogger + Karka + all DB plugins: Sanitize channel names when used in filenames. 2019-09-06 20:42:13 +02:00
messages.pot update messages.pot files && Unix: update l10n-fi. 2014-03-22 12:22:54 +02:00