Commit Graph

441 Commits

Author SHA1 Message Date
Mark Veidemanis ac3a57a2e8
Begin implementing smarter WM system for multi-type objects 2022-11-29 07:20:39 +00:00
Mark Veidemanis 23b35da282
Add perms for all the indexes 2022-11-22 07:20:37 +00:00
Mark Veidemanis ffc1aaa030
Mutate the response when reversing 2022-11-23 18:52:48 +00:00
Mark Veidemanis 1bdd332e6e
Fix annotating results and remove debugging code 2022-11-23 18:39:36 +00:00
Mark Veidemanis c49c8898eb
Fix online info 2022-11-23 18:33:09 +00:00
Mark Veidemanis 0fd004ca7d
Finish reimplementing Elasticsearch 2022-11-23 18:15:42 +00:00
Mark Veidemanis 39ae1203be
Begin refactoring Elastic backend to use helper functions 2022-11-21 19:43:23 +00:00
Mark Veidemanis 61f93390d9
Replace OpenSearch with Elasticsearch 2022-11-21 07:20:29 +00:00
Mark Veidemanis 7702e04286
Rename elastic and update settings file 2022-11-21 19:20:02 +00:00
Mark Veidemanis 2933360560
Remove duplicate mtype column 2022-10-21 07:20:30 +01:00
Mark Veidemanis 987ba6ed3c
Change druid URL 2022-10-04 21:47:37 +01:00
Mark Veidemanis 2a4db7476f
Fix the graph rendering 2022-09-30 07:22:22 +01:00
Mark Veidemanis 835be7e001
Allow duplicate tag keys 2022-09-30 07:22:22 +01:00
Mark Veidemanis 8010ebf2c1
Render the words as tags 2022-09-30 07:22:22 +01:00
Mark Veidemanis 5530fd762c
Fix context menu 2022-09-30 07:22:22 +01:00
Mark Veidemanis d8981378bd
Switch ujson to orjson 2022-09-30 07:22:22 +01:00
Mark Veidemanis 45b8483366
Remove unnecessary import in Threshold handler 2022-09-30 07:22:22 +01:00
Mark Veidemanis 4efeb27958
Add restricted source listing and remove card 2022-09-30 07:22:22 +01:00
Mark Veidemanis bb00475029
Implement Druid DB fetching 2022-09-30 07:22:22 +01:00
Mark Veidemanis 202a13cccb
Begin implementing DB framework 2022-09-27 15:15:08 +01:00
Mark Veidemanis 0c60413e5b
Don't print DB responses 2022-09-12 08:43:29 +01:00
Mark Veidemanis f160f4cb27
Reformat Drilldown 2022-09-12 08:27:30 +01:00
Mark Veidemanis 4b99d7272c
Adjust context size and pass it directly 2022-09-12 08:23:03 +01:00
Mark Veidemanis 8add25ac27
Fix drilldown modal 2022-09-08 07:20:30 +01:00
Mark Veidemanis 816ed2665b
Reformat 2022-09-07 07:20:30 +01:00
Mark Veidemanis 4bc97dcc4d
Add default parameters to search homepage 2022-09-07 07:20:30 +01:00
Mark Veidemanis f1cb539ca6
Switch to requests due to bug in Manticore client 2022-09-07 07:20:30 +01:00
Mark Veidemanis f35eb51aaf
Update internal index name 2022-09-05 07:20:30 +01:00
Mark Veidemanis 0882d3f0da
Maximise results on load 2022-09-07 11:30:45 +01:00
Mark Veidemanis 0095b787b1
Use correct sizes variable 2022-09-05 07:20:30 +01:00
Mark Veidemanis c2d78dc482
Switch to ujson and remove debugging statements 2022-09-05 07:20:30 +01:00
Mark Veidemanis 753c168940
Make cache configurable 2022-09-05 07:20:30 +01:00
Mark Veidemanis 958eb2b549
Reformat and add blacklisted directories to DjHTML 2022-09-05 07:20:30 +01:00
Mark Veidemanis 5be02807e3
Add cache indicator, time the fetch from Redis and round it 2022-09-05 07:20:30 +01:00
Mark Veidemanis 02e1b4698d
Don't add sources to query if we are allowed to see them all 2022-09-05 07:20:30 +01:00
Mark Veidemanis 667e4c475f
Add defaults to context and pass them before they are removed 2022-09-05 07:20:30 +01:00
Mark Veidemanis 11dbe3e094
Reformat and don't pass back default parameters to URL 2022-09-05 07:20:30 +01:00
Mark Veidemanis ad4d24b3a0
Add debug toolbar 2022-09-05 07:20:30 +01:00
Mark Veidemanis 8ae15ce9a4
Only trigger one search for populateSearch 2022-09-05 07:20:30 +01:00
Mark Veidemanis fe84a7b604
Don't render twice on HTMX requests 2022-09-05 07:20:30 +01:00
Mark Veidemanis 9774da0d00
Remove some debugging code 2022-09-06 12:18:58 +01:00
Mark Veidemanis 87324de666
Fix some Manticore queries 2022-09-06 11:53:32 +01:00
Mark Veidemanis 3b8735be72
Fix source queries 2022-09-06 09:41:07 +01:00
Mark Veidemanis 017a05880b
Add manticore client 2022-09-05 22:57:20 +01:00
Mark Veidemanis aeaf7bba5d
Move the compact button to the right 2022-09-02 07:20:30 +01:00
Mark Veidemanis aefd639e58
Add grid compact button 2022-09-02 07:20:30 +01:00
Mark Veidemanis a9453b6459
Don't display num if it's None in the context title 2022-09-02 07:20:30 +01:00
Mark Veidemanis f26daa2cb4
Keep position for widgets that are reloaded 2022-09-02 07:20:30 +01:00
Mark Veidemanis 79a8e5f6e4
Add the unique variable sooner to the Drilldown context 2022-09-02 07:20:30 +01:00
Mark Veidemanis 0ccde2af1b
Make all WM elements inherit from common templates 2022-09-01 19:59:27 +01:00
Mark Veidemanis 553d4fd33f
Fix setting up widgets containing HTMX code and unify the flow for results and widgets 2022-08-26 07:20:30 +01:00
Mark Veidemanis 2189381fa6
Make widgets play nice with HTMX 2022-08-26 07:20:30 +01:00
Mark Veidemanis c597af5523
Fix restricted source handling 2022-08-26 07:20:30 +01:00
Mark Veidemanis f14110dcd9
Add a perms migration 2022-08-26 07:20:30 +01:00
Mark Veidemanis c499f18b1b
Simplify adding results widget 2022-08-26 07:20:30 +01:00
Mark Veidemanis 996463b869
Fix scripts not running in widgets 2022-08-26 07:20:30 +01:00
Mark Veidemanis 95f00eface
Don't compact grid on first load with query 2022-08-26 07:20:30 +01:00
Mark Veidemanis f46b6cd2f6
Fix widget rendering after swap 2022-08-26 07:20:30 +01:00
Mark Veidemanis d3de054d5a
Fix src/source issue in management 2022-08-26 07:20:30 +01:00
Mark Veidemanis bdee5a2aae
Remove redaction stuff 2022-08-26 07:20:30 +01:00
Mark Veidemanis cc20c545dd
Remove max size from msg field 2022-08-30 15:41:55 +01:00
Mark Veidemanis 0fc5943c8e
Add more fields to table 2022-08-30 12:55:33 +01:00
Mark Veidemanis 0d58a3b082
Fix src/source issue 2022-08-30 11:50:52 +01:00
Mark Veidemanis acbc8b7697
Add 4chan icon 2022-08-30 11:23:40 +01:00
Mark Veidemanis 54c02e5bdf
Actually fix redacted icon 2022-08-30 10:57:44 +01:00
Mark Veidemanis 86a4aee7a6
Fix redacted icon 2022-08-30 10:57:06 +01:00
Mark Veidemanis bcf3ad708a
Don't filter 4chan for blacklist 2022-08-30 10:52:43 +01:00
Mark Veidemanis a026fbf900
Properly label 4chan dropdown entry 2022-08-30 10:49:14 +01:00
Mark Veidemanis 18060ddc75
Default to 4chan 2022-08-30 10:48:21 +01:00
Mark Veidemanis 60f7482d66
Add field to table 2022-08-30 10:37:41 +01:00
Mark Veidemanis 147a68f6cf
Fix source variable name in modal opening 2022-08-30 10:35:37 +01:00
Mark Veidemanis ba3124bd69
Bypass obfuscation for safe sources 2022-08-30 10:30:17 +01:00
Mark Veidemanis 38b712ac9a
Fix hashing with 4chan 2022-08-30 10:00:26 +01:00
Mark Veidemanis b8a08f9615
Don't hash 4chan 2022-08-30 09:29:04 +01:00
Mark Veidemanis ae2004090c
Fix all tab content being changed at once 2022-08-29 17:23:33 +01:00
Mark Veidemanis b6ca84c7a5
Compact grid after opening drilldown 2022-08-29 12:52:05 +01:00
Mark Veidemanis 8ec956542e
Compact grid after removing elements 2022-08-29 12:49:44 +01:00
Mark Veidemanis 726ccd38d8
Implement widget spawning 2022-08-29 12:24:06 +01:00
Mark Veidemanis 67b916d3dc
Include magnet library in project 2022-08-28 20:28:03 +01:00
Mark Veidemanis f7cda73ddf
Implement floating drilldown modals 2022-08-28 20:26:15 +01:00
Mark Veidemanis 2ce3c11da2
Make panel headers static when scrolling panel content 2022-08-28 18:50:05 +01:00
Mark Veidemanis 4c6e5415cb
Make modals darker 2022-08-28 18:03:02 +01:00
Mark Veidemanis 24a5af32e2
Theme everything nicer with transparency and background the sentiment 2022-08-28 17:39:02 +01:00
Mark Veidemanis 3050b96baa
Reformat and fix panel inclusion 2022-08-28 13:11:30 +01:00
Mark Veidemanis d9234de7ab
Properly indent search partial 2022-08-28 12:02:09 +01:00
Mark Veidemanis dc5bb61f37
Make search bar bigger 2022-08-28 11:57:20 +01:00
Mark Veidemanis 0410add78b
Don't redraw over header when searching 2022-08-28 11:51:27 +01:00
Mark Veidemanis 6e0e3cbdda
Remove old screenshots 2022-08-28 11:49:02 +01:00
Mark Veidemanis 594efd06a6
Make search page layout draggable 2022-08-28 11:48:32 +01:00
Mark Veidemanis 20be8a8ed7
Remove link to about page 2022-08-27 18:43:20 +01:00
Mark Veidemanis 1ec2159257
Clean up leftover empty div 2022-08-27 18:15:21 +01:00
Mark Veidemanis 383278245e
Implement hiding the graph and move elements out of boxes 2022-08-27 18:14:52 +01:00
Mark Veidemanis be20fb7a52
Make sentiment more usable 2022-08-27 17:47:33 +01:00
Mark Veidemanis 65140f70ac
Fix results delay and add nicer icons 2022-08-27 17:31:39 +01:00
Mark Veidemanis ba41a0b26b
Implement integer field randomisation 2022-08-27 13:18:24 +01:00
Mark Veidemanis 9b2d61831b
Combine obfuscated date and time to avoid leak 2022-08-27 13:02:56 +01:00
Mark Veidemanis a2d572baf4
Delay results 2022-08-27 12:53:37 +01:00
Mark Veidemanis 0eda404732
Improve denied output 2022-08-27 12:25:54 +01:00
Mark Veidemanis c4f17dd5fb
Add extra checks on hash lookups 2022-08-27 12:20:36 +01:00
Mark Veidemanis 850d00de19
Implement relay scroll restore 2022-08-26 22:04:30 +01:00
Mark Veidemanis fbd933f6c6
Move relay notification to bottom 2022-08-26 21:46:29 +01:00
Mark Veidemanis de42dcee03
Fix insights search 2022-08-26 21:03:21 +01:00
Mark Veidemanis 822c474867
Remove some debug statements 2022-08-26 20:45:00 +01:00
Mark Veidemanis ae25e1980e
Implement obfuscation 2022-08-26 20:44:39 +01:00
Mark Veidemanis 5c12f651c8
Make results more compact 2022-08-26 20:02:42 +01:00
Mark Veidemanis ab0fb195da
Add tooltips to disabled elements 2022-08-26 18:53:49 +01:00
Mark Veidemanis 83d5f64db6
Replace checkboxes with switches and fix sentiment visibility 2022-08-26 18:05:24 +01:00
Mark Veidemanis e8f1791444
Remove duplicate notifications and fix disabled switch 2022-08-26 17:22:57 +01:00
Mark Veidemanis 3f02c61463
Improve data security by mandating token search 2022-08-26 17:16:55 +01:00
Mark Veidemanis e85fa910aa
Remove API view folder and files 2022-08-26 07:20:30 +01:00
Mark Veidemanis c748745426
Add Insights permission and remove useless APIs 2022-08-26 07:20:30 +01:00
Mark Veidemanis 0e7fb8d261
Improve drilldown handlers and implement index permissions 2022-08-26 07:20:30 +01:00
Mark Veidemanis 6dd0674aae
Fix useless if statement 2022-08-26 07:20:30 +01:00
Mark Veidemanis 36988769df
Add query search permission 2022-08-26 07:20:30 +01:00
Mark Veidemanis 3b176e0a4a
Add sinst to contexts 2022-08-16 23:05:27 +01:00
Mark Veidemanis 85c6521b07
Don't leak information through the query 2022-08-16 22:17:30 +01:00
Mark Veidemanis d9eb99c129
Fix sorting in safe params 2022-08-16 19:53:02 +01:00
Mark Veidemanis e08a7677ef
Implement hashing bypass for groups 2022-08-16 19:43:55 +01:00
Mark Veidemanis c984e70689
Implement hashing fields 2022-08-18 07:20:30 +01:00
Mark Veidemanis 3d8519154b
Begin implementing content permissions 2022-08-16 08:58:35 +01:00
Mark Veidemanis 424f81bc2e
Hide meta field by default 2022-08-16 00:16:00 +01:00
Mark Veidemanis 774ab800a0
Improve modal and implement deduplication 2022-08-16 00:15:36 +01:00
Mark Veidemanis 7c94e27d22
Update tooltip on auth queries 2022-08-15 19:41:30 +01:00
Mark Veidemanis fdcfc715c8
Recognise queries 2022-08-15 19:39:26 +01:00
Mark Veidemanis a43bb5e861
Search the right field for ZNC modals 2022-08-15 19:28:52 +01:00
Mark Veidemanis 95ba141301
Add own messages to ZNC modal 2022-08-15 19:17:54 +01:00
Mark Veidemanis a38cfa4ef8
Fix send message logic and tweak context queries for private messages 2022-08-15 19:16:04 +01:00
Mark Veidemanis 4be21cb488
Fix ZNC queries 2022-08-15 17:59:09 +01:00
Mark Veidemanis c9fe1f0b73
Make delete network button smaller 2022-08-15 17:26:36 +01:00
Mark Veidemanis 9d125de999
Make relays table more compact with two rows per entry 2022-08-18 07:20:30 +01:00
Mark Veidemanis 65fddc5fe9
Handle the net being None or 'None' 2022-08-18 07:20:30 +01:00
Mark Veidemanis e4fad1e7bc
Change authentication endpoint 2022-08-18 07:20:30 +01:00
Mark Veidemanis dbb12bc8ff
Fix passing registration status to modal 2022-08-14 23:59:02 +01:00
Mark Veidemanis bfd9c03c82
Remove trailing comma 2022-08-14 23:01:21 +01:00
Mark Veidemanis 8b7dffa1b4
Fix issues with POST/GET arguments and the modal 2022-08-14 22:58:29 +01:00
Mark Veidemanis e7b7695efd
Use JSON for sending messages 2022-08-14 16:45:48 +01:00
Mark Veidemanis 555bcb4c09
Add registration button 2022-08-14 16:25:38 +01:00
Mark Veidemanis 3671d94e59
Implement re-checking and resetting authentication status 2022-08-14 12:43:13 +01:00
Mark Veidemanis 67afe92195
Theme network page headers and add active network status 2022-08-14 11:01:09 +01:00
Mark Veidemanis 69b4cb8865
Fix authed variable and switch join/part API to use JSON 2022-08-14 09:24:21 +01:00
Mark Veidemanis 81708ef490
Add API channel deletion endpoint 2022-08-14 00:01:00 +01:00
Mark Veidemanis b6d229bbd2
Add more fields to relay output 2022-08-13 23:35:35 +01:00
Mark Veidemanis 985705dfa4
Implement button to enable authentication for relay 2022-08-13 22:25:42 +01:00
Mark Veidemanis d3dd070db0
Add chanlimit to relay output 2022-08-13 21:22:53 +01:00
Mark Veidemanis d9f3a9c6cd
Remove debug block from registration template 2022-08-13 20:55:50 +01:00
Mark Veidemanis f9473ea615
Implement provisioning relays 2022-08-13 20:51:46 +01:00
Mark Veidemanis 779eb3697c
Implement updating network registration 2022-08-13 20:35:25 +01:00
Mark Veidemanis b2121913b6
Add relay number to channel list 2022-08-13 13:47:22 +01:00
Mark Veidemanis 0462df1ca3
Add relay connection status to relay list 2022-08-13 13:41:39 +01:00
Mark Veidemanis cf9da35df7
Reformat IRC list getter 2022-08-13 13:32:03 +01:00