Commit Graph

1192 Commits

Author SHA1 Message Date
Chris Sexton 9b5d39fdc7 docker: remove frotz 2021-01-31 18:32:02 -05:00
Chris Sexton 75a12ca9a5 zork: remove zork
ref #343
2021-01-31 18:24:42 -05:00
Chris Sexton 0e5f7eb2d5 newsbid: refactor 2021-01-31 18:24:42 -05:00
Chris Sexton aad4ecf143 bot: refactor callback handlers
New system:
* Each callback can filter for a regex
* Backwards compatability using a `.*` generic regex
* Handlers now accept a request object instead of bare arguments

All new plugins should use this new system.
2021-01-31 16:54:07 -05:00
Chris Sexton ff4b541c01 slackApp: convert from channel to conversation 2021-01-14 16:58:48 -05:00
Chris Sexton ba47710b46 meme: add confirm to deletion button 2021-01-11 17:30:09 -05:00
Chris Sexton 33372ed770 meme: add default to all new memes 2021-01-11 16:30:18 -05:00
Chris Sexton 1acb78bb5a bot: disable suffix commands 2021-01-09 17:27:52 -05:00
Chris Sexton c4605cfb77 git: don't unfurl links 2021-01-09 16:58:18 -05:00
Chris Sexton bca96b6dcd meme: fix empty meme issue 2021-01-09 16:48:55 -05:00
Chris Sexton 841d4c000e meme: remove URL and format config on meme page 2021-01-09 16:30:49 -05:00
Chris Sexton 8408da48d4 meme: add config and delete
This updates the web view to provide a screen to edit any particular
config in a text area, update the image URL, and remove a meme.

fixes #330
2021-01-09 16:18:56 -05:00
Chris Sexton c61b84d21b
Merge pull request #332 from velour/memecaps
meme: add capitalization to configs, true default
2021-01-09 15:30:12 -05:00
Chris Sexton 8d52a3d1bd meme: add capitalization to configs, true default
fixes #331
2021-01-09 15:27:32 -05:00
Chris Sexton f1aa4ebeb2
Merge pull request #328 from velour/dynamic-nav
web: remove go template dependency
2021-01-09 13:53:23 -05:00
Chris Sexton bbf5b27790 web: remove go template dependency
All vue pages now request `/nav` to get a JSON array of navigation
instead of relying on the Go template to have the nav built in. This
cleans up all of the crufty `{{ "{{ thing }}" }}` that was making it
hard to wriet vue.

This also paves the way to using the new Go resource embedding so that
the pages don't need to be wrapped in Go files.
2021-01-09 13:46:28 -05:00
Chris Sexton 92da19e5a8
Merge pull request #327 from velour/omnibus
newsbid: update for season 2
2020-12-31 14:14:20 -05:00
Chris Sexton 44159c26fc newsbid: update for season 2
Fixes #326
2020-12-31 14:08:38 -05:00
Chris Sexton f7340983e9
Merge pull request #325 from velour/omnibus
countdown: fix timer
2020-12-31 12:40:18 -05:00
Chris Sexton c20b4c8b17 countdown: fix timer 2020-12-31 12:36:48 -05:00
Chris Sexton 0aaa3cb136
Merge pull request #324 from velour/gpt2priority
main: reorganize gpt2 execution
2020-12-08 08:28:08 -05:00
Chris Sexton 2fed8099df main: reorganize gpt2 execution 2020-12-08 08:25:29 -05:00
Chris Sexton 3b2b0364c1
Merge pull request #323 from velour/newgpt2
update gpt2 interface
2020-12-07 17:47:34 -05:00
Chris Sexton eefd5974d2 update gpt2 interface 2020-12-07 17:45:01 -05:00
Chris Sexton 844e350b16
Merge pull request #322 from velour/connectortranslate
connectors: add translation layer
2020-12-02 09:59:28 -05:00
Chris Sexton 9dbdd1f9a3 connectors: add translation layer
* URLs can be translated to slack/discord compatible
* Emojy have a connector-specific translation configuration
* Advent of Code plugin respects emojy and URLs
* Config can be wrapped in `` for JSON
2020-12-02 09:53:57 -05:00
Chris Sexton c8e1956099
Merge pull request #321 from velour/fixcountdown
countdown: maybe use actually January
2020-11-30 15:01:36 -05:00
Chris Sexton aa9dc12c9b countdown: maybe use actually January 2020-11-30 14:59:05 -05:00
Chris Sexton d7839c96d8 fcountdown: disable 2020-11-30 12:27:42 -05:00
Chris Sexton f57487868a github: fix commenter fields 2020-11-22 14:04:59 -05:00
Chris Sexton 7b98da6286 github: convert filter to array 2020-11-14 08:35:36 -05:00
Chris Sexton 6cf2437cfb slack: bump library version 2020-11-12 12:48:44 -05:00
Chris Sexton 05ba571f34 github: fix github event URLs and owners 2020-11-09 03:34:40 -05:00
Chris Sexton 910b28666b github: add issue events 2020-11-08 11:55:13 -05:00
Chris Sexton 3e8a474f13 meme: make bully position default to botright even for bad configs 2020-11-02 11:01:23 -05:00
Chris Sexton 9617e02d72 meme: make bully positionable 2020-11-02 11:01:23 -05:00
Chris Sexton 8817df15f0 nerdepedia: fix failing tests and add config 2020-10-24 14:12:13 -04:00
Chris Sexton af5717e9c1 meme: maybe fix the bully meme 2020-10-24 13:47:45 -04:00
Chris Sexton a30be0df8f meme/bot: add ephemeral messages 2020-10-24 10:04:53 -04:00
Chris Sexton fed1951e66 meme: add missing error check 2020-10-23 10:10:20 -04:00
Chris Sexton ac3d037fa4 meme: fix default config 2020-10-23 09:54:33 -04:00
Chris Sexton 789409e159 meme: add web config 2020-10-21 16:03:04 -04:00
Chris Sexton b978702706 slack: once more, remove a character 2020-10-21 14:26:44 -04:00
Chris Sexton ced2108f31 slack: filter zero-width characters 2020-10-21 13:47:18 -04:00
Chris Sexton 250ce836bf meme: add configurable memes 2020-10-21 11:24:03 -04:00
Chris Sexton bd2e28f72a first: disallow empty messages 2020-10-19 21:32:00 -04:00
Chris Sexton 11224e0a2f bot: only provide help for whitelist items 2020-10-16 15:57:04 -04:00
Chris Sexton b69990e10f fix gok error 2020-10-13 09:43:04 -04:00
Chris Sexton 021cbee40a meme: add extra split for discord 2020-10-13 09:43:04 -04:00
Chris Sexton 5df7644229 remove more logs 2020-10-09 13:58:25 -04:00