Commit Graph

3992 Commits

Author SHA1 Message Date
buchwasa 79b474009e Added phpstan
Signed-off-by: buchwasa <17461354+buchwasa@users.noreply.github.com>
2020-11-30 23:50:20 -05:00
DL6ER 38d3615a21 Merge pull request #1641 from pi-hole/master
Merge Pi-hole Web 5.2 into development
2020-11-29 17:04:10 +01:00
Adam Warner 2c2d9f5f18 Merge pull request #1638 from pi-hole/release/v5.2
Pi-hole Web 5.2 Release PR
v5.2
2020-11-28 19:04:59 +00:00
Adam Warner 68351a3a91 Merge pull request #1634 from pi-hole/new/unlink_DHCP_lease
Add button to remove dynamic DHCP leases
2020-11-28 16:32:37 +00:00
Adam Warner 483f5037db Merge pull request #1625 from pi-hole/tweak/replace_domains
Add new replace_domain action to allow adding domain(s) exclusively to a specific list
2020-11-28 16:25:38 +00:00
Adam Warner 10505d775a Merge pull request #1636 from yubiuser/tweak/DHCP_options
Make it clearer that the option DHCP rapid commit only applies to IPv4
2020-11-28 16:16:50 +00:00
Adam Warner f386eeb7b6 Merge pull request #1635 from yubiuser/tweak/description_DNS_servers
Summarize the names of DNS servers which support DNSSEC
2020-11-28 16:15:00 +00:00
dependabot-preview[bot] 9075a7c6db Bump xo from 0.34.2 to 0.35.0
Bumps [xo](https://github.com/xojs/xo) from 0.34.2 to 0.35.0.
- [Release notes](https://github.com/xojs/xo/releases)
- [Commits](https://github.com/xojs/xo/compare/v0.34.2...v0.35.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-28 16:14:02 +00:00
Adam Warner 99feecdf4d Merge pull request #1626 from pi-hole/fix/no_empty_names
Ensure empty clients/groups/adlists/audits cannot be added
2020-11-28 16:13:29 +00:00
dependabot-preview[bot] 9217485bc7 Bump prettier from 2.0.4 to 2.2.1
Bumps [prettier](https://github.com/prettier/prettier) from 2.0.4 to 2.2.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.0.4...2.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-28 15:10:27 +00:00
yubiuser 58efc12a19 Fix indention
Signed-off-by: yubiuser <ckoenig@posteo.de>
2020-11-27 21:01:56 +01:00
yubiuser 93e1752315 Be explicite about DHCPv4 rapid commit
Signed-off-by: yubiuser <ckoenig@posteo.de>
2020-11-27 20:51:37 +01:00
yubiuser 3f4b02de1d Switch order of advanced options
Signed-off-by: yubiuser <ckoenig@posteo.de>
2020-11-27 20:49:42 +01:00
yubiuser f6ea7632e2 Summarize the names of DNS servers which support DNSSEC
Signed-off-by: yubiuser <ckoenig@posteo.de>
2020-11-24 20:57:02 +01:00
DL6ER 6e0e1bbb41 Add button to remove dynamic DHCP leases. They are immediately removed both from FTL and the dhcp.leases file (FTL takes care of updating the file!) WITHOUT the need for a restart of the DHCP/DNS resolver.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-11-23 13:35:40 +01:00
DL6ER 1ea21911cf Merge pull request #1630 from pi-hole/new/mesage_dnsmasq_config_errors
Print fatal dnsmasq errors
2020-11-18 00:11:32 +01:00
DL6ER 5e808765e3 Print fatal dnsmasq errors
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-11-17 22:41:00 +01:00
DL6ER ca8781d52b Merge pull request #1627 from pi-hole/new/query_log_upstream_details
Show detailed upstream destination in Query Log(s)
2020-11-15 08:37:27 +01:00
DL6ER 4ee491115a Show upstream destination a query was sent to in the Query Log (both standard and long-term)
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-11-13 01:01:49 +01:00
DL6ER c8b85b8596 Use INSERT OR IGNORE instead of REPLACE
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-11-10 21:26:01 +01:00
DL6ER 632addf41e Add modal close button
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-11-09 22:55:16 +01:00
DL6ER 0de0edcc9b Merge branch 'devel' into tweak/replace_domains 2020-11-09 22:28:13 +01:00
DL6ER a3b24e08aa Reduce code-duplication by moving the addFromQueryLog() function into utils.js. This also fixes non-visible modals on the long-term query log page.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-11-09 21:33:09 +01:00
DL6ER ad43e5a8dc Add missing space and extend error hiding timeout from 4 to 10 seconds.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-11-09 21:21:30 +01:00
DL6ER 4557846858 Use JOIN instead of nested SELECT
Signed-off-by: DL6ER <dl6er@dl6er.de>
Co-authored-by: Adam Warner <me@adamwarner.co.uk>
2020-11-09 21:17:26 +01:00
DL6ER f5a39ce1e4 Check if replacing the domain messes with existing special groups settings. Don't change it but show a warning if this is the case.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-11-08 22:52:03 +01:00
DL6ER 90c9ebc54b Ensure empty clients/groups/adlists/audits cannot be added
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-11-08 22:06:30 +01:00
Adam Warner e8ad94bc5d Merge pull request #1618 from JonFStr/fix/settings-null-check
Added check for NULL value in PHP internal error handling
2020-11-08 18:01:36 +00:00
Adam Warner f5d8ca9843 Update settings.php
Co-authored-by: DL6ER <DL6ER@users.noreply.github.com>
2020-11-08 17:57:12 +00:00
Adam Warner 5465d93558 Merge pull request #1624 from pi-hole/fix/null_unescape
return null if text passed is null. Don't try to unescape it!
2020-11-08 17:53:12 +00:00
DL6ER 0e924fd910 Add new replace_domain action in groups.php to allow adding domain(s) exclusively to a specific list. In this mode, any occurrences of said domain are first removed from the list before adding the new ones.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-11-08 18:51:49 +01:00
Adam Warner 78f88d9633 return null if text passed is null. Don't try to unescape it!
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2020-11-08 17:35:24 +00:00
DL6ER 22f0fd6a27 Merge pull request #1578 from sgtlaggy/fix-query-log-whitelist
Fix Whitelist buttons on query log pages
2020-11-08 18:29:18 +01:00
DL6ER 3739c1600e Merge pull request #1622 from pi-hole/tweak/queryFilters
Add altKey to modifiers when clicking on query log
2020-11-08 17:37:08 +01:00
Adam Warner 638a7db036 Merge pull request #1603 from thislooksfun/devel
Fix html escaping showing up in input fields. (#1584)
2020-11-08 15:40:04 +00:00
Adam Warner 33b660d4fa Merge pull request #1610 from pi-hole/fix/query_retries
Add new query status 12 and 13 (retried queries)
2020-11-08 15:23:00 +00:00
Adam Warner dc5df4eefa Merge pull request #1600 from rickbau5/fix/enable-ui-elements
Fix UI Remaining Disabled in Groups & Adlists Pages
2020-11-08 15:21:58 +00:00
Adam Warner e6e3be489b Add altKey to modifiers when clicking on query log
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2020-11-08 14:58:58 +00:00
Adam Warner 0e43b1f3cf Merge pull request #1563 from yubiuser/tweak/DNSRecordsCNAMETable
Remember last used sort column/direction on Local DNS Records table and CNAME table
2020-11-08 14:23:05 +00:00
Adam Warner c5c1863371 Merge pull request #1481 from dangrussell/patch-1
Update index.php
2020-11-08 14:21:22 +00:00
dependabot-preview[bot] 6781af895d Bump xo from 0.34.1 to 0.34.2
Bumps [xo](https://github.com/xojs/xo) from 0.34.1 to 0.34.2.
- [Release notes](https://github.com/xojs/xo/releases)
- [Commits](https://github.com/xojs/xo/compare/v0.34.1...v0.34.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-08 14:16:46 +00:00
Adam Warner 1826fe5de2 Merge pull request #1393 from pi-hole/fix/group_sel_simple_pages
Fix initial visibility of group selector on simplified black- and whitelist pages
2020-11-08 14:06:00 +00:00
Adam Warner 280d31c00f Merge branch 'devel' into fix/group_sel_simple_pages 2020-11-08 13:57:52 +00:00
Adam Warner 56b5e0d3df Merge pull request #1284 from Th3M3/queryads
Use two different divs for mobile and desktop instead of a JS solution
2020-11-08 13:36:59 +00:00
Jonathan Straub 160f873672 Added check for NULL value in PHP internal error handling
Signed-off-by: Jonathan Straub <j.f.straub@gmx.de>
2020-11-01 16:45:49 +01:00
XhmikosR 274c196e42 Lint.
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-10-26 06:16:04 +00:00
dependabot-preview[bot] c5520d4551 Bump xo from 0.32.1 to 0.34.1
Bumps [xo](https://github.com/xojs/xo) from 0.32.1 to 0.34.1.
- [Release notes](https://github.com/xojs/xo/releases)
- [Commits](https://github.com/xojs/xo/compare/v0.32.1...v0.34.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-26 06:16:04 +00:00
dependabot-preview[bot] b2f8dfecf1 Bump autoprefixer from 9.8.5 to 9.8.6 (#1538)
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 9.8.5 to 9.8.6.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/9.8.5...9.8.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-10-25 16:34:57 +02:00
dependabot-preview[bot] 3c253b4da7 Bump postcss-cli from 7.1.1 to 7.1.2
Bumps [postcss-cli](https://github.com/postcss/postcss-cli) from 7.1.1 to 7.1.2.
- [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/7.1.1...7.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-25 14:34:32 +00:00
DL6ER 6fcd137ed9 Add new query status 12 and 13 (retried queries).
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-10-22 22:30:38 +02:00