Commit graph

343 commits

Author SHA1 Message Date
58b2f17885
[core] Fix: Accept 1s cooldown, fix user and channel cooldowns
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-03-12 01:28:20 +01: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
1ea971d9a3
[editor] Update nodejs build version and deps
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-02-26 17:26:02 +01:00
3c36bbf546
[core] Lint: Fix linter complaining about complex function
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-02-26 17:19:13 +01:00
7dfbb8caac
[ci] Remove hardening
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-02-26 17:08:50 +01:00
438bedc99c
[ci] Add hardening to go binary build
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-02-26 14:59:02 +01:00
ee92cbbb03
[core] Add origin_id to subgift / submysterygift events
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-02-26 14:48:00 +01:00
c950b2c38b
[counter] Remove stored counter value on zero value
Rationale: The counter store is of `map[string]int64` and therefor for
an non-existent counter always `0`. As that is the default behaviour we
don't need to waste storage space by storing counters being `0`.

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-02-20 15:15:16 +01:00
d51dd27630
[overlays] Add a simple overlay to display a template
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-02-20 14:05:31 +01:00
5f5f96a35e
[overlays] Add helper function to render template strings
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-02-20 13:52:40 +01:00
ddc52d8920
[overlays] Add parameter to limit replay message age
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-02-20 13:36:36 +01:00
135404862a
Allow reading floats as ints loosing precision
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-02-20 13:36:14 +01:00
f883bdd1c1
[core] Fix: Handle unauthorized error for app-access-tokens
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-02-17 00:54:16 +01:00
08185ced3e
[core] Add delete event for deleted chat messages
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-02-11 20:10:19 +01:00
4da9f592e5
[editor] Improve location of permission warning
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-02-10 02:22:02 +01:00
ce876ba8a0
[editor] Update node dependencies
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-02-10 02:14:40 +01:00
eebf35cc5c
[wiki] Update actor documentation
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-02-10 02:02:25 +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
8b8c7601f1
[msgformat] Add more mathematical functions
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-02-10 01:12:57 +01:00
0d9536ee3f
[editor] Fix: Upgrade contains a header send, error must not send headers
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-02-10 00:30:40 +01:00
8cfd22c916
[core] Fix: Raid viewercount should be numeric, not string
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-02-10 00:22:18 +01:00
6f16666940
[editor] Fix node package vulnerability
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-02-08 20:48:50 +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
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
8a8347401e
[overlays] Add overlays server capability (#14) 2022-02-08 19:58:19 +01:00
a4b6036da0
[core] Fix: EventSub messages had misformatted channel
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-02-05 23:50:30 +01:00
084c849fbb
Lint: Fix daedcode / error message
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-01-31 02:14:36 +01:00
287a38aa02
[counter] Add template support for counter step
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-01-31 01:50:08 +01:00
f001b79635
[ci] Ensure build dependencies are available for prod builds
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-01-20 02:20:22 +01:00
fe76b23b09
[msgformat] Add module to retrieve filled template through API
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-01-20 02:03:52 +01:00
900e478e00
[ci] Set application to production mode on publish
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-01-20 01:22:35 +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
a501dcd81d
prepare release v2.2.0 2022-01-16 15:42:16 +01:00
6910b529cc
[editor] Fix follow-redirects vulnerability (CVE-2022-0155)
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-01-16 15:30:20 +01:00
5f15a93f50
[core] Fix: ChannelEditor must be present on token
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-01-09 17:40:48 +01:00
1d8c3e7f77
[core] Add deprecated but still used V5 ChannelEditor scope
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-01-09 17:35:32 +01:00
7653f557ca
[docs] Update README
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-01-05 18:17:07 +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
0afafa535d
[core] Fix: Ignore EventSub subscriptions of other bot instances
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-12-31 14:25:46 +01:00
437ef14fb0
[core] Implement dynamic token update and broadcaster permissions (#13) 2021-12-31 13:42:37 +01:00
77334aca94
[ci] Make installed go binaries available during build
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-12-25 01:12:34 +01:00
78beeaa14b
[core] Add handling for channel point rewards
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-12-25 00:53:54 +01:00
a9637d03a8
[core] Fix: Event data was not available in rule templates
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-12-25 00:47:02 +01:00
f7d1f09b5c
[core] Fix: Do not retry any request with body
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-12-24 22:14:24 +01:00
dbb9aae82a
[core] Do not retry POST requests automatically
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-12-24 22:04:48 +01:00
2ba462fedc
[core] Add EventSub subscription prefetching
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-12-24 21:40:55 +01:00
f70382876a
[core] Add "follow" event using EventSub
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-12-24 20:26:14 +01:00
246bb2811d
[core] Improve EventSub API request design
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-12-24 19:59:20 +01:00