Commit Graph

22 Commits

Author SHA1 Message Date
e7e9877c05
[core] Remove deprecated fallback token / token migration
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-04-07 13:37:13 +02: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
c78356f68f
Lint: Update linter config, improve code quality
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-01-01 17:52:39 +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
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
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
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
2bec4f82ed
Mark twitch-token flag / envvar deprecated
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-09-09 11:49:26 +02:00
29df9e59b5
[core] Remove v2 migration
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-08-26 00:20:10 +02:00
c311370d1c
[core] Add cleanup for expired timers
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-06-24 14:50:45 +02:00
e8d39c19a4
[core] Fix: Allow start when no tokens are available
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-03-24 20:53:02 +01:00
3213f4ac37
[core] Add validation and reset of encrypted values
in order to detect change of encryption pass

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-03-24 20:41:02 +01:00
4c7697261b
[core] Ensure channel has correct format in access service
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-03-17 17:08:57 +01:00
7420cf5007
[core] Fix: List all configured channel permissions
in order to fix bot permission check when bot has not joined own channel

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-02-08 19:10:26 +01:00
75991fdb87
[core] Rewrite bot token storage logic
- Do not store bot-token as core-kv entry
- Hold the bot username in core-kv
- Take bot client from extended channel permissions
- Store (updated) bot tokens into extended permissions

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-02-06 19:55:46 +01:00
a06d8fa1cd
Add fine-grained permission control for extended channel permissions (#35) 2022-12-04 17:14:15 +01:00
0a937a65d0
prepare release v3.0.0
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-11-02 22:54:52 +01: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
5922c29e93
[core] Fix: Read refresh token from database
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-09-10 20:36:55 +02:00
a7533cbd8b
[core] Move storage to SQLite database (#30)
fixes #29
2022-09-10 13:39:07 +02:00