Commit graph

677 commits

Author SHA1 Message Date
2c9d8ef33c
prepare release v3.29.1 2024-04-13 14:01:53 +02:00
de3a4941ed
CI: Fix bugs in new CI flow
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-04-13 13:55:54 +02:00
8dd3d7db0c
prepare release v3.29.0 2024-04-13 13:17:00 +02:00
2c17ef58fa
[counter] Revise template parsing logic
in order to support both `counter_set` and `counter_step` set to
conditional templates and therefore i.e. combine deathcounter increase
/ decrease / set and query into one rule

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-04-08 19:47:15 +02:00
8154a50351
[core] Enforce field validation on config
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-04-08 17:40:24 +02:00
8c2c4e7c62
[docs] Add field-type annotations to events
closes #57

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-04-07 13:37:13 +02:00
7737d939f4
[eventsub] Add support for suspicious user events
- User status is updated
- User sent a message while having sus-user status

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-04-07 13:37:13 +02:00
acf96c31ad
[core] Fix: Do not cache nil-TwitchClient
as client is assigned after plugins are initialized

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-04-07 13:37:13 +02:00
afe2963d33
[core] Fix: Don't initialize twitch client before start checks
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-04-07 13:37:13 +02:00
293a7d9e30
[counter] Allow counterTopList to specify how to sort
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-04-07 13:37:13 +02:00
94b040ed81
[counter] Record first seen and last updated on counters
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-04-07 13:37:13 +02:00
b131a7be5f
[clip] Fix: Optional fields were required
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-04-07 13:37:13 +02:00
6c941fb330
CI: Concatenate workflow into one workflow
from one file per job through script

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-04-07 13:37:13 +02:00
264eef4130
[core] Fix: Do not retry core-kv query when it's not set
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-04-07 13:37:13 +02:00
35b47bca65
[linkcheck] Remove flaky test
caused by domaingrabber grabbing some random domain

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-04-07 13:37:13 +02:00
e7e9877c05
[core] Remove deprecated fallback token / token migration
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-04-07 13:37:13 +02:00
a49a1844ba
[docs] Fix typo
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-04-07 13:37:13 +02:00
dc8f645f24
[spotify] Switch to PKCE flow, remove need for clientSecret
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-04-07 13:37:13 +02:00
a9984b2df2
[spotify] Improve error handling / documentation
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-04-07 13:37:13 +02:00
30482591a7
[core] Switch to go_helpers FieldCollection
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-04-07 13:37:13 +02:00
262742603c
[eventsub] Fix: Fetching existing subscriptions broken
as of fetch must not specify more than one filter

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-04-03 13:14:44 +02:00
f76cbebda3
CI: Build tags to develop, drop stable tag
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-04-02 16:29:35 +02:00
4dd903288c
prepare release v3.28.1 2024-04-02 16:17:41 +02:00
9d1ede2b1e
Lint: Fix error caused by stupid linter
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-04-02 16:12:35 +02:00
60abc308fb
prepare release v3.28.0 2024-04-02 15:22:29 +02:00
e8eb6cd0f4
[templating] add humanDateDiff and formatHumanDateDiff functions
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-04-02 15:19:49 +02:00
bc9c3eeb15
[spotify] Add spotifyLink template function
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-03-28 18:29:39 +01:00
bb83c34344
Update dependencies
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-03-28 00:18:28 +01:00
f684abc29f
Lint: Update linter config, remove no longer required exeptions
which might be a false-negative and re-added later

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-03-28 00:15:53 +01:00
1d4cbd9a66
[eventsub] Fix: Properly handle 409 error
by fetching the existing subscription instead of failing to access the
expected response which is not there in case of a collision

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-03-28 00:09:28 +01:00
0e4a963bc7
[eventsub] Fix: Twitch renamed field in adbreak_begin
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-03-25 22:23:31 +01:00
3f376cb2ce
[docs] Fix: Add missing documentation for adbreak_begin
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-03-25 22:13:13 +01:00
46db72b2cc
[overlays] Reduce socket abnormal closure to warning
resolves TWITCH-BOT-A

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-03-23 12:16:10 +01:00
c3085ea7f9
[eventsub] Suppress error on abnormal closure and reconnect
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-03-23 12:03:39 +01:00
031ad331e4
[eventsub] Fix: Do not retry subscription on collision
resolves #TWITCH-BOT-7

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-03-22 21:29:07 +01:00
abe839df3a
prepare release v3.27.0 2024-03-20 18:14:57 +01:00
6970069778
[core] Add Sentry-Environment configuration
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-03-20 12:01:41 +01:00
fbfcb959c0
[overlays] Fix: JOIN / PART events spamming the database
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-03-15 20:48:17 +01:00
7f4470e692
[spotify] Add spotifyCurrentPlaying template function
together with Spotify integration for the bot

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-03-15 19:51:00 +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
c5d83f9b77
prepare release v3.26.1 2024-03-06 17:50:50 +01:00
6f6b74b1fc
[editor] Fix: Add hypetrain events to events match dropdown
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-03-06 17:50:11 +01:00
dedd615709
prepare release v3.26.0 2024-03-05 17:52:36 +01:00
0d76ad95bb
[docs] Update Docker image references to GHCR
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-03-04 00:13:37 +01:00
9872994fba
[CI] Add Docker-Publish pipeline
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-03-04 00:13:37 +01:00
f2ac1acb17
[core] Add support for Hype-Train events
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-03-04 00:13:37 +01:00
e50830e509
Fall back to global funding config
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-02-22 15:26:14 +01:00
3a00079016
Cleanup README
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-02-18 14:17:30 +01:00
87916b98d9
prepare release v3.25.0 2024-02-18 14:00:36 +01:00
f836f2aeda
CI: Rename trivy scanner from deprecated name
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-02-18 13:47:29 +01:00