Commit Graph

2033 Commits

Author SHA1 Message Date
Christian König c1c4dba1d0 Add minimal rounding to account for internal rounding errors to suppress detailed tooltip on doughnut charts if nothing is hidden
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-10-05 21:55:18 +02:00
Christian König 8979ac3088 Set maintainAspectRatio: true for doughnut charts to resize without margins
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-10-05 21:44:37 +02:00
Christian König 999941ce2f Change tooltip mode for overtime graphs from index to x and set intersect to false
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-10-05 21:19:03 +02:00
RD WebDesign 5967127c95 Fine tuning legend tootips and links to query log
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-10-05 21:19:03 +02:00
RD WebDesign 62297be1da Use custom legends for doughnut charts
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-10-05 21:19:02 +02:00
Christian König bbdc4c3d6b Fix doughnut tooltip and legend
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-10-05 21:19:02 +02:00
Christian König 0245c936d9 Set parsing:false for dashboard graphs
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-10-05 21:19:02 +02:00
Christian König 01ce1eed32 Add source map for chartjs-adapter-moment.min.js. They decided to remove it from the distributed version (https://github.com/chartjs/chartjs-adapter-moment/pull/34) but kept the reference in the js file. I compiled it myself to generate the source map
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-10-05 21:19:01 +02:00
Christian König 958f10c472 Fix line graph reprenstations for overtime* charts
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-10-05 21:19:01 +02:00
Christian König 624d39df25 Fix OnClickEvent for overtime* charts
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-10-05 21:19:01 +02:00
Christian König 999295b772 Fix overtime* charts
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-10-05 21:19:00 +02:00
Christian König c14c491ea5 Add chartjs-adapter-moment.js
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-10-05 21:19:00 +02:00
Christian König 6d971c1430 Update chartjs to v3.9.1
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-10-05 21:19:00 +02:00
RD WebDesign 425139501b Set min and max values for graph xAxis
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-09-26 14:41:09 -03:00
RD WebDesign db56914e80 Get port number directly from pihole-FTL.conf (#2371) 2022-09-22 14:36:37 -03:00
RD WebDesign 6e51ac3f85 Using htmlentities and rawurlencode on every output string
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-09-21 19:16:21 -03:00
RD WebDesign 2d346a1bc8 Remove all unwanted characters from $versions
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-09-21 19:16:21 -03:00
RD WebDesign 5c2d2f3446 Get port number directly from pihole-FTL.conf
- Remove the code using FTL portfile
- code simplification

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-09-21 18:59:09 -03:00
Christian König b948f4053c Remove additional space in Cookie header
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-09-21 16:00:35 +02:00
Christian König e944c9d6c7 Allow the root zone . to be excluded from top lists
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-09-20 16:22:23 +02:00
RD WebDesign 93db592f74 Add test to avoid PHP warning
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-09-17 02:16:49 -03:00
yubiuser 45d281cf80 Read DOCKER_VERSION from version file instead of env variable (#2356) 2022-09-16 20:22:32 +02:00
Christian König 63711dac08 Only assign if variable is set
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-09-16 16:05:04 +02:00
Christian König 148aae4735 Read DOCKER_VERSION from version file instead of env variable
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-09-16 15:24:22 +02:00
Christian König 58f8738907 Reverse logic of in/exlcudin queries from long-term database and rename queryType => statusType
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-09-16 13:04:51 +02:00
Adam Warner aa529a7430 Add interpretation for Pi-hole message type ADLIST (#2320) 2022-09-14 20:16:50 +01:00
RD WebDesign fcdde5cf57 Avoid message warnings if session was already started.
fix #2350

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-09-13 18:47:13 -03:00
jpgpi250 43056fdcaf Update queries.js
jpgpi250 <jpgpi250@gmail.com>

accompanies FTL PR 1409
2022-09-12 12:57:18 +02:00
RD WebDesign 4d8b19f4c9 Address team decisions
- change checkboxes order;
- remove all lines if all checkboxes are unselected.

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-09-09 14:26:54 -03:00
RD WebDesign e3b4cd9238 Fix LCARS visual and allow user selected checkbox theme
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-09-09 14:26:54 -03:00
RD WebDesign 3ef30992c5 Move filter selector to header-box
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-09-09 14:26:54 -03:00
RD WebDesign 3235056d31 Add the ability to filter domains by type
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-09-09 14:26:54 -03:00
RD WebDesign d12ef014e5 Use constants in place of class constants
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-09-08 23:47:09 -03:00
DL6ER c013618492 Set Samesite=Strict for PHP session cookie. The cookie is set manually to be backwards compatible with versions below PHP7.3
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-09-08 15:01:00 +02:00
Christian König dff293902a Guard database data
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-09-08 11:31:23 +02:00
Christian König b75ec4530c Add interpretation for Pi-hole message type ADLIST
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-09-08 11:31:23 +02:00
Christian König e5ce53446c Do not apply IDNA conversion to regex domains
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-09-07 21:48:03 +02:00
RD WebDesign a55ae95330 Check if the API call was made using authentication
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-09-03 19:07:21 -03:00
RD WebDesign b84c23e055 Declaring all strings to avoid warnings
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-09-03 17:12:10 -03:00
Adam Warner 4c8084c06c git pu 2022-09-02 22:04:22 +01:00
Adam Warner eff52d65da Remove unnecssary <br> from adlist details (#2319) 2022-09-02 17:46:50 +01:00
Christian König 418b6f07ff Remove unnecssary <br> from adlist details
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-09-01 08:32:14 +02:00
RD WebDesign 8aa2e52338 Never check for individual component updates on docker
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-08-30 15:05:57 -03:00
RD WebDesign e63c5de10d Complementing PR 2316
- other undefined vars are still spamming the log

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-08-29 18:21:24 -03:00
yubiuser 775a4e1c6a Revert empty domain dot replacement (#2314) 2022-08-29 23:02:28 +02:00
RD WebDesign d3c59d42a7 Show "Logout" link only when a password is required
Re-introducing the test, removed when the menu was updated

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-08-29 14:53:38 -03:00
Christian König f4c264be86 Add special handling for the root zone on domain validation and IDNA conversion
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-08-28 21:56:36 +02:00
RD WebDesign ae74023b72 Add test to avoid "Undefined Variable" warnings
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-08-28 16:37:56 -03:00
Christian König 21521498b5 Keep conversion for long-term data
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-08-28 20:15:36 +02:00
Christian König 4e12212f13 Revert empty domain dot replacement
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-08-28 19:19:05 +02:00