Commit Graph

1717 Commits

Author SHA1 Message Date
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
Eli Bosley
dfb006e696 feat: move fixtures into __test__ folder 2025-02-04 12:05:56 -05:00
Eli Bosley
445f3b50b1 feat: better patch application 2025-02-04 12:05:56 -05:00
Eli Bosley
a12181a5e0 feat: rollback if patch exists before applying 2025-02-04 12:05:56 -05:00
Eli Bosley
0cb0fc9881 fix: unused imports 2025-02-04 12:05:56 -05:00
Eli Bosley
42610d290d fix: lint 2025-02-04 12:05:56 -05:00
Eli Bosley
9e12407565 fix: paths now correct, better download logic 2025-02-04 12:05:56 -05:00
Eli Bosley
bb92c3f9f8 fix: better js file handling 2025-02-04 12:05:56 -05:00
Eli Bosley
5b0971ea8d feat: logrotate test 2025-02-04 12:05:56 -05:00
Eli Bosley
7f997663f9 Update api/src/unraid-api/unraid-file-modifier/modifications/auth-request.modification.ts
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-02-04 12:05:56 -05:00
Eli Bosley
8b75d6cc99 fix: format authrequest mod as other files 2025-02-04 12:05:56 -05:00
Eli Bosley
b1a993a8e9 fix: lint 2025-02-04 12:05:56 -05:00
Eli Bosley
b1a1779a8b feat: add patch for auth-request.php 2025-02-04 12:05:56 -05:00
Eli Bosley
36d8399045 feat: fallback to local 2025-02-04 12:05:56 -05:00
Eli Bosley
6beafbe8ed fix: lint 2025-02-04 12:05:56 -05:00
Eli Bosley
a502134c0a fix: better loader functionality and error handling 2025-02-04 12:05:56 -05:00