furrycat/catbot.git
9 years agoQuery params can be replaced with a generator.
CMDR furrycat [Sat, 19 Nov 2016 17:16:14 +0000 (17:16 +0000)]
Query params can be replaced with a generator.

9 years agoHandle cursor being None.
CMDR furrycat [Fri, 18 Nov 2016 17:33:35 +0000 (17:33 +0000)]
Handle cursor being None.

9 years agoWhitespace.
CMDR furrycat [Fri, 18 Nov 2016 17:32:01 +0000 (17:32 +0000)]
Whitespace.

9 years agoLog failed SQL.
CMDR furrycat [Fri, 18 Nov 2016 17:29:02 +0000 (17:29 +0000)]
Log failed SQL.

9 years agoAdded commit() and rollback().
CMDR furrycat [Fri, 18 Nov 2016 17:28:07 +0000 (17:28 +0000)]
Added commit() and rollback().

9 years agoSafer check for sound and text.
CMDR furrycat [Fri, 18 Nov 2016 17:22:18 +0000 (17:22 +0000)]
Safer check for sound and text.

9 years agoUse Announcement class in announcements.
CMDR furrycat [Fri, 18 Nov 2016 17:07:53 +0000 (17:07 +0000)]
Use Announcement class in announcements.

9 years agoSplit long messages solely by length not line count.
CMDR furrycat [Tue, 15 Nov 2016 12:14:30 +0000 (12:14 +0000)]
Split long messages solely by length not line count.

9 years agoTypo.
CMDR furrycat [Tue, 15 Nov 2016 12:03:46 +0000 (12:03 +0000)]
Typo.

9 years agoInitial report to the right channel.
CMDR furrycat [Sat, 12 Nov 2016 13:45:06 +0000 (13:45 +0000)]
Initial report to the right channel.

9 years agoConsistency.
CMDR furrycat [Sat, 12 Nov 2016 13:36:40 +0000 (13:36 +0000)]
Consistency.

9 years agoAdded faction plugin.
CMDR furrycat [Sat, 12 Nov 2016 13:30:14 +0000 (13:30 +0000)]
Added faction plugin.

9 years agoMoved EDDB search to separate module.
CMDR furrycat [Sat, 12 Nov 2016 09:48:57 +0000 (09:48 +0000)]
Moved EDDB search to separate module.

9 years agoAnnouncement() class.
CMDR furrycat [Fri, 11 Nov 2016 16:44:38 +0000 (16:44 +0000)]
Announcement() class.

9 years agoAnnouncement debugging.
CMDR furrycat [Fri, 11 Nov 2016 11:10:14 +0000 (11:10 +0000)]
Announcement debugging.

9 years agoTry harder to identify previously-posted announcements.
CMDR furrycat [Fri, 11 Nov 2016 11:09:01 +0000 (11:09 +0000)]
Try harder to identify previously-posted announcements.

9 years agoHandle null interval.
CMDR furrycat [Fri, 11 Nov 2016 10:08:09 +0000 (10:08 +0000)]
Handle null interval.

9 years agoDon't lose the args after parsing channel.
CMDR furrycat [Fri, 11 Nov 2016 10:07:40 +0000 (10:07 +0000)]
Don't lose the args after parsing channel.

9 years agoHandle ints in parse_boolean().
CMDR furrycat [Fri, 11 Nov 2016 09:53:23 +0000 (09:53 +0000)]
Handle ints in parse_boolean().

9 years agoCatch lack of read message history permission retrieving messages.
CMDR furrycat [Fri, 11 Nov 2016 09:47:52 +0000 (09:47 +0000)]
Catch lack of read message history permission retrieving messages.

9 years agoHandle failure to find announcer.
CMDR furrycat [Fri, 11 Nov 2016 09:25:09 +0000 (09:25 +0000)]
Handle failure to find announcer.

9 years agoEnsure we can get the member permissions in get_message().
CMDR furrycat [Fri, 11 Nov 2016 08:00:46 +0000 (08:00 +0000)]
Ensure we can get the member permissions in get_message().

9 years agoAdded digest command to developer plugin.
CMDR furrycat [Fri, 11 Nov 2016 07:54:18 +0000 (07:54 +0000)]
Added digest command to developer plugin.

9 years agoPlugin enhancements.
CMDR furrycat [Thu, 10 Nov 2016 14:22:39 +0000 (14:22 +0000)]
Plugin enhancements.

Log loaded plugins.
Command to reload plugins.
Logging level set correctly.

9 years agoMoved treats to affection plugin.
CMDR furrycat [Thu, 10 Nov 2016 14:20:48 +0000 (14:20 +0000)]
Moved treats to affection plugin.

9 years agoMoved id command to developer plugin.
CMDR furrycat [Thu, 10 Nov 2016 13:57:06 +0000 (13:57 +0000)]
Moved id command to developer plugin.

9 years agoUse ThrowingArgumentParser in bling plugin.
CMDR furrycat [Thu, 10 Nov 2016 08:27:42 +0000 (08:27 +0000)]
Use ThrowingArgumentParser in bling plugin.

9 years agoArgumentParser which throws an exception instead of print errors.
CMDR furrycat [Thu, 10 Nov 2016 08:27:21 +0000 (08:27 +0000)]
ArgumentParser which throws an exception instead of print errors.

9 years agoMethod to determine which servers are appropriate for a message.
CMDR furrycat [Wed, 9 Nov 2016 15:16:54 +0000 (15:16 +0000)]
Method to determine which servers are appropriate for a message.

9 years agoAccept multiple matches if the first matches exactly.
CMDR furrycat [Sun, 6 Nov 2016 21:51:12 +0000 (21:51 +0000)]
Accept multiple matches if the first matches exactly.

9 years agoDestination for errors.
CMDR furrycat [Sun, 6 Nov 2016 21:48:49 +0000 (21:48 +0000)]
Destination for errors.

9 years agoMention shopper.
CMDR furrycat [Sun, 6 Nov 2016 18:11:09 +0000 (18:11 +0000)]
Mention shopper.

9 years agoAdded orbital and large flags.
CMDR furrycat [Sun, 6 Nov 2016 18:07:34 +0000 (18:07 +0000)]
Added orbital and large flags.

9 years agoEDDB helper plugin.
CMDR furrycat [Sun, 6 Nov 2016 17:58:00 +0000 (17:58 +0000)]
EDDB helper plugin.

9 years agoPlugin to calculate headings in orbital cruise.
CMDR furrycat [Sat, 5 Nov 2016 11:31:45 +0000 (11:31 +0000)]
Plugin to calculate headings in orbital cruise.

9 years agoGreeting fixes.
CMDR furrycat [Sat, 5 Nov 2016 10:07:53 +0000 (10:07 +0000)]
Greeting fixes.

9 years agoDon't check for previously posted ASAP messages.
CMDR furrycat [Fri, 4 Nov 2016 22:45:51 +0000 (22:45 +0000)]
Don't check for previously posted ASAP messages.

9 years agoASAP announcements might not play.
CMDR furrycat [Fri, 4 Nov 2016 22:35:45 +0000 (22:35 +0000)]
ASAP announcements might not play.

9 years agoWe require python3 so don't test for it.
CMDR furrycat [Fri, 4 Nov 2016 11:06:01 +0000 (11:06 +0000)]
We require python3 so don't test for it.

9 years agoYelp on unrecognised command.
CMDR furrycat [Thu, 3 Nov 2016 15:22:59 +0000 (15:22 +0000)]
Yelp on unrecognised command.

9 years agoAllow disabling the modification of channel permissions where a feed is made.
CMDR furrycat [Thu, 3 Nov 2016 12:55:02 +0000 (12:55 +0000)]
Allow disabling the modification of channel permissions where a feed is made.

9 years agoFind voice_channel_for_user().
CMDR furrycat [Thu, 3 Nov 2016 12:45:28 +0000 (12:45 +0000)]
Find voice_channel_for_user().

9 years agoFixed some silly dict key errors.
CMDR furrycat [Thu, 3 Nov 2016 12:37:32 +0000 (12:37 +0000)]
Fixed some silly dict key errors.

9 years agoUse parse_channel() in plugins.
CMDR furrycat [Thu, 3 Nov 2016 12:37:15 +0000 (12:37 +0000)]
Use parse_channel() in plugins.

9 years agoAdded parse_channel().
CMDR furrycat [Thu, 3 Nov 2016 12:36:35 +0000 (12:36 +0000)]
Added parse_channel().

9 years agoSmall bugfixes.
CMDR furrycat [Thu, 3 Nov 2016 11:22:52 +0000 (11:22 +0000)]
Small bugfixes.

9 years agoTypo.
CMDR furrycat [Wed, 2 Nov 2016 19:59:34 +0000 (19:59 +0000)]
Typo.

9 years agoLog something more useful when an announcement with no text is made.
CMDR furrycat [Wed, 2 Nov 2016 19:46:09 +0000 (19:46 +0000)]
Log something more useful when an announcement with no text is made.

9 years agoMore copy/paste-friendly announcements list.
CMDR furrycat [Wed, 2 Nov 2016 19:41:57 +0000 (19:41 +0000)]
More copy/paste-friendly announcements list.

9 years agoTry harder not to send too big messages.
CMDR furrycat [Wed, 2 Nov 2016 19:39:45 +0000 (19:39 +0000)]
Try harder not to send too big messages.

9 years agoTypo.
CMDR furrycat [Wed, 2 Nov 2016 19:38:22 +0000 (19:38 +0000)]
Typo.

9 years agoCorrect syntax for attachments in announcement show.
CMDR furrycat [Wed, 2 Nov 2016 15:09:47 +0000 (15:09 +0000)]
Correct syntax for attachments in announcement show.

9 years agoAttach artwork to announcements.
CMDR furrycat [Wed, 2 Nov 2016 15:04:04 +0000 (15:04 +0000)]
Attach artwork to announcements.

9 years agoUse say() with attachment when blinging.
CMDR furrycat [Wed, 2 Nov 2016 14:25:19 +0000 (14:25 +0000)]
Use say() with attachment when blinging.

9 years agoLet say() add an attachment.
CMDR furrycat [Wed, 2 Nov 2016 14:20:28 +0000 (14:20 +0000)]
Let say() add an attachment.

9 years agoTypo.
CMDR furrycat [Mon, 31 Oct 2016 17:51:35 +0000 (17:51 +0000)]
Typo.

9 years agoSyntax.
CMDR furrycat [Mon, 31 Oct 2016 17:46:48 +0000 (17:46 +0000)]
Syntax.

9 years agoMissing math import.
CMDR furrycat [Mon, 31 Oct 2016 17:42:14 +0000 (17:42 +0000)]
Missing math import.

9 years agoMoved pytz to announcements.py.
CMDR furrycat [Sat, 29 Oct 2016 23:01:08 +0000 (00:01 +0100)]
Moved pytz to announcements.py.

9 years agoFixed playing multiprocessing.
CMDR furrycat [Sat, 29 Oct 2016 18:18:18 +0000 (19:18 +0100)]
Fixed playing multiprocessing.

9 years agoDescription for Bling.
CMDR furrycat [Sat, 29 Oct 2016 10:19:50 +0000 (11:19 +0100)]
Description for Bling.

9 years agoInclude plugin commands in help output.
CMDR furrycat [Sat, 29 Oct 2016 09:41:34 +0000 (10:41 +0100)]
Include plugin commands in help output.

9 years agoDon't wake up to say goodbye!
CMDR furrycat [Sat, 29 Oct 2016 09:41:07 +0000 (10:41 +0100)]
Don't wake up to say goodbye!

9 years agoAdded plugins.bind_variable().
CMDR furrycat [Sat, 29 Oct 2016 09:36:32 +0000 (10:36 +0100)]
Added plugins.bind_variable().

9 years agoMoved some admin commands to plugin.
CMDR furrycat [Sat, 29 Oct 2016 09:36:19 +0000 (10:36 +0100)]
Moved some admin commands to plugin.

9 years agoCheck for voice greeting properly.
CMDR furrycat [Sat, 29 Oct 2016 08:27:23 +0000 (09:27 +0100)]
Check for voice greeting properly.

9 years agoMoved bling to plugin.
CMDR furrycat [Fri, 28 Oct 2016 11:32:51 +0000 (12:32 +0100)]
Moved bling to plugin.

9 years agoCommands to manage greetings.
CMDR furrycat [Thu, 27 Oct 2016 20:41:22 +0000 (21:41 +0100)]
Commands to manage greetings.

9 years agoTypos.
CMDR furrycat [Thu, 27 Oct 2016 20:40:23 +0000 (21:40 +0100)]
Typos.

9 years agoMissing urllib import.
CMDR furrycat [Thu, 27 Oct 2016 18:04:18 +0000 (19:04 +0100)]
Missing urllib import.

9 years agoMissing sys import.
CMDR furrycat [Thu, 27 Oct 2016 17:59:30 +0000 (18:59 +0100)]
Missing sys import.

9 years agoFixed open_url().
CMDR furrycat [Thu, 27 Oct 2016 17:57:15 +0000 (18:57 +0100)]
Fixed open_url().

9 years agoTypo.
CMDR furrycat [Thu, 27 Oct 2016 11:10:21 +0000 (12:10 +0100)]
Typo.

9 years agoGreet on the right server.
CMDR furrycat [Thu, 27 Oct 2016 10:41:23 +0000 (11:41 +0100)]
Greet on the right server.

9 years agoFixed say_expect.
CMDR furrycat [Thu, 27 Oct 2016 10:23:37 +0000 (11:23 +0100)]
Fixed say_expect.

9 years agof
CMDR furrycat [Thu, 27 Oct 2016 10:17:44 +0000 (11:17 +0100)]
f

9 years agoMoved greetings to plugin.
CMDR furrycat [Thu, 27 Oct 2016 10:16:58 +0000 (11:16 +0100)]
Moved greetings to plugin.

9 years agoTypos.
CMDR furrycat [Thu, 27 Oct 2016 09:19:50 +0000 (10:19 +0100)]
Typos.

9 years agoPlugins can handle on_member_join().
CMDR furrycat [Thu, 27 Oct 2016 07:42:11 +0000 (08:42 +0100)]
Plugins can handle on_member_join().

9 years agoFind plugins in plugin/<name>/<name>.py.
CMDR furrycat [Thu, 27 Oct 2016 07:32:26 +0000 (08:32 +0100)]
Find plugins in plugin/<name>/<name>.py.

9 years agoGrammar.
CMDR furrycat [Thu, 27 Oct 2016 07:14:58 +0000 (08:14 +0100)]
Grammar.

9 years agoAdded functions for cat noises.
CMDR furrycat [Wed, 26 Oct 2016 20:30:20 +0000 (21:30 +0100)]
Added functions for cat noises.

Missing maybe_*(), however.

9 years agoChoose a voice channel based on member.
CMDR furrycat [Wed, 26 Oct 2016 20:12:37 +0000 (21:12 +0100)]
Choose a voice channel based on member.

9 years agoTidy exception printing.
CMDR furrycat [Wed, 26 Oct 2016 20:04:17 +0000 (21:04 +0100)]
Tidy exception printing.

9 years agoMoved hashing to bot.digest().
CMDR furrycat [Wed, 26 Oct 2016 20:03:58 +0000 (21:03 +0100)]
Moved hashing to bot.digest().

9 years agoMoved announcements to plugin.
CMDR furrycat [Wed, 26 Oct 2016 19:58:38 +0000 (20:58 +0100)]
Moved announcements to plugin.

9 years agoTidyup.
CMDR furrycat [Wed, 26 Oct 2016 19:40:32 +0000 (20:40 +0100)]
Tidyup.

9 years agoMoved feed_key() to Feeds.
CMDR furrycat [Wed, 26 Oct 2016 16:03:40 +0000 (17:03 +0100)]
Moved feed_key() to Feeds.

9 years agoTry not to miss previously posted feeds.
CMDR furrycat [Wed, 26 Oct 2016 12:54:08 +0000 (13:54 +0100)]
Try not to miss previously posted feeds.

9 years agoAdded RNG plugin.
CMDR furrycat [Wed, 26 Oct 2016 10:50:49 +0000 (11:50 +0100)]
Added RNG plugin.

9 years agoPlugin can describe itself.
CMDR furrycat [Wed, 26 Oct 2016 10:25:31 +0000 (11:25 +0100)]
Plugin can describe itself.

9 years agoFeeds feature parity.
CMDR furrycat [Wed, 26 Oct 2016 10:12:05 +0000 (11:12 +0100)]
Feeds feature parity.

9 years agoHandle logging consistently.
CMDR furrycat [Wed, 26 Oct 2016 09:32:03 +0000 (10:32 +0100)]
Handle logging consistently.

9 years agoTest for plugin on_ready() before trying to run.
CMDR furrycat [Wed, 26 Oct 2016 06:56:32 +0000 (07:56 +0100)]
Test for plugin on_ready() before trying to run.

9 years agoInitial plugin system with feeds as the first plugin.
CMDR furrycat [Tue, 25 Oct 2016 14:44:05 +0000 (15:44 +0100)]
Initial plugin system with feeds as the first plugin.

9 years agoReduce spam of announcements in quiet channels.
CMDR furrycat [Tue, 25 Oct 2016 07:37:17 +0000 (08:37 +0100)]
Reduce spam of announcements in quiet channels.

Don't post an announcement if there has been little channel activity
since the last scheduled posting, even if the schedule has been kept
correctly.

9 years agoMake logs_from() limit configurable, defaulting to library default 100.
CMDR furrycat [Tue, 25 Oct 2016 07:36:40 +0000 (08:36 +0100)]
Make logs_from() limit configurable, defaulting to library default 100.

9 years agoHandle attempt to edit with no parameters.
CMDR furrycat [Sun, 23 Oct 2016 22:44:32 +0000 (23:44 +0100)]
Handle attempt to edit with no parameters.

9 years agoAdded commands to manage news feeds.
CMDR furrycat [Sun, 23 Oct 2016 11:39:39 +0000 (12:39 +0100)]
Added commands to manage news feeds.

9 years agoAbstract table entry creation.
CMDR furrycat [Sun, 23 Oct 2016 11:39:15 +0000 (12:39 +0100)]
Abstract table entry creation.