Commit Graph

319 Commits

Author SHA1 Message Date
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