rdwebdesign
de03a34ca0
Select PHP version for phpstan
...
Signed-off-by: rdwebdesign <github@rdwebdesign.com.br >
2021-12-15 16:58:13 -03:00
Adam Warner
ee50954be7
Merge pull request #1935 from pi-hole/devel
...
Pi-hole Web 5.8
v5.8
2021-10-23 20:01:35 +01:00
Adam Warner and Harold Kim
01191c7a1b
Merge pull request from GHSA-mhr8-7rvg-8r43
...
* Prevent possible XSS attack vector on add_client
Update JS code to prevent possible XSS vector
Co-authored-by: Harold Kim <root@stypr.com >
Signed-off-by: Adam Warner <me@adamwarner.co.uk >
* Fix both addClient and deleteClient to prevent XSS
Signed-off-by: Harold Kim <root@stypr.com >
Co-authored-by: Harold Kim <root@stypr.com >
2021-10-23 19:26:07 +01:00
Adam Warner
e53f7e674e
Also set the color of the iframe's font ( #1934 )
...
(remove prettier:check from npm test, as the output is not helpful at all - whereas xo's output will tell the user what prettier is complaining about)
Signed-off-by: Adam Warner <me@adamwarner.co.uk >
2021-10-23 19:21:19 +01:00
Adam Warner and DL6ER
bce2476d78
Display Docker Tag in footer if the PIHOLE_DOCKER_TAG environment variable is detected ( #1933 )
...
* If `PIHOLE_DOCKER_TAG` is set in the environment then display it as Docker Tag in the versions footer. Else, don't.
Signed-off-by: Adam Warner <me@adamwarner.co.uk >
* Update scripts/pi-hole/php/footer.php
Signed-off-by: Adam Warner <me@adamwarner.co.uk >
Co-authored-by: DL6ER <DL6ER@users.noreply.github.com >
Co-authored-by: DL6ER <DL6ER@users.noreply.github.com >
2021-10-23 17:55:07 +02:00
DL6ER
5d981c165b
Merge pull request #1924 from yubiuser/delete_network
...
Add delete button to the network table to allow deleting individual entries
2021-10-23 16:41:22 +02:00
DL6ER
9ab9850c9c
Merge pull request #1925 from pi-hole/tweak/local_dns_cname
...
Do not restart for every item during Teleporter import of Local DNS record or CNAME
2021-10-23 16:39:12 +02:00
DL6ER
3f1a0a409f
Merge pull request #1929 from pi-hole/remove/verify_list
...
Remove obsolet list_verify function
2021-10-23 16:36:34 +02:00
DL6ER
e5c86db89e
Merge pull request #1931 from pi-hole/no_hostname
...
Do not try to resolve hostname of clients in long-term data
2021-10-23 14:14:58 +02:00
Christian König
0387377bc8
Do not try to resolve hostname of clients in long-term data
...
Signed-off-by: Christian König <ckoenig@posteo.de >
2021-10-22 13:20:17 +02:00
yubiuser
f2322157c8
Remove obsolet list_verify function
...
Signed-off-by: yubiuser <ckoenig@posteo.de >
2021-10-19 00:12:26 +02:00
yubiuser
e00d706b49
Fix tabs->spaces
...
Signed-off-by: yubiuser <ckoenig@posteo.de >
2021-10-15 07:42:00 +02:00
yubiuser
ab9454a582
Also use variable to disable reload in delteALL functions
...
Signed-off-by: yubiuser <ckoenig@posteo.de >
2021-10-13 20:47:02 +02:00
yubiuser
b80c97f6d3
Do only reload pihole once after Local DNS Records or CNAME have been modified
...
Signed-off-by: yubiuser <ckoenig@posteo.de >
2021-10-12 21:37:06 +02:00
yubiuser
9f0e5fa67e
Use getCustomDNSEntries in deleteAllCustomDNSEntries
...
Signed-off-by: yubiuser <ckoenig@posteo.de >
2021-10-12 20:50:37 +02:00
yubiuser
98ee67efed
Add delete function
...
Signed-off-by: yubiuser <ckoenig@posteo.de >
2021-10-11 14:46:10 +02:00
yubiuser
84d53985ee
Add delete button to network table
...
Signed-off-by: yubiuser <ckoenig@posteo.de >
Fix styling
Signed-off-by: yubiuser <ckoenig@posteo.de >
Fix xo
Signed-off-by: yubiuser <ckoenig@posteo.de >
Use data.id
Signed-off-by: yubiuser <ckoenig@posteo.de >
Sort by last seen
Signed-off-by: yubiuser <ckoenig@posteo.de >
Use data.id instead of data.ip
Signed-off-by: yubiuser <ckoenig@posteo.de >
2021-10-11 13:47:09 +02:00
yubiuser
49c84e58dd
Suppress empty lines output during teleporter import ( #1921 )
...
Signed-off-by: Yubiuser <ckoenig@posteo.de >
2021-10-11 09:05:08 +01:00
dependabot[bot]
b27acd29b5
Bump postcss from 8.3.8 to 8.3.9 ( #1920 )
...
Bumps [postcss](https://github.com/postcss/postcss ) from 8.3.8 to 8.3.9.
- [Release notes](https://github.com/postcss/postcss/releases )
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md )
- [Commits](https://github.com/postcss/postcss/compare/8.3.8...8.3.9 )
---
updated-dependencies:
- dependency-name: postcss
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-10 22:53:28 +01:00
dependabot[bot]
843cbd8e46
Bump autoprefixer from 10.3.6 to 10.3.7 ( #1919 )
...
Bumps [autoprefixer](https://github.com/postcss/autoprefixer ) from 10.3.6 to 10.3.7.
- [Release notes](https://github.com/postcss/autoprefixer/releases )
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md )
- [Commits](https://github.com/postcss/autoprefixer/compare/10.3.6...10.3.7 )
---
updated-dependencies:
- dependency-name: autoprefixer
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-10 22:32:40 +01:00
yubiuser
85121b69b1
Count right during teleporter import ( #1922 )
...
Signed-off-by: Yubiuser <ckoenig@posteo.de >
2021-10-10 22:31:59 +01:00
DL6ER
5588be9c90
Merge pull request #1231 from Th3M3/teleporter_modal
...
Modal-Dialog for Teleporter-import
2021-10-10 20:30:05 +02:00
Adam Warner
7374ce57d4
address prettier complaints
...
Signed-off-by: Adam Warner <me@adamwarner.co.uk >
2021-10-07 00:13:33 +01:00
Th3M3
0d24f25f3c
Modal Dialog for Teleporter-import
...
fixes page reload every time the DHCP tab gets active
Signed-off-by: Th3M3 <the_me@outlook.de >
2021-10-07 00:12:33 +01:00
IvanI3
ce3e2dba0a
Handle empty "" domain in query top list correctly ( #1790 )
...
If an empty domains requests "" in top queries we get "PHP Notice: Undefined offset: 2 in /var/www/html/admin/api_FTL.php on line 107" in web-server logs.
This workaround suppress this error.
2021-10-06 23:46:28 +01:00
Chris Miceli
1ed98f6f38
1777 Remember me for 7 days doesn't work if you log in from Recent Queries ( #1870 )
...
set cookie if requested
Signed-off-by: Chris Miceli <chrismiceli@outlook.com >
2021-10-06 23:39:21 +01:00
David Beitey
effcd907cd
Make entire Forgot Password box header clickable ( #1917 )
...
This adjusts the markup for the Forgot Password box such that the entire
box header (the text, whitespace and plus/minus icon) is interactive.
Previous behaviour of clicking the icon remains the same.
This also improves the markup/spacing inside the box's content.
Signed-off-by: David Beitey <david@davidjb.com >
2021-10-06 22:43:56 +01:00
Lion Ralfs
7462904c60
fix: row background colors in query log ( #1906 )
...
Signed-off-by: Lion Ralfs <lion.ralfs@gmail.com >
2021-10-05 14:48:54 +01:00
RD WebDesign
52080a1088
Background colors on Query log + striped table ( #1916 )
...
Improves PR #1893
The CSS for the background was created using "!important", to force the background colors for blocked/allowed on the table lines, but this introduced a visual problem: all lines have the same backgrounds. No more striped tables.
To solve this, I moved the effect from the `tr` tags to `td` tags. Now the rows (tr) have striped backgrounds and the cells adds the color layer.
Signed-off-by: rdwebdesign <github@rdwebdesign.com.br >
2021-10-05 12:25:18 +01:00
dependabot[bot]
c2580e3396
Bump postcss-cli from 8.3.1 to 9.0.1 ( #1902 )
...
Bumps [postcss-cli](https://github.com/postcss/postcss-cli ) from 8.3.1 to 9.0.1.
- [Release notes](https://github.com/postcss/postcss-cli/releases )
- [Changelog](https://github.com/postcss/postcss-cli/blob/master/CHANGELOG.md )
- [Commits](https://github.com/postcss/postcss-cli/compare/8.3.1...9.0.1 )
---
updated-dependencies:
- dependency-name: postcss-cli
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-04 21:59:51 +01:00
dependabot[bot]
6131929d2e
Bump xo from 0.44.0 to 0.45.0 ( #1908 )
...
Bumps [xo](https://github.com/xojs/xo ) from 0.44.0 to 0.45.0.
- [Release notes](https://github.com/xojs/xo/releases )
- [Commits](https://github.com/xojs/xo/compare/v0.44.0...v0.45.0 )
---
updated-dependencies:
- dependency-name: xo
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-04 21:54:19 +01:00
yubiuser
eb44144485
Do not default true for unset variables ( #1909 )
...
Signed-off-by: yubiuser <ckoenig@posteo.de >
2021-10-04 21:52:01 +01:00
dependabot[bot]
587c85b7a8
Bump ansi-regex from 5.0.0 to 5.0.1 ( #1904 )
...
Bumps [ansi-regex](https://github.com/chalk/ansi-regex ) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases )
- [Commits](https://github.com/chalk/ansi-regex/compare/v5.0.0...v5.0.1 )
---
updated-dependencies:
- dependency-name: ansi-regex
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-10-04 21:38:46 +01:00
yubiuser
8062eae6f1
Add note to query log that pi.hole queries are not logged ( #1913 )
...
* Add note to query log that pi.hole is never logged
Signed-off-by: yubiuser <ckoenig@posteo.de >
2021-10-04 21:35:46 +01:00
yubiuser
57bf116e47
Unescape German umlauts ( #1914 )
...
* Unescape German umlauts
Signed-off-by: Yubiuser <ckoenig@posteo.de >
2021-10-04 21:30:21 +01:00
RD WebDesign
1ac7e1b50a
Dashboard icons - send to back and fixing position when scaled up ( #1915 )
...
* Dashboard icons - send to back and fixing position when scaled up
Signed-off-by: rdwebdesign <github@rdwebdesign.com.br >
2021-10-04 21:22:38 +01:00
Adam Warner
50f43bde73
Merge pull request #1901 from pi-hole/devel
...
Pi-hole web v5.7
v5.7
2021-09-29 21:45:54 +01:00
Adam Warner
0bfa8fc211
Merge pull request #1894 from pi-hole/dependabot/npm_and_yarn/devel/prettier-2.4.1
...
Bump prettier from 2.4.0 to 2.4.1
2021-09-29 21:18:49 +01:00
Adam Warner
d64818c7a5
Merge pull request #1892 from a1346054/fixes
...
Simple maintenance improvements
2021-09-29 21:17:25 +01:00
dependabot[bot]
8c493a9abe
Bump prettier from 2.4.0 to 2.4.1
...
Bumps [prettier](https://github.com/prettier/prettier ) from 2.4.0 to 2.4.1.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/2.4.0...2.4.1 )
---
updated-dependencies:
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-09-29 20:17:24 +00:00
Adam Warner
a5804accd7
Merge pull request #1883 from pi-hole/XhmikosR-patch-1
...
Update test.yml
2021-09-29 21:16:18 +01:00
Adam Warner
73c8f5609b
Merge pull request #1903 from pi-hole/dependabot/npm_and_yarn/devel/autoprefixer-10.3.6
...
Bump autoprefixer from 10.3.4 to 10.3.6
2021-09-29 21:15:14 +01:00
dependabot[bot]
695ed2603a
Bump autoprefixer from 10.3.4 to 10.3.6
...
Bumps [autoprefixer](https://github.com/postcss/autoprefixer ) from 10.3.4 to 10.3.6.
- [Release notes](https://github.com/postcss/autoprefixer/releases )
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md )
- [Commits](https://github.com/postcss/autoprefixer/compare/10.3.4...10.3.6 )
---
updated-dependencies:
- dependency-name: autoprefixer
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-09-29 20:13:49 +00:00
Adam Warner
7fea525fcc
Merge pull request #1900 from pi-hole/dependabot/npm_and_yarn/devel/postcss-8.3.8
...
Bump postcss from 8.3.6 to 8.3.8
2021-09-29 21:12:49 +01:00
Adam Warner
5f52259c7e
Merge pull request #1897 from yubiuser/lift_subnet_limitation
...
Lift prefix limitaion for --rev-server
2021-09-29 21:11:44 +01:00
DL6ER
8de314f919
Merge pull request #1886 from yubiuser/delete_messages2
...
Add delete button to message table
2021-09-27 08:10:20 +02:00
dependabot[bot]
9944ce0cb1
Bump postcss from 8.3.6 to 8.3.8
...
Bumps [postcss](https://github.com/postcss/postcss ) from 8.3.6 to 8.3.8.
- [Release notes](https://github.com/postcss/postcss/releases )
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md )
- [Commits](https://github.com/postcss/postcss/compare/8.3.6...8.3.8 )
---
updated-dependencies:
- dependency-name: postcss
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-09-25 10:05:20 +00:00
yubiuser
7f13dda4a8
Fix regex
...
Signed-off-by: yubiuser <ckoenig@posteo.de >
2021-09-21 19:59:24 +02:00
Adam Warner and DL6ER
e3a69aff6a
Add background colors on Query log + switchable text coloring (as before) ( #1893 )
...
* Add subtle background colour to the rows depending on query status
* Do the same for long term query log (and also apply changes missed on last release
* Add per-browser setting for Query Log colorization
Signed-off-by: DL6ER <dl6er@dl6er.de >
Co-authored-by: DL6ER <dl6er@dl6er.de >
2021-09-21 09:39:49 -07:00
yubiuser
2d41191ac3
Lift prefix limitaion for --rev-server
...
Signed-off-by: yubiuser <ckoenig@posteo.de >
2021-09-21 09:25:31 +02:00