Commit Graph

441 Commits

Author SHA1 Message Date
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
Mark Veidemanis ad9276c071
Implement showing LIST information 2022-08-13 13:27:49 +01:00
Mark Veidemanis 18448dce5a
Implement showing tokens 2022-08-13 01:02:45 +01:00
Mark Veidemanis 73792d724d
Filter nicknames for notices 2022-08-13 00:05:00 +01:00
Mark Veidemanis 52f3e8f1b2
Begin implementing adding channel limits 2022-08-12 23:32:23 +01:00
Mark Veidemanis ddb737fdc6
Tweak calendar z-index and uncomment type filters 2022-08-12 20:45:25 +01:00
Mark Veidemanis d6f47d0841
Flip nickname and channel only if type is self 2022-08-03 07:20:30 +01:00
Mark Veidemanis 60270d9636
Properly fetch query data 2022-08-03 07:20:30 +01:00
Mark Veidemanis 6af8e94336
Properly implement queries 2022-08-03 07:20:30 +01:00
Mark Veidemanis 1d2f37f588
Pass through more variables to the context modal and alter int handling 2022-08-03 07:20:30 +01:00
Mark Veidemanis c9a17a6fa4
Enable sending IRC messages from context modal 2022-08-03 07:20:30 +01:00
Mark Veidemanis c012792c42
Remove some debugging statements 2022-08-09 07:20:30 +01:00
Mark Veidemanis 9a92429291
Implement searching int events 2022-08-09 07:20:30 +01:00
Mark Veidemanis 83cd5e7ee7
Properly swap modal context table and keep scroll position 2022-08-09 07:20:30 +01:00
Mark Veidemanis 3e92d17097
Bump context results size 2022-08-09 07:20:30 +01:00
Mark Veidemanis 703f36751d
Implement scrollback modal 2022-08-09 07:20:30 +01:00
Mark Veidemanis e335bdf722
Begin implementing context modal 2022-08-12 09:08:44 +01:00
Mark Veidemanis eeccffccf7
Fix Z indexes for calendar 2022-08-12 08:25:41 +01:00
Mark Veidemanis 7c8a180ccf
Make management icons larger 2022-08-11 23:40:43 +01:00
Mark Veidemanis 3e003de559
Colorise network relay icons 2022-08-11 23:39:28 +01:00
Mark Veidemanis 3c199abc17
Don't wrap buttons in network management 2022-08-11 23:36:29 +01:00
Mark Veidemanis 540120faf1
Pad the check sentiment box and make it a button 2022-08-11 23:32:11 +01:00
Mark Veidemanis 733ca0eef3
Make tag parsing more robust 2022-08-11 23:17:45 +01:00
Mark Veidemanis 7791e96809
Fix meta 2022-08-11 23:09:53 +01:00
Mark Veidemanis 5fd6b887de
Hide chart for non-main queries 2022-08-11 23:09:42 +01:00
Mark Veidemanis e76c163591
Implement searching different indexes 2022-08-11 22:45:02 +01:00
Mark Veidemanis cccd91ec7a
Add ID to alias modal 2022-08-11 20:59:00 +01:00
Mark Veidemanis 764c970114
Update modal IDs 2022-08-11 19:36:34 +01:00
Mark Veidemanis 47b6255f68
Properly determine which fields to show 2022-08-11 07:22:22 +01:00
Mark Veidemanis 867d86cf6c
Fix online status not showing 2022-08-11 07:22:22 +01:00
Mark Veidemanis c06c0cbe18
Fix msg wrap and default most fields to hidden 2022-08-11 07:22:22 +01:00
Mark Veidemanis d1076ca2b5
Implement toggleable table fields 2022-08-09 07:20:30 +01:00
Mark Veidemanis 89b38111cd
Make more fields searchable and fix tags loading without results 2022-08-09 07:20:30 +01:00
Mark Veidemanis a7ee1d531f
Push the URL earlier and don't check for field present 2022-08-09 07:20:30 +01:00
Mark Veidemanis 788072f995
Render elements on one line 2022-08-09 07:20:30 +01:00
Mark Veidemanis f7b82147c7
Filter shown fields and add some icons to boolean values 2022-08-11 07:22:22 +01:00
Mark Veidemanis 86ec95ab6c
Fix tag population and date formatting 2022-08-11 07:22:22 +01:00
Mark Veidemanis 54f82f772b
Monkey patch header names 2022-08-11 08:53:54 +01:00
Mark Veidemanis 6e25881c73
Replace sorting icons in table 2022-08-11 08:53:38 +01:00
Mark Veidemanis 1ebccc7338
Fix modals not closing on Android 2022-08-10 22:40:54 +01:00
Mark Veidemanis fa11be741a
Pass the pagination to the right place 2022-08-10 20:45:55 +01:00
Mark Veidemanis 8a165fd44d
Update config 2022-08-10 20:40:58 +01:00
Mark Veidemanis aaca3a8469
Remove some debug statements 2022-08-10 20:36:55 +01:00
Mark Veidemanis d36f397c6e
Make the table dynamic 2022-08-10 20:35:34 +01:00
Mark Veidemanis 44f05ad63b
Implement paginated sortable table for results 2022-08-09 07:20:30 +01:00
Mark Veidemanis 62133a8cbb
Fix double tag input on back button 2022-08-09 07:20:30 +01:00
Mark Veidemanis ae489b1045
Make tag handling much more flexible 2022-08-09 07:20:30 +01:00
Mark Veidemanis 16c03bc19a
Only parse dates if the field is valid 2022-08-09 07:20:30 +01:00
Mark Veidemanis 648526a6bf
Implement query strings for shareable search links 2022-08-10 09:27:01 +01:00
Mark Veidemanis c1071f3d55
Combine homepage and search into one class 2022-08-10 07:36:26 +01:00
Mark Veidemanis 56f2c96b45
Correctly format all templates 2022-08-09 07:20:30 +01:00
Mark Veidemanis 220a4e2451
Properly format templates 2022-08-09 11:54:44 +01:00
Mark Veidemanis ba51922fe9
Begin implementing modern tables 2022-08-09 09:04:31 +01:00
Mark Veidemanis 7e010bd9b8
Undefer some JS 2022-08-05 23:15:50 +01:00
Mark Veidemanis 446ecbc071
Defer all JS resources 2022-08-05 23:14:05 +01:00
Mark Veidemanis 1a15999341
Download nearly all resources 2022-08-05 23:10:07 +01:00
Mark Veidemanis 78f25a4217
Integrity check all assets 2022-08-05 23:01:24 +01:00
Mark Veidemanis d858f79f7e
Fix tag parsing and theme all radio buttons 2022-08-03 07:20:30 +01:00
Mark Veidemanis 52ce55b2e9
Implement sentiment search 2022-08-03 07:20:30 +01:00
Mark Veidemanis b95aaf8ff2
Implement tags 2022-08-03 07:20:30 +01:00
Mark Veidemanis d8b96ad66e
Implement date picker 2022-08-03 07:20:30 +01:00
Mark Veidemanis 2ce90a43f5
Add action to supported types for icons 2022-08-03 07:20:30 +01:00
Mark Veidemanis 1b74ea4296
Downscale product image 2022-08-05 08:56:23 +01:00
Mark Veidemanis cfb22d5d06
Implement A2HS functionality 2022-08-05 08:40:35 +01:00
Mark Veidemanis 8e0385e809
Handle managing the search query smarter 2022-08-03 07:20:30 +01:00
Mark Veidemanis 5cc04863ac
Escape fields before passing to JS 2022-08-03 07:20:30 +01:00
Mark Veidemanis 83b6285931
Dynamically update search query when elements are clicked 2022-08-03 07:20:30 +01:00
Mark Veidemanis b2c009080d
Properly handle redactions 2022-08-03 07:20:30 +01:00
Mark Veidemanis 2a3b1b82b3
Prevent multiple matches to exemption rules incrementing the counter 2022-08-03 07:20:30 +01:00
Mark Veidemanis 66dc57dc45
Handle time vs ts field in data 2022-08-03 07:20:30 +01:00
Mark Veidemanis 6eea7f1965
Use the alternative nowrap helper for options alignment 2022-08-03 07:20:30 +01:00
Mark Veidemanis 8d7a1d2f59
Move info panel to the top 2022-08-03 07:20:30 +01:00
Mark Veidemanis d4531c4e29
Make loading animation mobile friendly 2022-08-03 07:20:30 +01:00
Mark Veidemanis be7fe348ff
Hide results pane if there's no results 2022-08-03 07:20:30 +01:00
Mark Veidemanis 990a88a340
Show loading indicator 2022-08-03 07:20:30 +01:00
Mark Veidemanis e3476f5298
Add option for Sentiment selection 2022-08-03 07:20:30 +01:00
Mark Veidemanis 25433104d9
Update results live 2022-08-03 07:20:30 +01:00
Mark Veidemanis ef3022e1b3
Fix overview modals 2022-08-03 07:20:30 +01:00
Mark Veidemanis 6a9faa7679
Implement radio buttons for the sentiment selector 2022-08-03 23:54:48 +01:00
Mark Veidemanis 75e9831d1c
Implement choosing source in search form 2022-08-03 23:26:22 +01:00
Mark Veidemanis fc86aae119
Improve redaction and anonymous user handling 2022-08-03 21:56:27 +01:00
Mark Veidemanis 8b7fef59c5
Begin implementing additional query settings 2022-08-03 07:20:30 +01:00
Mark Veidemanis 90f547e77f
Make options hideable 2022-08-03 07:20:30 +01:00
Mark Veidemanis 88abd64a3f
Make it all blue 2022-08-03 07:20:30 +01:00
Mark Veidemanis 9442e92b31
Improve search forms 2022-08-03 07:20:30 +01:00
Mark Veidemanis 716bd6afb6
Remove some debugging code 2022-08-03 09:25:12 +01:00
Mark Veidemanis 04d4cee222
Implement getting alerts in overview 2022-08-03 09:24:13 +01:00
Mark Veidemanis f52d01d6f7
Properly wrap message elements 2022-08-02 22:22:22 +01:00
Mark Veidemanis 1ed7f6a24c
Color types in Drilldown output 2022-08-02 17:10:41 +01:00
Mark Veidemanis e4651c4ce1
Make search public and refine blacklisting 2022-08-02 22:22:22 +01:00
Mark Veidemanis 473dfd1b43
Add about page 2022-08-02 22:22:22 +01:00
Mark Veidemanis b323ea2ae2
Make Drilldown public 2022-08-02 22:22:22 +01:00
Mark Veidemanis ad153cdefa
Implement deleting networks 2022-08-02 09:04:23 +01:00
Mark Veidemanis 62ef524ac7
Improve buttons on network relay partial 2022-08-02 07:50:45 +01:00
Mark Veidemanis c7e5ac5aac
Implement adding networks 2022-08-01 23:02:35 +01:00
Mark Veidemanis fa53e11ff0
Implement running list on a network 2022-08-01 21:39:11 +01:00
Mark Veidemanis 766b530ace
Implement automatic provisioning 2022-08-01 19:34:36 +01:00
Mark Veidemanis 3486f30f37
Implement editing aliases 2022-08-01 19:06:56 +01:00
Mark Veidemanis 6b0851ab6f
Implement alias editing views and templates 2022-08-01 18:47:29 +01:00
Mark Veidemanis 5a66236828
Implement alias editing form 2022-08-01 18:47:12 +01:00
Mark Veidemanis c80b37663a
Remove nested menus 2022-07-29 22:42:04 +01:00