Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pi-hole Web v6.1 #3354

Merged
merged 125 commits into from
Mar 30, 2025
Merged

Pi-hole Web v6.1 #3354

merged 125 commits into from
Mar 30, 2025

Conversation

PromoFaux
Copy link
Member

@PromoFaux PromoFaux commented Mar 29, 2025

What's Changed

New Contributors

Full Changelog: v6.0.2...v6.1

XhmikosR and others added 30 commits February 22, 2025 17:07
Move selector where appropriate

Signed-off-by: XhmikosR <[email protected]>
xo doesn't understand CSS syntax so it was useless that it was checking CSS files.

Also, configure autoprefixer so that its changes do not need a prettier fix after that.

Signed-off-by: XhmikosR <[email protected]>
Co-authored-by: RD WebDesign <[email protected]>
Signed-off-by: Dominik <[email protected]>
- set Docker versions (local/remote) to `null` if they are empty strings, undefined or null;
- set other components versions to `"N/A"` if they are empty strings, undefined or null;
- set branches and hashes to `null` if they are empty strings, undefined or null;

Signed-off-by: RD WebDesign <[email protected]>
Signed-off-by: Adam Warner <[email protected]>
Co-authored-by: RD WebDesign <[email protected]>
Signed-off-by: Adam Warner <[email protected]>
 - interfaces that do not depend on others (and have no children) are placed at the top of the treeview
 - interfaces that do have children get them directly assigned below them

Signed-off-by: DL6ER <[email protected]>
…rver-side (where no https may be used when a reverse proxy is used) to user-side where this is more definite

Signed-off-by: DL6ER <[email protected]>
* no need to run CodeQL on Dependabit PRs; no related files are changed there
* specify permissions
* enable `security-and-quality` rules instead of the default rules
* ignore `vendor` folders

Signed-off-by: XhmikosR <[email protected]>
XhmikosR and others added 7 commits March 27, 2025 16:41
Even though right now the API doesn't include any HTML code, it's a better practice to be defensive here.

Signed-off-by: XhmikosR <[email protected]>
This is set in FTL to `no-cache, no-store, must-revalidate, private, max-age=0` so this is redundant

Signed-off-by: XhmikosR <[email protected]>
@yubiuser
Copy link
Member

I think we have enough changes to account for 6.1.0

@PromoFaux PromoFaux changed the title vNext v6.1 Mar 30, 2025
@PromoFaux PromoFaux changed the title v6.1 Pi-hole Web v6.1 Mar 30, 2025
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR prepares the v6.1 release of the Pi-hole Web interface with multiple bug fixes, improvements, and updates across the codebase. Key changes include switching API endpoints to use a configurable apiUrl, refining UI elements such as CPU load and TLS status display, and updating workflows and configurations for CodeQL and Node.js.

Reviewed Changes

Copilot reviewed 107 out of 120 changed files in this pull request and generated no comments.

Show a summary per file
File Description
scripts/js/gravity.js Updated API endpoint usage and corrected related comments
scripts/js/footer.js Switched API URL concatenation, updated TLS detection, CPU load display, and login detection logic
scripts/js/charts.js Updated URL routing for queries
postcss.config.js Added autoprefixer configuration
.github/workflows/test.yml Upgraded Node.js setup action version
.github/workflows/codeql.yml Upgraded CodeQL action versions and modified workflow triggers
.github/codeql/codeql-config.yml Added new CodeQL configuration file
Files not reviewed (13)
  • .gitattributes: Language not supported
  • gravity.lp: Language not supported
  • groups-clients.lp: Language not supported
  • groups-domains.lp: Language not supported
  • groups-lists.lp: Language not supported
  • groups.lp: Language not supported
  • index.lp: Language not supported
  • interfaces.lp: Language not supported
  • login.lp: Language not supported
  • messages.lp: Language not supported
  • network.lp: Language not supported
  • package.json: Language not supported
  • queries.lp: Language not supported
Comments suppressed due to low confidence (2)

scripts/js/footer.js:223

  • The removal of the themename parameter in the applyCheckboxRadioStyle call might cause unexpected behavior if the function still relies on this argument. Please verify that the function signature and its usage are consistent with the intended logic.
applyCheckboxRadioStyle();

scripts/js/footer.js:739

  • Switching the TLS detection to rely solely on location.protocol may not correctly detect HTTPS when the application is behind a reverse proxy. Consider reviewing if additional headers or configurations are needed to accurately determine the connection encryption status.
const isTLS = location.protocol === "https:";

@PromoFaux PromoFaux merged commit 1eaddca into master Mar 30, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants