Commit Graph

481 Commits

Author SHA1 Message Date
Mark Veidemanis 330cc6c401
Fix showing the debug toolbar 2023-02-10 07:20:12 +00:00
Mark Veidemanis 2050e6cb47
Add more comments about source parsing 2023-02-10 07:20:36 +00:00
Mark Veidemanis 7d0ebf87bd
Fix source parsing and set default to all 2023-02-10 07:20:22 +00:00
Mark Veidemanis c5856ce20b
Use HX-Replace-Url properly and don't include column shifter twice on load 2023-02-10 07:20:22 +00:00
Mark Veidemanis 0518c9fe1c
Remove comma after last entry in column shifter 2023-02-10 07:20:11 +00:00
Mark Veidemanis 29e57628e4
HX-Replace URLs instead of pushing 2023-02-09 23:38:12 +00:00
Mark Veidemanis cb9500a36d
Rename match and aggs fields 2023-02-09 23:34:29 +00:00
Mark Veidemanis e993f0f20e
Fix index handling for rule search context 2023-02-09 23:32:06 +00:00
Mark Veidemanis 56b268bd77
Fix sending aggs and matched fields 2023-02-09 23:18:16 +00:00
Mark Veidemanis 4042d60c57
Fix matched formatting 2023-02-09 22:59:00 +00:00
Mark Veidemanis 090fae013d
Remove debug statements 2023-02-09 22:55:18 +00:00
Mark Veidemanis 2356c6bcd7
Fix formatting matched arguments 2023-02-09 22:54:38 +00:00
Mark Veidemanis f4273e4453
Properly handle matched and meta fields, always return sentiment aggregations 2023-02-09 21:41:00 +00:00
Mark Veidemanis c67d89c978
Implement deleting database matches 2023-02-09 21:17:50 +00:00
Mark Veidemanis 9a8bb9027f
Make notifications available to all users and clear database matches on reset 2023-02-09 20:50:05 +00:00
Mark Veidemanis 9519c1ac9f
Fix policies not triggering properly 2023-02-09 20:28:34 +00:00
Mark Veidemanis 7b6da7b704
Add batch_id to tables 2023-02-09 19:11:46 +00:00
Mark Veidemanis 0d564788b6
Implement policy parsing and add batch_id to rules 2023-02-09 19:11:38 +00:00
Mark Veidemanis fd10a4ba8e
Make things lowercase, improve search queries for rules 2023-02-09 19:10:15 +00:00
Mark Veidemanis 455da73b95
Improve results rendering 2023-02-09 19:09:32 +00:00
Mark Veidemanis d8005fa15d
Strip leading and trailing brackets from prettified JSON 2023-02-09 19:08:27 +00:00
Mark Veidemanis 6a01aea5e1
Add prettyjson 2023-02-09 19:07:49 +00:00
Mark Veidemanis a1a5535079
Bump versions in pre-commit config 2023-02-09 07:20:35 +00:00
Mark Veidemanis 3f666e8251
Update pre-commit versions 2023-02-09 07:20:35 +00:00
Mark Veidemanis 66232c8260
Ingest no matches 2023-02-09 07:20:07 +00:00
Mark Veidemanis 2c12854a55
Set URL label properly 2023-02-09 07:20:07 +00:00
Mark Veidemanis af5c212450
Ingest when there are no matches, add extra validation for send empty 2023-02-09 07:20:07 +00:00
Mark Veidemanis 2a034a16e7
Allow disabling notifications 2023-02-09 07:20:07 +00:00
Mark Veidemanis c356f58d8a
Add the time taken even where there are no hits 2023-02-09 07:20:28 +00:00
Mark Veidemanis 6a890723d9
Add index rule directive to example settings 2023-02-09 07:20:28 +00:00
Mark Veidemanis f0455984ef
Create sync versions of pathway to ingest messages to work around sync-only Django management commands 2023-02-09 07:20:45 +00:00
Mark Veidemanis 1b1dbbc76c
Add mode to stored rules output 2023-02-08 18:26:40 +00:00
Mark Veidemanis 7e78c2857e
Hide index field for rule searches 2023-02-08 17:46:43 +00:00
Mark Veidemanis 1eea401657
Reformat headers for extra rule fields 2023-02-08 16:35:23 +00:00
Mark Veidemanis 81c8e34211
Make notification rules queryable 2023-02-02 20:41:19 +00:00
Mark Veidemanis df1e82c5f2
Ingest notification matches to ES 2023-02-02 20:04:55 +00:00
Mark Veidemanis 79b4512546
Make notification rule ID field UUID and fix default sources 2023-02-02 19:35:27 +00:00
Mark Veidemanis 97e932cbae
Add more fine-grained permissions to rules 2023-02-02 19:08:10 +00:00
Mark Veidemanis 0cbd2d8a6f
Check hash of message when determining if it is a new match 2023-02-02 18:58:40 +00:00
Mark Veidemanis 66596cda42
Add total hits to output 2023-02-01 07:20:24 +00:00
Mark Veidemanis 53cb9a7f76
When annotating results, don't send empty queries to Threshold 2023-02-01 07:20:31 +00:00
Mark Veidemanis eb7ff88c15
Fix context view for certain mtypes 2023-02-01 07:20:31 +00:00
Mark Veidemanis 2153054cac
Fix call to get_users 2023-02-01 07:20:15 +00:00
Mark Veidemanis 7b05e48d71
Make meta optional 2023-01-16 07:20:37 +00:00
Mark Veidemanis 4aa8e67e11
Make metadata return from search more flexible 2023-01-16 07:20:37 +00:00
Mark Veidemanis 2eb090f088
Use generic meta variable for returning more data about the search 2023-01-16 16:44:55 +00:00
Mark Veidemanis bea84ee2b6
Set maximum amount 2023-01-16 07:20:37 +00:00
Mark Veidemanis 3d6c8d618f
Document rule system 2023-01-16 07:20:37 +00:00
Mark Veidemanis ef9734a34d
Initialise ES client only on first search 2023-01-16 07:20:37 +00:00
Mark Veidemanis c08ecc036f
Check if date range is equal to 2023-01-16 07:20:37 +00:00