Commit Graph

1437 Commits

Author SHA1 Message Date
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
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
RD WebDesign
15364b500c Add pagination controls to Local records pages
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-11-21 15:49:41 -03:00
DL6ER
fe8296acb8 Merge branch 'development-v6' into tweak/contentType
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-20 19:51:49 +01:00
DL6ER
52f198971c Show Unicode domains (if domain is punycode-encoded) (#2857) 2023-11-20 19:45:43 +01:00
DL6ER
a518b60afe Show Unicode domains (if different from possibly punycode-encoded raw domains)
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-19 23:02:12 +01:00
Christian König
a4b7537ae1 Fix deleting sessions via red trash icon
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-11-19 20:55:54 +00:00
Christian König
040f746c22 Revert "Set pagingTag: 'button'"
This reverts commit a8bb9ed201.

Signed-off-by: Christian König <ckoenig@posteo.de>
2023-11-19 13:48:39 +01:00
Christian König
a8bb9ed201 Set pagingTag: 'button'
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-11-18 23:59:50 +01:00
Christian König
1080019ff1 Fix datatable warning on network table
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-11-18 23:03:59 +01:00
DL6ER
a39c8a5c0a Escape only where we are displaying
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-18 22:38:01 +01:00
DL6ER
bc1c6bc117 Explicitly set contentType to avoid promotion to jsonp
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-18 12:54:41 +01:00
Christian König
dc2cfdba28 Fix tests and editorconfig
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-11-18 09:26:52 +00:00
DL6ER
7c0812b52b Apply necessary code styling changes
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-17 10:36:38 +01:00
DL6ER
9815602ecd Call initTable() from getGroups() when finished to avoid a possible race-collision
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-17 10:33:38 +01:00
DL6ER
5c09620a34 Fix Upstreams Query Log links (#2843) 2023-11-16 22:26:58 +01:00
DL6ER
8b7c88f1bf Do not accept comma to separate regex (#2835) 2023-11-16 22:26:42 +01:00
DL6ER
feea661daf Fix upstream links yielding no results on the Query Log if names are shown
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-16 12:53:08 +01:00
RD WebDesign
35ab1fd4a0 Use row background colors in Query Log table (#2840) 2023-11-15 21:56:55 -03:00
RD WebDesign
5b8bf35040 Clear input fields after successfully adding new items (#2832)
This applies to Clients, Domains, Lists, DNS records and CNAME records.
2023-11-15 17:48:02 -03:00
RD WebDesign
abfa0a44ae Allow open details only on normal rows
Detail rows don't have their own details, so don't allow the click event

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-11-15 17:32:31 -03:00
RD WebDesign
74fa7e4965 Also clear input fields after adding DNS and CNAME records.
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-11-15 16:52:00 -03:00
RD WebDesign
d7466adb65 Use row background colors in Query Log table
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-11-15 16:29:01 -03:00
DL6ER
0371f870a8 Domains/Regex must be either space or newline separated when adding multiple at once. It is not possible to use comma as this has a special meaning in the regex world
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-15 12:11:57 +01:00
DL6ER
5cd1b2e16b Add DHCP netmask field and nicely format API errors (#2805) 2023-11-15 11:09:46 +01:00