Commit graph

677 commits

Author SHA1 Message Date
8ec3e66f42
Hook botauth against events
in order to update frontend info when backend changes

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-08-27 00:23:55 +02:00
562e90a6cf
Simplify fetch-code
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-08-27 00:23:55 +02:00
c74e122c38
Add botauth component
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-08-27 00:23:55 +02:00
1ea10da921
Fix: Only replace when access_token is present
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-08-27 00:23:55 +02:00
7a66a89f50
Add stub for eventlog
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-08-27 00:23:55 +02:00
3ed9d41fe8
Fix: When frontend cannot renew token, log out the user
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-08-27 00:23:55 +02:00
ed6cff0535
Improve login/logout flow
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-08-27 00:23:55 +02:00
cc596b6367
Add bot connection indicator
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-08-27 00:23:55 +02:00
63e8589a15
Allow to issue generic tokens with variable expiry
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-08-27 00:23:55 +02:00
5818aafbc4
Split up core configuration
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-08-27 00:23:54 +02:00
2df250aad9
Implement dashboard content
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-08-27 00:23:54 +02:00
9004ced776
Improve interactions
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-08-27 00:23:54 +02:00
55ab9ddf5d
Add TS config and I18n
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-08-27 00:23:54 +02:00
da0e0742f7
Simplify toast code
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-08-27 00:23:54 +02:00
07aef1b1a8
Work around JS issues, improve toasts
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-08-27 00:23:54 +02:00
b52ea015cc
Add toasts to communicate with user
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-08-27 00:23:54 +02:00
9e6be3f790
Improve login flow
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-08-27 00:23:54 +02:00
bdc5983616
Fix: Check editor auth before creating the initial token
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-08-27 00:23:54 +02:00
8d844a5fee
Add login and auth handling
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-08-27 00:23:54 +02:00
d3934eac7a
Add renew-route, shorten token lifetime
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-08-27 00:23:54 +02:00
d6954c8abe
gootstrap new layout
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-08-27 00:23:54 +02:00
13fd9e604c
Remove old interface
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-08-27 00:23:54 +02:00
82dc4dd361
Disable authentication with Twitch token
aside of the `/login` endpoint for the editor

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-08-27 00:23:54 +02:00
9a93463bea
Add new editor token generator
in order not to throw around Twitch tokens and have tokens expire

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-08-27 00:23:54 +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
b1ceb29bfb
prepare release v3.33.1 2024-08-14 16:23:51 +02:00
26a57c379d
[editor] Update dependencies
fixes CVE-2024-39338

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-08-14 16:13:47 +02:00
13bc753b7d
[core] Fix: Do not execute action after permission check
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-08-14 15:56:06 +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
4964ed25cf
prepare release v3.33.0 2024-07-27 23:39:48 +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
f1d4c1a283
prepare release v3.32.0 2024-06-09 13:52:51 +02:00
0355713f7c
CI: Disable SSL on mysql test container
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-06-09 13:25:06 +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
2a64caec09
[core] Fix: Include username and channel in ban errors
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-05-31 12:26:24 +02:00
8e8895d32e
[templating] Add streamIsLive function
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-05-26 15:50:10 +02:00
0a37873241
[core] Fix: Accept proper token declaration in Authorization header
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-05-24 13:59:29 +02:00
19a30d342a
prepare release v3.31.0 2024-05-13 18:33:34 +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
a01ce9aa5f
prepare release v3.30.0 2024-04-26 19:49:45 +02:00
eb37a75da8
Update dependencies
remove addition of Sprig functions as korvike functions now are based on
the Sprig functions

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-04-26 19:34:35 +02:00
3cefd39960
CI: Update linter config
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-04-26 17:48:17 +02:00
ebf734be40
[templating] Add userExists function
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-04-18 00:26:14 +02:00
f56a7a3266
[eventsub] Suspicious user topics were moved from beta to v1
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-04-13 17:29:14 +02:00
932879c8df
prepare release v3.29.2 2024-04-13 14:19:20 +02:00
97dbc74ebc
CI: Fix missing permissions in workflow
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-04-13 14:13:36 +02:00