DL6ER
d7cf23ba2f
Add support the same list being used once as allow- and once as blocklist
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2024-02-13 08:41:50 +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
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
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
DL6ER
70a009d24d
Remove extra <ul></ul>
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2023-11-24 07:50:45 +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
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
RD WebDesign
eeb07535ad
Clear input fields after successfully adding new items
...
Applies to Clients, Domains and Lists.
2023-11-14 19:58:41 -03:00
DL6ER
4d3c0cded9
Fix errors happening when editing groups/clients/domains/lists not being shown. Also fix logic of the strings "enabling/disabling" as the variable "enabled" already has the new (not the current state). This was correct in groups.js, but not the others
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2023-11-05 21:54:40 +01:00
DL6ER
be21f650f1
Merge branch 'development-v6' into fix/adlist_list
2023-10-28 21:27:39 +02:00
DL6ER
98b92cdf09
Merge branch 'development-v6' into fix/adlist_list
2023-10-17 22:24:26 +02:00
DL6ER
7e879b29ae
Finish the only partially done renaming adlists -> lists on the dashboard. This fixes a few broken links such as "Manage lists" on the dashboard as well as the generated links from the Search Lists page to the Groups -> Lists page with enabled list row highlighting
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2023-10-16 19:04:47 +02:00