0d76c58ede
[template] Add functions parseDuration
, parseDurationToSeconds
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-11-25 00:40:53 +01:00
06d7fcb019
Lint: Fix (theoretical) overflow issues
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-09-16 11:09:03 +02:00
19038dbc6e
[templating] Add currentVOD
function
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-09-11 20:30:55 +02:00
740a71a173
[marker] Add marker info to actor result
...
in order to enable rules to access i.e. the position of the marker
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-09-11 14:23:42 +02:00
e0a8ce3684
[linkcheck] Fix: Replace static (deprecated) user-agent list
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-09-05 12:50:58 +02:00
5a8459cedc
[marker] Implement actor to create stream markers
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-09-04 00:06:55 +02:00
150daf8a80
[raffle] Lint: Ignore linter false-positive
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-08-27 14:49:21 +02:00
1d192ad796
[overlays] Fix KoFi donation currency in eventfeed
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-08-27 00:23:01 +02:00
e8d60e2733
[raffle] Fix: Send ID as string
...
in order to be able to transport big uint64 through JSON
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-08-11 00:59:46 +02:00
014df155ae
[overlays] Fix: Transmit event-id as string
...
in order to compensate for i.e. CRDB very large IDs being truncated in
JSON transmit
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-07-26 14:43:05 +02:00
c4be936c63
[overlays] Add eventfeed as default-overlay
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-07-26 14:42:57 +02:00
b38ecc9d0b
[kofi] Fix: Use message as string
...
with pointer of string comparisons do not work properly and make
templating hard
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-07-03 12:27:54 +02:00
621d266391
[linkcheck] Add support for meta-redirects
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-06-10 14:17:49 +02:00
c63793be2d
Lint: Update linter config
...
and fix some newly appearing linter errors
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-06-09 13:01:32 +02:00
8e8895d32e
[templating] Add streamIsLive
function
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-05-26 15:50:10 +02:00
30305600e7
[spotify] Fix: Refresh-Token gets revoked when using two functions
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-05-13 18:26:38 +02:00
5dd6a5323c
[core] Add locking to prevent concurrent rule executions
...
refs #59
ensures counter actions are not triggered concurrently by two persons
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-05-01 22:39:18 +02:00
ebf734be40
[templating] Add userExists
function
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-04-18 00:26:14 +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
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
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
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
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
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
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
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
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
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
99c366ada0
[kofi] Add kofi_donation
event and Ko-fi webhook handler
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-02-15 18:30:42 +01:00
0ebc68254d
[linkcheck] Fix tests broken by domain grabbers
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-01-24 20:36:14 +01:00
29b0e41218
[overlays] Add WebDAV support for remote Overlay editing
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-01-01 19:52:42 +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
7189232093
[overlays] Add support for replaying events
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-12-31 14:05:39 +01:00
fa9f5591f6
[overlays] Fix: Do not spam logs with errors when overlay reloaded
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-12-24 14:40:41 +01:00
eb02858280
[linkcheck] Refactor: Improve wait-code
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-12-23 23:41:58 +01:00
24aa1b5d67
[quote] Fix: Add primary key to quote table
...
in order to allow migrating them using copy-database
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-12-17 14:39:33 +01:00
3ac5284583
[core] Fix: Properly handle channels without credentials
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-12-14 16:49:33 +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
5d0a5322a5
[editor] Display clear warning when ext perms are missing
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-12-14 00:02:14 +01:00
6455b409ce
[raffle] Add functionality to reset a raffle
...
in order to re-use the same raffle by wiping the entrants, resetting
time-fields to their default value and resetting status to draft
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-12-09 16:22:00 +01:00
35bc4fcdc6
[linkcheck] Use resolver pool to speed up detection
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-12-06 21:57:02 +01:00
5ec6baaf2c
[linkdetector] Add more ways of link detection in heuristic mode
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-12-06 21:57:02 +01:00