Commit graph

646 commits

Author SHA1 Message Date
300d28c46c
prepare release v3.21.0 2023-12-09 19:47:38 +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
e21fd41e49
prepare release v3.20.0 2023-12-08 00:36:12 +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
a07ad6fe83
[core] Parallelize rule execution
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-12-06 21:57:02 +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
a336772303
[raffle] Add Actor to enter user into raffle using channel-points
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-12-06 21:57:02 +01:00
6df8fd42c2
[core] Update dependencies
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-12-04 16:19:36 +01:00
0d10b5165f
[core] Add retries for database access methods
to compensate for database temporarily not being available. This is not
suitable for longer database outages as 5 retries with a 1.5 multiplier
will not give much time to recover but should cover for cluster changes
and short network hickups.

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-12-04 16:19:36 +01:00
a1fa9972a8
[core] Fix: Do not retry requests with status 429
which for example can happen when doing two shoutouts within the 120s
cooldown period enforced by Twitch

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-11-27 23:18:53 +01:00
3bff986ac4
[CI] Add CRDB integration test
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-11-27 19:42:16 +01:00
e7a493cafe
[CLI] Add database migration tooling
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-11-26 16:55:05 +01:00
4059f089e0
[docs] Link the discussion board
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-11-05 15:23:34 +01:00
9ebdaa8a71
[templating] Add scheduleSegments function
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-11-05 13:44:16 +01:00
cb68b029ec
[core] Add timeout to eventsub connection dialer
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-11-05 11:50:56 +01:00
a2ffc25a26
[raffle] Fix datatype in API documentation
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-10-30 11:36:03 +01:00
932e6907da
[eventsub] Replace keepalive timer
as `time.Timer` wasn't really suited for how it was used

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-10-30 11:36:03 +01:00
1a76b75968
prepare release v3.19.0 2023-10-28 12:58:27 +02: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
ba21a372b5
[counter] Add counterRank and counterTopList template functions
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-10-23 20:28:58 +02:00
a9e4931271
Add support for beta Ad-Break event
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-10-22 16:20:58 +02:00
803019e72d
Update dependencies
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-10-21 16:22:27 +02:00
ac4312ffc4
[core] Expose method to retrieve AppAccessToken
in order for libraries to for example instantiate an IGDB client easily

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-10-10 14:42:32 +02:00
49e2acf186
prepare release v3.18.2 2023-10-08 12:35:51 +02:00
40dc38d9ac
[core] Fix: New followers endpoint requires user-token
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-10-08 12:26:43 +02:00
0d717c7ca9
prepare release v3.18.1 2023-10-05 17:08:18 +02:00
fbc76761b4
[core] Fix: Replace deprecated follow API
- add `moderator:read:followers` scope to bot-defaults
- document requirement of bot to be mod to read followers
- adjust `GetFollowDate` method to use new channel followers endpoint

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-09-29 14:58:59 +02:00
4186e16451
prepare release v3.18.0 2023-09-21 19:19:21 +02:00
1ac20921a1
[core] Add user:manage:whispers extended scope
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-09-13 22:41:46 +02:00
4a15a7bf35
[core] Utilize clean shutdown in go-irc v4
in order to maybe less often throw errors when re-using closed connections

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-09-12 10:49:35 +02:00
bcc5b4eba7
[core] Update go-irc to v4.0.0
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-09-11 19:51:38 +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
eac3b0ea34
[docs] Add raffle module as feature to start page
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-09-04 22:41:31 +02:00
e16c0367bb
[docs] Add raffle documentation
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-09-04 22:33:38 +02:00
7d19bee9a4
[docs] Fix broken preparations image
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-09-04 22:33:36 +02:00
220a501ab8
[templating] Refactor: Move twitch functions into library package
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-09-03 13:01:57 +02:00
a5df68d921
[templating] Add idForUsername function
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-09-03 12:26:07 +02:00
fb57cb9304
[templating] Add usernameForID function
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-09-03 12:09:33 +02:00
0a53863b69
[core] Add channel specific module configuration interface
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-09-02 14:12:08 +02:00
dc648d1dba
[ci] Update dependencies
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-09-02 13:31:07 +02:00
a3a134fe36
[ci] Add integration tests for database servers
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-08-26 22:40:17 +02:00
db3c4f4efa
[raffle] Insert newly created raffles with NULL reminder time
as MySQL 8 in opposite to MariaDB 10 does not support the time `0000-00-00 00:00:00`

fixes #51

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-08-26 19:11:49 +02:00
29df9e59b5
[core] Remove v2 migration
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-08-26 00:20:10 +02:00
795dece2e8
prepare release v3.17.0 2023-08-25 23:51:17 +02:00
b5ad112de3
[ci] Remove flaky test
The page found in the string was flaky and often unresponsive

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-08-25 23:44:08 +02:00
1585df5e90
[docs] Add auto-generated template documentation (#50) 2023-08-25 23:37:37 +02:00
a39dc5e4c6
[templating] Add b64urldec and b64urlenc functions
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-08-25 13:14:23 +02:00
6cb9ef7543
prepare release v3.16.0 2023-08-22 18:02:59 +02:00