Commit graph

357 commits

Author SHA1 Message Date
f674735689
[core] Provide message in announcement, bits and resub events
for overlays to react on them

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-04-15 20:20:09 +02:00
c51a0751f0
[overlays] Move replay into own HTTP request
as replaying through the socket takes ages for longer time ranges

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-04-03 15:58:39 +02:00
91846e300f
[core] Add support for "annoumcement" event type
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-04-01 02:02:14 +02:00
4c5fcc9e91
[customevent] Enforce channel to be set in event
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-03-31 13:26:13 +02:00
47a4390a83
[core] Make custom event known
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-03-31 13:20:02 +02:00
2b0b5e3dc0
[customevent] Fix: Make the response code match the docs
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-03-31 00:31:25 +02:00
4ba3e595f2
[status] Fix: Add missing API docs
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-03-31 00:29:27 +02:00
56082ad577
[msgformat] Fix: Add missing API docs
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-03-31 00:27:52 +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
a73f27abd0
[customevent] Add API module to create custom events
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-03-31 00:23:19 +02:00
cbf50ff928
[core] Fix: Allow PATCH method in CORS
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-03-29 00:56:10 +02:00
dbcd28a8b0
[core] Add support for OPTIONS requests
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-03-29 00:50:42 +02:00
464212c757
[core] Re-check token validity more often than on expiry
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-03-20 14:32:11 +01:00
2c9a0adfa0
[core] Delete refresh token only for HTTP errors, not on connection issues
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-03-18 22:09:56 +01:00
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