Commit graph

19 commits

Author SHA1 Message Date
c78356f68f
Lint: Update linter config, improve code quality
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-01-01 17:52:39 +01:00
bcc5b4eba7
[core] Update go-irc to v4.0.0
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-09-11 19:51:38 +02:00
f5f8feb730
[core] Deps: Update dependencies
also switch to yaml.v3 to improve config rendering

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-06-30 17:42:13 +02:00
3dc60b62b8
[core] Fix: Message matcher matched also event content
which lead to weird behavior and generic message matchers responding to
CLEARMSG or JOIN events

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-04-08 02:18:09 +02:00
286c4d34a3
Lint: Fix linter errors
made visible after update of golangci-lint

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-03-24 22:32:00 +01:00
7b20e4d3fe
[stopexec] Add stopexec actor
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-02-05 16:08:55 +01:00
114c9e9039
[core] Add content-type detection for remote rule subscriptions
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-12-18 13:56:57 +01:00
0a937a65d0
prepare release v3.0.0
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-11-02 22:54:52 +01:00
2c71f57d02
[core] Add config validation command
- Fix missing field validation for required fields
- Add validation of template fields
- Report all issues in configuration

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-10-31 17:47:06 +01:00
2936284318
[core] Fix: Allow 5s for rule updates
as 2s seems to be a little short for Github raw storage

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-10-31 15:51:28 +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
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
a7533cbd8b
[core] Move storage to SQLite database (#30)
fixes #29
2022-09-10 13:39:07 +02: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
8247978151
[lint] Properly format inputs
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-11-25 23:48:16 +01:00
8ba6d2ef08
[core] BREAKING: Allow actors to set fields those after them (#11)
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-11-15 21:14:40 +01:00
b59676492e
Breaking: Add configuration interface and switch to more generic config format (#7) 2021-09-22 15:36:45 +02:00
06ec111163
Fix: Nil pointer segfaults due to direct access to message object
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-09-02 23:26:39 +02:00
b47ffbfff7
Add plugin support to allow extending of functionality (#6) 2021-08-19 15:33:56 +02:00
Renamed from rule.go (Browse further)