Commit Graph

2476 Commits

Author SHA1 Message Date
DL6ER d9cd239e87 Add support for the new sparse-data format returned by /history/clients
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-02-16 17:18:08 +01:00
DL6ER 7708887b07 Also show percentages in the client activity graph
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-02-12 16:13:47 +01:00
DL6ER c64d84a18f Ensure percentages are computed correctly
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-02-12 16:08:05 +01:00
DL6ER 50f28e8a93 The permitted column in the main graph was actually the sum of forwarded and other queries. As cache is arguably somehow permitted, too, make the difference between them clear
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-02-11 21:02:43 +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
Christian König 8a86af7b91 Add changed files to /vendor
Signed-off-by: Christian König <ckoenig@posteo.de>
2024-01-06 12:48:54 +01:00
DL6ER b48652ad82 Fix group editing
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-01-06 09:28:32 +01:00
Christian König 296d8ac2ce Update jquery to 3.7.1
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-12-30 19:49:05 +00:00
Christian König adaf3c229f Update moment to 2.30.1
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-12-30 20:40:51 +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
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