6970069778
[core] Add Sentry-Environment configuration
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-03-20 12:01:41 +01:00
caadb6b590
[core] Fix: Newly initialized bots crash when not authorized yet
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-03-14 15:56:53 +01:00
673ed1e29a
Lint: Resolve linter issues
...
occurred with new Go / golangci-lint version
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-02-18 13:42:00 +01:00
c78356f68f
Lint: Update linter config, improve code quality
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-01-01 17:52:39 +01:00
eec4966b82
[eventsub] Fix: Clean IPs from eventsub-socket read errors
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-12-14 00:19:29 +01:00
ee5e7359a2
[core] Add auth-cache for token auth
...
to speed up frontend and reduce CPU/MEM consumption on consecutive API
requests
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-12-06 21:57:02 +01:00
3c158ef231
[core] Add way to enable profiling
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-12-06 21:57:02 +01:00
1d35bd3a4f
[templating] Add function chatterHasBadge
...
and fix `botHasBadge` which previously did what `chatterHasBadge` does
now which was fully incorrect behavior
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-10-26 19:07:17 +02:00
2bec4f82ed
Mark twitch-token flag / envvar deprecated
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-09-09 11:49:26 +02:00
a58b72c268
[ #16 ] Implement Raffle module ( #47 )
2023-07-14 16:15:58 +02:00
49aba55cfe
[core] Clean IPs from socket errors
...
in order not to log IPs (GDPR) and also to prevent spread of errors in
Sentry logging as IP/Port combinations are unique per connection and
therefore will spam with many unique errors. By removing the unique
information from the error the errors should be groupable again.
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-06-24 14:59:36 +02:00
c311370d1c
[core] Add cleanup for expired timers
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-06-24 14:50:45 +02:00
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