Commit Graph

49 Commits

Author SHA1 Message Date
Chris Sexton ae5d7dec2e Migrate to sqlx; modularize counters 2016-03-19 14:02:46 -04:00
Chris Sexton b6d63f6432 Fix a few minor govet issues 2016-03-19 11:38:18 -04:00
Chris Sexton d261fcc406 AlePale -> Catbase => velour 2016-01-17 13:00:44 -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 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 d298dac814 Fixes #30: Lowercasing the search 2014-04-20 21:12:08 -04:00
Chris Sexton 49939d62c0 Fixes #35: Remove dependency on count function
Using aggregation to check the largest count instead of basically doing
the same amount of work using a server side function. The bot should
install without incident for other users now.
2014-04-20 21:08:16 -04:00
Chris Sexton 7f093b003e Added AUTHORS file and info in all files.
Thanks to https://github.com/eaburns/license
2013-12-10 18:37:07 -05:00
Chris Sexton e56f2d7270 Reallowing is/are for fact entry 2013-09-04 21:56:03 -04:00
Chris Sexton 74a5647d2d Upping startup chime fact wait 2013-08-31 22:29:13 -04:00
Chris Sexton a9fcee9a34 Fixing empty BSON id issue 2013-08-31 15:57:30 -04:00
Chris Sexton 43a8bec86b Spit out a start up message to the chan 2013-08-27 21:52:27 -04:00
Chris Sexton f715ab93e1 Fixing unneeded panic issue! 2013-08-26 12:18:57 -04:00
Chris Sexton eff200ee15 Fixing multi-channel factoid squirts. 2013-06-16 21:03:43 -04:00
Chris Sexton be1739d316 Linkifying images in web site 2013-06-01 17:24:05 -04:00
Chris Sexton 79bec9fc21 Changing factoid random a bit to improve efficiency, added 'factoid' command for random fact 2013-06-01 16:46:16 -04:00
Chris Sexton 11feafbee0 Changing URLs to GET for sharing 2013-06-01 16:20:45 -04:00
Chris Sexton 42e17ae755 Removing secondary URL 2013-06-01 14:40:06 -04:00
Chris Sexton b5003e82b5 Adding a regex to web find 2013-06-01 14:34:07 -04:00
Chris Sexton 38bfc59871 Fixes #15: Factoid interface is bangin 2013-06-01 14:17:13 -04:00
Chris Sexton 242be51029 Making the web interface a bit better 2013-06-01 13:29:12 -04:00
Chris Sexton edd941fe46 Initial (ugly) web interface 2013-06-01 13:10:33 -04:00
Chris Sexton 42c934f091 Fixes #10: Bot can quote and count himself 2013-05-07 20:08:18 -04:00
Chris Sexton d87f7779ab Renaming project to reflect bot's actual name. 2013-05-06 01:11:54 -04:00
Chris Sexton ea60a899c7 Converting imports to github, added license & full readme 2013-05-06 01:11:54 -04:00
Chris Sexton ee1962b71c Adding ~= and =~ equality for factoids 2013-05-06 01:11:53 -04:00
Chris Sexton ae42e62872 Fixed the name of the bot to always be current (could remove from config.json) 2013-05-06 01:11:50 -04:00
Chris Sexton 8ffac9291b Whoops, we want nicks not users 2013-05-06 01:11:50 -04:00
Chris Sexton 172567004a Fixed the replacer to ignore "!" on secondary factoid searches. 2013-05-06 01:11:49 -04:00
Chris Sexton c0e41f6940 Fixed the punctuation remover 2013-05-06 01:11:49 -04:00
Chris Sexton 396992f838 mistyped the ' key 2013-05-06 01:11:48 -04:00
Chris Sexton 522a1f1c35 testing new remember with fallback 2013-05-06 01:11:48 -04:00
Chris Sexton 7cba01dd20 Removed the is/are function, all triggers must have a <> verb 2013-05-06 01:11:48 -04:00
Chris Sexton 83b28412a7 Changed random quote functionality to only spit out a quote minutes after somebody (other than the quote timer) has said something. The channels may be a bit buggy, but they don't seem to get stuck or spam, so it should be okayish. 2013-05-06 01:11:48 -04:00
Chris Sexton 22fef34db5 Quick formatting fix for searching for factoids 2013-05-06 01:11:48 -04:00
Chris Sexton 63785e7102 Enforced admin right on editing non-personal facts 2013-05-06 01:11:48 -04:00
Chris Sexton fa83472c50 Made changeFact and forgetFact actually do stuff 2013-05-06 01:11:48 -04:00
Chris Sexton 34e6f65b1b Adde some framework for editing and deleting facts 2013-05-06 01:11:47 -04:00
Chris Sexton 24a879285e move id to idx 2013-05-06 01:11:47 -04:00
Chris Sexton 89072fafb4 Added "what was that?", merged remember and factoid a bit, added fields to factoids, todo: stats on factoids, documentation. 2013-05-06 01:11:47 -04:00
Chris Sexton 24e8010efc Added 2013-05-06 01:11:47 -04:00
Chris Sexton 281b910dd6 Added <action> to factiod (or at least action actually working) 2013-05-06 01:11:47 -04:00
Chris Sexton 11ad192d18 Moved tolower for triggers, allowed him to respond to long facts 2013-05-06 01:11:46 -04:00
Chris Sexton 713130bfea bugfixes to factoid as Frank destroys it 2013-05-06 01:11:46 -04:00
Chris Sexton 52c303ccd3 Added factoid help query 2013-05-06 01:11:46 -04:00
Chris Sexton 4b523be57f Made factoid triggers lowercase always 2013-05-06 01:11:46 -04:00
Chris Sexton 53495871e4 Forgot to add factoid.go 2013-05-06 01:11:46 -04:00