Commit graph

248 commits

Author SHA1 Message Date
ece2964c9a
Add traces for automessage disable
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-05-25 18:40:06 +02:00
14dbc832d7
Allow to disable automessages with templates
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-05-25 17:05:27 +02:00
b6d59045d0
Add global variables to be used in templates
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-05-25 16:26:03 +02:00
714834e184
Fix: Permit check was broken and required permit for all
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-05-25 12:08:41 +02:00
9c020099e1
Add Disable and DisableOnTemplate attributes
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-05-25 01:23:23 +02:00
dac0553bdf
Fix: Tests fail when config is nil as of field usage
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-05-25 01:22:07 +02:00
60fe2621c4
Drop HCL support (causes too much effort for too little benefit)
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-05-25 01:01:46 +02:00
215aed7b9e
prepare release v0.8.0 2021-05-24 22:51:50 +02:00
ca55834315
Fix: Display fallback when no category is set
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-05-24 21:53:17 +02:00
7bb9e2869d
Fix: Use fallback on empty display name
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-05-24 21:47:10 +02:00
487bce25d7
Add displayName template function
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-05-24 21:42:55 +02:00
5339e866e5
Fix: Do not spam events when file is gone for longer
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-05-24 18:00:50 +02:00
50f1e01e3b
Replace non-reliable fsevents library with simple check
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-05-24 17:55:12 +02:00
aa649da902
Add HCL config format support
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-05-24 17:36:16 +02:00
bdb7d6f44d
prepare release v0.7.0 2021-05-13 00:29:52 +02:00
11cce25914
Lint: Disable requirement for crypto/rand for time randomizer
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-05-12 20:53:45 +02:00
ba63d5f8bd
Add delay-action
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-05-12 18:26:17 +02:00
596f4fad3b
prepare release v0.6.0 2021-05-12 17:56:18 +02:00
df31769142
Add sub events, document available event types
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-05-12 17:47:03 +02:00
5941b50202
prepare release v0.5.0 2021-05-11 01:12:09 +02:00
aa735fc01f
Unlock auto-messages to prevent dead-locks
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-05-11 01:01:12 +02:00
ef0767e396
Log all config loads
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-05-11 00:45:27 +02:00
d1e63f0c2b
Log amount of loaded rules on reload
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-05-11 00:24:36 +02:00
6a03840592
Fix: Do not extract fields from nil message
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-05-06 15:27:24 +02:00
5d44822a27
Support templating in automessages
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-05-06 15:19:24 +02:00
64daf6ef80
prepare release v0.4.1 2021-05-06 15:15:18 +02:00
912ba27139
Include tzdata into Docker image to allow TZ env setting
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-05-06 15:14:58 +02:00
950c6e5ed5
Update README for new flags
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-04-22 00:39:18 +02:00
de46cdbf67
prepare release v0.4.0 2021-04-22 00:35:31 +02:00
6116f1bfcd
Introduce general send limit to prevent global-timeouts
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-04-21 23:44:13 +02:00
210d316786
prepare release v0.3.0 2021-04-21 23:16:15 +02:00
024980ee14
Extract template functions into registry
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-04-21 22:43:33 +02:00
29fd5f25f5
Lint: Reduce complexity of loadConfig function
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-04-21 20:03:25 +02:00
e2cad4e839
Add funding config
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-04-21 19:54:03 +02:00
5a2620b316
Add raw-log functionality
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-04-09 18:14:44 +02:00
afa340af94
Add a delay while joining channels
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-04-09 16:45:20 +02:00
b53a00e504
prepare release v0.2.0 2021-04-04 22:25:58 +02:00
5836f20e70
Lint: Fix at end of string
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-04-04 22:12:20 +02:00
e402a375f9
Add instructions for token generation
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-04-04 22:06:12 +02:00
ca233723cb
Allow to customize token
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-04-04 20:26:32 +02:00
d2b24fdc55
Add GH page to generate token
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-04-04 19:37:14 +02:00
c0090ddf6b
prepare release v0.1.0 2021-04-03 14:12:45 +02:00
0ae34112b6
Add code linting / binary publishing (#3) 2021-04-03 14:11:47 +02:00
8b575f7771
Fix: Concurrent access to map panic
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-04-01 12:28:51 +02:00
b7538d9b93
Fix: Log channel in debug / trace messages
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-03-31 23:16:23 +02:00
ddef07120f
Fix all timers spamming on stream-start
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-03-27 20:08:21 +01:00
ad8244814a
Add caching for Twitch API requests not to spam the API
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-03-27 18:55:38 +01:00
2b2efaad10
Fix: Add missing file
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-03-27 18:25:23 +01:00
50c7d7e5ae
Add documentation for auto_messages
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-03-27 18:06:44 +01:00
b2b1401ded
Move rule to own source file
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-03-27 18:00:56 +01:00