Commit Graph

4541 Commits

Author SHA1 Message Date
DL6ER 60122713a8 Be more explicit in API error reporting
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-02-27 16:29:50 +01:00
DL6ER d59afde574 Add ability to batch-delete messages
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-02-27 16:23:30 +01:00
RD WebDesign 6288112044 Allow bulk deletion of warnings
- add Datatables extension Select (CSS and js);
- add Datatables extension Buttons (CSS and js);
- allow selection of multiple warnings;
- new button to select all;
- new button to delete all selected warnings;
- add icons for the buttons;
- hide buttons if all messages were deleted;
- update CSS themes to format the new items;
- Fix: update icon count after warning deletion;
- Fix: remove triangle icon after delete last warning;

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-02-26 19:59:13 -03:00
Adam Warner e4d293a3c9 Merge pull request #2131 from pi-hole/master
sync: master to devel
2022-02-20 12:42:32 +00:00
Adam Warner b57ff6aeec remove the CONTENT_COMPARISON setting (defaults to false) 2022-02-20 12:41:57 +00:00
yubiuser e93212fa5d Merge pull request #2125 from pi-hole/fix2123
Fixing double `json_encode` output
2022-02-15 00:32:24 +01:00
RD WebDesign 5e8b10aaf9 Merge pull request #2124 from pi-hole/other_to_the_end
Change the order of "uptream servers" graphic items
2022-02-14 20:20:32 -03:00
RD WebDesign 056b4fed72 Fixing double json_encode output
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-02-14 17:46:00 -03:00
RD WebDesign adbd9ec3cc Change the order of "uptream servers" graphic items
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-02-14 16:36:51 -03:00
yubiuser 555dc26a0e Merge pull request #2122 from PeterDaveHelloKitchen/ImproveUpdateInstruction
footer.php: Improve Pi-Hole update instruction for Docker image
2022-02-13 09:57:32 +01:00
Peter Dave Hello 66c2a9c6d5 footer.php: Improve Pi-Hole update instruction for Docker image
Running `pihole -up` in the Docker image release is not allowed, and
will receive this prompt msg: `Function not supported in Docker images`,
should display a different prompt message for Docker image release.

Signed-off-by: Peter Dave Hello <hsu@peterdavehello.org>
2022-02-13 16:54:09 +08:00
Adam Warner 64bbce906b Merge pull request #2084 from pi-hole/devel
Pi-hole web v5.11
v5.11
2022-02-12 20:04:15 +00:00
yubiuser 10984d5287 Merge pull request #2119 from pi-hole/blocklist
Omit blocklist for adlist
2022-02-12 18:36:49 +01:00
Adam Warner 57d8163de0 Merge pull request #2110 from pi-hole/dependabot/npm_and_yarn/devel/postcss-8.4.6
Bump postcss from 8.4.5 to 8.4.6
2022-02-12 13:54:49 +00:00
Adam Warner 41ca99df13 Merge pull request #2120 from pi-hole/master
Manual sync master to devel. It went wrong before
2022-02-12 13:53:26 +00:00
dependabot[bot] bcd2154cb1 Bump postcss from 8.4.5 to 8.4.6
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.5 to 8.4.6.
- [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.4.5...8.4.6)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-12 13:48:53 +00:00
Adam Warner c130097c47 Merge pull request #2109 from pi-hole/dependabot/npm_and_yarn/devel/eslint-plugin-compat-4.0.2
Bump eslint-plugin-compat from 4.0.0 to 4.0.2
2022-02-12 13:48:03 +00:00
Adam Warner 8ce0d0e8bf Merge pull request #2116 from pi-hole/dependabot/npm_and_yarn/devel/xo-0.48.0
Bump xo from 0.47.0 to 0.48.0
2022-02-12 13:46:42 +00:00
Adam Warner c394d4cf55 Merge pull request #2118 from pi-hole/supress-invalid-warnings
Prevent misleading warning being printed to the lighttpd error log when importing from teleporter backup
2022-02-12 13:43:54 +00:00
Adam Warner edfcf4521a Prevent misleading warning being printed to the lighttpd error log when attempting to flush tables that don't actually exist
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2022-02-12 13:39:57 +00:00
Christian König e256b76d8e Omit blocklist
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-02-12 13:26:42 +01:00
dependabot[bot] f590c9b80e Bump xo from 0.47.0 to 0.48.0
Bumps [xo](https://github.com/xojs/xo) from 0.47.0 to 0.48.0.
- [Release notes](https://github.com/xojs/xo/releases)
- [Commits](https://github.com/xojs/xo/compare/v0.47.0...v0.48.0)

---
updated-dependencies:
- dependency-name: xo
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-12 10:04:23 +00:00
DL6ER d9ad67860f Merge pull request #2111 from pi-hole/local_time
Include timezone info in time/date FTL has been started
2022-02-12 09:30:05 +01:00
yubiuser f4c765a42c Merge pull request #2113 from pi-hole/fix_php_userini
Remove invalid PHP config file and change alert message for `db_queries.js`
2022-02-12 09:22:45 +01:00
Christian König bfe91d9da3 Prevent code injection
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-02-12 09:10:19 +01:00
RD WebDesign 66af9c5f96 Delete .user.php.ini
and change alert message for db_queries.js error.

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-02-11 20:32:24 -03:00
Adam Warner 3abfea0168 Merge pull request #2115 from pi-hole/sanitise-docker-tag
Prevent potential execution of arbitrary code through the PIHOLE_DOCKER_TAG variable
2022-02-11 23:30:34 +00:00
Adam Warner d0ceca674d Prevent potential execution of arbitary code through the PIHOLE_DOCKER_TAG variable and AUTHORIZED_HOSTNAMES
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2022-02-11 23:21:04 +00:00
Adam Warner eaf2fe1bd2 Merge pull request #2114 from pi-hole/apidb_improvement
Improved loop for getAllQueries
2022-02-11 22:23:25 +00:00
Adam Warner bb4cafcb7c Merge pull request #2021 from Iksas/safari-css-animation-fix
Decrease resource usage of CSS animations
2022-02-11 17:23:30 +00:00
yubiuser f727fb7690 Merge pull request #2026 from chrismiceli/issue/1119
1119 Privacy - Query Page and Dom.storage
2022-02-10 22:39:39 +01:00
RD WebDesign 28dbb2ab4f Improved loop for getAllQueries
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-02-09 02:44:12 -03:00
Christian König be31e4ea58 Get TZ info from ENV in docker or date command
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-02-08 21:51:55 +01:00
yubiuser 551e2d093f Merge pull request #2091 from goopilot/devel
API call to modify local DNS and CNAME records
2022-02-07 19:36:37 +01:00
yubiuser 500550107e Merge pull request #2112 from pi-hole/navigation
Add navigation above all datatables
2022-02-06 22:04:04 +01:00
Christian König 01de8fa3a8 Add navigation above all datatables
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-02-06 21:47:44 +01:00
Chris Miceli cb083c061c 1119 Privacy - Query Page and Dom.storage
fix else

Signed-off-by: Chris Miceli <chrismiceli@outlook.com>
2022-02-05 23:04:29 -06:00
Chris Miceli dde4ac7d3e 1119 Privacy - Query Page and Dom.storage
be explicit for undefined

Signed-off-by: Chris Miceli <chrismiceli@outlook.com>
2022-02-05 22:38:56 -06:00
Chris Miceli bb2934e243 1119 Privacy - Query Page and Dom.storage
implement memory storage for functionality in case of no storage

Signed-off-by: Chris Miceli <chrismiceli@outlook.com>
2022-02-05 22:04:14 -06:00
Christian König 9b1e2b8dab Fix indention
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-02-05 19:21:25 +01:00
Christian König a0ee63381f Inlcude timezone info
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-02-05 17:09:51 +01:00
dependabot[bot] a8062b2013 Bump eslint-plugin-compat from 4.0.0 to 4.0.2
Bumps [eslint-plugin-compat](https://github.com/amilajack/eslint-plugin-compat) from 4.0.0 to 4.0.2.
- [Release notes](https://github.com/amilajack/eslint-plugin-compat/releases)
- [Changelog](https://github.com/amilajack/eslint-plugin-compat/blob/main/CHANGELOG.md)
- [Commits](https://github.com/amilajack/eslint-plugin-compat/compare/v4.0.0...v4.0.2)

---
updated-dependencies:
- dependency-name: eslint-plugin-compat
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-05 10:05:54 +00:00
Adam Warner 3e21e323b2 Merge pull request #2097 from pi-hole/dependabot/npm_and_yarn/nanoid-3.2.0
Bump nanoid from 3.1.30 to 3.2.0
2022-02-03 18:05:37 +00:00
Adam Warner 24bf323a08 Merge pull request #2107 from pi-hole/maxlogage_via_API
Retreives maxlogage calling api_FTL.php
2022-02-03 18:04:58 +00:00
rdwebdesign 171bf81b11 Retreives maxlogage calling api_FTL.php
FTL defines MAXLOGAGE value.
PHP retrieves the value and converts seconds to hours
Javascript calls the API to update the value.

Signed-off-by: rdwebdesign <github@rdwebdesign.com.br>
2022-02-01 22:56:06 -03:00
RD WebDesign 7457f68658 Merge pull request #2106 from pi-hole/fix_fixescaping
Fixing the escaping for settings datatable
2022-01-31 18:01:27 -03:00
yubiuser 47c015de11 Merge pull request #2105 from pi-hole/fix_MAXLOGAGE
Limit MAXLOGAGE to 24h, just like FTL
2022-01-31 21:54:26 +01:00
rdwebdesign c2b902da3b Fixing the escaping for settings datatable
This time, fixing the right spot.

Signed-off-by: rdwebdesign <github@rdwebdesign.com.br>
2022-01-31 17:49:58 -03:00
rdwebdesign 7734c22949 Changing the comment
Signed-off-by: rdwebdesign <github@rdwebdesign.com.br>
2022-01-31 16:36:44 -03:00
Adam Warner bddcaf4e05 Merge pull request #2102 from pi-hole/stale
Fix stale label to stale
2022-01-31 19:25:31 +00:00