Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3900 commits
Select commit Hold shift + click to select a range
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
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
900b358
Merge branch 'master' of https://github.com/pi-hole/AdminLTE into dev…
arevindh Oct 18, 2023
18ff23c
rewrite code for test
arevindh Oct 18, 2023
3611d77
fix
arevindh Oct 18, 2023
7143949
Merge pull request #81 from arevindh/dev-v5.20.2
arevindh Oct 18, 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
7a647b3
Merge branch 'master' of https://github.com/pi-hole/AdminLTE into dev…
arevindh Dec 9, 2023
f786329
Merge pull request #82 from arevindh/dev-v5.21
arevindh Dec 9, 2023
974527c
update uninstall and save tz in db
ipitio Jan 20, 2024
fba8bcc
dynamic db button and colorful confirm
ipitio Jan 21, 2024
8de1f9d
fix chart and color
ipitio Jan 22, 2024
3be4148
fix color, replace "deprecated" method
ipitio Jan 22, 2024
3fe24ff
pass tests
ipitio Jan 22, 2024
a2772d4
Merge pull request #83 from ipitio/master
arevindh Jan 22, 2024
b373620
better retry
ipitio Jan 22, 2024
c876d4c
rm extras
ipitio Jan 22, 2024
2192c19
change if
ipitio Jan 22, 2024
2dae9dc
change date in log
ipitio Jan 22, 2024
434f69e
prettier
ipitio Jan 22, 2024
4754165
space
ipitio Jan 22, 2024
941c0ed
punctuation
ipitio Jan 22, 2024
92ae6ab
update uninstall
ipitio Jan 22, 2024
6ab6aa2
allow arbitrary number of hours
ipitio Jan 25, 2024
c8de073
cleaner
ipitio Jan 25, 2024
591c7c6
when x > 0
ipitio Jan 25, 2024
1cac3be
shuffle
ipitio Jan 25, 2024
c365f12
again
ipitio Jan 25, 2024
4841f2d
3 9
ipitio Jan 25, 2024
c9b1614
mb3
ipitio Jan 25, 2024
a3cb27e
create db
ipitio Jan 26, 2024
4ee4cdd
no header and title case and rename th
ipitio Jan 26, 2024
d8a0d53
comma
ipitio Jan 26, 2024
005e376
Allow fractional hours
ipitio Jan 26, 2024
a03c18e
revamp settings, move chart
ipitio Jan 27, 2024
611d42a
servers btn
ipitio Jan 28, 2024
cddbd5a
buttons
ipitio Jan 28, 2024
307e0ef
sudo?
ipitio Jan 28, 2024
a335821
sudo in bash
ipitio Jan 28, 2024
5b9065f
noerr
ipitio Jan 28, 2024
aeab80c
pretty
ipitio Jan 28, 2024
e801aa2
new buttons!!!!
ipitio Jan 30, 2024
8ef4a69
update uninstall
ipitio Jan 30, 2024
fbe9f5d
typo
ipitio Jan 30, 2024
f5d8517
typo
ipitio Jan 30, 2024
4de5d18
numo
ipitio Jan 30, 2024
2e64f49
typo
ipitio Jan 30, 2024
e02407b
no, numo
ipitio Jan 30, 2024
3356fea
""
ipitio Jan 30, 2024
84430f6
if
ipitio Jan 30, 2024
23d6f05
destroy
ipitio Jan 30, 2024
46078d5
typo
ipitio Jan 30, 2024
365d5e9
revert
ipitio Jan 30, 2024
b6d9e6f
workaround
ipitio Jan 30, 2024
2a8b9b5
here too
ipitio Jan 30, 2024
90ca5a4
prettier
ipitio Jan 30, 2024
6011e53
limit unnecessary refreshes
ipitio Jan 30, 2024
fa6d963
fix reshowing preview and use json
ipitio Jan 30, 2024
1998bae
move scripts, remove points
ipitio Jan 31, 2024
6945bac
rm var
ipitio Jan 31, 2024
6bf07e2
higher
ipitio Jan 31, 2024
17cb583
Merge pull request #84 from ipitio/master
arevindh Jan 31, 2024
c6b7789
fix unselect server
ipitio Feb 1, 2024
61aec6d
actually fix
ipitio Feb 1, 2024
a6a4784
autoselect for invalid data
ipitio Feb 1, 2024
cc16c9d
separate condition
ipitio Feb 1, 2024
6ed2f55
Merge branch 'arevindh:master' into master
ipitio Feb 1, 2024
dd7890f
Merge pull request #85 from ipitio/master
arevindh Feb 5, 2024
3ba1355
show error in block
ipitio Feb 5, 2024
0e7a4b6
Merge branch 'arevindh:master' into master
ipitio Feb 5, 2024
baa4c5f
extra check for db backup
ipitio Feb 5, 2024
08ff5ea
support cron script
ipitio Feb 5, 2024
13a9b03
fix docker
ipitio Feb 6, 2024
0e600e5
pretty
ipitio Feb 6, 2024
de2ff2e
update readme
ipitio Feb 7, 2024
d2568f4
no Z
ipitio Feb 8, 2024
30a7518
get last word not char
ipitio Feb 8, 2024
a245cea
get last only if needed
ipitio Feb 8, 2024
d6f0834
add back days to if
ipitio Feb 8, 2024
e7d9cf2
fix error when empty
ipitio Feb 8, 2024
a040ac0
typo
ipitio Feb 8, 2024
380c6c7
better if
ipitio Feb 8, 2024
5ddf4a7
update chart
ipitio Feb 8, 2024
8387c67
fix regex
ipitio Feb 8, 2024
adea096
min 0
ipitio Feb 8, 2024
3f584c4
max
ipitio Feb 8, 2024
0abdfbe
pretty
ipitio Feb 8, 2024
1e43f2c
use utc again
ipitio Feb 8, 2024
f7da7d8
moment
ipitio Feb 8, 2024
38ec7fd
safari
ipitio Feb 8, 2024
38e01c9
format
ipitio Feb 8, 2024
2f069d5
safarii
ipitio Feb 8, 2024
f289cab
reformat
ipitio Feb 8, 2024
83664ba
seconds
ipitio Feb 8, 2024
4e86e81
or days
ipitio Feb 8, 2024
d28e06c
and not days
ipitio Feb 8, 2024
e7340f3
format
ipitio Feb 8, 2024
02f77e3
rfc
ipitio Feb 8, 2024
457f814
last run text
ipitio Feb 8, 2024
6dcf5b4
add cond
ipitio Feb 8, 2024
67ef1ee
another way
ipitio Feb 8, 2024
1c82bf4
add seconds until the next minute
ipitio Feb 8, 2024
45a41a5
typo
ipitio Feb 8, 2024
0f71f75
remainder
ipitio Feb 9, 2024
6ca1380
ensure log
ipitio Feb 9, 2024
e748320
use Date
ipitio Feb 9, 2024
ad0d7d2
verbiage
ipitio Feb 9, 2024
a0fd45a
I can pipe from inside
ipitio Feb 9, 2024
ebe5fee
inline if
ipitio Feb 9, 2024
16dcc64
use pipe
ipitio Feb 9, 2024
3e948c9
move log
ipitio Feb 9, 2024
d29de6d
data =
ipitio Feb 9, 2024
bff39b5
pretty
ipitio Feb 9, 2024
5296259
int
ipitio Feb 11, 2024
755b07a
extra utc?
ipitio Feb 11, 2024
3df07e9
Parse the date as UTC but ignore the time zone conversion by using mo…
ipitio Feb 11, 2024
3f0d3ec
with local()
ipitio Feb 11, 2024
482ba9c
log
ipitio Feb 11, 2024
d439403
no log
ipitio Feb 11, 2024
25634a0
pretty
ipitio Feb 11, 2024
8018334
no animation
ipitio Feb 11, 2024
6e41e6c
why join
ipitio Feb 11, 2024
7c7dd0f
if days
ipitio Feb 11, 2024
24110b1
verbiage
ipitio Feb 11, 2024
b0aca36
add help
ipitio Feb 11, 2024
ca480e6
make it double
ipitio Feb 11, 2024
dc44d91
typo
ipitio Feb 11, 2024
f2ce4b0
.
ipitio Feb 11, 2024
e4bde7a
chart in pre
ipitio Feb 11, 2024
0639856
nvm
ipitio Feb 11, 2024
6cf6f0f
recheck for servers
ipitio Feb 11, 2024
1996ad8
pretty
ipitio Feb 11, 2024
f943cda
destroy after one point
ipitio Feb 11, 2024
cd3386e
fix if
ipitio Feb 11, 2024
090e4bf
getNumberOfDaysInDB
ipitio Feb 13, 2024
33784b8
fix text
ipitio Feb 13, 2024
f1d6504
Merge pull request #86 from ipitio/master
arevindh Feb 13, 2024
0788b8c
getNumberOfDaysInDB on the dashboard too
ipitio Feb 13, 2024
2773fb8
else if
ipitio Feb 13, 2024
62e3de2
verbiage
ipitio Feb 13, 2024
b8bfbf6
get log from volume
ipitio Feb 13, 2024
118e934
Merge branch 'arevindh:master' into master
ipitio Feb 13, 2024
474c741
pretty
ipitio Feb 13, 2024
b5dacaf
getStatusCmd
ipitio Feb 13, 2024
9bafaa9
dedup code
ipitio Feb 13, 2024
20f2165
pretty
ipitio Feb 13, 2024
fd766b9
Merge pull request #87 from ipitio/master
arevindh Feb 17, 2024
9ded01a
count from now
ipitio Feb 19, 2024
2baa694
Merge branch 'arevindh:master' into master
ipitio Feb 19, 2024
4ed34ae
Merge pull request #88 from ipitio/master
arevindh Feb 22, 2024
ca5a063
support librespeed (#89)
ipitio Feb 28, 2024
f69d459
show mod version (#90)
ipitio Feb 29, 2024
e693f17
fix getting version (#91)
ipitio Mar 1, 2024
959769f
update the updating instructions (#92)
ipitio Mar 5, 2024
91bd55e
workaround ookla error (#93)
ipitio Mar 9, 2024
a6373e2
fix ookla and sql issues (#94)
ipitio Mar 14, 2024
ea66757
prettier speedtest log (#95)
ipitio Apr 14, 2024
718bf6e
pretty (#96)
ipitio Apr 14, 2024
59a782a
enhanced chart, smarter status refresh, and various fixes (#97)
ipitio Apr 26, 2024
c24fb4b
use lib, update regex (#98)
ipitio Apr 30, 2024
90c66d6
v2.9 - Expose (Most of) the Mod Script in Settings (#99)
ipitio May 2, 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
3 changes: 3 additions & 0 deletions .codespellignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ede
EDE
doubleclick
39 changes: 39 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# EditorConfig is awesome: https://editorconfig.org/

# top-most EditorConfig file
root = true

# A newline ending every file
[*]
insert_final_newline = true
indent_style = space
indent_size = 4
charset = utf-8
trim_trailing_whitespace = true

[*.css]
indent_size = 2

[*.js]
indent_size = 2

[package.json]
indent_size = 2

[.yamllint.conf]
indent_size = 2

[*.yml]
indent_size = 2

[*.md]
indent_size = 2

# Ignore paths
[**/vendor/**]
charset = unset
end_of_line = unset
insert_final_newline = unset
trim_trailing_whitespace = unset
indent_style = unset
indent_size = unset
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto
41 changes: 23 additions & 18 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,33 +1,38 @@
**In raising this issue, I confirm the following (please check boxes, eg [X] - no spaces) Failure to fill the template will close your issue:**
**In raising this issue, I confirm the following:** `{please fill the checkboxes, e.g: [X]}`

- [] I have read and understood the [contributors guide](https://github.com/pi-hole/pi-hole/blob/master/CONTRIBUTING.md).
- [] The issue I am reporting can be *replicated*
- [] The issue I'm reporting isn't a duplicate (see [FAQs](https://github.com/pi-hole/pi-hole/wiki/FAQs), [closed issues](https://github.com/pi-hole/pi-hole/issues?utf8=%E2%9C%93&q=is%3Aissue%20is%3Aclosed%20), and [open issues](https://github.com/pi-hole/pi-hole/issues)).
- [] I have read and understood the [contributors guide](https://github.com/pi-hole/AdminLTE/blob/master/CONTRIBUTING.md).
- [] The issue I am reporting can be _replicated_.
- [] The issue I am reporting isn't a duplicate (see [FAQs](https://github.com/pi-hole/pi-hole/wiki/FAQs), [closed issues](https://github.com/pi-hole/AdminLTE/issues?utf8=%E2%9C%93&q=is%3Aissue%20is%3Aclosed%20), and [open issues](https://github.com/pi-hole/AdminLTE/issues)).

**How familiar are you with the codebase?:**
**How familiar are you with the the source code relevant to this issue?:**

_{replace this text with a number from 1 to 10, with 1 being not familiar, and 10 being very familiar}_
`{Replace this with a number from 1 to 10. 1 being not familiar, and 10 being very familiar}`

---
**[FEATURE REQUEST | QUESTION | OTHER]:**

Please [submit your feature request here](https://discourse.pi-hole.net/c/feature-requests), so it is votable by the community. It's also easier for us to track.
**Expected behavior:**

**[BUG | ISSUE] Expected Behaviour:**
`{A detailed description of what you expect to see}`

**Actual behavior:**

**[BUG | ISSUE] Actual Behaviour:**
`{A detailed description and/or screenshots of what you do see}`

**Steps to reproduce:**

**[BUG | ISSUE] Steps to reproduce:**
`{Detailed steps of how we can reproduce this}`

-
-
-
-
**Debug token provided by [uploading `pihole -d` log](https://discourse.pi-hole.net/t/the-pihole-command-with-examples/738#debug):**

**(Optional) Debug token generated by `pihole -d`:**
`{Alphanumeric token}`

`<token>`
**Troubleshooting undertaken, and/or other relevant information:**

_This template was created based on the work of [`udemy-dl`](https://github.com/nishad/udemy-dl/blob/master/LICENSE)._
`{Steps of what you have done to fix this}`

> - `{Please delete this quoted section when opening your issue}`
> - You must follow the template instructions. Failure to do so will result in your issue being closed.
> - Please [submit any feature requests here](https://discourse.pi-hole.net/c/feature-requests), so it is votable and trackable by the community.
> - Please respect that Pi-hole is developed by volunteers, who can only reply in their spare time.
> - Detail helps us understand and resolve an issue quicker, but please ensure it's relevant.
> - _This template was created based on the work of [`udemy-dl`](https://github.com/nishad/udemy-dl/blob/master/LICENSE)._
19 changes: 0 additions & 19 deletions .github/PULL_REQUEST_TEMPLATE.md

This file was deleted.

2 changes: 2 additions & 0 deletions .github/dco.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
require:
members: false
66 changes: 66 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: weekly
day: saturday
time: "10:00"
open-pull-requests-limit: 10
target-branch: devel
versioning-strategy: increase
reviewers:
- "pi-hole/web-maintainers"
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: weekly
day: saturday
time: "10:00"
open-pull-requests-limit: 10
target-branch: devel
reviewers:
- "pi-hole/web-maintainers"
- package-ecosystem: composer
directory: "/"
schedule:
interval: weekly
day: saturday
time: "10:00"
open-pull-requests-limit: 10
target-branch: devel
reviewers:
- "pi-hole/web-maintainers"

# As above, but for development-v6
- package-ecosystem: npm
directory: "/"
schedule:
interval: weekly
day: saturday
time: "10:00"
open-pull-requests-limit: 10
target-branch: development-v6
versioning-strategy: increase
reviewers:
- "pi-hole/web-maintainers"
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: weekly
day: saturday
time: "10:00"
open-pull-requests-limit: 10
target-branch: development-v6
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-v6
reviewers:
- "pi-hole/web-maintainers"
7 changes: 7 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
changelog:
exclude:
labels:
- internal
authors:
- dependabot
- github-actions
35 changes: 35 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: "CodeQL"

on:
push:
branches:
- master
- devel
- "!dependabot/**"
pull_request:
# The branches below must be a subset of the branches above
branches:
- master
- devel
schedule:
- cron: "0 0 * * 0"

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4.1.1
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: "javascript"

- name: Autobuild
uses: github/codeql-action/autobuild@v2

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
20 changes: 20 additions & 0 deletions .github/workflows/codespell.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Codespell

on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]

jobs:
spell-check:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
-
name: Checkout repository
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,./package.json,./package-lock.json,./composer.json,./composer.lock
14 changes: 14 additions & 0 deletions .github/workflows/editorconfig-checker
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: editorconfig-checker

on:
pull_request:
push:

jobs:
build:
name: editorconfig-checker
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: editorconfig-checker/action-editorconfig-checker@main
- run: editorconfig-checker
14 changes: 14 additions & 0 deletions .github/workflows/editorconfig-checker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: editorconfig-checker

on:
pull_request:
push:

jobs:
build:
name: editorconfig-checker
runs-on: ubuntu-latest
steps:
- 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."
13 changes: 13 additions & 0 deletions .github/workflows/php-cs-fixer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# .github/workflows/php-cs-fixer.yml
on: [push, pull_request]
name: Lint
jobs:
php-cs-fixer:
name: PHP-CS-Fixer
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.1
- name: PHP-CS-Fixer
uses: docker://oskarstark/php-cs-fixer-ga
with:
args: --diff --dry-run
21 changes: 21 additions & 0 deletions .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: PHPStan

on:
push:
pull_request:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.1

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

- name: Run PHPStan
uses: php-actions/phpstan@v3
with:
configuration: phpstan.neon.dist
memory_limit: 256M

48 changes: 48 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Mark stale issues

on:
schedule:
- cron: '0 8 * * *'
workflow_dispatch:
issue_comment:

env:
stale_label: stale

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

steps:
- 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: '${{ 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 }}
Loading