1
0
Fork 0
mirror of https://git.sr.ht/~ashkeel/strimertul synced 2024-09-18 01:50:50 +00:00
Commit graph

54 commits

Author SHA1 Message Date
Ash Keel
f80a268512
feat: add warning before closing app 2023-01-26 13:18:38 +01:00
Ash Keel
65cf91d476
refactor: bump to containers v0.3.0 (API changes) 2022-12-04 14:45:34 +01:00
Ash Keel
aaffaebe55
refactor: module conundrum phase 1
Refactor Twitch client and bot so it can be closed and reopened with a
different config.
Add a cancellation function to subscription functions so they can be
cancelled.
Use http.Handler instead of HandlerFunc for custom routes
2022-12-03 16:16:59 +01:00
Ash Keel
d0bf35d0b1
fix: add error checks to placate mr lint 2022-12-02 23:52:45 +01:00
Ash Keel
4c0708138a
refactor: begone modules 2022-11-30 19:15:47 +01:00
Ash Keel
fd9fe4c3bc
fix: Fix console interaction not working in windows builds 2022-11-25 20:56:48 +01:00
Ash Keel
e4d2eecb55
fix: fix embed 2022-11-25 19:07:11 +01:00
Ash Keel
668620a090
feat: add log-level flag 2022-11-24 13:15:59 +01:00
Ash Keel
bb8f3f754e
feat: rework loggers and pass data to the UI 2022-11-24 01:54:56 +01:00
Ash Keel
44333fc392
feat: add eventsub websocket, remove stulbe 2022-11-23 22:22:49 +01:00
Ash Keel
e3ee43e6ae
refactor: less repetition but it's probably bad 2022-11-23 16:34:49 +01:00
Ash Keel
466cd0581b
Refactor database logic and bump to kilovolt v9 2022-11-18 17:37:30 +01:00
Ash Keel
05cda342fd
Add Wails, refactor into multi CLI app 2022-11-16 12:23:54 +01:00
Ash Keel
acaca8a400
Backport fixes from glimesh branch 2022-06-17 00:51:27 +02:00
Ash Keel
fad80ac83b
Add pebble driver 2022-02-08 15:13:45 +01:00
Ash Keel
8ba3c3fbc0
Cleanups 2022-02-02 18:10:34 +01:00
Ash Keel
7136ba4fec
Add a backup limit, finally! 2022-02-01 14:55:05 +01:00
Ash Keel
2a66a27ff2
No wait, pebble isn't here yet 2022-02-01 12:37:37 +01:00
Ash Keel
4a764c0450
Multiple databases! 2022-02-01 12:35:34 +01:00
Ash Keel
2fae672449
Move to zap for logging 2022-01-27 16:49:18 +01:00
Ash Keel
e67cce8c82
Change backup format to a sane one 2022-01-22 11:08:00 +01:00
Ash Keel
7e65c72bbb
Fix loyalty module commands not working after module refactor 2022-01-12 12:02:54 +01:00
Ash Keel
64366a7903
Restore backup in a worse way, but one that works! 2022-01-07 09:42:06 +01:00
Ash Keel
006ad71a19
Add database export/import and backups 2022-01-02 11:45:09 +01:00
Ash Keel
d13e47d3ce
lint fixes 2021-12-09 13:32:58 +01:00
Ash Keel
d5ed335105
Move to different logic for enabling modules 2021-12-09 11:45:10 +01:00
Ash Keel
7321b81023
Update kilovolt to non-broken dep 2021-12-07 01:22:45 +01:00
Ash Keel
84bef02a42
Add version to executable 2021-12-06 14:47:38 +01:00
Ash Keel
9c1b49183c
Stop db GC from not making the server start 2021-12-06 12:22:54 +01:00
Ash Keel
bcb15ab4a9
Add DB garbage collection 2021-12-05 22:17:52 +01:00
Ash Keel
ac1ebe65d6
Reload modules on config change 2021-11-24 11:55:12 +01:00
Ash Keel
a15b5bafb8
Refactor most of main.go into a module manager logic 2021-11-24 11:54:49 +01:00
Ash Keel
8e02ba6fb7
Add authentication (using Kilovolt v6) 2021-11-21 22:36:48 +01:00
Ash Keel
0d3233ecbd
Big module refactor
Changing the HTTP config will now restart the server or, if possible, just hotpatch the configuration
2021-11-19 19:37:42 +01:00
Ash Keel
7d4a2700d0
Update KV to v5, add some debug methods 2021-11-15 13:33:40 +01:00
Ash Keel
1fb5843339
Fix linting issues (Thanks GoLand!) 2021-10-28 11:01:52 +02:00
Ash Keel
8596ce3f6d
Add callable functions to custom commands 2021-09-18 22:06:22 +02:00
Ash Keel
6c8d8f6da2
Chatbox can now relay messages to subscribers 2021-09-15 17:46:57 +02:00
Ash Keel
2513c2bc5a
Fix mutex deadlock 2021-06-06 01:18:31 +02:00
Ash Keel
785884551e
Fix crash when stulbe initialization fails 2021-05-18 15:53:17 +02:00
Ash Keel
622abb0b5c
Receive loyalty pushes from stulbe 2021-05-18 13:30:27 +02:00
Ash Keel
70f515dae7
Tring to hotfix logger but nothing is working 2021-05-16 18:10:51 +02:00
Ash Keel
e3f4b49ba5
Update to new kilovolt, move points to per-user 2021-05-16 17:55:40 +02:00
Ash Keel
5aedebffe3
It's baaaack 2021-05-14 16:37:54 +02:00
Ash Keel
5ade0e3066
Integrate Twitch APIs internally rather than through stulbe 2021-05-14 13:15:38 +02:00
Ash Keel
d8da04224f
No more data races (still some left in kilovolt) 2021-05-13 01:46:03 +02:00
Ash Keel
981371fa34
Use stulbe's client 2021-05-11 13:12:00 +02:00
Ash Keel
7c9774432e
Upgrade to Kilovolt v3 2021-05-11 01:54:55 +02:00
Ash Keel
2bd321f9ef
Bring in db module from stulbe and add syncing 2021-05-10 23:09:15 +02:00
Ash Keel
7efd1a18bf
Upgrade to kv2 and add websocket connection to stulbe 2021-05-08 16:02:47 +02:00