Skip to content

Commit

Permalink
Draft for .v5.14.1 (#58)
Browse files Browse the repository at this point in the history
* Bump xo from 0.48.0 to 0.49.0

Bumps [xo](https://github.com/xojs/xo) from 0.48.0 to 0.49.0.
- [Release notes](https://github.com/xojs/xo/releases)
- [Commits](xojs/xo@v0.48.0...v0.49.0)

---
updated-dependencies:
- dependency-name: xo
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

* Remove unused case

* Remove empty line before PHP opening tag

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>

* Bump postcss from 8.4.12 to 8.4.14

Bumps [postcss](https://github.com/postcss/postcss) from 8.4.12 to 8.4.14.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](postcss/postcss@8.4.12...8.4.14)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

* Bump autoprefixer from 10.4.4 to 10.4.7

Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.4.4 to 10.4.7.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](postcss/autoprefixer@10.4.4...10.4.7)

---
updated-dependencies:
- dependency-name: autoprefixer
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

* Drop IE 11

Signed-off-by: Christian König <ckoenig@posteo.de>

* Remove unused eslint compat rule

Signed-off-by: Christian König <ckoenig@posteo.de>

* Remove repo specific PR template

Signed-off-by: Christian König <ckoenig@posteo.de>

* Also check wildcard domains for validity before adding

Signed-off-by: Christian König <ckoenig@posteo.de>

* Replace `queries` with `query_storage`

- use client names, when available;
- use column names instead of indexes;

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>

* Change lighttpd log file names

Signed-off-by: Christian König <ckoenig@posteo.de>

* Use IP if there is no client name

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>

* Fix DNSSEC info

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>

* Fixing prettier line break

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>

* Use the same types, as returned by FTL

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>

* Make it clearer where to find the debug token

Signed-off-by: Christian König <ckoenig@posteo.de>

* Use consistent output for both query lists

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>

* Use the correct endpoint for MAXLOGAGE

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>

* Show suggested domains in group domains page

Signed-off-by: Anthony de Jong <11158888+anthony-de-jong@users.noreply.github.com>

* Fix possible XSS in `queryads.php`

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>

* Base DHCP settings on default gateway address and not on IPV4_ADDRESS from setupVars.conf

Signed-off-by: Christian König <ckoenig@posteo.de>

* Do not use IPvX from setupVars in

Signed-off-by: Christian König <ckoenig@posteo.de>

* Fix indention

Co-authored-by: RD WebDesign <github@rdwebdesign.com.br>

* Remove unnecessary else case

Signed-off-by: Christian König <ckoenig@posteo.de>

* Omit DHCPdomain

Co-authored-by: DL6ER <DL6ER@users.noreply.github.com>

* Add a default option for PORTFILE

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>

* Use API gateway endpoint

Signed-off-by: Christian König <ckoenig@posteo.de>

* Remove unnecessary requirement

* Bump xo from 0.49.0 to 0.50.0

Bumps [xo](https://github.com/xojs/xo) from 0.49.0 to 0.50.0.
- [Release notes](https://github.com/xojs/xo/releases)
- [Commits](xojs/xo@v0.49.0...v0.50.0)

---
updated-dependencies:
- dependency-name: xo
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

* Use simpler logic

Co-authored-by: Adam Warner <me@adamwarner.co.uk>

Signed-off-by: yubiuser <ckoenig@posteo.de>

* Update dependabot.yml

Add requested reviewers 

Signed-off-by: Adam Warner <me@adamwarner.co.uk>

* Fix part of issue pi-hole/FTL#1319

Signed-off-by: Pingger Shikkoken <Pingger@users.noreply.github.com>

* Bump prettier from 2.6.2 to 2.7.1

Bumps [prettier](https://github.com/prettier/prettier) from 2.6.2 to 2.7.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](prettier/prettier@2.6.2...2.7.1)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

* Upgrade stale action to v5

Signed-off-by: Christian König <ckoenig@posteo.de>

* Add stale-issue-reason

Signed-off-by: Christian König <ckoenig@posteo.de>

* Add github-action to dependabot

Signed-off-by: Christian König <ckoenig@posteo.de>

* Adjust debug log scroll position

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>

* Add .editorconfig

Signed-off-by: Christian König <ckoenig@posteo.de>

* Add yml editorconfig style

Signed-off-by: Christian König <ckoenig@posteo.de>

* Add editorconfig-checker action workflow

Signed-off-by: Christian König <ckoenig@posteo.de>

* Remove unused parameter

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>

* Adjust .editorconfig to avoid warning messages

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>

* Remove old debug output

and fix indentation.

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>

* Add stickler-CI to test yaml and mkdowm files

Signed-off-by: Christian König <ckoenig@posteo.de>

* Exclude vendor files from stickler check

Signed-off-by: Christian König <ckoenig@posteo.de>

* Bump postcss-cli from 9.1.0 to 10.0.0

Bumps [postcss-cli](https://github.com/postcss/postcss-cli) from 9.1.0 to 10.0.0.
- [Release notes](https://github.com/postcss/postcss-cli/releases)
- [Changelog](https://github.com/postcss/postcss-cli/blob/master/CHANGELOG.md)
- [Commits](postcss/postcss-cli@9.1.0...10.0.0)

---
updated-dependencies:
- dependency-name: postcss-cli
  dependency-type: direct:development
  update-type: version-update:semver-major
...

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

* Switch to node 16.x

Signed-off-by: Christian König <ckoenig@posteo.de>

* Run stale workflow at 8:00 once per day

Signed-off-by: Christian König <ckoenig@posteo.de>

* Change FTL's default log file path from /var/log/pihole/pihole-FTL.log to /var/log/pihole/FTL.log

Signed-off-by: DL6ER <dl6er@dl6er.de>

* Use a random name when creating intermediat archive for teleporter

Signed-off-by: Christian König <ckoenig@posteo.de>

* Show names in top clients list from long-term data

Signed-off-by: Christian König <ckoenig@posteo.de>

* Address reviewer's comment

Co-authored-by: RD WebDesign <github@rdwebdesign.com.br>

Signed-off-by: yubiuser <ckoenig@posteo.de>

* Fix close-issue-reason

Signed-off-by: Christian König <ckoenig@posteo.de>

* Add yamllint config, fix some indentation

Signed-off-by: Adam Warner <me@adamwarner.co.uk>

* Bump actions/cache from 2 to 3

Bumps [actions/cache](https://github.com/actions/cache) from 2 to 3.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](actions/cache@v2...v3)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

* Bump actions/checkout from 2 to 3

Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

* Bump github/codeql-action from 1 to 2

Bumps [github/codeql-action](https://github.com/github/codeql-action) from 1 to 2.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@v1...v2)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

* Bump actions/setup-node from 2 to 3

Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2 to 3.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](actions/setup-node@v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

* Allow to delete IDN via API

Signed-off-by: Christian König <ckoenig@posteo.de>

* Add the new "integrity check" option to debug log page

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>

* Better format for log options

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>

* Fix editing domains from blacklist/whitelist pages

Signed-off-by: Christian König <ckoenig@posteo.de>

* Add highlighting to tailLog.php

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>

* Omit idn_domain as it is not necessary

Co-authored-by: RD WebDesign <github@rdwebdesign.com.br>

Signed-off-by: yubiuser <ckoenig@posteo.de>

* Create separat convertDomainToIDNA function in func.php

Signed-off-by: Christian König <ckoenig@posteo.de>

* Create separat converIDNAToUnicode function in func.php

Signed-off-by: Christian König <ckoenig@posteo.de>

* Removing the text `dnsmasq[nnnn]` from the log.

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>

* Tidy the ends of some php file

Signed-off-by: Gontier Julien <gontierjulien68@gmail.com>

* Remove Blacklist and Whitelist from main nav

Signed-off-by: Christian König <ckoenig@posteo.de>

* Restructure nav menu

Signed-off-by: Christian König <ckoenig@posteo.de>

* Remove black/whitelist from group pages

Signed-off-by: Christian König <ckoenig@posteo.de>

* Remove unused client_id

Signed-off-by: Christian König <ckoenig@posteo.de>

* Fix login redirect and collapsed sidemenu

Signed-off-by: Christian König <ckoenig@posteo.de>

* Address reviewer's comment

Signed-off-by: Christian König <ckoenig@posteo.de>

* Further simplification of the code, removing empty code blocks and some always-true if-clauses

Signed-off-by: DL6ER <dl6er@dl6er.de>

* Remove <configured> from list heading

Signed-off-by: Christian König <ckoenig@posteo.de>

* Fix LCARS menu (add grouping headers)

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>

* Move `require "footer.php"` to loginpage.php

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>

* Simplify `header.php`

- move some functions to `func.php`
- move sidebar to its own file `sidebar.php`
- fix indentation
- LCARS CSS: hide menu headers when logged off
- LCARS CSS: invert hover and active menu colors

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>

* README: Adding logo for github dark theme

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>

* Using the correct dimensions

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>

* Bump xo from 0.50.0 to 0.51.0

Bumps [xo](https://github.com/xojs/xo) from 0.50.0 to 0.51.0.
- [Release notes](https://github.com/xojs/xo/releases)
- [Commits](xojs/xo@v0.50.0...v0.51.0)

---
updated-dependencies:
- dependency-name: xo
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

* Bump autoprefixer from 10.4.7 to 10.4.8

Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.4.7 to 10.4.8.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](postcss/autoprefixer@10.4.7...10.4.8)

---
updated-dependencies:
- dependency-name: autoprefixer
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

* Add A and AAAA to heading

Signed-off-by: Christian König <ckoenig@posteo.de>

* Fix editorconfig-checker

Signed-off-by: Christian König <ckoenig@posteo.de>

* Extend editorconfig rules

Signed-off-by: Christian König <ckoenig@posteo.de>

* Use 4 spaces to indent PHP files.

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>

* Replacing tabs with 4 spaces

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>

* Fixing/ignoring CSS comments

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>

* Fixing lines without multiple of 4 spaces

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>

* Don't check vendor files

Signed-off-by: Christian König <ckoenig@posteo.de>

* Enable check for default-darker after logo

Signed-off-by: Christian König <ckoenig@posteo.de>

* Remove unnecessary indent_style options in .editorconfig

Signed-off-by: Christian König <ckoenig@posteo.de>

* Explicit set minor and patch version on used actions

Signed-off-by: Christian König <ckoenig@posteo.de>

* Set all actions to latest

Signed-off-by: Christian König <ckoenig@posteo.de>

* Bump actions/stale from 5.1.0 to 5.1.1

Bumps [actions/stale](https://github.com/actions/stale) from 5.1.0 to 5.1.1.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/v5.1.1/CHANGELOG.md)
- [Commits](actions/stale@v5.1.0...v5.1.1)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

* Bump actions-ecosystem/action-add-labels from 1.1.0 to 1.1.3

Bumps [actions-ecosystem/action-add-labels](https://github.com/actions-ecosystem/action-add-labels) from 1.1.0 to 1.1.3.
- [Release notes](https://github.com/actions-ecosystem/action-add-labels/releases)
- [Commits](actions-ecosystem/action-add-labels@v1.1.0...v1.1.3)

---
updated-dependencies:
- dependency-name: actions-ecosystem/action-add-labels
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

* Bump actions/cache from 3.0.5 to 3.0.6

Bumps [actions/cache](https://github.com/actions/cache) from 3.0.5 to 3.0.6.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](actions/cache@v3.0.5...v3.0.6)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

* Remove Content-Security-Policy meta tag. We're setting this now as HTTP header which is the preferred way.

Signed-off-by: DL6ER <dl6er@dl6er.de>

* Add PHP-CS-Fixer Workflow

Signed-off-by: DL6ER <dl6er@dl6er.de>

* Run PHP-CS-Fixer on all files

Signed-off-by: DL6ER <dl6er@dl6er.de>

* Fix remaining styling change

Signed-off-by: DL6ER <dl6er@dl6er.de>

* Update .php-cs-fixer.dist.php

Co-authored-by: yubiuser <ckoenig@posteo.de>
Signed-off-by: DL6ER <DL6ER@users.noreply.github.com>

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

Co-authored-by: yubiuser <ckoenig@posteo.de>
Signed-off-by: DL6ER <DL6ER@users.noreply.github.com>

* Explicitly set blank_line_before_statement to exclude include* and require*

Signed-off-by: DL6ER <dl6er@dl6er.de>

* Switch to style Symfony

Signed-off-by: DL6ER <dl6er@dl6er.de>

* Fix unecessary string concat added during the conversion from PhpCsFixer to Symfony

Signed-off-by: DL6ER <dl6er@dl6er.de>

* Add setLineEnding(PHP_EOL)

Signed-off-by: DL6ER <dl6er@dl6er.de>

* Disable Yoda style

Signed-off-by: DL6ER <dl6er@dl6er.de>

* Move login form to a new page

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>

* Testing a shorter main menu + top menu

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>

* Different order

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>

* Fix logout link

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>

* Change left hamburger menu icon to arrows

Signed-off-by: Christian König <ckoenig@posteo.de>

* Remove session timer leftovers

Signed-off-by: Christian König <ckoenig@posteo.de>

* Add link to releases on discourse

Signed-off-by: Christian König <ckoenig@posteo.de>

* Bump postcss from 8.4.14 to 8.4.16

Bumps [postcss](https://github.com/postcss/postcss) from 8.4.14 to 8.4.16.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](postcss/postcss@8.4.14...8.4.16)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

* Bump actions/cache from 3.0.6 to 3.0.7

Bumps [actions/cache](https://github.com/actions/cache) from 3.0.6 to 3.0.7.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](actions/cache@v3.0.6...v3.0.7)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

* Fix donate button on mobile

Signed-off-by: Christian König <ckoenig@posteo.de>

* Remove unused $auth

Signed-off-by: Christian König <ckoenig@posteo.de>

* Extend list of files to be ignored by codespell

Signed-off-by: Christian König <ckoenig@posteo.de>

* fix codespell complains

Signed-off-by: Christian König <ckoenig@posteo.de>

* Remove email functionality

Signed-off-by: Christian König <ckoenig@posteo.de>

* Tweak topbar and sidebar

- fix broken visual after initial changes;
- remove donate button from topmenu;
- re-add donate button to the sidebar and add hover color;
- remove "Ph" when collapsed;
- add icon and background to topmenu button;
- hide main menu headers (using lines as separators);
- reorder the main menu;
- adjust each theme to the new visual (CSS and HTML tweaks).
- new menu colors for LCARS theme

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>

* Change docker upgrade link in footer

Signed-off-by: Christian König <ckoenig@posteo.de>

* Improve pi-hole SVG icon

- keep using inline SVG to allow color change via CSS;
- Reuse the SVG icon in all instances, using SVG symbol;
- Simplify/reduce inline SVG code;

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>

* Improve pi-hole logo

- use the exact brand colors;
- slightly smaller file.

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>

* Move inline svg symbol to external file

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>

* Optimized `safari-pinned-tab.svg` icon

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>

* Reuse paths to improve SVG improve_svg_files

- positioning and rotating the same path to create the Vortex

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>

* Restore save functionality

Signed-off-by: Christian König <ckoenig@posteo.de>

* Add missing parenthesis

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>

* Refocus the domain element after submitting new domain in list form

Signed-off-by: Joshua Wu <Joshua.wu.0910@gmail.com>

* Add auto focus to groups and groups-adlist pages

Signed-off-by: Joshua Wu <Joshua.wu.0910@gmail.com>

* Add auto focus to custom dns and custom cname after submition

Signed-off-by: Joshua Wu <Joshua.wu.0910@gmail.com>

* Adjusting menu colors, active and hover effects

- new menu button colors;
- change sidebar background color;
- small adjustments.

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>

* Fix top background during animation (desktop and mobile)

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>

* Check versions using the new file

- change the arrays
- use a function to compare versions

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>

* Move all "version check" code to `update_checker.php`

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>

* New check warnings logic

Changes:
- Show warning message on docker, if a new image is available;
- Never show the warning for Nightly or Dev images;
- In docker, never show individual component update warnings;
- simplified footer (logic moved to upgrade_checker file).

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>

* Bump xo from 0.51.0 to 0.52.2

Bumps [xo](https://github.com/xojs/xo) from 0.51.0 to 0.52.2.
- [Release notes](https://github.com/xojs/xo/releases)
- [Commits](xojs/xo@v0.51.0...v0.52.2)

---
updated-dependencies:
- dependency-name: xo
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

* Bump actions/cache from 3.0.7 to 3.0.8

Bumps [actions/cache](https://github.com/actions/cache) from 3.0.7 to 3.0.8.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](actions/cache@v3.0.7...v3.0.8)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

* Revert empty domain dot replacement

Signed-off-by: Christian König <ckoenig@posteo.de>

* Keep conversion for long-term data

Signed-off-by: Christian König <ckoenig@posteo.de>

* Add test to avoid "Undefined Variable" warnings

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>

* Add special handling for the root zone on domain validation and IDNA conversion

Signed-off-by: Christian König <ckoenig@posteo.de>

* Show "Logout" link only when a password is required

Re-introducing the test, removed when the menu was updated

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>

* Complementing PR 2316

- other undefined vars are still spamming the log

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>

* Never check for individual component updates on docker

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>

* Remove unnecssary <br> from adlist details

Signed-off-by: Christian König <ckoenig@posteo.de>

* git pu

* editor-config fixes

* fix prettier

* php-cs-fix

* fix more erros

* again more fixes

* removed unsed code

* more fixes

* fix xo erros

* add menu item

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
Signed-off-by: Christian König <ckoenig@posteo.de>
Signed-off-by: Anthony de Jong <11158888+anthony-de-jong@users.noreply.github.com>
Signed-off-by: yubiuser <ckoenig@posteo.de>
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
Signed-off-by: Pingger Shikkoken <Pingger@users.noreply.github.com>
Signed-off-by: DL6ER <dl6er@dl6er.de>
Signed-off-by: Gontier Julien <gontierjulien68@gmail.com>
Signed-off-by: DL6ER <DL6ER@users.noreply.github.com>
Signed-off-by: Joshua Wu <Joshua.wu.0910@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: yubiuser <ckoenig@posteo.de>
Co-authored-by: RD WebDesign <github@rdwebdesign.com.br>
Co-authored-by: Adam Warner <me@adamwarner.co.uk>
Co-authored-by: Dan Schaper <dan.schaper@pi-hole.net>
Co-authored-by: Anthony de Jong <11158888+anthony-de-jong@users.noreply.github.com>
Co-authored-by: DL6ER <DL6ER@users.noreply.github.com>
Co-authored-by: Pingger Shikkoken <Pingger@users.noreply.github.com>
Co-authored-by: DL6ER <dl6er@dl6er.de>
Co-authored-by: Adam Warner <github@adamwarner.co.uk>
Co-authored-by: Gontier Julien <gontierjulien68@gmail.com>
Co-authored-by: Joshua Wu <Joshua.wu.0910@gmail.com>
  • Loading branch information
13 people authored Sep 4, 2022
1 parent 3b87dfd commit 6dd11d7
Show file tree
Hide file tree
Showing 93 changed files with 7,139 additions and 7,251 deletions.
3 changes: 2 additions & 1 deletion .codespellignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
ede
EDE
EDE
doubleclick
21 changes: 16 additions & 5 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,28 @@ charset = utf-8
trim_trailing_whitespace = true

[*.css]
indent_style = space
indent_size = 2

[scripts/**.js]
indent_style = space
[*.js]
indent_size = 2

[package.json]
indent_style = space
indent_size = 2

[.yamllint.conf]
indent_size = 2

[*.yml]
indent_style = space
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
2 changes: 1 addition & 1 deletion .github/dco.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
require:
members: false
members: false
8 changes: 4 additions & 4 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ jobs:

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

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

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v2
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
uses: actions/checkout@v3.0.2
-
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
12 changes: 6 additions & 6 deletions .github/workflows/editorconfig-checker
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ on:

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
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@v3.0.2
- uses: editorconfig-checker/action-editorconfig-checker@main
- run: editorconfig-checker
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@v3.0.2
- name: PHP-CS-Fixer
uses: docker://oskarstark/php-cs-fixer-ga
with:
args: --diff --dry-run
4 changes: 2 additions & 2 deletions .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3.0.2
- name: Change PHP version
run: |
sudo update-alternatives --set php /usr/bin/php8.0
Expand All @@ -21,7 +21,7 @@ jobs:
run: composer validate
- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v2
uses: actions/cache@v3.0.8
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
issues: write

steps:
- uses: actions/stale@v5
- uses: actions/stale@v5.1.1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 30
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sync-back-to-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
name: Syncing branches
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3.0.2
- name: Opening pull request
id: pull
uses: tretuna/sync-branches@1.4.0
Expand All @@ -20,7 +20,7 @@ jobs:
FROM_BRANCH: 'master'
TO_BRANCH: 'devel'
- name: Label the pull request to ignore for release note generation
uses: actions-ecosystem/action-add-labels@v1
uses: actions-ecosystem/action-add-labels@v1.1.3
with:
labels: internal
repo: ${{ github.repository }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:

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

- name: Set up Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v3.4.1
with:
node-version: "16.x"
cache: npm
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ TODO
*.zip
test.html
*.log
.php-cs-fixer.cache

# Intellij IDEA Project Files
*.iml
Expand Down
31 changes: 31 additions & 0 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<?php

/* Pi-hole: A black hole for Internet advertisements
* (c) 2022 Pi-hole, LLC (https://pi-hole.net)
* Network-wide ad blocking via your own hardware.
*
* This file is copyright under the latest version of the EUPL.
* Please see LICENSE file for your rights under this license.
*/

declare(strict_types=1);

$finder = PhpCsFixer\Finder::create()
->ignoreDotFiles(false)
->ignoreVCSIgnored(true)
->exclude('scripts/vendor')
->in(__DIR__)
;

$config = new PhpCsFixer\Config();
$config
->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)
;

return $config;
5 changes: 3 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ The license is available in the 22 official languages of the EU. The English ver
Please see https://joinup.ec.europa.eu/community/eupl/og_page/eupl for official translations of the other languages.

This license applies to the whole project EXCEPT the files located under
- styles/vendor, and
- scripts/vendor

- styles/vendor, and
- scripts/vendor
whose licenses are located therein.

-------------------------------------------------------------
Expand Down
Loading

0 comments on commit 6dd11d7

Please sign in to comment.