Commit Graph

897 Commits

Author SHA1 Message Date
cws 59b92bdf3c fact: remove ownership check for delete 2017-06-07 14:46:34 -04:00
Chris Sexton 98298dfb84 Merge pull request #59 from velour/babble_bookend
Even more custom babbling... with bookends! closed #58
2017-06-06 21:10:37 -04:00
skkiesel 9734845146 Even more custom babbling... with bookends! closed #58 2017-06-06 20:03:07 -04:00
cws 2ebc5fe18f stats: Fix hour keys 2017-06-06 07:24:44 -04:00
cws 1d290c287e stats: fix hours bucket; standardize date format 2017-06-06 06:30:12 -04:00
cws b998347f33 stats: forgot to close the file in web serving 2017-06-06 05:57:33 -04:00
cws ae75b23252 Merge branch 'stats'
* stats:
  stats: Add a dumb URL for getting all stats from the db
  gitignore: get rid of swp files
2017-06-05 21:45:50 -04:00
cws 30789669b7 stats: Add a dumb URL for getting all stats from the db 2017-06-05 21:45:34 -04:00
cws e8afab72b9 gitignore: get rid of swp files 2017-06-05 21:45:03 -04:00
Chris Sexton 1bb3f17dc1 Merge pull request #56 from velour/stats
Stats plugin
2017-06-05 21:21:24 -04:00
cws 4213243744 stats: Add a day categorization above all others 2017-06-05 21:20:08 -04:00
cws de19f6a4e9 stat: change encoding to JSON 2017-06-05 21:03:23 -04:00
cws e1e58591ec stats: Add tests and clean a few things up
* Make statFromDB return 0 if no stats are in the DB instead of error
* Convert tests to use the assert library
* Add tests for actual messages
2017-06-05 20:54:19 -04:00
cws 95616e0fb8 stats: WIP demo of stats
* Added a plugin for stats
* Using BoltDB for ease of not screwing with SQL
** Perhaps everything should be Bolt...
* Should be relatively easy to add new stat counters:
** Create a function that makes the stat{} struct
** Add it to the list of active counters
* Should be relatively easy to add a views page later
2017-06-05 20:52:35 -04:00
Chris Sexton d623915110 Merge pull request #57 from velour/relbbab
allow babbles to formed with suffixes (closes #55)
2017-06-05 20:12:06 -04:00
skkiesel aaba7c5bff allow babbles to formed with suffixes (closes #55) 2017-06-05 19:53:19 -04:00
Chris Sexton 0f94b6203e Merge pull request #54 from velour/fix_loop
limit babble lengths... loops are not for kids
2017-05-30 21:35:10 -04:00
skkiesel df50130389 limit babble lengths... loops are not for kids 2017-05-25 15:22:58 -04:00
Chris Sexton 4fcc279433 Merge pull request #53 from velour/babbler_persist
Some sexy new features
2017-05-19 08:55:03 -04:00
skkiesel 9e56b54680 it was a disaster before, now it is less. 2017-05-17 10:06:10 -04:00
Chris Sexton 6da17f7dc1 Merge pull request #51 from velour/rss
barebones rss headline skimmer
2017-05-15 13:00:24 -04:00
Chris Sexton 995b37d9d8 Merge pull request #52 from velour/reminder_persist
back up the reminders in the database for a better msherms pestering …
2017-05-15 13:00:14 -04:00
skkiesel 64ed2bf9de back up the reminders in the database for a better msherms pestering experience 2017-05-11 12:40:59 -04:00
skkiesel 889372dcb4 add paging to rss feeds 2017-05-10 15:56:03 -04:00
skkiesel 9c39e3cd41 barebones rss headline skimmer 2017-05-10 15:19:07 -04:00
skkiesel e97ce576b8 probably not a huge memory savings, but only represent each unique word once and then reference them by their key for each babbler 2017-05-10 12:43:41 -04:00
skkiesel efde5d804d add feedback for when a seed isn't found 2017-05-10 10:11:49 -04:00
skkiesel 24f373d20f when read through the whole set of quote rows before beginning adding back into the babbler 2017-05-10 09:50:37 -04:00
skkiesel f28dabf0ba clean up and ignore empty strings when adding to the markov chain 2017-05-10 09:42:27 -04:00
skkiesel 8c98734e7e Add useful error messages when a babbler isn't found or when a user hasn't said something yet 2017-05-10 08:41:41 -04:00
Chris Sexton 419c188085 Merge pull request #50 from velour/babbler_persist
refactoring this to use a db took more time than all previous work co…
2017-05-09 20:06:48 -04:00
skkiesel de4defde1b refactoring this to use a db took more time than all previous work combined on this plugin. 2017-05-09 19:41:40 -04:00
Chris Sexton 5496b6e406 Merge pull request #49 from velour/cancel_reminder
cancel reminders
2017-05-09 10:28:01 -04:00
skkiesel e22890cd83 cancel reminders 2017-05-09 10:12:24 -04:00
Chris Sexton 167b8db82b Merge pull request #48 from velour/batch_reminders
batch adding of reminders for msherms
2017-05-02 07:58:14 -04:00
skkiesel 3c7af6c51f batch adding of reminders for msherms 2017-05-01 11:54:44 -04:00
Chris Sexton 0c867ceeb1 Merge pull request #47 from velour/reminder_listing
reminder listing
2017-04-27 12:50:46 -04:00
skkiesel b2dc49d715 reminder listing 2017-04-27 12:47:18 -04:00
Chris Sexton 3ff10ed38b Merge pull request #45 from velour/shhhh_babbler
Quiet down the babbler misses
2017-04-12 09:04:19 -04:00
skkiesel 57eb211983 Remove the responses when we think we have a babble request but there is no babbler or the babbler is empty 2017-04-12 09:02:00 -04:00
Steve McCoy 4b18459e81 Merge pull request #44 from velour/babbler_multi_seed
allow the babbler to be seeded with a full phrase
2017-04-07 15:48:07 -04:00
skkiesel c8ea09fc1d allow the babbler to be seeded with a full phrase 2017-04-07 15:45:15 -04:00
cws 022f81a1f1 slack: check for unrecoverable EOF error 2017-04-01 09:14:29 -04:00
cws d582a294a5 Update slack integration to not Fatal on bad msgs 2017-03-30 10:47:02 -04:00
skkiesel 2b9cdda019 move the specification of replacements into the config file 2017-03-13 13:44:44 -04:00
skkiesel f2309b9090 give catbase some negative back talk 2017-03-13 12:41:17 -04:00
Chris Sexton b0210fd240 Merge pull request #41 from velour/tea-bug
Fixed error in Tea. Earl Grey. Hot. regex, updated tests.
2017-02-20 16:48:56 -05:00
svohr 39d5dec694 Updated tea test to replace 🍵 with 🍵 2017-02-20 12:19:49 -08:00
svohr 8087f23d53 Merge branch 'master' of https://github.com/velour/catbase into tea-bug
Resolved new regex with change replacing 🍵 with 🍵
2017-02-20 12:06:30 -08:00
svohr ae3a4eee52 Fixed tea regex to fix bad matches that ended in iced
Added a test based on skiesel's quote that triggered it.
2017-02-20 11:57:12 -08:00