Chris Sexton
e668fbe688
project: ignore binary
2024-02-27 17:30:36 -05:00
Chris Sexton
bfd50a346d
admin: update html formatting
2023-08-17 16:38:03 -04:00
Chris Sexton
c32738f444
admin: convert variables page to htmx
2023-08-17 15:46:36 -04:00
Chris Sexton
45103cec62
admin: fix nick regex
2022-08-02 13:42:35 -04:00
Chris Sexton
7af94f3473
admin: conditionally require admin for nick change
2022-08-02 13:35:50 -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
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
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
951c345666
admin: refactor tests
2021-02-01 06:39:43 -05:00
Chris Sexton
8e4129ecb3
admin: refactor
2021-02-01 06:39:43 -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
c8d01029ea
admin: enforce admin status of users
2020-10-09 13:14:25 -04:00
Chris Sexton
2fb84219a0
whitelist: add whitelist of plugins
2020-10-09 12:00:10 -04:00
Chris Sexton
12ca34006f
bot: add ability to disable plugins per channel
...
admin: use 'enable/disable plugin <name>'
2020-06-09 13:52:23 -04:00
Chris Sexton
07c4950b2d
admin: forbid better
2020-05-01 12:34:09 -04:00
Chris Sexton
8d775e95f2
meme: add web interface
2020-05-01 12:34:09 -04:00
Chris Sexton
cee267dbb8
admin: leave and come back
2020-04-29 17:48:55 -04:00
Chris Sexton
1166fc732e
admin: add setkey
2020-04-29 17:48:55 -04:00
Chris Sexton
21d4b11df9
admin: add reboot command
2020-04-21 16:54:03 -04:00
Chris Sexton
81cc0dc55b
config: add push command
...
* you can now run `push <setting> <value>` to add values to a setting
2020-01-29 12:35:34 -05:00
Chris Sexton
f1f5fb3c12
git: add nicer repo addition & gitea support
...
Also added an `!unset` command for configurations.
2019-10-26 17:43:31 -04:00
Chris Sexton
b6a89ff06a
web: use secret instead of human test
...
* Applies for services that modify data
* Anybody in the slack can ask for the daily secret
2019-06-13 10:04:06 -04:00
Chris Sexton
9ea45f0ad3
web: add a menu and redo index
...
We can add arbitrary links now with the `bot.links` config
2019-06-09 00:18:57 -04:00
Chris Sexton
0aa5aad27d
web: add vars interface
2019-06-02 09:28:13 -04:00
Chris Sexton
42f7f52bfb
cli: make a new plugin
2019-05-27 19:23:05 -04:00
Chris Sexton
a2d5d173f9
logging: switch to a logging library
2019-03-07 11:46:59 -05:00
Chris Sexton
a20839cdd7
bot: Invert RegisterWeb
2019-02-07 11:30:42 -05:00
Chris Sexton
933e514ddd
bot: switch plugins to matching instance
...
instead of string
2019-02-05 13:58:12 -05:00
Chris Sexton
82dcf410f2
bot: hook connectors up to events
...
This includes a full test of `admin`
2019-02-05 13:42:15 -05:00
Chris Sexton
e7c88c0c9c
events: refactor
...
Combining all of the various send/recv functions into one
2019-02-05 10:54:13 -05:00
Chris Sexton
17afdda35e
admin: be quiet
...
This will not silence any out of band messages such as Untappd checks,
Twitch notifications, or the startup message.
This will cause catbase not to know anything about the conversation,
which means quoting something during the quiet period is impossible.
Everything during quiet time is off the record.
2019-01-25 10:05:26 -05:00
Chris Sexton
0593b4f164
config: set some defaults
2019-01-21 19:16:57 -05:00
Chris Sexton
9ea1ba68f5
admin: add ability to get/set config values
...
* Users cannot get/set sensitive values
* Removed example lua config file
2019-01-21 16:26:54 -05:00
Chris Sexton
e15122cfe9
bot: refactor all rand seeds into main.go
2018-07-23 13:00:19 -04:00
skkiesel
54b83cd444
listening to thread responses to rpg threads only
2017-10-31 14:14:45 -04:00
Chris Sexton
b4c26956ab
Fix empty string indexing crash
2016-05-24 10:07:36 -04:00
Chris Sexton
079c6ab2ec
Fix variable support
2016-05-20 16:28:48 -04:00
Chris Sexton
e449a82001
YOLO: DEAL WITH IT
...
Refactored a bunch of junk.
2016-04-01 10:20:26 -04:00
Chris Sexton
ef40d335eb
Make testing great again! Add examples in counter
...
* Made bot.Bot an interface and added a mock with an in-memory database
for plugins to use.
* Remove logger nonsense
* Rename Counter New
2016-03-30 12:41:22 -04:00
Chris Sexton
762ec13780
Fixes #20 : move plugins to their own pkgs
2016-03-24 13:32:40 -04:00