Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
574 commits
Select commit Hold shift + click to select a range
8025a38
Fix `PHP-CS-Fixer` complaints
PromoFaux Jan 25, 2023
fb1b5c3
Hotfix v5.18.3 (#2512)
PromoFaux Jan 25, 2023
ef5dc34
Sync master back into development (#2513)
yubiuser Jan 25, 2023
4966f01
Use and set the unit on setupVars.conf option TEMPERATUREUNIT
rdwebdesign Jan 27, 2023
d92df4a
If no unit is set on setupVars, try to use localstorage value, if exists
rdwebdesign Jan 27, 2023
ee34c46
Db_queries: use the same color scheme from Dashboard
rdwebdesign Jan 29, 2023
ff74758
Merge pull request #3 from pi-hole/master
DroidFreak32 Jan 30, 2023
f15d104
Move the temperature unit option from the "Per browser" section
rdwebdesign Jan 30, 2023
0d55c51
Improving settings for Web and API
rdwebdesign Feb 1, 2023
3961a98
Use the same wording
rdwebdesign Feb 2, 2023
7373cc2
Fix multiple restarts while importing with Teleporter
yubiuser Feb 2, 2023
68212a8
Use the same color scheme from Dashboard on db_queries.php (#2517)
rdwebdesign Feb 2, 2023
9902119
Fix multiple restarts while importing with Teleporter (#2519)
yubiuser Feb 3, 2023
acb7892
Use the `setupVars.conf` option `TEMPERATUREUNIT`, plus slight rearra…
PromoFaux Feb 9, 2023
b29a423
Pi-hole web v5.18.4 (#2523)
PromoFaux Feb 10, 2023
f2b4fbe
Sync master back into development (#2524)
yubiuser Feb 10, 2023
56b7609
Bump prettier from 2.8.3 to 2.8.4
dependabot[bot] Feb 11, 2023
69297d4
Bump eslint-plugin-compat from 4.0.2 to 4.1.1
dependabot[bot] Feb 11, 2023
d84210f
Bump phpstan/phpstan from 1.9.14 to 1.9.17
dependabot[bot] Feb 11, 2023
aa5068b
Using a new function to retrieve CSS values from classes
rdwebdesign Jan 26, 2023
f59f587
Adding the new themes to the web interface settings
rdwebdesign Feb 11, 2023
578d30b
Bump phpstan/phpstan from 1.9.14 to 1.9.17 (#2527)
yubiuser Feb 13, 2023
5194b5c
Bump eslint-plugin-compat from 4.0.2 to 4.1.1 (#2526)
yubiuser Feb 13, 2023
4da3454
Bump prettier from 2.8.3 to 2.8.4 (#2525)
yubiuser Feb 13, 2023
c74162e
Preparing PHP and javascript files for the new themes
rdwebdesign Feb 11, 2023
c5257bc
Bump eslint-plugin-compat from 4.1.1 to 4.1.2
dependabot[bot] Feb 18, 2023
280ac5b
Bump phpstan/phpstan from 1.9.17 to 1.9.18
dependabot[bot] Feb 18, 2023
dd85f7b
Bump phpstan/phpstan from 1.9.17 to 1.9.18 (#2533)
yubiuser Feb 18, 2023
6c03bde
Bump eslint-plugin-compat from 4.1.1 to 4.1.2 (#2532)
yubiuser Feb 18, 2023
ae94c34
Add CSS for two new high-contrast themes
rdwebdesign Jan 25, 2023
44f3b41
Introducing 2 new high contrast themes (#2522)
rdwebdesign Feb 24, 2023
493a72f
Bump phpstan/phpstan from 1.9.18 to 1.10.2
dependabot[bot] Feb 25, 2023
59e1a6f
Bump phpstan/phpstan from 1.9.18 to 1.10.2 (#2536)
yubiuser Feb 25, 2023
60883eb
Fix successful temperature notification
yubiuser Feb 26, 2023
4f0c309
Fix successful temperature notification (#2537)
yubiuser Feb 26, 2023
185e087
Bump phpstan/phpstan from 1.10.2 to 1.10.3
dependabot[bot] Mar 4, 2023
fbec092
Bump phpstan/phpstan from 1.10.2 to 1.10.3 (#2540)
yubiuser Mar 4, 2023
cccdf47
Bump autoprefixer from 10.4.13 to 10.4.14
dependabot[bot] Mar 11, 2023
a1282a7
Bump phpstan/phpstan from 1.10.3 to 1.10.6
dependabot[bot] Mar 11, 2023
34bea74
Bump autoprefixer from 10.4.13 to 10.4.14 (#2542)
yubiuser Mar 11, 2023
4a9a0c2
Bump phpstan/phpstan from 1.10.3 to 1.10.6 (#2543)
yubiuser Mar 11, 2023
ea91606
Tweak teleporter output
yubiuser Mar 13, 2023
9396208
Merge pull request #4 from pi-hole/master
DroidFreak32 Mar 15, 2023
e40d43e
Fix NaN error message when FTL is offline
rdwebdesign Mar 17, 2023
43503fc
Tweak teleporter output (#2545)
yubiuser Mar 17, 2023
f5427fb
Bump phpstan/phpstan from 1.10.6 to 1.10.7
dependabot[bot] Mar 18, 2023
aa530b0
Bump actions/checkout from 3.3.0 to 3.4.0
dependabot[bot] Mar 18, 2023
e7f0418
Bump phpstan/phpstan from 1.10.6 to 1.10.7 (#2549)
yubiuser Mar 18, 2023
94448ed
Bump actions/checkout from 3.3.0 to 3.4.0 (#2550)
yubiuser Mar 18, 2023
e054749
Update style/themes/lcars.css
infinitytec Mar 3, 2023
6de61a1
Fix NaN error message when FTL is offline (#2548)
rdwebdesign Mar 22, 2023
d7f1842
Release v5.19 (#2551)
PromoFaux Mar 22, 2023
0387568
Bump webpack from 5.75.0 to 5.76.3
dependabot[bot] Mar 22, 2023
e438633
Improve modal close button
infinitytec Mar 23, 2023
cd887a2
add `color-scheme: dark` to fix #2554
SodaWithoutSparkles Mar 23, 2023
6a98f7a
Sync master back into development (#2552)
yubiuser Mar 23, 2023
99354cd
Bump prettier from 2.8.4 to 2.8.7
dependabot[bot] Mar 25, 2023
6d1a903
Bump actions/stale from 7.0.0 to 8.0.0
dependabot[bot] Mar 25, 2023
4381c5a
Bump actions/checkout from 3.4.0 to 3.5.0
dependabot[bot] Mar 25, 2023
52df476
Bump phpstan/phpstan from 1.10.7 to 1.10.8
dependabot[bot] Mar 25, 2023
00d6eef
Bump phpstan/phpstan from 1.10.7 to 1.10.8 (#2560)
yubiuser Mar 26, 2023
7a1ae45
Bump actions/checkout from 3.4.0 to 3.5.0 (#2559)
yubiuser Mar 26, 2023
8022a92
Bump actions/stale from 7.0.0 to 8.0.0 (#2558)
yubiuser Mar 26, 2023
c67056d
Bump prettier from 2.8.4 to 2.8.7 (#2557)
yubiuser Mar 26, 2023
36ecc1b
Update DNSSEC test link
yubiuser Mar 26, 2023
d13f2dc
Fix a few PHP 8 warnings
rdwebdesign Mar 26, 2023
d0508f8
Apply LCARS theme to a few things missing it (#2538)
yubiuser Mar 27, 2023
ed184db
Update DNSSEC test link (#2561)
yubiuser Mar 27, 2023
ecfadfe
Fix a few PHP 8 warnings (#2563)
rdwebdesign Mar 27, 2023
14f09ce
Bump phpstan/phpstan from 1.10.8 to 1.10.9
dependabot[bot] Apr 1, 2023
a03bbb2
Bump phpstan/phpstan from 1.10.8 to 1.10.9 (#2567)
yubiuser Apr 1, 2023
e540bca
Expose docker tag information using the API
rdwebdesign Apr 2, 2023
8f95ec7
Expose docker tag information using the API (#2570)
rdwebdesign Apr 8, 2023
7c2ebef
Add `color-scheme: dark` to avoid problems with browser's "Force dark…
rdwebdesign Apr 8, 2023
ef5cbae
Bump eslint-plugin-compat from 4.1.2 to 4.1.4
dependabot[bot] Apr 8, 2023
0829f3e
Bump phpstan/phpstan from 1.10.9 to 1.10.11
dependabot[bot] Apr 8, 2023
8076595
Bump eslint-plugin-compat from 4.1.2 to 4.1.4 (#2572)
yubiuser Apr 8, 2023
f6acb8f
Bump phpstan/phpstan from 1.10.9 to 1.10.11 (#2574)
yubiuser Apr 8, 2023
d010187
Add a parameter to pidofFTL() function to allow a delay if necessary
rdwebdesign Jan 23, 2023
3b150a1
Adding a javascript countdown while checking FTL status
rdwebdesign Feb 14, 2023
3701203
Trigger stale workflow on issue comments to remove stale label immedi…
yubiuser Apr 15, 2023
3b18e31
Bump actions/checkout from 3.5.0 to 3.5.2
dependabot[bot] Apr 15, 2023
b53b90d
Bump phpstan/phpstan from 1.10.11 to 1.10.13
dependabot[bot] Apr 15, 2023
eb57e02
Bump phpstan/phpstan from 1.10.11 to 1.10.13 (#2577)
yubiuser Apr 15, 2023
7b12c33
Bump actions/checkout from 3.5.0 to 3.5.2 (#2576)
yubiuser Apr 15, 2023
efddf9c
Fixing FTL information on settings page after a FTL restart (#2511)
rdwebdesign Apr 15, 2023
44fc92b
Run seperate job to trigger removal on comments
yubiuser Apr 16, 2023
34db642
Use env variable
yubiuser Apr 17, 2023
29259f2
Bump phpstan/phpstan from 1.10.13 to 1.10.14
dependabot[bot] Apr 22, 2023
a39a534
Bump postcss from 8.4.21 to 8.4.23
dependabot[bot] Apr 22, 2023
db884a7
Bump postcss from 8.4.21 to 8.4.23 (#2580)
yubiuser Apr 22, 2023
861d830
Bump phpstan/phpstan from 1.10.13 to 1.10.14 (#2579)
yubiuser Apr 22, 2023
a3a305b
Bump yaml from 2.2.1 to 2.2.2
dependabot[bot] Apr 25, 2023
fcbb31f
Bump yaml from 2.2.1 to 2.2.2 (#2582)
yubiuser Apr 25, 2023
ea04751
Bump prettier from 2.8.7 to 2.8.8
dependabot[bot] Apr 25, 2023
45b25bd
Bump webpack from 5.75.0 to 5.76.3 (#2553)
yubiuser Apr 25, 2023
51a0020
Bump prettier from 2.8.7 to 2.8.8 (#2583)
yubiuser Apr 25, 2023
086aa51
Use a function to execute the API call to retrieve MAXLOGAGE
rdwebdesign Apr 25, 2023
6ce4ad9
Use current time and maxlogage to limit the time range
rdwebdesign Apr 25, 2023
a44efc0
Fix the graphics time range when MAXLOGAGE is different than 24h (#2585)
DL6ER Apr 26, 2023
8a4436a
Bump xo from 0.53.1 to 0.54.0
dependabot[bot] Apr 8, 2023
34e45ed
Fix warnings
yubiuser Apr 8, 2023
0504ab6
Disable unicorn/no-negated-condition rulse
yubiuser Apr 10, 2023
e75264d
Merge pull request #5 from pi-hole/master
DroidFreak32 May 12, 2023
a688c00
Bump phpstan/phpstan from 1.10.14 to 1.10.15
dependabot[bot] May 13, 2023
800ec66
Bump phpstan/phpstan from 1.10.14 to 1.10.15 (#2588)
yubiuser May 13, 2023
57600b0
Tweak gravity to show the new parse list output
rdwebdesign May 18, 2023
e6cc0ef
Replace the <escape> character with the `\e` escape sequence
rdwebdesign May 18, 2023
ee2dfe3
Adding more detailed description to the function
rdwebdesign May 23, 2023
d27f56d
Tweak the Update Gravity output (#2589)
rdwebdesign May 24, 2023
eac9645
Bump xo from 0.53.1 to 0.54.0 (#2573)
DL6ER May 24, 2023
bf51243
Bump yaml from 2.2.1 to 2.3.0
dependabot[bot] May 24, 2023
630cfd6
Fix linting error introduced by PHP-CS-Fixer v3.17.0
yubiuser May 24, 2023
3e18987
Trigger stale workflow on issue comments to remove stale label immedi…
PromoFaux May 27, 2023
4cedc10
Bump yaml from 2.2.1 to 2.3.0 (#2591)
DL6ER May 27, 2023
0a8aaf8
Merge branch 'devel' into fix/rebase
DL6ER May 27, 2023
17d61e7
Sync master back into development (#2593)
yubiuser May 27, 2023
59b9b32
Bump xo from 0.54.0 to 0.54.2
dependabot[bot] May 27, 2023
a4653d0
Bump xo from 0.54.0 to 0.54.2 (#2592)
yubiuser May 27, 2023
40bb0a3
Pi-hole web v5.20 (#2594)
PromoFaux May 28, 2023
81cbabc
Sync master back into development (#2595)
PromoFaux May 28, 2023
30afba8
Fixing the reversed logic
rdwebdesign May 28, 2023
6964e8c
Fixing the reversed logic (#2597)
PromoFaux May 28, 2023
3a11976
5.20.1 (#2598)
PromoFaux May 28, 2023
23380f6
Sync master back into development (#2599)
PromoFaux May 28, 2023
21db84f
Bump postcss from 8.4.23 to 8.4.24
dependabot[bot] Jun 3, 2023
0ee246d
Bump postcss from 8.4.23 to 8.4.24 (#2604)
yubiuser Jun 4, 2023
9834f09
Bump actions/checkout from 3.4.0 to 3.5.3
dependabot[bot] Jun 10, 2023
bf4d8fe
Bump phpstan/phpstan from 1.10.15 to 1.10.18
dependabot[bot] Jun 10, 2023
5e828b3
Bump actions/checkout from 3.4.0 to 3.5.3 (#2607)
yubiuser Jun 10, 2023
b9158bd
Bump phpstan/phpstan from 1.10.15 to 1.10.18 (#2608)
yubiuser Jun 10, 2023
1c4d8a4
Bump phpstan/phpstan from 1.10.18 to 1.10.19
dependabot[bot] Jun 17, 2023
410e017
Fix spellcheck
yubiuser Jun 18, 2023
c29e352
Bump phpstan/phpstan from 1.10.18 to 1.10.19 (#2610)
yubiuser Jun 18, 2023
580e67c
Bump phpstan/phpstan from 1.10.19 to 1.10.21
dependabot[bot] Jun 24, 2023
a6f9a63
Bump phpstan/phpstan from 1.10.19 to 1.10.21 (#2611)
yubiuser Jun 24, 2023
16951d5
Bump postcss from 8.4.24 to 8.4.25
dependabot[bot] Jul 8, 2023
99b20dd
Bump actions/setup-node from 3.6.0 to 3.7.0
dependabot[bot] Jul 8, 2023
951124a
Bump phpstan/phpstan from 1.10.21 to 1.10.25
dependabot[bot] Jul 8, 2023
43724e8
Bump postcss from 8.4.24 to 8.4.25 (#2620)
yubiuser Jul 8, 2023
50a247a
Bump prettier from 2.8.8 to 3.0.0
dependabot[bot] Jul 8, 2023
60a4a07
Bump actions/setup-node from 3.6.0 to 3.7.0 (#2621)
yubiuser Jul 8, 2023
7b5a51e
Bump phpstan/phpstan from 1.10.21 to 1.10.25 (#2622)
yubiuser Jul 8, 2023
c534ba3
Dependabot for v6 branches
PromoFaux Jul 11, 2023
283aae2
codespell. I didn't even touch this file. How did it get here?
PromoFaux Jul 11, 2023
2459f99
Update eslint-plugin-prettier to v5.0.0
yubiuser Jul 12, 2023
026f662
Fix prettier
yubiuser Jul 12, 2023
c9e170e
Dependabot for v6 branch (#2624)
PromoFaux Jul 12, 2023
3461ecd
Sync master back into development (#2625)
yubiuser Jul 12, 2023
7c67be1
Bump prettier from 2.8.8 to 3.0.0 (#2619)
yubiuser Jul 12, 2023
3ba31ec
Do not try to remove stale label on PRs
yubiuser May 29, 2023
7e3ac6a
Use env variable
yubiuser May 31, 2023
f618f5c
tweak conditional
PromoFaux Jul 12, 2023
c1cd68e
Bump postcss from 8.4.25 to 8.4.26
dependabot[bot] Jul 15, 2023
294fbb1
Bump postcss from 8.4.25 to 8.4.26 (#2635)
PromoFaux Jul 16, 2023
41682f1
Do not try to remove stale label on PRs (#2601)
PromoFaux Jul 18, 2023
c5f41db
Sync master back into development (#2641)
PromoFaux Jul 19, 2023
722bccb
Bump word-wrap from 1.2.3 to 1.2.4
dependabot[bot] Jul 19, 2023
3a507ef
Bump word-wrap from 1.2.3 to 1.2.4 (#2643)
PromoFaux Jul 19, 2023
1930351
Bump postcss from 8.4.26 to 8.4.27
dependabot[bot] Jul 22, 2023
015023a
Bump postcss from 8.4.26 to 8.4.27 (#2645)
yubiuser Jul 22, 2023
415cf7a
Bump xo from 0.54.2 to 0.55.0
dependabot[bot] Jul 22, 2023
44f7cc6
Bump phpstan/phpstan from 1.10.25 to 1.10.26
dependabot[bot] Jul 22, 2023
1cedad0
Bump phpstan/phpstan from 1.10.25 to 1.10.26 (#2646)
yubiuser Jul 22, 2023
879cdc4
Fix CI tests
yubiuser Jul 22, 2023
acd3aca
Bump xo from 0.54.2 to 0.55.0 (#2644)
PromoFaux Jul 23, 2023
c054d8d
replaceAll() requires a global regex
PromoFaux Jul 24, 2023
b00d18b
replaceAll() requires a global regex (#2653)
PromoFaux Jul 24, 2023
49669c9
Bump prettier from 3.0.0 to 3.0.1
dependabot[bot] Aug 5, 2023
c96a1b5
Bump prettier from 3.0.0 to 3.0.1 (#2670)
yubiuser Aug 5, 2023
08cdfbb
Bump phpstan/phpstan from 1.10.26 to 1.10.28
dependabot[bot] Aug 12, 2023
4021552
Bump xo from 0.55.0 to 0.55.1
dependabot[bot] Aug 12, 2023
0d61e88
Bump phpstan/phpstan from 1.10.26 to 1.10.28 (#2676)
yubiuser Aug 12, 2023
ac7d095
Bump xo from 0.55.0 to 0.55.1 (#2677)
yubiuser Aug 12, 2023
71a1712
Bump phpstan/phpstan from 1.10.28 to 1.10.29
dependabot[bot] Aug 19, 2023
32ac5ae
Bump actions/setup-node from 3.7.0 to 3.8.1
dependabot[bot] Aug 19, 2023
cc0d13b
Bump postcss from 8.4.27 to 8.4.28
dependabot[bot] Aug 19, 2023
5b4bd5e
Bump phpstan/phpstan from 1.10.28 to 1.10.29 (#2679)
yubiuser Aug 19, 2023
11be97d
Bump actions/setup-node from 3.7.0 to 3.8.1 (#2680)
yubiuser Aug 19, 2023
853432b
Bump postcss from 8.4.27 to 8.4.28 (#2681)
yubiuser Aug 19, 2023
946fdef
Bump xo from 0.55.1 to 0.56.0
dependabot[bot] Aug 19, 2023
bdf073c
Bump autoprefixer from 10.4.14 to 10.4.15
dependabot[bot] Aug 19, 2023
0804e77
Bump xo from 0.55.1 to 0.56.0 (#2683)
yubiuser Aug 19, 2023
b8382fd
Bump autoprefixer from 10.4.14 to 10.4.15 (#2684)
yubiuser Aug 19, 2023
9480fb7
Bump prettier from 3.0.1 to 3.0.2
dependabot[bot] Aug 19, 2023
0380cfa
Bump prettier from 3.0.1 to 3.0.2 (#2682)
yubiuser Aug 19, 2023
4c00316
Merge pull request #6 from pi-hole/master
DroidFreak32 Aug 23, 2023
89f63e2
Bump actions/checkout from 3.5.3 to 3.6.0
dependabot[bot] Aug 26, 2023
ccc12ab
Bump actions/checkout from 3.5.3 to 3.6.0 (#2691)
yubiuser Aug 26, 2023
ab508f1
Bump phpstan/phpstan from 1.10.29 to 1.10.32
dependabot[bot] Aug 26, 2023
34edc0d
Bump phpstan/phpstan from 1.10.29 to 1.10.32 (#2692)
yubiuser Aug 26, 2023
f0f238a
Bump prettier from 3.0.2 to 3.0.3
dependabot[bot] Sep 2, 2023
e586812
Fix PHP-CS
yubiuser Sep 3, 2023
f54e9ea
Bump prettier from 3.0.2 to 3.0.3 (#2696)
yubiuser Sep 3, 2023
83c3e33
Bump eslint-plugin-compat from 4.1.4 to 4.2.0
dependabot[bot] Sep 3, 2023
0733b9c
Bump eslint-plugin-compat from 4.1.4 to 4.2.0 (#2695)
yubiuser Sep 3, 2023
909f49a
Bump postcss from 8.4.28 to 8.4.29
dependabot[bot] Sep 3, 2023
4ba1aa2
Bump postcss from 8.4.28 to 8.4.29 (#2694)
yubiuser Sep 3, 2023
ce168a3
Bump phpstan/phpstan from 1.10.32 to 1.10.33
dependabot[bot] Sep 9, 2023
a3fcf52
Bump actions/checkout from 3.6.0 to 4.0.0
dependabot[bot] Sep 9, 2023
ad08f66
Bump actions/checkout from 3.6.0 to 4.0.0 (#2705)
yubiuser Sep 9, 2023
d7ad56e
Bump phpstan/phpstan from 1.10.32 to 1.10.33 (#2704)
yubiuser Sep 9, 2023
f1c17d2
Bump phpstan/phpstan from 1.10.33 to 1.10.34
dependabot[bot] Sep 16, 2023
ec72fbc
Bump phpstan/phpstan from 1.10.33 to 1.10.34 (#2708)
yubiuser Sep 16, 2023
48febbb
Fix PHP_CS error
yubiuser Sep 20, 2023
a690041
Fix PHP_CS error (#2710)
yubiuser Sep 20, 2023
b1536c1
Bump actions/checkout from 4.0.0 to 4.1.0
dependabot[bot] Sep 23, 2023
b487949
Bump autoprefixer from 10.4.15 to 10.4.16
dependabot[bot] Sep 23, 2023
f268e16
Bump postcss from 8.4.29 to 8.4.30
dependabot[bot] Sep 23, 2023
fe12ea7
Bump phpstan/phpstan from 1.10.34 to 1.10.35
dependabot[bot] Sep 23, 2023
2bc9ae3
Bump actions/checkout from 4.0.0 to 4.1.0 (#2712)
yubiuser Sep 23, 2023
7121d5a
Bump autoprefixer from 10.4.15 to 10.4.16 (#2713)
yubiuser Sep 23, 2023
8dd8029
Bump postcss from 8.4.29 to 8.4.30 (#2714)
yubiuser Sep 23, 2023
b8234d3
Bump phpstan/phpstan from 1.10.34 to 1.10.35 (#2717)
yubiuser Sep 23, 2023
82c3a69
Bump phpstan/phpstan from 1.10.35 to 1.10.36
dependabot[bot] Sep 30, 2023
51fe637
Bump postcss from 8.4.30 to 8.4.31
dependabot[bot] Sep 30, 2023
9406ce7
Bump phpstan/phpstan from 1.10.35 to 1.10.36 (#2721)
yubiuser Sep 30, 2023
f5590a0
Bump postcss from 8.4.30 to 8.4.31 (#2723)
yubiuser Sep 30, 2023
ac49a5e
Bump phpstan/phpstan from 1.10.36 to 1.10.38
dependabot[bot] Oct 7, 2023
6521890
Bump phpstan/phpstan from 1.10.36 to 1.10.38 (#2726)
yubiuser Oct 7, 2023
3dd5752
v5.20.2 (#2731)
PromoFaux Oct 11, 2023
ff77b8f
Sync master back into development (#2734)
PromoFaux Oct 11, 2023
e5f4f37
Insert icheck CSS right after Bootstrap
rdwebdesign Oct 15, 2023
099f2bc
Exclude any theme containing "lcars" on the name
rdwebdesign Oct 15, 2023
ea74a78
Insert icheck CSS right after bootstrap file. (#2752)
rdwebdesign Oct 16, 2023
2c40ec6
Bump phpstan/phpstan from 1.10.38 to 1.10.39
dependabot[bot] Oct 21, 2023
96b11dc
Bump actions/checkout from 4.1.0 to 4.1.1
dependabot[bot] Oct 21, 2023
2124716
Bump actions/checkout from 4.1.0 to 4.1.1 (#2768)
yubiuser Oct 21, 2023
765c5ca
Bump phpstan/phpstan from 1.10.38 to 1.10.39 (#2766)
yubiuser Oct 21, 2023
607b976
Bump actions/setup-node from 3.8.1 to 4.0.0
dependabot[bot] Oct 28, 2023
0f0db85
Bump actions/setup-node from 3.8.1 to 4.0.0 (#2788)
yubiuser Oct 28, 2023
070ccb5
Added new LCARS theme
MichalSvatos Sep 19, 2023
e38522b
New theme LCARS-Picard (#2709)
rdwebdesign Nov 1, 2023
c968fb0
Bump phpstan/phpstan from 1.10.39 to 1.10.40
dependabot[bot] Nov 4, 2023
a8b946a
Bump phpstan/phpstan from 1.10.39 to 1.10.40 (#2804)
yubiuser Nov 4, 2023
7696e31
Bump phpstan/phpstan from 1.10.40 to 1.10.41
dependabot[bot] Nov 11, 2023
4364c04
Bump phpstan/phpstan from 1.10.40 to 1.10.41 (#2816)
yubiuser Nov 11, 2023
d64d2ba
Add word break for clients column, to avoid horizintal scrollbar
rdwebdesign Nov 15, 2023
503315d
Add word break for clients column to avoid horizontal scrollbar (#2838)
rdwebdesign Nov 15, 2023
ba57c01
Bump prettier from 3.0.3 to 3.1.0
dependabot[bot] Nov 18, 2023
2d0bc06
Bump phpstan/phpstan from 1.10.41 to 1.10.42
dependabot[bot] Nov 18, 2023
04c617c
Bump phpstan/phpstan from 1.10.41 to 1.10.42 (#2849)
yubiuser Nov 18, 2023
160ff4e
Bump prettier from 3.0.3 to 3.1.0 (#2848)
yubiuser Nov 18, 2023
be05b0f
v5.21 (#2860)
PromoFaux Nov 21, 2023
6b8f540
Merge tag 'v5.21' of https://github.com/pi-hole/web
DroidFreak32 Nov 29, 2023
291010b
chore: Update target-branch in dependabot.yml to development
PromoFaux Sep 2, 2024
99be2e1
Update branch name in sync-back-to-dev workflow
PromoFaux Sep 2, 2024
fe7ca90
update branch name in various other places from devel->development
PromoFaux Sep 2, 2024
5c8945c
chore: Update target-branch in dependabot.yml to development (#3126)
PromoFaux Sep 2, 2024
1bcfcfb
Merge branch 'pi-hole:master' into master
DroidFreak32 Oct 14, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 12 additions & 14 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,8 @@ updates:
day: saturday
time: "10:00"
open-pull-requests-limit: 10
target-branch: devel
target-branch: development
versioning-strategy: increase
ignore:
- dependency-name: postcss
versions:
- 8.2.6
- 8.2.7
- dependency-name: xo
versions:
- 0.38.1
- dependency-name: autoprefixer
versions:
- 10.2.3
- 10.2.4
reviewers:
- "pi-hole/web-maintainers"
- package-ecosystem: github-actions
Expand All @@ -30,6 +18,16 @@ updates:
day: saturday
time: "10:00"
open-pull-requests-limit: 10
target-branch: devel
target-branch: development
reviewers:
- "pi-hole/web-maintainers"
- package-ecosystem: composer
directory: "/"
schedule:
interval: weekly
day: saturday
time: "10:00"
open-pull-requests-limit: 10
target-branch: development
reviewers:
- "pi-hole/web-maintainers"
6 changes: 3 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ on:
push:
branches:
- master
- devel
- development
- "!dependabot/**"
pull_request:
# The branches below must be a subset of the branches above
branches:
- master
- devel
- development
schedule:
- cron: "0 0 * * 0"

Expand All @@ -21,7 +21,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3.0.2
uses: actions/checkout@v4.1.1
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codespell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
steps:
-
name: Checkout repository
uses: actions/checkout@v3.0.2
uses: actions/checkout@v4.1.1
-
name: Spell-Checking
uses: codespell-project/actions-codespell@master
with:
ignore_words_file: .codespellignore
skip: ./scripts/vendor,./style/vendor
skip: ./scripts/vendor,./style/vendor,./package.json,./package-lock.json,./composer.json,./composer.lock
2 changes: 1 addition & 1 deletion .github/workflows/editorconfig-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ jobs:
name: editorconfig-checker
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.0.2
- uses: actions/checkout@v4.1.1
- uses: editorconfig-checker/action-editorconfig-checker@main
- run: editorconfig-checker
21 changes: 21 additions & 0 deletions .github/workflows/merge-conflict.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: "Check for merge conflicts"
on:
# So that PRs touching the same files as the push are updated
push:
# So that the `dirtyLabel` is removed if conflicts are resolve
# We recommend `pull_request_target` so that github secrets are available.
# In `pull_request` we wouldn't be able to change labels of fork PRs
pull_request_target:
types: [synchronize]

jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Check if PRs are have merge conflicts
uses: eps1lon/actions-label-merge-conflict@v2.1.0
with:
dirtyLabel: "Merge Conflicts"
repoToken: "${{ secrets.GITHUB_TOKEN }}"
commentOnDirty: "This pull request has conflicts, please resolve those before we can evaluate the pull request."
commentOnClean: "Conflicts have been resolved."
2 changes: 1 addition & 1 deletion .github/workflows/php-cs-fixer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
name: PHP-CS-Fixer
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.0.2
- uses: actions/checkout@v4.1.1
- name: PHP-CS-Fixer
uses: docker://oskarstark/php-cs-fixer-ga
with:
Expand Down
33 changes: 10 additions & 23 deletions .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,27 +8,14 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.0.2
- name: Change PHP version
run: |
sudo update-alternatives --set php /usr/bin/php8.0
sudo update-alternatives --set phar /usr/bin/phar8.0
sudo update-alternatives --set phpdbg /usr/bin/phpdbg8.0
sudo update-alternatives --set php-cgi /usr/bin/php-cgi8.0
sudo update-alternatives --set phar.phar /usr/bin/phar.phar8.0
php -version
- name: Validate composer.json and composer.lock
run: composer validate
- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v3.0.6
- uses: actions/checkout@v4.1.1

- name: Install composer
uses: php-actions/composer@v6

- name: Run PHPStan
uses: php-actions/phpstan@v3
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-
- name: Install dependencies
if: steps.composer-cache.outputs.cache-hit != 'true'
run: composer install --prefer-dist --no-progress --no-suggest
- name: Run phpstan
run: composer run-script phpstan
configuration: phpstan.neon.dist
memory_limit: 256M

32 changes: 27 additions & 5 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,45 @@ on:
schedule:
- cron: '0 8 * * *'
workflow_dispatch:
issue_comment:

jobs:
stale:
env:
stale_label: stale

jobs:
stale_action:
if: github.event_name != 'issue_comment'
runs-on: ubuntu-latest
permissions:
issues: write

steps:
- uses: actions/stale@v5.1.1
- uses: actions/stale@v8.0.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 30
days-before-close: 5
stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Please comment or update this issue or it will be closed in 5 days.'
stale-issue-label: 'stale'
exempt-issue-labels: 'internal, Fixed In Next Release, Bug'
stale-issue-label: '${{ env.stale_label }}'
exempt-issue-labels: 'internal, Fixed In Next Release, Bug, never-stale'
exempt-all-issue-assignees: true
operations-per-run: 300
close-issue-reason: 'not_planned'

remove_stale:
# trigger "stale" removal immediately when stale issues are commented on
# we need to explicitly check that the trigger does not run on comment on a PR as
# 'issue_comment' triggers on issues AND PR comments
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#issue_comment-on-issues-only-or-pull-requests-only
if: ${{ !github.event.issue.pull_request && github.event_name != 'schedule' }}
permissions:
contents: read # for actions/checkout
issues: write # to edit issues label
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4.1.1
- name: Remove 'stale' label
run: gh issue edit ${{ github.event.issue.number }} --remove-label ${{ env.stale_label }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
35 changes: 35 additions & 0 deletions .github/workflows/stale_pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Close stale PR
# This action will add a `stale` label and close immediately every PR that meets the following conditions:
# - it is already marked with "merge conflict" label
# - there was no update/comment on the PR in the last 30 days.

on:
schedule:
- cron: '0 10 * * *'
workflow_dispatch:

jobs:
stale:

runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write

steps:
- uses: actions/stale@v8.0.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
# Do not automatically mark PR/issue as stale
days-before-stale: -1
# Override 'days-before-stale' for PR only
days-before-pr-stale: 30
# Close PRs immediately, after marking them 'stale'
days-before-pr-close: 0
# only run the action on merge conflict PR
any-of-labels: 'Merge Conflicts'
exempt-pr-labels: 'internal, never-stale, ON HOLD, WIP'
exempt-all-pr-assignees: true
operations-per-run: 300
stale-pr-message: ''
close-pr-message: 'Existing merge conflicts have not been addressed. This PR is considered abandoned.'
15 changes: 3 additions & 12 deletions .github/workflows/sync-back-to-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,8 @@ jobs:
name: Syncing branches
steps:
- name: Checkout
uses: actions/checkout@v3.0.2
uses: actions/checkout@v4.1.1
- name: Opening pull request
id: pull
uses: tretuna/sync-branches@1.4.0
with:
run: gh pr create -B development -H master --title 'Sync master back into development' --body 'Created by Github action' --label 'internal'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
FROM_BRANCH: 'master'
TO_BRANCH: 'devel'
- name: Label the pull request to ignore for release note generation
uses: actions-ecosystem/action-add-labels@v1.1.3
with:
labels: internal
repo: ${{ github.repository }}
number: ${{ steps.pull.outputs.PULL_REQUEST_NUMBER }}
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Tests
on:
push:
branches:
- devel
- development
- master
pull_request:
branches:
Expand All @@ -19,10 +19,10 @@ jobs:

steps:
- name: Clone repository
uses: actions/checkout@v3.0.2
uses: actions/checkout@v4.1.1

- name: Set up Node.js
uses: actions/setup-node@v3.4.1
uses: actions/setup-node@v4.0.0
with:
node-version: "16.x"
cache: npm
Expand Down
1 change: 1 addition & 0 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
->setRules(array(
'@Symfony' => true,
'array_syntax' => array('syntax' => 'long'),
'yoda_style' => array('equal' => false, 'identical' => false, 'less_and_greater' => false, 'always_move_variable' => false),
))
->setLineEnding(PHP_EOL)
->setFinder($finder)
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ When requesting or submitting new features, first consider whether it might be u

## Technical Requirements

- Submit Pull Requests to the **devel branch only**.
- Before Submitting your Pull Request, merge `devel` with your new branch and fix any conflicts. (Make sure you don't break anything in development!)
- Submit Pull Requests to the **development branch only**.
- Before Submitting your Pull Request, merge `development` with your new branch and fix any conflicts. (Make sure you don't break anything in development!)
- Commit Unix line endings.
- Please use the Pi-hole brand: **Pi-hole** (Take a special look at the capitalized 'P' and a low 'h' with a hyphen)
- (Optional fun) keep to the theme of Star Trek/black holes/gravity.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<br>
<br>
<a href="https://pi-hole.net/">
<img src="https://pi-hole.github.io/graphics/Screenshots/pihole-dashboard.png" alt="Pi-hole Web interface">
<img src="https://pi-hole.github.io/graphics/Screenshots/pihole_dashboard_v5.png" alt="Pi-hole Web interface">
</a>
</p>

Expand Down Expand Up @@ -112,7 +112,7 @@ While we are primarily reachable on our <a href="https://discourse.pi-hole.net/"
## Password protection

<p align="center">
<img src="https://pi-hole.github.io/graphics/Screenshots/password-protection.png" height="400" alt="Password protection">
<img src="https://pi-hole.github.io/graphics/Screenshots/password_protection_v5.png" alt="Password protection">
</p>

## Detailed graphs and doughnut charts
Expand Down
28 changes: 23 additions & 5 deletions api.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
*/

$api = true;
require_once 'scripts/pi-hole/php/FTL.php';
require_once 'scripts/pi-hole/php/password.php';
require_once 'scripts/pi-hole/php/FTL.php';
require_once 'scripts/pi-hole/php/database.php';
require_once 'scripts/pi-hole/php/auth.php';
check_cors();
Expand Down Expand Up @@ -71,10 +71,28 @@
$branches = array('core_branch' => $core_branch,
'web_branch' => $web_branch,
'FTL_branch' => $FTL_branch, );
if (isset($versions['DOCKER_VERSION'])) {
// Docker info is available only inside containers
$updates['docker_update'] = $docker_update;
$current['docker_current'] = $docker_current;
$latest['docker_latest'] = $docker_latest;
}

$data = array_merge($data, $updates);
$data = array_merge($data, $current);
$data = array_merge($data, $latest);
$data = array_merge($data, $branches);
} elseif (isset($_GET['setTempUnit'])) {
$unit = strtolower($_GET['setTempUnit']);
if ($unit == 'c' || $unit == 'f' || $unit == 'k') {
pihole_execute('-a -'.$unit);
$result = 'success';
} else {
// invalid unit
$result = 'error';
}

$data = array_merge($data, array('result' => $result));
} elseif (isset($_GET['list'])) {
if (!$auth) {
exit('Not authorized!');
Expand All @@ -86,22 +104,22 @@

switch ($_GET['list']) {
case 'black':
$_POST['type'] = ListType::blacklist;
$_POST['type'] = LISTTYPE_BLACKLIST;

break;

case 'regex_black':
$_POST['type'] = ListType::regex_blacklist;
$_POST['type'] = LISTTYPE_REGEX_BLACKLIST;

break;

case 'white':
$_POST['type'] = ListType::whitelist;
$_POST['type'] = LISTTYPE_WHITELIST;

break;

case 'regex_white':
$_POST['type'] = ListType::regex_whitelist;
$_POST['type'] = LISTTYPE_REGEX_WHITELIST;

break;

Expand Down
Loading