Commit Graph

1472 Commits

Author SHA1 Message Date
DL6ER
5cb2a893a8 Add searching for domains and clients in the Query Log. Wildcards (*) are supported everywhere in the search string.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-03-14 19:33:14 +01:00
Dominik
128ae80d68 Query Log: Show link to groups/lists page if applicable (#2916) 2024-02-09 20:52:33 +01:00
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
c480e0343d Fix interpretation of lease expiration field in case it is 0. This does not mean 1st of January 1970 but really a never expiring lease
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-01-26 16:59:30 +01:00
Dominik
0c1b44e7f6 Fix group editing (#2922) 2024-01-17 19:42:53 +01:00
Andrej Vano
a35d4f0e9d [Typo] Fix typo in checkMessages warning
Signed-off-by: Andrej Vano <avano@redhat.com>
2024-01-17 14:36:16 +01:00
DL6ER
bac88f1fc2 Use replaceAll to ensure all newlines are converted to HTML line breaks
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-01-14 07:30:11 +01:00
yubiuser
7e21b3b089 Add query log handling of SPECIAL_DOMAIN (#2895) 2024-01-11 21:22:01 +01:00
yubiuser
07aaa443ed Apply red background color to special domains in query log
Co-authored-by: RD WebDesign <github@rdwebdesign.com.br>
Signed-off-by: yubiuser <ckoenig@posteo.de>
2024-01-11 21:07:11 +01:00
Adam Warner
3b0359cab5 Add support for legacy Teleporter archives (#2858)
Add support for legacy Teleporter archives
2024-01-11 08:29:16 +00:00
Dominik
fef1def70c Ensure blocking mode timer is started even when set via a third-party API call (#2917) 2024-01-10 19:33:54 +01:00
DL6ER
a53086e0c5 Fix deletion of addresses with spaces in them by avoiding encoding to "application/x-www-form-urlencoded"
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-01-08 20:33:29 +01:00
DL6ER
b48652ad82 Fix group editing
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-01-06 09:28:32 +01:00
DL6ER
0076e32ada Ensure blocking mode timer is started even when set via a third-party API call
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-12-27 20:39:39 +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
d5b51fecc0 Add query log handling of SPECIAL_DOMAIN
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-12-08 21:50:18 +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
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
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