Commit Graph

1732 Commits

Author SHA1 Message Date
Eli Bosley a4b3f8c6c3 feat: reorder index 2025-02-12 09:23:10 -05:00
Eli Bosley 5f29e6d5e7 fix: simplify api setup index 2025-02-12 09:16:09 -05:00
Eli Bosley 1e4a4f0745 feat: simplify docs 2025-02-11 21:32:50 -05:00
Eli Bosley 608151d84c fix: simplify upcoming features 2025-02-11 19:08:24 -05:00
Eli Bosley 8cbb3c4718 feat: public index 2025-02-11 15:56:54 -05:00
Eli Bosley e784391ac3 feat: add category.json 2025-02-11 15:48:45 -05:00
Eli Bosley 84611d7691 fix: make public not a part of folder structure in PR 2025-02-11 15:40:37 -05:00
Eli Bosley dabe334072 fix: create PR ignored 2025-02-11 15:36:15 -05:00
Eli Bosley 59e48ad85c feat: upgrade workflow and auto-assign reviewers 2025-02-11 15:34:56 -05:00
Eli Bosley 13b501a342 fix: docs creation workflow 2025-02-11 15:26:17 -05:00
Eli Bosley 75474bde47 feat: add developer docs (#1128)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Documentation**
- Improved the API documentation update process to enhance clarity and
maintain consistent content.
- Introduced a comprehensive guide outlining the API's repository
organization and system architecture.
- Streamlined the documentation by removing outdated developer guides on
API introspection and feature implementation.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-02-11 15:14:59 -05:00
Eli Bosley 7a19c9331f feat: fix docusaurus build + update snapshot 2025-02-11 14:47:34 -05:00
Eli Bosley 8a575765a9 feat: auto-docusaurus-prs (#1127)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Documentation**
- Expanded the Unraid API guides with comprehensive CLI command details
for managing services, logs, configuration, and authentication.
- Updated the API usage instructions to include steps for enabling a
GraphQL sandbox, example queries, error handling, and best practices.
- Added an implementation overview detailing component capabilities and
a release roadmap outlining upcoming improvements across core
infrastructure, security, and user interface.

- **Chores**
- Introduced automation that streamlines the updating of API
documentation.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-02-11 14:45:03 -05:00
Eli Bosley 753f1588b8 Feat/local-plugin (#1125)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit


• New Features  
 - Enhanced the login experience with improved session management and
two-factor authentication.
 - Introduced a comprehensive README for the Unraid Plugin Builder,
detailing development workflows and commands.

• Chores  
 - Streamlined build, packaging, and deployment processes with updated
dependency and environment configurations.
 - Updated Docker configurations to support pnpm as the package manager.
 - Added new environment variables for better configuration management.
 - Introduced new scripts for improved build and packaging processes.  

• Tests  
 - Removed outdated test cases and simplified test setups.  

• Refactor  
 - Modernized internal code structure and asynchronous handling for
improved overall performance.
 - Transitioned imports from lodash to lodash-es for better module
handling.
 - Updated environment variable management and configuration settings.  
 - Enhanced the build script for improved deployment processes.  
 - Updated the notification handling structure to improve efficiency.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-02-11 11:45:26 -05:00
ljm42 59d6c1b678 fix: PHP Warning in state.php (#1126)
PHP 8.4.4 (Unraid 7.1.0): Implicitly marking parameter $subkey as
nullable is deprecated

Related: https://github.com/unraid/webgui/pull/2009

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Refactor**
- Improved internal handling of optional details, enhancing system
robustness and flexibility when certain inputs are omitted. This update
contributes to smoother, more reliable operations without affecting
visible functionality.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-02-10 10:58:30 -08:00
Eli Bosley 6abddd85d2 chore(release): 4.0.1 v4.0.1 2025-02-06 16:18:02 -05:00
Eli Bosley 29fd61be6c Update release-production.yml 2025-02-06 16:17:05 -05:00
Eli Bosley 92f72e33ec chore(release): 4.0.0 v4.0.0 2025-02-06 16:02:28 -05:00
Michael Datelle 26639d5139 refactor: update config and scripts to ensure production mode (#1122)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Refactor**
- Updated the user profile’s loading indicator for a smoother visual
experience during system restart.
- **Chores**
- Improved environment-specific configurations and asset management,
streamlining production builds and deployment.
	- Enhanced the development tools behavior based on the environment.
- Updated scripts for building and serving the application to align with
production settings.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: mdatelle <mike@datelle.net>
2025-02-06 13:39:52 -05:00
Eli Bosley 19f9261025 chore: add missing descriptions on commands (#1124)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Documentation**
	- Enhanced CLI help text by adding and refining command descriptions:
		• Logs command now clearly displays “View logs.”
		• Restart command now focuses solely on restarting the API.
		• Start command now shows “Start the Unraid API.”
		• Stop command now explicitly states its stopping action.
• Environment switch command now indicates its role in switching the API
environment.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-02-06 13:39:30 -05:00
Eli Bosley e7b7caae43 feat: checkout correct branch on close (#1123)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Chores**
- Refined our deployment process to ensure staging updates now reflect
the fully merged changes.
	- Made minor formatting tweaks for improved clarity.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-02-06 12:53:00 -05:00
Eli Bosley 4f5c367fdf feat: begin building plugin with node instead of bash (#1120)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Enhanced automated build and release processes with containerized
builds, improved caching, and refined artifact handling.
- Introduced new configuration options to strengthen versioning,
integrity checks, and pull request tracking.
	- Added a new Dockerfile for building the Node.js application.
- Added new environment variables for API versioning and validation
control.
	- Implemented comprehensive management of PM2 processes and state.
- Introduced a new GitHub Actions workflow for automating staging plugin
deployment upon pull request closure.
	- Updated logic for handling plugin installation and error feedback.
	- Added new asynchronous methods for managing PM2 processes.
	- Updated logging configurations for better control over log outputs.
	- Added Prettier configuration for consistent code formatting.
- Introduced a configuration to prevent the application from watching
for file changes.

- **Bug Fixes**
- Improved error handling and user feedback during the installation of
staging versions.

- **Documentation**
- Removed outdated introductory documentation to streamline project
information.

- **Chores**
- Updated deployment routines and validation steps to improve release
consistency and error handling.
- Simplified packaging and build scripts for smoother staging and
production workflows.
	- Excluded sensitive files from the Docker build context.
- Updated the `.gitignore` file to prevent unnecessary files from being
tracked.
- Adjusted the test timeout configuration for improved test reliability.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-02-06 12:32:41 -05:00
Pujit Mehrotra 321703e907 fix(web): track 'notification seen' state across tabs & page loads (#1121)
**New Features**
	- Enhanced notifications tracking that updates seen status in real time.
	- Improved notification indicators provide a more consistent and responsive experience.
	- Persistent state management ensures your viewed notifications remain accurately reflected across sessions.
	- New composable functions introduced for better management of notification visibility and interaction.
	- Streamlined notification handling by simplifying state management processes.
2025-02-06 12:00:53 -05:00
Pujit Mehrotra a21f39d617 fix(api): improve defaults in PM2 service (#1116)
* change default execa opts in pm2 service (disable `extendEnv` and add default bash shell)

* change default log level of `pm2.run` to `trace`

* add tsdoc for `pm2.run`
2025-02-05 09:57:33 -05:00
Eli Bosley 3c357e7e95 fix: use batchProcess 2025-02-04 14:36:39 -05:00
Eli Bosley f22b262830 feat: async disk mapping 2025-02-04 14:36:39 -05:00
Eli Bosley e16763b49b fix: do not process.exit on restart or stop command 2025-02-04 13:57:51 -05:00
Eli Bosley 133c8e0d70 fix: lint 2025-02-04 13:57:51 -05:00
Eli Bosley 1392bdeecb feat: allow deletion and creation of files with patches 2025-02-04 13:57:51 -05:00
Eli Bosley 2fce2e9a28 fix: install as-integrations/fastify 2025-02-04 13:20:08 -05:00
renovate[bot] 430656f6af chore(deps): update dependency graphql-codegen-typescript-validation-schema to ^0.17.0 2025-02-04 13:10:53 -05:00
renovate[bot] d7887c2183 chore(deps): update dependency @rollup/rollup-linux-x64-gnu to v4.34.2 2025-02-04 13:10:41 -05:00
renovate[bot] ebd1a391b6 chore(deps): update dependency @types/node to v20.17.17 2025-02-04 13:10:26 -05:00
renovate[bot] 1f42bbb4aa chore(deps): update dependency zx to v8.3.2 2025-02-04 13:10:18 -05:00
renovate[bot] 5f59d31ab3 chore(deps): update dependency @swc/core to v1.10.14 2025-02-04 13:10:10 -05:00
Eli Bosley d8478152e9 fix: remove devDependencies from output package json 2025-02-04 13:06:56 -05:00
Eli Bosley 63fcde8243 fix: staging build issues 2025-02-04 13:01:56 -05:00
renovate[bot] 2bc9af2578 fix(deps): update graphqlcodegenerator monorepo 2025-02-04 12:15:54 -05:00
renovate[bot] 5b14be6b0f fix(deps): update dependency @apollo/client to v3.12.9 2025-02-04 12:15:33 -05:00
renovate[bot] 9ef56d8c05 chore(deps): update dependency eslint to v9.19.0 2025-02-04 12:15:21 -05:00
renovate[bot] c4204d89aa chore(deps): update dependency @nuxt/eslint to v0.7.6 2025-02-04 12:15:10 -05:00
renovate[bot] 048a0a88dc chore(deps): update dependency prettier-plugin-tailwindcss to v0.6.11 2025-02-04 12:14:57 -05:00
Eli Bosley 7b3834ca1f fix: resource busy when removing all subdirectories 2025-02-04 12:14:41 -05:00
Eli Bosley 0e9c91af86 feat: ignore generated code 2025-02-04 12:14:41 -05:00
Eli Bosley a6f67060b4 feat: log size and only tar files 2025-02-04 12:14:41 -05:00
Eli Bosley 3c61a615f0 feat: improve packing 2025-02-04 12:14:41 -05:00
Eli Bosley 073a51572a feat: shared call to createPatch 2025-02-04 12:05:56 -05:00
Eli Bosley c00789865c fix: allow concurrent testing with a shared patcher instance 2025-02-04 12:05:56 -05:00
Eli Bosley 9d1442b2ee fix: sequential test execution for generic-modification 2025-02-04 12:05:56 -05:00
Eli Bosley 935318dda6 feat: docstrings 2025-02-04 12:05:56 -05:00