Commit Graph
3042 Commits
Author SHA1 Message Date
Christian König 6f6f0f98fd Fix notification icon and add details for Local DNS/CNAME records
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-11-05 22:15:49 +01: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 aa84cb4b9b Add zooming on the dashboard's two main graphs. You can zoom either with [Ctrl] + your mouse wheel (desktop) or the multi-touch "pinch" gesture (mobile). You can then drag with a single click (or finger) to move the graph up or down in case zooming wasn't that accurate
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-05 07:42:11 +02:00
DL6ER 8e4e4754c4 Show human-readable error message on settings save fail
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-04 13:08:28 +01:00
yubiuser 1586a94021 Tweak processing/render time (#2803) 2023-11-04 08:01:58 +01:00
DL6ER c27bf73b32 Finalize renaming adlists -> lists (#2756) 2023-11-04 07:35:42 +01:00
DL6ER 7c3dd92cf8 Show dedicated error mesage on wrong 2FA token
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-04 07:15:23 +01:00
RD WebDesign abe4a9f66c Tweak All Settings page (#2799)
- Use "All Settings" in menu button and page title;
- Rename the file to "settings-all.lp";
- Hide level selector in this page;
2023-11-03 19:35:23 -03:00
RD WebDesign 74c10d3a5f Set the focus to password field after clicking on the button
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-11-03 18:43:47 -03:00
RD WebDesign b2325c870e Function to toggle password visibility (using jQuery) and icon
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-11-03 18:08:58 -03:00
Christian König 5bcc535970 Tweak processing/render time
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-11-03 21:38:50 +01:00
DL6ER db3fcb4fb9 Show extra info alert on successful import to remind users they should run gravity's update
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-03 18:52:08 +01:00
RD WebDesign 156852810f Use the correct scriptname
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-11-03 14:06:10 -03:00
Christian König b256f5a627 Update bootstrap-notify to 3.1.5 (taken from master branch of their repo, last tagged version is 3.1.3)
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-11-02 23:14:38 +01:00
Christian König dd89021cfb Fix notification animation
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-11-02 23:03:24 +01:00
RD WebDesign 4fd5000bed Rename the page to reflect the title and menu button
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-11-02 17:23:36 -03:00
RD WebDesign efdaad6864 Hide the level selector in All Settings page
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-11-01 19:29:38 -03:00
RD WebDesign f164e4597f Retrieve the config keys from the new data-configkeys attribute. 2023-11-01 18:35:04 -03:00
DL6ER 04ffa500cf Merge branch 'development-v6' into fix/adlist_list 2023-10-31 13:25:31 +01:00
DL6ER ca0346a801 Add hint that users should run pihole -g after successful teleporter import
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-10-30 09:10:54 +01:00
DL6ER cd28d487d3 Follow best-practice rules for login pages from https://web.dev/articles/sign-in-form-best-practices
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-10-30 08:53:18 +01:00
DL6ER 2218257f1c Only submit form after entering TOTP token when there is something in the password field as well
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-10-30 08:29:15 +01:00
DL6ER e669b99d50 Fix TOTP input field not being shown when enabled (#2783) 2023-10-30 08:09:15 +01:00
DL6ER b73a1da4fb Nicely format error toasts (#2791) 2023-10-29 19:44:06 +01:00
DL6ER 0d827b00f2 Add app password support (#2793) 2023-10-29 19:43:55 +01:00
Adam Warner 188f8ee412 Apply the same treatment to the local DNS records page.
Refactor of the javascript to reduce code deduplication
Fix datatable refresh after adding/removing an entry
2023-10-29 15:30:34 +00:00
Adam Warner b2572c07e5 The CI does not like nested IF statements with a single action inside
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2023-10-29 15:21:18 +00:00
Adam Warner 66401ee222 In addition to adding the readonly icon, we can also add the other icons with teh same method.
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2023-10-29 15:21:18 +00:00
Adam Warner fef945c49f Disable settings inputs if they are already set by environment variable. Add a padlock icon to the setting section title if any of the settings contained therin are set by environment variable 2023-10-29 15:21:18 +00:00
DL6ER 619ea8f039 Indicate config settings forced by env vars as read-only variables by marking them with a symbol and disabling the elements
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-10-29 15:21:18 +00:00
DL6ER df1b128cbb Nicely format error toasts
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-10-29 07:55:47 +01:00
DL6ER be21f650f1 Merge branch 'development-v6' into fix/adlist_list 2023-10-28 21:27:39 +02:00
DL6ER a8a5d39487 Fix how Bootstrap-Notfy is used by Pi-hole (#2786) 2023-10-28 18:00:46 +02:00
Adam Warner 6c815721c4 Update chart.js to 4.4.0 (#2781) 2023-10-28 16:55:14 +01:00
DL6ER 85266fe515 Fix mass-deletion of sessions on the settings -> API page (#2765) 2023-10-27 22:10:38 +02:00
DL6ER b5678b65f1 Add app password support and add robot column to the session table
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-10-27 16:12:20 +02:00
DL6ER 808c9f0abd Fix how Bootstrap-Notfy is used by Pi-hole
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-10-27 16:12:20 +02:00
Christian König 2165e98983 legend text fontColor has been removed
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-10-26 22:19:27 +02:00
yubiuser 1a359449d8 Fix dashboard when no queries are present (#2780) 2023-10-26 19:04:07 +02:00
DL6ER 4d7f8eda9c Fix TOTP input field not being shown when enabled
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-10-26 17:04:46 +02:00
DL6ER cb3d3c16b6 Restore Teleporter functionality (#2738) 2023-10-26 17:00:24 +02:00
DL6ER 801efe96be Fix sorting on Settings -> Local DNS Records table (#2777) 2023-10-26 16:59:53 +02:00
DL6ER f516e04c35 Add "Delay" column to Query Log (#2757) 2023-10-26 16:59:41 +02:00
DL6ER b84683e1a9 Rename functions for clarity
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-10-26 00:11:15 +02:00
Christian König 7b55ddc5fa No need for second scales
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-10-25 21:45:29 +02:00
Christian König 5c928ce8d5 Replace this._chart with this .chart
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-10-25 13:48:06 +02:00
Christian König 20c924e900 Update chartjs 4.4.0
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-10-25 13:29:29 +02:00
Christian König 5c14641aa2 Remove leftover of line chart option
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-10-24 23:48:15 +02:00
Christian König 050e1d1056 Fix dashboard when no queries are present
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-10-24 23:30:29 +02:00
DL6ER 82f1965d4d Add ability to specify domains, lists, clients and group names as arrays (#2707) 2023-10-24 21:25:51 +02:00