Commit Graph

786 Commits

Author SHA1 Message Date
Chris Sexton a9a2c97c56 Add talker tests 2016-03-30 19:25:02 -04:00
Chris Sexton a38a28636c Add dice tests 2016-03-30 19:11:35 -04:00
Chris Sexton ef40d335eb Make testing great again! Add examples in counter
* Made bot.Bot an interface and added a mock with an in-memory database
for plugins to use.
* Remove logger nonsense
* Rename Counter New
2016-03-30 12:41:22 -04:00
Chris Sexton a34afa97ad Switch web query to a regex 2016-03-29 12:34:04 -04:00
Chris Sexton 9d9771c097 Enable web interface 2016-03-29 10:20:44 -04:00
Chris Sexton de3aba210a Stop trying to process Untappd after it fails 2016-03-28 15:34:40 -04:00
Chris Sexton 0e69e58ff5 Fix goatse in talker
Note: This makes the goatse very Slack specific with preformatting and
newlines.
2016-03-25 15:10:56 -04:00
Chris Sexton 3cdb40ab5c Fix leftpad query 2016-03-25 12:42:21 -04:00
Chris Sexton a14a2b2e61 Yup. Leftpad. 2016-03-25 12:25:00 -04:00
Chris Sexton a829c94349 Add config values for your 2016-03-24 13:49:44 -04:00
Chris Sexton 762ec13780 Fixes #20: move plugins to their own pkgs 2016-03-24 13:32:40 -04:00
Chris Sexton dc793a18c9 Fix help command to only respond when there is a space afterwards 2016-03-21 18:05:51 -04:00
Chris Sexton 2a702c7061 Fix license tags 2016-03-19 15:32:51 -04:00
Chris Sexton 0eaadee120 Remove the beers table 2016-03-19 15:05:15 -04:00
Chris Sexton 15602defbc Merge branch 'counterstuff'
* counterstuff:
  Fix #19: Merge beers and counters
  Migrate to sqlx; modularize counters
  Move counter to its own package
  Fix a few minor govet issues
2016-03-19 14:30:22 -04:00
Chris Sexton 6938efc430 Fix #19: Merge beers and counters 2016-03-19 14:27:02 -04:00
Chris Sexton ae5d7dec2e Migrate to sqlx; modularize counters 2016-03-19 14:02:46 -04:00
Chris Sexton 28ccc4f0c2 Move counter to its own package 2016-03-19 11:44:27 -04:00
Chris Sexton b6d63f6432 Fix a few minor govet issues 2016-03-19 11:38:18 -04:00
Chris Sexton 92aa5a1214 Merge pull request #17 from chrissexton/fix-what-was-format
Change ID from nullable field to its value
2016-03-13 10:14:43 -04:00
Chris Sexton 605383f947 Merge pull request #18 from chrissexton/fix-inspect
Fix number of fields for counter inventory
2016-03-13 10:14:33 -04:00
Chris Sexton d7056e3ec7 Fix number of fields for counter inventory
Fixes #11
2016-03-13 10:13:41 -04:00
Chris Sexton e53e305653 Change ID from nullable field to its value 2016-03-13 09:55:48 -04:00
Chris Sexton 624d96a10c Merge pull request #13 from chrissexton/untappd
Fix untappd integration
2016-03-11 12:53:19 -05:00
Chris Sexton df0fee0237 Fix untappd integration 2016-03-11 12:52:28 -05:00
Chris Sexton c379087c7e Merge pull request #12 from chrissexton/slack
Slack integration
2016-03-11 11:27:21 -05:00
Chris Sexton bafb87c0bb Update example config 2016-03-11 11:24:38 -05:00
Chris Sexton dc1239783e Initial slack worky worky 2016-03-10 21:11:52 -05:00
Chris Sexton 51d7f7f067 Move IRC stuff to its own package 2016-03-10 13:37:07 -05:00
Chris Sexton 74e981eedf Fix imports; Use SSL by default
Fix imports to point to github instead of code.google
2016-01-17 22:51:11 -05:00
Chris Sexton d261fcc406 AlePale -> Catbase => velour 2016-01-17 13:00:44 -05:00
Chris Sexton a081d1199e Add todo item, update example config 2016-01-17 12:47:07 -05:00
Chris Sexton 1d62e6173f Migrate remember to SQL 2016-01-17 12:45:21 -05:00
Chris Sexton 5b7fef27bb Fix talker crash, factoid printing, add TODO item 2016-01-17 12:45:21 -05:00
Chris Sexton 56c6d84813 Add TODO, small fix to factoid web interface 2016-01-17 12:45:07 -05:00
Chris Sexton c91f4a8535 Migrate factoids to SQL 2016-01-17 10:29:30 -05:00
Chris Sexton 88c2736f5a Fix bug with empty commands 2016-01-17 10:29:14 -05:00
Chris Sexton 72b71de10e Convert downtime to SQL 2016-01-15 13:37:54 -05:00
Chris Sexton 92e1ea5d42 Update first plugin for SQL 2016-01-15 11:54:09 -05:00
Chris Sexton a40158c158 Update config example 2016-01-15 11:53:52 -05:00
Chris Sexton 1e96546d62 Remove feed plugin 2016-01-15 10:33:02 -05:00
Chris Sexton 40ed53b120 Remove lisp plugin. There's no chance it works 2016-01-15 10:13:40 -05:00
Chris Sexton 0a51e23c16 Move config so that it can be ignored 2016-01-15 09:49:09 -05:00
Chris Sexton b345506e7f Fix beer plugin bugs 2016-01-15 09:44:22 -05:00
Chris Sexton 25f32918b1 Improve talker to disable nick length constraints 2016-01-15 09:43:31 -05:00
Chris Sexton 003c0fb8eb Ignore config and db 2016-01-15 09:42:48 -05:00
Chris Sexton 782d074bdf Get the bot online; make counters work
Mostly just silly stuff to get everything working.
2016-01-15 08:59:51 -05:00
Chris Sexton 1efa7ebcd4 Initial mongo->sqlite move
Tons of bugs, I'm sure. This commit  mostly gets the bot moving towards
SQLite. It builds, but many plugins have a log.Fatal to prevent their
use and it has not been tested.
2016-01-15 08:17:26 -05:00
Chris Sexton cdbe9a81d7 Update TravisCI config to bulid rewrite 2014-05-24 10:41:40 -04:00
Chris Sexton d298dac814 Fixes #30: Lowercasing the search 2014-04-20 21:12:08 -04:00