Commit Graph

70 Commits

Author SHA1 Message Date
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
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
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
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
c78356f68f
Lint: Update linter config, improve code quality
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-01-01 17:52:39 +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
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
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
e7a493cafe
[CLI] Add database migration tooling
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-11-26 16:55:05 +01: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
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
29df9e59b5
[core] Remove v2 migration
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-08-26 00:20:10 +02:00
1585df5e90
[docs] Add auto-generated template documentation (#50) 2023-08-25 23:37:37 +02:00
d92824a892
[messagehook] Add actor for Discord / Slack hook posts
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-08-18 18:10:02 +02:00
253379e507
[clip] Add clip actor
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-08-14 16:09:55 +02:00
a74f210cd2
[linkdetector] Add new option to enable heuristic scan
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-07-25 00:18:34 +02:00
acd542edf1
[ban] Fix Chatcommand matching
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-07-19 22:33:42 +02:00
996cc2877d
[counter] Add counterValueAdd template function
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-06-12 23:48:22 +02:00
620a44282a
[respond] Expose API route to send messages directly to chat
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-05-29 01:56:06 +02:00
a65d2a8fca
[linkprotect] Fix: Apply stop_on_no_action when no links present
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-04-13 23:48:12 +02:00
d92a451ebc
[linkprotect] Add Link-, Clip-Detector and Link-Protection actor (#42) 2023-04-08 00:41:00 +02:00
286c4d34a3
Lint: Fix linter errors
made visible after update of golangci-lint

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-03-24 22:32:00 +01:00
990060ce41
[commercial] Add commercial actor
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-03-17 17:08:56 +01:00
2b3e0b4078
[eventmod] Add eventmod actor
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-02-20 19:41:03 +01:00
7b20e4d3fe
[stopexec] Add stopexec actor
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-02-05 16:08:55 +01:00
897b97a833
[shield] Add shield mode actor
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-02-04 14:22:35 +01:00
4477874330
[shoutout] Implement actor and slash-command for shoutout API
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-01-20 12:13:59 +01:00
9ec1117490
[log] Add log-actor
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-01-01 14:42:23 +01:00
f9716d6591
[vip/unvip] Implement actors and chat commands
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-12-05 19:20:30 +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
064c7432ed
[core] Extend API and replace deprecated chat commands (#34) 2022-10-25 18:47:30 +02: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
20356abe23
[core] Allow to pass ID to channel modification
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-10-01 15:06:32 +02:00
a7533cbd8b
[core] Move storage to SQLite database (#30)
fixes #29
2022-09-10 13:39:07 +02:00
5a9e589ff5
[#26] Fix: Modify channel module not working for editor-bots (#27) 2022-04-23 17:24:49 +02:00
2ae4857a6a
[ban] Fix: Add missing API docs
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-03-31 00:24:26 +02:00
6ce8375fa5
[filesay] Lint: Remove dead code
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-03-04 23:50:38 +01:00
56f980c48f
[filesay] Add FileSay actor
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-03-04 23:35:37 +01:00
1d317ab27b
[timeout] [#15] Allow timeout reason to be set
fixes #15

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-02-08 20:41:24 +01:00
f36ae7e05f
[ban] Add HTTP API route for banning users
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-12-10 02:28:44 +01:00