furrycat/catbot.git
9 years agoPass public messages without our mention to not_our_message() plugin method.
CMDR furrycat [Mon, 17 Jul 2017 10:14:00 +0000 (11:14 +0100)]
Pass public messages without our mention to not_our_message() plugin method.

9 years agoUse EDDN URLs.
CMDR furrycat [Wed, 5 Jul 2017 08:46:23 +0000 (09:46 +0100)]
Use EDDN URLs.

9 years agoUse + and - for trends.
CMDR furrycat [Sat, 1 Jul 2017 20:17:58 +0000 (21:17 +0100)]
Use + and - for trends.

9 years agoDon't omit a faction from a system's report.
CMDR furrycat [Sat, 1 Jul 2017 20:06:36 +0000 (21:06 +0100)]
Don't omit a faction from a system's report.

9 years agoDon't mix up factions when reporting trends.
CMDR furrycat [Sat, 1 Jul 2017 20:02:05 +0000 (21:02 +0100)]
Don't mix up factions when reporting trends.

9 years agoHandle pending and recovering states from the journal.
CMDR furrycat [Tue, 27 Jun 2017 17:13:28 +0000 (18:13 +0100)]
Handle pending and recovering states from the journal.

9 years agoFix fetching one row.
CMDR furrycat [Fri, 26 May 2017 20:43:02 +0000 (21:43 +0100)]
Fix fetching one row.

9 years agoDon't crash after reporting first faction's influence.
CMDR furrycat [Tue, 23 May 2017 09:18:17 +0000 (10:18 +0100)]
Don't crash after reporting first faction's influence.

9 years agoHandle copy/paste of previou commands.
CMDR furrycat [Tue, 23 May 2017 09:05:07 +0000 (10:05 +0100)]
Handle copy/paste of previou commands.

9 years agoMaybe hint how to mention us.
CMDR furrycat [Tue, 23 May 2017 09:01:37 +0000 (10:01 +0100)]
Maybe hint how to mention us.

9 years agoInclude faction state in checksum.
CMDR furrycat [Thu, 11 May 2017 09:29:10 +0000 (10:29 +0100)]
Include faction state in checksum.

Factions may change state but not influence, eg after a conflict, but we
were not inferring that there had been a tick.

9 years agoFix logging faction name in stale influence check.
CMDR furrycat [Thu, 11 May 2017 09:28:43 +0000 (10:28 +0100)]
Fix logging faction name in stale influence check.

9 years agoUse server.me in announce.
CMDR furrycat [Thu, 11 May 2017 09:26:00 +0000 (10:26 +0100)]
Use server.me in announce.

9 years agoFixed inserting tracked faction ID.
CMDR furrycat [Thu, 4 May 2017 20:39:19 +0000 (21:39 +0100)]
Fixed inserting tracked faction ID.

9 years agoRecognise journal entries with no spaces in state name.
CMDR furrycat [Fri, 21 Apr 2017 15:59:45 +0000 (16:59 +0100)]
Recognise journal entries with no spaces in state name.

9 years agoInclude state legend.
CMDR furrycat [Fri, 21 Apr 2017 15:39:53 +0000 (16:39 +0100)]
Include state legend.

9 years agoTidyups for graph.
CMDR furrycat [Fri, 21 Apr 2017 10:36:42 +0000 (11:36 +0100)]
Tidyups for graph.

Graph can be resized.
Legend isn't cropped.
Agg backend is appropriate for PNG output.
PIL wasn't used.

9 years agoDon't crop legend.
CMDR furrycat [Fri, 21 Apr 2017 09:18:56 +0000 (10:18 +0100)]
Don't crop legend.

9 years agoSet eddn and other log levels.
CMDR furrycat [Wed, 19 Apr 2017 09:14:12 +0000 (10:14 +0100)]
Set eddn and other log levels.

9 years agoMove event loop to eddn and log out gracefully.
CMDR furrycat [Wed, 19 Apr 2017 09:05:05 +0000 (10:05 +0100)]
Move event loop to eddn and log out gracefully.

9 years agoAdded get_faction_name().
CMDR furrycat [Wed, 19 Apr 2017 08:23:21 +0000 (09:23 +0100)]
Added get_faction_name().

9 years agoTry an exception handler to trap closed futures.
CMDR furrycat [Wed, 19 Apr 2017 08:23:02 +0000 (09:23 +0100)]
Try an exception handler to trap closed futures.

9 years agoForgot tracked faction_id.
CMDR furrycat [Sun, 16 Apr 2017 11:54:37 +0000 (12:54 +0100)]
Forgot tracked faction_id.

9 years agoEnsure we return something.
CMDR furrycat [Sun, 16 Apr 2017 11:08:47 +0000 (12:08 +0100)]
Ensure we return something.

9 years agoFix date cutoff in faction graph.
CMDR furrycat [Sat, 15 Apr 2017 20:57:37 +0000 (21:57 +0100)]
Fix date cutoff in faction graph.

9 years agoSave faction ID in factions table.
CMDR furrycat [Sat, 15 Apr 2017 20:57:10 +0000 (21:57 +0100)]
Save faction ID in factions table.

9 years agoReport stale data.
CMDR furrycat [Sat, 15 Apr 2017 20:56:26 +0000 (21:56 +0100)]
Report stale data.

9 years agoReport on systems with stale influence data.
CMDR furrycat [Sat, 15 Apr 2017 19:49:13 +0000 (20:49 +0100)]
Report on systems with stale influence data.

9 years agoTweak faction logging.
CMDR furrycat [Fri, 14 Apr 2017 11:14:13 +0000 (12:14 +0100)]
Tweak faction logging.

9 years agoCache canonical name.
CMDR furrycat [Fri, 14 Apr 2017 08:06:23 +0000 (09:06 +0100)]
Cache canonical name.

9 years agoLog faction caching.
CMDR furrycat [Fri, 14 Apr 2017 07:38:00 +0000 (08:38 +0100)]
Log faction caching.

9 years agoTypos.
CMDR furrycat [Thu, 13 Apr 2017 21:41:08 +0000 (22:41 +0100)]
Typos.

9 years agoReally fix leaking dbh.
CMDR furrycat [Thu, 13 Apr 2017 17:55:36 +0000 (18:55 +0100)]
Really fix leaking dbh.

9 years agoLeaking dbh.
CMDR furrycat [Thu, 13 Apr 2017 17:50:13 +0000 (18:50 +0100)]
Leaking dbh.

9 years agoDisable hissing.
CMDR furrycat [Thu, 13 Apr 2017 17:37:39 +0000 (18:37 +0100)]
Disable hissing.

9 years agoUse proper UTZ datetime.
CMDR furrycat [Thu, 13 Apr 2017 16:02:42 +0000 (17:02 +0100)]
Use proper UTZ datetime.

9 years agoFixed showing only one plot.
CMDR furrycat [Thu, 13 Apr 2017 15:05:53 +0000 (16:05 +0100)]
Fixed showing only one plot.

9 years agoHiss less.
CMDR furrycat [Thu, 13 Apr 2017 14:56:44 +0000 (15:56 +0100)]
Hiss less.

9 years agoGenerate faction history graph.
CMDR furrycat [Thu, 13 Apr 2017 14:39:58 +0000 (15:39 +0100)]
Generate faction history graph.

Show influence over time with "faction history" for a faction or system.
Let "faction influence" accept "in" before system names, for
consistency with the new command.

9 years agoFormatting of influence message.
CMDR furrycat [Thu, 13 Apr 2017 12:07:22 +0000 (13:07 +0100)]
Formatting of influence message.

9 years agoPrint full backtrace.
CMDR furrycat [Thu, 13 Apr 2017 10:23:22 +0000 (11:23 +0100)]
Print full backtrace.

9 years agoFormatting of traceback.
CMDR furrycat [Thu, 13 Apr 2017 10:17:56 +0000 (11:17 +0100)]
Formatting of traceback.

9 years agoPrint traceback for is_admin().
CMDR furrycat [Thu, 13 Apr 2017 10:09:30 +0000 (11:09 +0100)]
Print traceback for is_admin().

9 years agoIgnore messages from bots.
CMDR furrycat [Thu, 13 Apr 2017 09:54:02 +0000 (10:54 +0100)]
Ignore messages from bots.

9 years agoTry harder to catch RunTimeError.
CMDR furrycat [Thu, 13 Apr 2017 09:51:21 +0000 (10:51 +0100)]
Try harder to catch RunTimeError.

9 years agoMore influence reports.
CMDR furrycat [Thu, 13 Apr 2017 09:15:15 +0000 (10:15 +0100)]
More influence reports.

Show influence in one or more systems.
Show influence for the system without requiring a faction name to check.
Report influence to tracked channel when new data is received.

9 years agoUpdate timestamp when influence is unchanged.
CMDR furrycat [Wed, 12 Apr 2017 15:47:12 +0000 (16:47 +0100)]
Update timestamp when influence is unchanged.

9 years agoShow tracked influence data in faction cache.
CMDR furrycat [Wed, 12 Apr 2017 15:41:39 +0000 (16:41 +0100)]
Show tracked influence data in faction cache.

9 years agoAdded eddn command to simulate EDDN message receipt.
CMDR furrycat [Wed, 12 Apr 2017 14:08:40 +0000 (15:08 +0100)]
Added eddn command to simulate EDDN message receipt.

9 years agoCorrectly mark cache hot.
CMDR furrycat [Wed, 12 Apr 2017 13:02:04 +0000 (14:02 +0100)]
Correctly mark cache hot.

9 years agoTrack faction influence from EDDN.
CMDR furrycat [Wed, 12 Apr 2017 10:47:06 +0000 (11:47 +0100)]
Track faction influence from EDDN.

9 years agoAdded parse_iso8601().
CMDR furrycat [Tue, 11 Apr 2017 10:34:07 +0000 (11:34 +0100)]
Added parse_iso8601().

9 years agoListen to EDDN.
CMDR furrycat [Wed, 5 Apr 2017 08:47:14 +0000 (09:47 +0100)]
Listen to EDDN.

9 years agoShop for ships without aliases.
CMDR furrycat [Mon, 10 Apr 2017 15:32:50 +0000 (16:32 +0100)]
Shop for ships without aliases.

9 years agoTypo logging parsed user.
CMDR furrycat [Mon, 10 Apr 2017 13:50:27 +0000 (14:50 +0100)]
Typo logging parsed user.

9 years agoMigrate greetings plugin to Python 3.5.
CMDR furrycat [Mon, 10 Apr 2017 13:31:08 +0000 (14:31 +0100)]
Migrate greetings plugin to Python 3.5.

9 years agoHiss at other bots.
CMDR furrycat [Mon, 10 Apr 2017 13:25:32 +0000 (14:25 +0100)]
Hiss at other bots.

9 years agoDrugs!
CMDR furrycat [Thu, 6 Apr 2017 13:14:22 +0000 (14:14 +0100)]
Drugs!

9 years agoLog UTC timestamps.
CMDR furrycat [Thu, 6 Apr 2017 09:43:27 +0000 (10:43 +0100)]
Log UTC timestamps.

9 years agoSupport plugins with __init__.py files.
CMDR furrycat [Thu, 6 Apr 2017 09:43:13 +0000 (10:43 +0100)]
Support plugins with __init__.py files.

9 years agoRemember which plugins support which methods.
CMDR furrycat [Thu, 6 Apr 2017 09:22:05 +0000 (10:22 +0100)]
Remember which plugins support which methods.

9 years agoMigrate faction plugin to Python 3.5.
CMDR furrycat [Mon, 3 Apr 2017 13:16:44 +0000 (14:16 +0100)]
Migrate faction plugin to Python 3.5.

9 years agoWarn when multiple members match a partial name.
CMDR furrycat [Mon, 3 Apr 2017 12:49:46 +0000 (13:49 +0100)]
Warn when multiple members match a partial name.

9 years agoAdd option to get member by exact name, not nickname.
CMDR furrycat [Fri, 31 Mar 2017 10:09:44 +0000 (11:09 +0100)]
Add option to get member by exact name, not nickname.

9 years agoAdded get_member_by_name().
CMDR furrycat [Fri, 31 Mar 2017 09:31:19 +0000 (10:31 +0100)]
Added get_member_by_name().

9 years agoCase-insensitive member match.
CMDR furrycat [Fri, 31 Mar 2017 09:11:09 +0000 (10:11 +0100)]
Case-insensitive member match.

9 years agoRestrict admin check for sounds to target server.
CMDR furrycat [Wed, 29 Mar 2017 09:18:43 +0000 (10:18 +0100)]
Restrict admin check for sounds to target server.

9 years agoLog parsed user for playing.
CMDR furrycat [Wed, 29 Mar 2017 09:17:24 +0000 (10:17 +0100)]
Log parsed user for playing.

9 years agoCheck member nickname.
CMDR furrycat [Wed, 29 Mar 2017 09:16:40 +0000 (10:16 +0100)]
Check member nickname.

9 years agoUser mention can include a ! prefix.
CMDR furrycat [Wed, 29 Mar 2017 08:44:39 +0000 (09:44 +0100)]
User mention can include a ! prefix.

9 years agoRecognise www Youtube URLs.
CMDR furrycat [Tue, 28 Mar 2017 21:35:09 +0000 (22:35 +0100)]
Recognise www Youtube URLs.

9 years agoAdmins can play sounds.
CMDR furrycat [Tue, 28 Mar 2017 15:47:25 +0000 (16:47 +0100)]
Admins can play sounds.

9 years agoWake before playing.
CMDR furrycat [Tue, 28 Mar 2017 15:45:26 +0000 (16:45 +0100)]
Wake before playing.

9 years agoAllow playing to another user.
CMDR furrycat [Tue, 28 Mar 2017 14:30:43 +0000 (15:30 +0100)]
Allow playing to another user.

9 years agoSupport Youtube.
CMDR furrycat [Tue, 28 Mar 2017 14:23:40 +0000 (15:23 +0100)]
Support Youtube.

We can play Youtube URLs.
Use "stop playing" to interrupt sounds in progress.

9 years agoRace moving channels.
CMDR furrycat [Tue, 28 Mar 2017 10:53:52 +0000 (11:53 +0100)]
Race moving channels.

9 years agoFixed moving channels.
CMDR furrycat [Tue, 28 Mar 2017 10:47:36 +0000 (11:47 +0100)]
Fixed moving channels.

9 years agoFixed default channel for playing.
CMDR furrycat [Tue, 28 Mar 2017 10:15:56 +0000 (11:15 +0100)]
Fixed default channel for playing.

9 years agoFixed parsing when only a sound is specified.
CMDR furrycat [Tue, 28 Mar 2017 10:14:05 +0000 (11:14 +0100)]
Fixed parsing when only a sound is specified.

9 years agoCommand to play sounds.
CMDR furrycat [Tue, 28 Mar 2017 10:09:12 +0000 (11:09 +0100)]
Command to play sounds.

9 years agoReport success of sound playing.
CMDR furrycat [Tue, 28 Mar 2017 10:08:54 +0000 (11:08 +0100)]
Report success of sound playing.

9 years agoFix adding multiple permissions.
CMDR furrycat [Mon, 6 Mar 2017 16:45:00 +0000 (16:45 +0000)]
Fix adding multiple permissions.

9 years agoWe were incorrectly checking that a user had the EXACT same role as the bot!
CMDR furrycat [Mon, 6 Mar 2017 15:09:55 +0000 (15:09 +0000)]
We were incorrectly checking that a user had the EXACT same role as the bot!

9 years agoAllow members with same role as bot to ASAP announcements.
CMDR furrycat [Mon, 6 Mar 2017 15:05:08 +0000 (15:05 +0000)]
Allow members with same role as bot to ASAP announcements.

9 years agoSome test code leaked.
CMDR furrycat [Mon, 6 Mar 2017 14:46:49 +0000 (14:46 +0000)]
Some test code leaked.

9 years agoIdentify servers.
CMDR furrycat [Thu, 2 Mar 2017 12:03:49 +0000 (12:03 +0000)]
Identify servers.

9 years agoFixed help for developer plugin.
CMDR furrycat [Thu, 2 Mar 2017 11:55:36 +0000 (11:55 +0000)]
Fixed help for developer plugin.

9 years agoRequest offline member list for large servers when we start.
CMDR furrycat [Thu, 2 Mar 2017 11:53:30 +0000 (11:53 +0000)]
Request offline member list for large servers when we start.

9 years agoHandle user name when setting permissions.
CMDR furrycat [Thu, 2 Mar 2017 11:46:36 +0000 (11:46 +0000)]
Handle user name when setting permissions.

9 years agoCheck caller shares a server with the object we parse().
CMDR furrycat [Thu, 2 Mar 2017 11:45:51 +0000 (11:45 +0000)]
Check caller shares a server with the object we parse().

9 years agoFixed error when failing to parse a server name.
CMDR furrycat [Thu, 2 Mar 2017 10:29:04 +0000 (10:29 +0000)]
Fixed error when failing to parse a server name.

9 years agoWe should not wake up when snoring.
CMDR furrycat [Thu, 2 Mar 2017 10:24:27 +0000 (10:24 +0000)]
We should not wake up when snoring.

9 years agoMigrate core to Python 3.5.
CMDR furrycat [Thu, 2 Mar 2017 10:14:44 +0000 (10:14 +0000)]
Migrate core to Python 3.5.

9 years agoAccount for newlines in say_many().
CMDR furrycat [Thu, 2 Mar 2017 10:08:15 +0000 (10:08 +0000)]
Account for newlines in say_many().

9 years agoMigrate bling plugin to Python 3.5.
CMDR furrycat [Thu, 2 Mar 2017 10:05:21 +0000 (10:05 +0000)]
Migrate bling plugin to Python 3.5.

9 years agoWe already checked if user was admin before running admin commands.
CMDR furrycat [Thu, 2 Mar 2017 09:54:58 +0000 (09:54 +0000)]
We already checked if user was admin before running admin commands.

9 years agoFixed help on admin plugin.
CMDR furrycat [Thu, 2 Mar 2017 09:54:35 +0000 (09:54 +0000)]
Fixed help on admin plugin.

9 years agoMigrate admin plugin to Python 3.5.
CMDR furrycat [Thu, 2 Mar 2017 09:42:05 +0000 (09:42 +0000)]
Migrate admin plugin to Python 3.5.

9 years agoAdded permissions command.
CMDR furrycat [Wed, 1 Mar 2017 11:55:07 +0000 (11:55 +0000)]
Added permissions command.

9 years agoAdded parse_server() and permission(); made author optional for parse_mention().
CMDR furrycat [Wed, 1 Mar 2017 11:54:44 +0000 (11:54 +0000)]
Added parse_server() and permission(); made author optional for parse_mention().