65 Commits

Author SHA1 Message Date
Squidly271
5edcf161cd Fix: Changelogs weren't getting the attributes 2025-09-27 14:58:02 -04:00
Squidly271
2b414a161d Fix: PR message incorrect removal instructions 2025-09-20 18:34:49 -04:00
Squidly271
4699b4de6d Feat: Add note if PR appears to have been merged 2025-09-18 01:38:35 -04:00
Squidly271
377bb01edc Update .github/scripts/generate-pr-plugin.sh
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-09-17 13:33:33 -04:00
Squidly271
6805ec0c15 Fix: Adding the banner .page isn't a "method" 2025-09-17 13:28:57 -04:00
Squidly271
37c6fe5f29 Refactor PR script generation
Fix update procedure
Change banners to be non dismissable
Add notes saying reboots might be necessary
Wrap Changes within CDATA
2025-09-17 13:22:47 -04:00
Eli Bosley
c445e14484 chore: add validation and error handling for PR number and folder in cleanup workflow 2025-09-16 15:02:09 -04:00
Eli Bosley
bec94b4661 chore: cleanup PR builds 2025-09-16 11:35:59 -04:00
Eli Bosley
ada892e7b8 chore: minor fixes for PR plugin upload 2025-09-16 11:20:44 -04:00
Eli Bosley
3bb18fb3f4 chore: update PR plugin upload step to allow targeting PR manually 2025-09-16 11:18:41 -04:00
Eli Bosley
194c6c1467 chore: enhance PR plugin upload workflow with improved concurrency handling and security measures 2025-09-16 11:11:27 -04:00
Eli Bosley
3e8439cbe1 chore: improve PR plugin upload workflow with concurrency and enhanced error handling 2025-09-16 09:02:27 -04:00
Eli Bosley
620a01fa6d chore: security fixes around workflow 2025-09-16 08:54:49 -04:00
Eli Bosley
07f841baf6 chore: refactor PR plugin build workflow to generate plugin file with placeholder URLs 2025-09-16 08:48:31 -04:00
Eli Bosley
2cee1c26fc chore: enhance artifact handling in PR plugin upload workflow 2025-09-16 08:37:40 -04:00
Eli Bosley
e234d9e9d7 fix: allow forks to build PR plugins 2025-09-16 08:30:42 -04: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
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
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
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
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
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
Eli Bosley
fa62a71ac3 fix: do not run crowdin workflow on forked repos 2025-07-23 15:59:53 -04:00
Eli Bosley
9b0bf2a941 Update crowdin-upload.yml 2025-07-15 13:29:05 -04:00
Eli Bosley
5af1a84297 fix: do not preserve heirarchy 2025-07-15 13:29:05 -04:00
Eli Bosley
79fa79b599 fix: no wildcards in exports 2025-07-15 13:29:05 -04:00
Eli Bosley
2d44be8834 chore: helptext 2025-07-15 13:29:05 -04:00
Eli Bosley
a7cbe489b7 fix: no base path 2025-07-15 13:29:05 -04:00