Skip to content

Commit be05b0f

Browse files
authored
v5.21 (#2860)
2 parents 3dd5752 + 160ff4e commit be05b0f

File tree

16 files changed

+5928
-27
lines changed

16 files changed

+5928
-27
lines changed

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121

2222
steps:
2323
- name: Checkout repository
24-
uses: actions/checkout@v4.1.0
24+
uses: actions/checkout@v4.1.1
2525
# Initializes the CodeQL tools for scanning.
2626
- name: Initialize CodeQL
2727
uses: github/codeql-action/init@v2

.github/workflows/codespell.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
steps:
1212
-
1313
name: Checkout repository
14-
uses: actions/checkout@v4.1.0
14+
uses: actions/checkout@v4.1.1
1515
-
1616
name: Spell-Checking
1717
uses: codespell-project/actions-codespell@master

.github/workflows/editorconfig-checker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ jobs:
99
name: editorconfig-checker
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v4.1.0
12+
- uses: actions/checkout@v4.1.1
1313
- uses: editorconfig-checker/action-editorconfig-checker@main
1414
- run: editorconfig-checker

.github/workflows/php-cs-fixer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
name: PHP-CS-Fixer
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v4.1.0
9+
- uses: actions/checkout@v4.1.1
1010
- name: PHP-CS-Fixer
1111
uses: docker://oskarstark/php-cs-fixer-ga
1212
with:

.github/workflows/phpstan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
build:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v4.1.0
11+
- uses: actions/checkout@v4.1.1
1212

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

.github/workflows/stale.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
runs-on: ubuntu-latest
4242
steps:
4343
- name: Checkout
44-
uses: actions/checkout@v4.1.0
44+
uses: actions/checkout@v4.1.1
4545
- name: Remove 'stale' label
4646
run: gh issue edit ${{ github.event.issue.number }} --remove-label ${{ env.stale_label }}
4747
env:

.github/workflows/sync-back-to-dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
name: Syncing branches
1212
steps:
1313
- name: Checkout
14-
uses: actions/checkout@v4.1.0
14+
uses: actions/checkout@v4.1.1
1515
- name: Opening pull request
1616
run: gh pr create -B devel -H master --title 'Sync master back into development' --body 'Created by Github action' --label 'internal'
1717
env:

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919

2020
steps:
2121
- name: Clone repository
22-
uses: actions/checkout@v4.1.0
22+
uses: actions/checkout@v4.1.1
2323

2424
- name: Set up Node.js
25-
uses: actions/setup-node@v3.8.1
25+
uses: actions/setup-node@v4.0.0
2626
with:
2727
node-version: "16.x"
2828
cache: npm

composer.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"eslint-plugin-compat": "^4.2.0",
2929
"postcss": "^8.4.31",
3030
"postcss-cli": "^10.1.0",
31-
"prettier": "3.0.3",
31+
"prettier": "3.1.0",
3232
"xo": "^0.56.0"
3333
},
3434
"browserslist": [

scripts/pi-hole/js/footer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ function initCheckboxRadioStyle() {
143143
}
144144

145145
var boxsheet = $('<link href="' + getCheckboxURL(chkboxStyle) + '" rel="stylesheet" />');
146-
boxsheet.appendTo("head");
146+
boxsheet.insertAfter($("link[href*='style/vendor/bootstrap/css/bootstrap.min.css']"));
147147

148148
applyCheckboxRadioStyle(chkboxStyle);
149149

scripts/pi-hole/php/header.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
<?php } ?>
4242

4343
<!-- Theme fonts -->
44-
<?php if ($theme == 'lcars') { ?>
44+
<?php if ($theme == 'lcars' || $theme == 'lcars-picard') { ?>
4545
<link rel="stylesheet" href="<?php echo fileversion('style/vendor/fonts/ubuntu-mono/ubuntu-mono.css'); ?>">
4646
<link rel="stylesheet" href="<?php echo fileversion('style/vendor/fonts/antonio/antonio.css'); ?>">
4747
<?php } else { ?>

scripts/pi-hole/php/theme.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
// Option to have the theme go with the device dark mode setting, always set the background to black to avoid flashing
2424
$available_themes['default-auto'] = array('Pi-hole auto theme (light/dark)', true, 'default-auto', '#367fa9');
2525
$available_themes['lcars'] = array('Star Trek LCARS theme (dark)', true, 'lcars', '#4488FF');
26+
$available_themes['lcars-picard'] = array('Star Trek Picard LCARS theme (dark)', true, 'lcars-picard', '#53596C');
2627

2728
$webtheme = '';
2829
// Try to load theme settings from setupVars.conf

style/pi-hole.css

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,11 @@ td.lookatme {
9292
white-space: pre-wrap;
9393
}
9494

95+
/* Client column */
96+
#all-queries td:nth-of-type(4) {
97+
word-break: break-all;
98+
}
99+
95100
/* Allow Info String to wrap (useful while filtering entries on small screen) */
96101
#all-queries_info {
97102
white-space: unset;
@@ -779,29 +784,33 @@ li:not(.menu-open) .treeview-menu .warning-count {
779784
}
780785

781786
/* Domains table: filter by type - smaller icheck */
782-
body:not(.lcars) .filter_types [class*="icheck-"] > label {
787+
body:not([class*="lcars"]) .filter_types [class*="icheck-"] > label {
783788
padding-left: 1.5em !important;
784789
line-height: 1.2em;
785790
min-height: 1.2em;
786791
}
787-
body:not(.lcars)
792+
body:not([class*="lcars"])
788793
.filter_types
789794
[class*="icheck-"]
790795
> input:first-child
791796
+ input[type="hidden"]
792797
+ label::before,
793-
body:not(.lcars) .filter_types [class*="icheck-"] > input:first-child + label::before {
798+
body:not([class*="lcars"]) .filter_types [class*="icheck-"] > input:first-child + label::before {
794799
width: 1.2em;
795800
height: 1.2em;
796801
margin-left: -1.55em;
797802
}
798-
body:not(.lcars)
803+
body:not([class*="lcars"])
799804
.filter_types
800805
[class*="icheck-"]
801806
> input:first-child:checked
802807
+ input[type="hidden"]
803808
+ label::after,
804-
body:not(.lcars) .filter_types [class*="icheck-"] > input:first-child:checked + label::after {
809+
body:not([class*="lcars"])
810+
.filter_types
811+
[class*="icheck-"]
812+
> input:first-child:checked
813+
+ label::after {
805814
width: 0.35em;
806815
height: 0.7em;
807816
top: -0.2em;

0 commit comments

Comments
 (0)