Commit Graph

11382 Commits

Author SHA1 Message Date
Squidly271
bf0207ff0a Fix: Don't allow charts to update before previous animation is complete 2025-09-16 00:32:27 -04:00
tom mortensen
691c19946c Merge pull request #2368 from unraid/fix/update-banner-on-pr-plugins
fix: update banner when PR plugin updates
2025-09-15 11:49:58 -07:00
tom mortensen
9a6ee0ad07 Merge pull request #2367 from unraid/fix/diagnostics-download-offscreen
fix: diagnostics downloads showing offscreen
2025-09-15 11:48:18 -07:00
tom mortensen
36d0102e07 Merge pull request #2360 from unraid/feat/reiser-and-xfs-4-warnings
feat: Implement deprecated filesystem detection and warnings for array and cache devices
2025-09-15 11:47:34 -07:00
Eli Bosley
1f89faf0c4 fix: update PR comment action to use sticky-pull-request-comment for better visibility and organization 2025-09-15 13:29:57 -04:00
Eli Bosley
e1a2c2f86e fix: optimize plugin removal process in generate-pr-plugin.sh by utilizing automatic page reload and clarifying .plg file handling 2025-09-15 13:26:11 -04:00
Eli Bosley
9fdb903057 fix: ensure consistent formatting in Main.page by adding newline at end of file 2025-09-15 12:33:00 -04:00
Eli Bosley
ee9f515551 fix: update PR plugin banner behavior to make update checks non-dismissible and adjust uninstall link dismissibility 2025-09-15 12:28:42 -04:00
Eli Bosley
3eb9b42829 fix: ensure new banner file creation by removing old banner in generate-pr-plugin.sh 2025-09-15 12:26:35 -04:00
Eli Bosley
06d50f131b fix: streamline plugin removal process in generate-pr-plugin.sh by using openPlugin method and adjusting reload timing 2025-09-15 12:25:52 -04:00
Eli Bosley
755885c6c8 fix: improve uninstall link styling in PR plugin banner 2025-09-15 12:23:32 -04:00
Eli Bosley
402ed95ce8 chore: change main.page back to trigger build 2025-09-15 12:19:20 -04:00
Eli Bosley
fc9daea0f8 fix: update generate-pr-plugin.sh to specify installation method for Banner-PR_PLACEHOLDER.page 2025-09-15 12:18:11 -04:00
Eli Bosley
82710b0ebf fix: update generate-pr-plugin.sh to include installation method and remove unnecessary method attribute from Banner-PR_PLACEHOLDER.page 2025-09-15 12:16:47 -04:00
Eli Bosley
a3341d3b74 fix: enhance uninstall functionality for PR plugin with confirmation dialog and improved messaging 2025-09-15 12:13:16 -04:00
Eli Bosley
94a0a929cc fix: add uninstall button to PR plugin banner 2025-09-15 12:08:26 -04:00
Eli Bosley
fbb6ad481e fix: update plugin URL generation and ensure newline at end of Main.page 2025-09-15 12:06:26 -04:00
Eli Bosley
8ecaf59559 fix: update banner when PR plugin updates? 2025-09-15 12:03:59 -04:00
Eli Bosley
f7d1ff3a72 fix: diagnostics downloads showing offscreen 2025-09-15 11:04:09 -04:00
Eli Bosley
8e5bdaae8d refactor: Improve XFS v4 notice display in filesystem warnings
- Changed the XFS v4 notice from a span to a div for better styling and layout.
- Removed the .notice class to prevent duplicate icons, enhancing the visual clarity of the warning message.
2025-09-12 15:58:15 -04:00
Eli Bosley
9603eaa00a fix: Clarify XFS v4 deprecation timeline in warning message
- Updated the deprecation message for XFS v4 to specify the migration deadline as 2030, improving user awareness and understanding of the timeline for necessary filesystem upgrades.
2025-09-12 15:28:30 -04:00
Eli Bosley
f5a36c6ac1 fix: Update XFS v4 deprecation message for clarity
- Revised the warning message for XFS v4 to emphasize its deprecation and the timeline for migration to XFS v5, enhancing user understanding.
2025-09-12 15:12:30 -04:00
Eli Bosley
f0cfe5199f refactor: Simplify filesystem warning checks by removing test mode logic
- Removed test mode checks for deprecated filesystem warnings in the check_disk_for_deprecated_fs function.
- Streamlined the logic for detecting ReiserFS and XFS v4 filesystems, enhancing code clarity and maintainability.
2025-09-12 14:45:24 -04:00
Eli Bosley
5551dd5f98 refactor: Enhance filesystem warning handling and display
- Replaced deprecated filesystem warning logic with a shared helper function for better maintainability.
- Updated DeviceInfo.page to utilize the new helper for displaying filesystem warnings.
- Improved the display of critical and notice warnings for deprecated filesystems, including session-based dismissal for notices.
2025-09-12 14:44:45 -04:00
Eli Bosley
f2cad7693c feat: Implement deprecated filesystem detection and warnings for array and cache devices
- Added a shared function to check for deprecated filesystems (ReiserFS and XFS v4) across array and cache devices.
- Updated ArrayDevices.page and CacheDevices.page to display warnings for deprecated filesystems.
- Introduced helper functions for generating filesystem warning icons and messages.
2025-09-12 13:55:04 -04:00
tom mortensen
55d5731236 Merge pull request #2362 from unraid/fix/logout-page-text-color
fix: update text color in .login.php for better visibility
2025-09-11 11:47:35 -07:00
tom mortensen
d1f044366b Merge pull request #2361 from unraid/fix/routing-table-classes
fix: routing table fixed classes removed
2025-09-11 11:46:52 -07:00
Eli Bosley
8a30a4803c fix: routing table fixed classes removed 2025-09-10 10:13:59 -07:00
Eli Bosley
786bc00e33 fix: update text color in .login.php for better visibility 2025-09-10 10:13:41 -07:00
ljm42
31354e92e5 Merge pull request #2363 from unraid/feat/plugin-pr-builds
feat: add GitHub Actions workflow and script for generating PR plugins
2025-09-10 10:03:15 -07:00
Eli Bosley
2a3f3f55b6 fix: add missing newline at end of Plugins.page file 2025-09-10 12:56:55 -04:00
Eli Bosley
d82b8f82cc chore: enhance PR plugin build workflow with error handling and debugging
- Added error handling to the GitHub Actions workflow by setting `set -euo pipefail` for improved reliability.
- Updated the `git diff` command to use the correct syntax for comparing PR SHAs, ensuring accurate retrieval of changed files in the `emhttp` directory.
2025-09-10 12:55:28 -04:00
Eli Bosley
e2b79e7297 chore: revert plugins.page 2025-09-10 12:54:24 -04:00
Eli Bosley
98ce9b8723 test: change Plugins page to validate update flows 2025-09-10 12:52:06 -04:00
Eli Bosley
95228bf8d6 chore: refine PR plugin script and workflow for improved tarball handling
- Updated `generate-pr-plugin.sh` to clarify usage instructions and rename parameters for local and remote tarball handling.
- Enhanced the GitHub Actions workflow to define local and remote tarball filenames, ensuring consistent naming and preventing SHA conflicts.
- Adjusted the script to use the correct tarball names during SHA256 calculation and plugin file generation, improving accuracy and reliability.
2025-09-10 12:51:03 -04:00
Eli Bosley
2c9c70e7eb chore: update PR plugin script and workflow for versioned tarball generation
- Modified the `generate-pr-plugin.sh` script to create directories and file paths using a versioned naming convention for better organization and clarity.
- Updated the GitHub Actions workflow to generate a versioned tarball filename, ensuring unique identification for each pull request.
- Enhanced the script to maintain consistent backup and manifest paths aligned with the new versioning scheme.
2025-09-10 12:46:41 -04:00
Eli Bosley
83d009f891 chore: update PR plugin build workflow to prevent SHA conflicts
- Modified the GitHub Actions workflow to generate versioned TXZ URLs and keys, ensuring unique paths for each pull request.
- Updated comments for clarity regarding the purpose of versioning in the upload process.
2025-09-10 12:43:43 -04:00
Eli Bosley
3994f06a65 chore: improve backup and restoration process in PR plugin script
- Enhanced the `generate-pr-plugin.sh` script to check for existing backups before creating new ones, preserving original backups across updates.
- Added verbose output during file extraction to provide clearer status updates.
- Implemented a new update method that restores original files before applying new changes, ensuring a clean installation state.
2025-09-10 12:41:06 -04:00
Eli Bosley
976d560b89 chore: enhance output and verification in PR plugin generation script
- Improved the `generate-pr-plugin.sh` script to provide detailed output during tarball examination and file extraction.
- Added a summary of installed files, including counts of modified and new files, to enhance visibility and verification of the installation process.
- Updated echo statements for clarity and consistency in reporting file processing status.
2025-09-10 12:39:17 -04:00
Eli Bosley
6b1171a5fa chore: enhance debugging output in PR plugin generation scripts
- Added debug statements in `generate-pr-plugin.sh` to display the tarball path, backup directory, and list of files being processed, improving visibility during deployment.
- Updated `pr-plugin-build.yml` to include output of the file list and tarball contents, aiding in verification and troubleshooting during the build process.
2025-09-10 12:30:03 -04:00
Eli Bosley
8911531676 chore: enhance PR plugin generation with optional plugin URL
- Updated `generate-pr-plugin.sh` to accept an optional plugin URL parameter for improved flexibility.
- Modified the script to generate a default plugin URL if none is provided, ensuring consistent naming conventions.
- Enhanced the GitHub Actions workflow to generate and output stable URLs for both the tarball and plugin files, facilitating easier updates.
2025-09-10 12:23:08 -04:00
Eli Bosley
72682d1812 chore: optimize file extraction in generate-pr-plugin.sh
- Updated the file extraction method in `generate-pr-plugin.sh` to use a temporary file, improving compatibility and avoiding subshell issues.
- Added cleanup for the temporary file after processing the extracted file list.
2025-09-10 12:11:50 -04:00
Eli Bosley
805b50737c chore: enhance PR plugin build workflow with debug output
- Updated the GitHub Actions workflow to append changed files to the output for PR comments.
- Added debug output to display the list of changed files found during the workflow execution.
2025-09-10 12:09:25 -04:00
Eli Bosley
c10aae2dd7 chore: improve PR plugin script and update UI for testing
- Added error handling and improved variable handling in `generate-pr-plugin.sh`.
- Updated placeholder values in the generated plugin file for clarity.
- Enhanced the UI in `Plugins.page` to indicate that the page is modified for PR testing.
2025-09-10 12:07:20 -04:00
Eli Bosley
683f07c386 chore: enhance PR plugin generation and workflow for TXZ uploads
- Updated `generate-pr-plugin.sh` to include a new parameter for TXZ URL and modified usage instructions.
- Enhanced the GitHub Actions workflow to upload the TXZ file to R2 and generate the corresponding public URL.
- Improved installation instructions in the PR comment to provide direct download links for the PLG and TXZ files.
2025-09-10 12:00:07 -04:00
Eli Bosley
48c67746a9 chore: update GitHub Actions workflow to enhance artifact handling
- Added permissions for reading contents and pull requests, and reading actions.
- Introduced a step to retrieve the artifact download URL after uploading the plugin artifact.
- Updated installation instructions to provide direct links for downloading the plugin files from GitHub Artifacts.
2025-09-10 11:43:10 -04:00
Eli Bosley
4c704e6c32 chore: modify a file to validate 2025-09-10 11:37:47 -04:00
Eli Bosley
2ab444e463 fix: enhance compatibility in generate-pr-plugin.sh and update workflow instructions
- Modified the sed command in `generate-pr-plugin.sh` to support both Linux and macOS environments.
- Updated the `pr-plugin-build.yml` workflow documentation to include a step for creating the necessary plugin directory.
2025-09-10 11:36:35 -04:00
Eli Bosley
023ca6dfa5 fix: update plugin file paths in generate-pr-plugin.sh
- Changed the local path for the downloaded tarball to include the 'webgui-pr' directory.
- Updated the cleanup command to remove the correct plugin file based on the new path structure.
2025-09-10 11:30:15 -04:00
Eli Bosley
c932b91800 feat: add GitHub Actions workflow and script for generating PR plugins
- Introduced a new script `generate-pr-plugin.sh` to automate the creation of Unraid PR plugin files.
- Added a GitHub Actions workflow `pr-plugin-build.yml` to build and package the plugin when changes are made to the `emhttp` directory.
- The workflow includes steps for checking out code, generating versioning, creating a tarball, and uploading the plugin artifact for PR testing.
2025-09-10 11:29:36 -04:00