Commit Graph

2455 Commits

Author SHA1 Message Date
DL6ER
a0ddfe69a2 Format changes
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-02-06 18:01:03 +01:00
DL6ER
ab42f54367 Show link to search page instead of to the list ID returned by the API. This is a better strategy in case a user has a certain domain on multiple lists. We intentionally don't submit on the search page to let the user decide if they want exact or partial matching
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-02-06 17:55:19 +01:00
DL6ER
c5ab81248a Query Log: Show link to groups/lists page if applicable
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-12-25 05:31:56 +01:00
RD WebDesign
8b3240e4be Fix the red line used to identify recent entries on the log pages (#2891) 2023-12-21 16:01:05 -03:00
Dominik
371a1fde48 Use new POST :batchDelete callbacks (#2893) 2023-12-15 20:25:10 +01:00
Dominik
57b21f174d Fix lists JSON payload
Co-authored-by: RD WebDesign <github@rdwebdesign.com.br>
Signed-off-by: Dominik <DL6ER@users.noreply.github.com>
2023-12-12 19:26:06 +01:00
yubiuser
8db3466943 Use >entry< as it is more generic
Co-authored-by: RD WebDesign <github@rdwebdesign.com.br>
Signed-off-by: yubiuser <ckoenig@posteo.de>
2023-12-08 21:53:26 +01:00
Christian König
207ac5a38f Change regex link text to domain
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-12-08 21:36:43 +01:00
RD WebDesign
4debb067b6 Keep "Save" button inside the content area even using boxed layout (#2887) 2023-12-08 00:25:56 -03:00
DL6ER
10ca38da47 Use new special POST :batchDelete callbacks for /api/groups, /api/domains/, /api/clients, and /api/lists and remove some code duplication along the way. Also ensure that the "Default" group cannot be selected for deletion (we already suppress the trash button for this entry)
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-12-07 19:00:59 +01:00
RD WebDesign
854a99d411 Remove unnecessary duplicate "Save" button
Note: the button is created on the HTML markup (.lp file)

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-12-04 21:39:42 -03:00
RD WebDesign
b281b67669 Replace <span> followed by line break with a <div> 2023-12-04 20:14:43 -03:00
Christian König
a736b5bf37 Update chartjs to 4.4.1
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-12-04 21:20:49 +01:00
RD WebDesign
89866fab77 Adding a container and a semi-transparent background
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-12-02 03:30:35 -03:00
DL6ER
0ab7036620 Show log priority
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-12-01 15:02:22 +01:00
DL6ER
124d304e8f Merge branch 'development-v6' into new/live_query_log
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-30 22:12:17 +01:00
DL6ER
24095e215e Disable live updates when on-disk is selected
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-30 22:11:27 +01:00
DL6ER
0de934278a Add some tolerance to the autoscrolling feature of taillog (#2879) 2023-11-30 21:56:28 +01:00
DL6ER
f252c6ba83 Add overflow-wrap to ensure too long-lines don't overwrite other content in the Query Log details
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-29 12:03:01 +01:00
DL6ER
72e06da4da Add live Query Log feature
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-28 23:52:15 +01:00
DL6ER
3437f79e34 Add some tolerance to the autoscrolling feature of taillog
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-28 22:42:03 +01:00
DL6ER
01577e2392 Add dnsmasq tail log formatting (#2878) 2023-11-28 22:23:44 +01:00
DL6ER
35bf9124a3 Add review comment suggestion
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-28 20:41:51 +01:00
DL6ER
3586096f83 Add dnsmasq tail log formatting
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-28 19:33:34 +01:00
RD WebDesign
8a397e7a7e Tweak lists user interface (icons and tooltips) (#2876) 2023-11-28 15:27:45 -03:00
RD WebDesign
a14972f055 Use the status text as part of the icon tooltip
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-11-27 19:16:54 -03:00
RD WebDesign
44bc14d38e Move status text definition to a dedicated function
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-11-27 19:16:46 -03:00
RD WebDesign
e69b7eaa81 Reduce concatenation using template literals
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-11-27 19:05:15 -03:00
RD WebDesign
0f58fbfb96 Tweak the lists user interface, specially the icons
- add a new column for list type;
- separate status and type icons;
- move the code responsible for the icons to dedicated functions;
- use the same icons for block/allow everywhere;
- use the same style (solid circle) for every status icon (except history).

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-11-27 02:48:18 -03:00
RD WebDesign
b3ed5275d4 Fix invalid HTML code generated using javascript
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-11-27 00:24:42 -03:00
Christian König
046c694c63 Fix datatable warning on network table
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-11-26 20:57:09 +01:00
Christian König
c8a43d3daa Revert "Update datatables (#2852)"
This reverts commit e4ac12c3e0, reversing
changes made to 54dba57161.

Signed-off-by: Christian König <ckoenig@posteo.de>
2023-11-26 20:57:08 +01:00
DL6ER
aa0d09e0e4 Also check item.hidden property when deciding to skip legend regeneration
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-25 10:52:50 +01:00
DL6ER
781118c8b8 Only refresh data when page/tab is currently visible
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-24 22:48:31 +01:00
DL6ER
279dd2a405 Sort intervals by duration and add comments where they are applicable
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-24 11:17:47 +01:00
DL6ER
c853148897 Store refresh intervals in a common place for easy editing (and possibly future programatic adjustments)
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-24 11:14:48 +01:00
DL6ER
70a009d24d Remove extra <ul></ul>
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-24 07:50:45 +01:00
DL6ER
49cd7f8a37 Continue tailing log after FTL restart (#2866) 2023-11-23 22:08:42 +01:00
RD WebDesign
c3ee946ac8 Local records: better layout to avoid text overlapping in smaller screens (#2864) 2023-11-23 17:10:18 -03:00
yubiuser
e4ac12c3e0 Update datatables (#2852) 2023-11-23 20:36:46 +01:00
DL6ER
d2546bdc52 Reset nextID on change of FTL's PID to appreciate the new counter after a restart
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-23 09:41:13 +01:00
RD WebDesign
1c0a3ea8a3 Fix column width zero adding autoWidth: false
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-11-23 03:26:49 -03:00
RD WebDesign
9fdd77f9b5 Adjusting the placeholder text and cell widths
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-11-22 19:14:24 -03:00
yubiuser
54dba57161 Emphasize whole row for current client in API session table (#2865) 2023-11-22 22:09:10 +01:00
yubiuser
e7be61b9e2 Less code is better code
Co-authored-by: RD WebDesign <github@rdwebdesign.com.br>
Signed-off-by: yubiuser <ckoenig@posteo.de>
2023-11-22 22:03:43 +01:00
Christian König
43200d2de8 Fix styling
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-11-22 12:11:44 +00:00
Christian König
89873c226a Emphasize whole row for current client
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-11-22 13:06:04 +01:00
RD WebDesign
3dcc2862b5 Adjust the grid for datatables elements
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-11-21 20:25:38 -03:00
RD WebDesign
2bf2420af4 Removing code not used
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-11-21 20:11:32 -03:00
RD WebDesign
ad81c347d5 Add pagination controls to Local records pages (#2859) 2023-11-21 19:48:53 -03:00