Commit Graph

445 Commits

Author SHA1 Message Date
79b4512546 Make notification rule ID field UUID and fix default sources 2023-02-02 19:35:27 +00:00
97e932cbae Add more fine-grained permissions to rules 2023-02-02 19:08:10 +00:00
0cbd2d8a6f Check hash of message when determining if it is a new match 2023-02-02 18:58:40 +00:00
66596cda42 Add total hits to output 2023-02-01 07:20:24 +00:00
53cb9a7f76 When annotating results, don't send empty queries to Threshold 2023-02-01 07:20:31 +00:00
eb7ff88c15 Fix context view for certain mtypes 2023-02-01 07:20:31 +00:00
2153054cac Fix call to get_users 2023-02-01 07:20:15 +00:00
7b05e48d71 Make meta optional 2023-01-16 07:20:37 +00:00
4aa8e67e11 Make metadata return from search more flexible 2023-01-16 07:20:37 +00:00
2eb090f088 Use generic meta variable for returning more data about the search 2023-01-16 16:44:55 +00:00
bea84ee2b6 Set maximum amount 2023-01-16 07:20:37 +00:00
3d6c8d618f Document rule system 2023-01-16 07:20:37 +00:00
ef9734a34d Initialise ES client only on first search 2023-01-16 07:20:37 +00:00
c08ecc036f Check if date range is equal to 2023-01-16 07:20:37 +00:00
1964ab62ec Check the specified window 2023-01-16 01:17:19 +00:00
742a2f92da Prepopulate the match field 2023-01-16 00:29:54 +00:00
ddffc2c3d8 Store index and source as lists 2023-01-16 00:23:23 +00:00
f5e371bf5c Store dict in match field if empty 2023-01-16 00:20:40 +00:00
9de1787de6 Only look for ondemand rules in processing 2023-01-16 00:16:08 +00:00
a2207bbcf4 Support sending messages when a rule no longer matches and fix dual-use notification sender 2023-01-16 00:10:41 +00:00
75603570ff Finish implementing webhook delivery 2023-01-15 23:02:13 +00:00
2dd9efcc6f Fix window/interval validation and make aggs optional in parse_results 2023-01-15 20:27:19 +00:00
eb2486afba Allow using webhooks for notifications 2023-01-15 18:40:17 +00:00
46c7d96310 Allow clearing matches 2023-01-15 18:39:57 +00:00
6bfa0aa73b Implement running scheduled rules and check aggregations 2023-01-15 17:59:12 +00:00
435d9b5571 Implement running scheduled tasks 2023-01-14 17:24:54 +00:00
2a1e6b3292 Allow scheduling notification rules 2023-01-14 16:36:22 +00:00
9ee9c7abde Fix insights 2023-01-14 16:36:00 +00:00
dbf581245b Validate interval and window fields in form 2023-01-14 14:45:19 +00:00
fbe5607899 Add interval and window fields to NotificationRule 2023-01-14 14:36:46 +00:00
158fffed99 Show which fields matched 2023-01-13 07:20:31 +00:00
dd4b2ddd3a Log NTFY errors 2023-01-12 19:00:06 +00:00
092d4c64ff Don't show None to the user if no topic is set 2023-01-12 07:20:48 +00:00
9aacc2cc51 Lowercase msg before matching 2023-01-12 07:20:48 +00:00
031995d4b9 Allow partial matching on msg field 2023-01-12 07:20:48 +00:00
4f55ffeaf7 Allow overriding topic 2023-01-12 07:20:48 +00:00
0b840d227b Add priority to notification rules 2023-01-12 07:20:48 +00:00
e01aea7712 Properly check tokens in notification rules 2023-01-12 07:20:48 +00:00
b68d7606f8 Clean up debug statements 2023-01-12 07:20:48 +00:00
37789a1f18 Add local settings to processing 2023-01-12 07:20:48 +00:00
4dd8224a77 Finish implementing notification rules 2023-01-12 07:20:48 +00:00
f93d37d1c0 Implement notification rules and settings 2023-01-12 07:20:43 +00:00
a70bc16d22 Add CRUD and form helpers 2023-01-11 21:04:54 +00:00
a6b385c8bf Change default query string operator to and 2023-01-01 22:33:17 +00:00
e40b943a01 Add tracker 2022-12-09 17:06:27 +00:00
0a132c6e3a Fix deduplication function 2022-12-09 07:20:59 +00:00
bd8b995134 Fix dedup 2022-12-09 07:20:28 +00:00
5fdd5121eb Make buttons lighter 2022-12-08 07:20:46 +00:00
11f6d676f5 Change color of some buttons 2022-12-08 07:20:46 +00:00
78b28b3994 Fix partial swaps on table 2022-12-02 07:20:37 +00:00