Chris Sexton
a187ea363c
last: record more messages and figure the time out
2024-03-26 14:19:25 -04:00
Chris Sexton
def86a3c7e
list: implement last as a reply to the last message
2024-03-19 11:29:36 -04:00
Chris Sexton
81fb3dd068
counter: try out httpin
2024-03-19 11:29:36 -04:00
Chris Sexton
95ae28aa0f
web: format time string
2024-02-28 17:07:53 -05:00
Chris Sexton
25f9171223
web: add stats page
2024-02-28 14:35:46 -05:00
Chris Sexton
8ba0ec076e
web: generate
2024-02-28 10:45:29 -05:00
Chris Sexton
8e2c55f8bd
web: convert admin and secrets to foundation
2024-02-28 10:31:37 -05:00
Chris Sexton
f83cc32788
web: refactor and convert secrets
2024-02-27 17:30:36 -05:00
Chris Sexton
f6b1712eda
admin: use htmx and templ for app pass
2024-02-27 17:30:36 -05:00
Chris Sexton
b8e6e0595d
admin: vars use templ
2024-02-27 17:30:36 -05:00
Chris Sexton
e668fbe688
project: ignore binary
2024-02-27 17:30:36 -05:00
Chris Sexton
00352a1512
bot: use templ for some pages
2024-02-27 17:30:36 -05:00
Chris Sexton
c32738f444
admin: convert variables page to htmx
2023-08-17 15:46:36 -04:00
Chris Sexton
c91fdcdf29
bot: add spoiler message type
2023-08-02 17:00:45 -04:00
Chris Sexton
f70eb46c5d
twitch: redo with webhooks
2023-01-04 11:27:03 -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
b8a199faba
pagecomment: add /url command
...
* Updated discord library
* Added an author embed but it's not useful just yet
2022-09-06 17:26:07 -04:00
Chris Sexton
37e4dcb5c8
bot: add rate limiting
...
- emojy: lazy load images so they don't break/spam the server
2022-08-04 09:20:29 -04:00
Chris Sexton
7c0a777737
twitch: add reauthentication
...
- refactored secrets to be in config
- added missing format string to bot
2022-08-03 21:12:08 -04:00
Chris Sexton
e92c89891f
bot: add ability to change nick
2022-08-02 13:35:50 -04:00
Chris Sexton
c3e1a72f9a
bot: fix admin to respect ID instead of nick
2022-07-29 07:07:31 -04:00
Chris Sexton
ba99b2113c
discord: add slash command structure
2022-07-23 00:22:13 -04:00
Chris Sexton
cf19a2bc15
cowboy: anchor emojy pages to URLs
...
This also refactored a bunch of junk and eliminated about 4k calls to
the config/database on emojy listing.
2022-07-22 10:18:52 -04:00
Chris Sexton
2e0be87dd9
counter: fix ID null string regression
...
Also remove shared DB cache as it seems to not be necessary.
2022-07-17 14:46:09 -04:00
Chris Sexton
55ba4996eb
bot: add override password for staging/testing modes
2022-07-17 14:46:09 -04:00
Chris Sexton
feb42b8293
emojy: allow creation and removal of emojy
...
- includes a web interface for uploading new images
- includes a web interface for viewing 'possible' images
2022-06-08 21:03:21 -04:00
Chris Sexton
4e3cbbafad
factoid: refactor and ignore reaction
...
- factoid is a mess, but I at least split it into a few parts
- need to move config values from factoid to fact
- need to rename the whole thing to fact
- probably need to go over it with a fine toothed comb
- 5 seconds, why 5 seconds? I still don't know
- added kind to the message type so we can filter reactions out
2022-05-31 11:27:34 -04:00
Chris Sexton
bd3ba48bbe
bot: log admin checks
2022-05-30 16:59:43 -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
2a9ae13560
roles: add plugin
2021-11-20 15:34:38 -05:00
Chris Sexton
3343a98802
pubsub: add counter pub
2021-11-15 20:51:40 -05:00
Chris Sexton
373929646c
history: record history in bot
2021-10-05 19:12:35 -04:00
Chris Sexton
fc0c6ccd46
history: add history module
2021-10-05 18:50:19 -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
31fe84b0ba
apppass: add password generation page
2021-07-21 09:59:43 -04:00
Chris Sexton
c5d468c723
last: add multichannel support
...
This
* ensures the last is between yesterday and yesterday
* adds a channel check to the query
* adds a command to check a specific channel
2021-04-28 16:52:07 -04:00
Chris Sexton
4c669e520f
last: create plugin
2021-04-27 12:45:52 -04:00
Chris Sexton
332d992d05
counter: use IDs when available
...
This should help alleviate user name changes, but may not fix it
entirely. Had to update beers and goals to match an ID search.
Note: this will bust badly for IRC
2021-02-14 17:00:56 -05:00
Chris Sexton
ca97a07a4d
goals: refactor
2021-02-07 13:33:30 -05:00
Chris Sexton
4a0ba76b89
first: refactor and add clear command
2021-02-03 20:38:21 -05:00
Chris Sexton
8cb6b485cb
fact: refactor
2021-02-01 21:28:58 -05:00
Chris Sexton
a6847a996f
babbler: refactor
2021-02-01 10:48:06 -05:00
Chris Sexton
e7ec092c64
counter: update tests
2021-01-31 21:53:48 -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
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