Commit graph

53 commits

Author SHA1 Message Date
dc5b5be393
[core] Reduce variance of Sentry errors containing IPs
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-05-27 16:46:33 +02:00
0e7af1cfc8
[eventsub] Switch to Websocket transport (#46)
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-05-18 15:09:25 +02:00
d8c6f8d221
[core] Split out cli commands
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-03-24 21:41:38 +01:00
e8d39c19a4
[core] Fix: Allow start when no tokens are available
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-03-24 20:53:02 +01:00
3213f4ac37
[core] Add validation and reset of encrypted values
in order to detect change of encryption pass

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-03-24 20:41:02 +01:00
014f90c94c
[editor] Notify frontend to reload data after token change
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-02-06 23:41:54 +01:00
f870042195
[core] Fix: Remote-update cron broken as of missing field
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-01-01 16:29:27 +01:00
5d7a6f798e
[core] Add retries for eventsub-self-check
when placed behind slower LBs like nginx-ingress on k8s

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-12-22 03:22:32 +01:00
33697c50ad
[core] Add Sentry / GlitchTip error reporting
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-11-05 02:59:47 +01:00
0a937a65d0
prepare release v3.0.0
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-11-02 22:54:52 +01:00
2c71f57d02
[core] Add config validation command
- Fix missing field validation for required fields
- Add validation of template fields
- Report all issues in configuration

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-10-31 17:47:06 +01:00
ffd6c9bd09
[customevent] Add scheduled custom events
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-10-31 15:51:28 +01:00
1409a4bd34
[lint] Fix v2 import path not carrying version
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-10-23 15:06:45 +02:00
c0075db1f3
Breaking: Add support for multiple database backends (#32) 2022-10-23 00:08:02 +02:00
61cc2d64b3
[core] Add rule-subscription feature
- Add remote url to rules
- Add cron to update remote URLs hourly
- Add frontend display for shared rules
- Add frontend feature to subscribe rules

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-10-07 19:23:51 +02:00
a7533cbd8b
[core] Move storage to SQLite database (#30)
fixes #29
2022-09-10 13:39:07 +02:00
6210646351
Lint / SEC: Add mitigation for slowloris DoS attack vector
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-09-06 00:35:40 +02:00
e259ca209c
Lint: Fix broken / missing nosec / nolint comments
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-09-06 00:35:20 +02:00
7fa2c2e4b6
Lint: Replace deprecated io/ioutil package
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-09-06 00:34:30 +02:00
dbcd28a8b0
[core] Add support for OPTIONS requests
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-03-29 00:50:42 +02:00
437ef14fb0
[core] Implement dynamic token update and broadcaster permissions (#13) 2021-12-31 13:42:37 +01:00
2ba462fedc
[core] Add EventSub subscription prefetching
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-12-24 21:40:55 +01:00
246bb2811d
[core] Improve EventSub API request design
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-12-24 19:59:20 +01:00
7e2b83fc0a
[core] Fix: send-message function passed to plugin was nil
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-12-10 02:28:13 +01:00
d75a719781
[core] Add EventSub support for Twitch-Events (#10) 2021-11-09 12:55:04 +01:00
77aa2e411c
[core] Implement write authorization for APIs (#9) 2021-10-25 21:40:52 +02:00
2df98eca66
Add "punish", "reset-punish" actors and storage manager (#8) 2021-10-03 15:35:58 +02:00
87df2040e4
[templating] Add botHasBadge function
to allow checking for moderation permissions in channels

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-09-29 18:23:29 +02:00
b59676492e
Breaking: Add configuration interface and switch to more generic config format (#7) 2021-09-22 15:36:45 +02:00
7f641ebe1e
Fix: Initialize core plugins after main components are set up
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-09-10 19:45:31 +02:00
06ec111163
Fix: Nil pointer segfaults due to direct access to message object
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-09-02 23:26:39 +02:00
0984aeb60b
Fix: Load initial channel set to watcher
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-09-02 17:54:28 +02:00
dbca96a138
Add Twitch events
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-09-02 17:09:30 +02:00
2f1d8ff76d
Re-work HTTP API, create API for counter and setvariable modules
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-08-28 17:27:24 +02:00
404ece80ed
Provide HTTP server and registration function
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-08-25 20:55:02 +02:00
47f314af4e
Provide central cron service to plugins
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-08-25 00:44:49 +02:00
b47ffbfff7
Add plugin support to allow extending of functionality (#6) 2021-08-19 15:33:56 +02:00
0dc19d8eed
Add method to send messages from within the bot without trigger
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-08-07 00:00:22 +02:00
71c708570c
Add validation mode for config
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-07-12 14:53:20 +02:00
ac83a0a5e9
Move timers to storage to persist them
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-06-29 00:01:26 +02:00
b8737a4286
Automatically leave channel when removed from config
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-06-14 23:43:37 +02:00
50f1e01e3b
Replace non-reliable fsevents library with simple check
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-05-24 17:55:12 +02:00
ef0767e396
Log all config loads
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-05-11 00:45:27 +02:00
d1e63f0c2b
Log amount of loaded rules on reload
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-05-11 00:24:36 +02:00
6116f1bfcd
Introduce general send limit to prevent global-timeouts
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-04-21 23:44:13 +02:00
5a2620b316
Add raw-log functionality
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-04-09 18:14:44 +02:00
5836f20e70
Lint: Fix at end of string
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-04-04 22:12:20 +02:00
e402a375f9
Add instructions for token generation
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-04-04 22:06:12 +02:00
0ae34112b6
Add code linting / binary publishing (#3) 2021-04-03 14:11:47 +02:00
95be0de55b
Add automated messages (#2) 2021-03-27 17:59:56 +01:00