diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml index b2795cea..1e43a0eb 100644 --- a/.github/workflows/phpstan.yml +++ b/.github/workflows/phpstan.yml @@ -21,7 +21,7 @@ jobs: run: composer validate - name: Cache Composer packages id: composer-cache - uses: actions/cache@v3.0.10 + uses: actions/cache@v3.0.11 with: path: vendor key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0c4baaa9..f2ebcfb8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -22,7 +22,7 @@ jobs: uses: actions/checkout@v3.1.0 - name: Set up Node.js - uses: actions/setup-node@v3.5.0 + uses: actions/setup-node@v3.5.1 with: node-version: "16.x" cache: npm diff --git a/api_db.php b/api_db.php index fca897a2..f060d47b 100644 --- a/api_db.php +++ b/api_db.php @@ -192,7 +192,7 @@ if (isset($_GET['topDomains']) && $auth) { $limit = ' AND timestamp <= :until'; } // Select top permitted domains only - $stmt = $db->prepare('SELECT domain,count(domain) FROM queries WHERE status IN (2,3,12,13,14)'.$limit.' GROUP by domain order by count(domain) desc limit 20'); + $stmt = $db->prepare('SELECT domain,count(domain) FROM queries WHERE status IN (2,3,12,13,14,17)'.$limit.' GROUP by domain order by count(domain) desc limit 20'); $stmt->bindValue(':from', intval($_GET['from']), SQLITE3_INTEGER); $stmt->bindValue(':until', intval($_GET['until']), SQLITE3_INTEGER); $results = $stmt->execute(); diff --git a/cname_records.php b/cname_records.php index 4804eb68..017fa014 100644 --- a/cname_records.php +++ b/cname_records.php @@ -32,7 +32,7 @@ require 'scripts/pi-hole/php/header_authenticated.php';
- +
diff --git a/db_queries.php b/db_queries.php index d08edf29..af5b0af1 100644 --- a/db_queries.php +++ b/db_queries.php @@ -49,6 +49,7 @@ require 'scripts/pi-hole/php/header_authenticated.php';

+
diff --git a/dns_records.php b/dns_records.php index b0d3f52c..9e3c55b6 100644 --- a/dns_records.php +++ b/dns_records.php @@ -32,7 +32,7 @@ require 'scripts/pi-hole/php/header_authenticated.php';
- +
diff --git a/login.php b/login.php index fc6ba548..a6926000 100644 --- a/login.php +++ b/login.php @@ -42,7 +42,7 @@ require 'scripts/pi-hole/php/header.php';