Commit Graph

63 Commits

Author SHA1 Message Date
Chris Sexton 067d3064a6 meme: fix default config and save path 2024-09-30 11:39:37 -04:00
Chris Sexton d9342f184e web: make cards display in grid 2024-05-21 12:36:33 -04:00
Chris Sexton 87bf26e039 web: refactor site into picocss from foundation 2024-05-21 08:54:12 -04:00
Chris Sexton 35499ee213 meme: use httpin 2024-03-19 11:29:36 -04:00
Chris Sexton 8ba0ec076e web: generate 2024-02-28 10:45:29 -05:00
Chris Sexton 718ee32165 emojy: use foundation 2024-02-28 10:31:37 -05:00
Chris Sexton a01e52b4d4 meme: use foundation 2024-02-28 10:31:37 -05:00
Chris Sexton b66038354a meme: finishing up templating 2024-02-27 21:49:03 -05:00
Chris Sexton a5e919733c meme: use templ and htmx 2024-02-27 17:30:36 -05:00
Chris Sexton f83cc32788 web: refactor and convert secrets 2024-02-27 17:30:36 -05:00
Chris Sexton 295d9fef77 tap: maybe fix font locations 2023-03-16 13:39:55 -04:00
Chris Sexton e2c55fab00 meme: add font shortcuts and location 2023-01-27 13:20:00 -05:00
Chris Sexton f6dd52a222 meme: changed to file upload instead of embed
* Added File handling to Discord mesasges
2022-10-20 18:43:45 -04:00
Chris Sexton 866b947f42 tappd: add plugin 2022-10-13 20:23:10 -04:00
Chris Sexton 104f48b1c3 meme: configify the default meme config 2022-05-25 15:16:26 -04:00
Chris Sexton 3964e1f4b2 meme: disable direct URL memes
GitHub noticed this is a security problem, so I am disabling it.
2022-03-22 20:30:07 -04:00
Chris Sexton 471c3ecff4 all: update to go1.18 and any interface 2022-03-21 21:36:04 -04:00
Chris Sexton 3af3633559 web: fix vue version references
3.x came out and @latest busted everything.
2022-02-18 07:20:02 -05:00
Chris Sexton fff478a9f6 meme: add font support 2021-10-22 16:48:59 -04:00
Chris Sexton 13e16c9f01 web: change to embedded pages
counter: embed counter page

admin: move vars and apppass to embedded

secrets: move to embedded

cli: move to embed

meme: move to embed

fact: move to embed

bot: move to embed

fix write command
2021-07-29 13:00:33 -04:00
Chris Sexton 7ba9d94ac2 counter: add api, bot: change routes
* many routes changed by adding the chi router
* counter has an authenticated API to increment and decrement
2021-07-28 11:41:01 -04:00
Chris Sexton c47a4f7c6f web: migrate endpoint registration to chi 2021-07-28 11:41:01 -04:00
Chris Sexton defeb9b3b1 meme: maybe fix discord maybe not 2021-02-18 18:01:45 -05:00
Chris Sexton 91ac29d085 meme: memes generated at request time
* Moved meme generation to the URL service
* URLs now contain the meme configurations
* Cached by config (expires with bot restart)
2021-02-18 17:41:38 -05:00
Chris Sexton 7dfa5bf891 meme: refactor
impossible: fix bug where it was eating all messages
2021-02-07 15:09:52 -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 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 8d52a3d1bd meme: add capitalization to configs, true default
fixes #331
2021-01-09 15:27:32 -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 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 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 250ce836bf meme: add configurable memes 2020-10-21 11:24:03 -04:00
Chris Sexton 021cbee40a meme: add extra split for discord 2020-10-13 09:43:04 -04:00
Chris Sexton 4ba240c37d go: fix some format strings 2020-10-09 10:54:09 -04:00
Chris Sexton a9937d9b8e discord: add discord functionality
* added discord connector
* modified user to support image avatars instead of URL avatars
* modified meme to send IDs instead of names
2020-09-09 13:21:39 -04:00
Chris Sexton 45adb3a242 meme: handle bad URL errors 2020-06-10 15:37:54 -04:00
Chris Sexton b13385774e beers: host your own images 2020-05-25 14:47:02 -04:00
Chris Sexton d5a2bec582 meme: okay, scale the right thing with respect to the right thing 2020-05-08 18:05:57 -04:00
Chris Sexton 10a1745502 meme: add signature icon 2020-05-08 17:49:55 -04:00
Chris Sexton c6559530e7 meme: add rm and bully 2020-05-05 16:25:33 -04:00
Chris Sexton 2395f7b33d meme: empty text 2020-05-04 17:31:28 -04:00
Chris Sexton b0aa04ce78 meme: add placeholder text in web form 2020-05-04 13:46:15 -04:00