Commit graph

53 commits

Author SHA1 Message Date
b612b43e7f
Improve user-interactions
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-10-18 10:22:19 +02:00
8a889973b9
Hook botauth against events
in order to update frontend info when backend changes

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-10-18 10:22:19 +02:00
6df45ce9fa
Simplify fetch-code
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-10-18 10:22:19 +02:00
6ff0e0008a
Add botauth component
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-10-18 10:22:19 +02:00
fe8a384316
Fix: Only replace when access_token is present
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-10-18 10:22:19 +02:00
7cbbbc3f19
Add stub for eventlog
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-10-18 10:22:19 +02:00
c803c6c2ca
Fix: When frontend cannot renew token, log out the user
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-10-18 10:22:19 +02:00
dd550922fd
Improve login/logout flow
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-10-18 10:22:19 +02:00
f11890a97b
Add bot connection indicator
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-10-18 10:22:19 +02:00
0cb761ae10
Split up core configuration
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-10-18 10:22:19 +02:00
0e66eaabb3
Implement dashboard content
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-10-18 10:22:19 +02:00
c1245c541e
Improve interactions
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-10-18 10:22:19 +02:00
8cacdc0c9c
Add TS config and I18n
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-10-18 10:22:18 +02:00
126f815a44
Simplify toast code
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-10-18 10:22:18 +02:00
75547291fe
Work around JS issues, improve toasts
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-10-18 10:22:18 +02:00
7f833fc60e
Add toasts to communicate with user
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-10-18 10:22:18 +02:00
f140bd7d92
Improve login flow
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-10-18 10:22:18 +02:00
3add94fc08
Add login and auth handling
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-10-18 10:22:18 +02:00
86d70edfae
gootstrap new layout
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-10-18 10:22:18 +02:00
7315ef3ae2
Remove old interface
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-10-18 10:22:18 +02:00
2772286b71
[editor] Improve wording and visibility for bot connection
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-12-17 13:29:53 +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
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
a58b72c268
[#16] Implement Raffle module (#47) 2023-07-14 16:15:58 +02:00
791dfe63b1
[editor] Remove character limit for AutoMessage template
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-05-11 15:49:29 +02:00
e80ed0dbf3
[editor] Fix badge key-repetition for duplicated actions
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-04-08 00:47:38 +02:00
4f12b5c206
[editor] Add validation for template fields
closes #38

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-04-02 15:04:51 +02:00
1f62c131d6
[editor] Fix number-of-lines mode causing type-error
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-03-06 14:27:54 +01:00
e672737172
[editor] Ensure updating bot token does not drop scopes
by adding granted extended scopes to the bot-token auth and adding
default scopes to extended scopes for the bot

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-02-06 19:55:46 +01:00
bd9bddc9b1
[editor] Fix non-optional booleans causing rules to be non-saveable
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-02-04 14:22:35 +01:00
b29688292d
[editor] Fix: When match_message is cleared, remove it completely
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-01-31 19:12:38 +01:00
5b608b46e9
[editor] Add notification in case bot is missing default-scopes
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-01-20 12:36:43 +01:00
a06d8fa1cd
Add fine-grained permission control for extended channel permissions (#35) 2022-12-04 17:14:15 +01:00
61cc2d64b3
[core] Add rule-subscription feature
- Add remote url to rules
- Add cron to update remote URLs hourly
- Add frontend display for shared rules
- Add frontend feature to subscribe rules

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-10-07 19:23:51 +02:00
beb491f015
[editor] Add explanatory hint for exceptions
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-06-20 19:02:00 +02:00
ee6670212b
[editor] Fix: Token badges had no spacing
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-06-18 23:18:46 +02:00
40b2e9b21c
[#18] Add editor for disable_on_match_messages
resolves #18

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-06-17 18:32:32 +02:00
417759eb4e
[editor] [#28] Fix: Allow saving with empty optional duration
resolves #28

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-05-05 22:55:02 +02:00
967e301390
[editor] Fix: Allow empty description in sorting / filter
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-04-25 22:47:55 +02:00
86144f8783
[editor] [#25] Allow searching in / sort rules
resolves #25

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-04-23 17:56:13 +02:00
41a7e6bf17
[editor] Fix: Remove asymmetric margin from buttons
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-04-23 17:55:41 +02:00
05064b08b3
[editor] [#23] Add confirmation for delete buttons
resolves #23

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-04-23 17:35:11 +02:00
4da9f592e5
[editor] Improve location of permission warning
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-02-10 02:22:02 +01:00
4579fee51a
[editor] [#19] Validate durations when checking for invalid rules
fixes #19

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-02-10 01:27:12 +01:00
4892f05c2a
[editor] [#20] Fix: Strip query parameters from redirect uri
fixes #20

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-02-08 20:25:45 +01:00
71ea4a0c34
[editor] Add bot version to frontend
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-01-20 01:16:20 +01:00
9150ec6311
[editor] Display disconnected status instead of error
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-12-31 19:09:29 +01:00
192dcb7f46
[editor] Prevent adding invalid usernames as channel / editor
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-12-31 17:12:07 +01:00
437ef14fb0
[core] Implement dynamic token update and broadcaster permissions (#13) 2021-12-31 13:42:37 +01:00