Michel Roegl-Brunner
24ee87d14e
Merge pull request #373 from community-scripts/dependabot/npm_and_yarn/better-sqlite3-12.5.0
...
build(deps): Bump better-sqlite3 from 12.4.6 to 12.5.0
2025-12-02 11:10:58 +01:00
dependabot[bot]
55862628fb
build(deps): Bump better-sqlite3 from 12.4.6 to 12.5.0
...
Bumps [better-sqlite3](https://github.com/WiseLibs/better-sqlite3 ) from 12.4.6 to 12.5.0.
- [Release notes](https://github.com/WiseLibs/better-sqlite3/releases )
- [Commits](https://github.com/WiseLibs/better-sqlite3/compare/v12.4.6...v12.5.0 )
---
updated-dependencies:
- dependency-name: better-sqlite3
dependency-version: 12.5.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-01 22:42:45 +00:00
dependabot[bot]
fbd731f020
build(deps-dev): Bump eslint-config-next from 16.0.5 to 16.0.6
...
Bumps [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next ) from 16.0.5 to 16.0.6.
- [Release notes](https://github.com/vercel/next.js/releases )
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js )
- [Commits](https://github.com/vercel/next.js/commits/v16.0.6/packages/eslint-config-next )
---
updated-dependencies:
- dependency-name: eslint-config-next
dependency-version: 16.0.6
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-01 22:42:27 +00:00
dependabot[bot]
a8b750ad75
build(deps-dev): Bump prettier from 3.7.1 to 3.7.3
...
Bumps [prettier](https://github.com/prettier/prettier ) from 3.7.1 to 3.7.3.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/3.7.1...3.7.3 )
---
updated-dependencies:
- dependency-name: prettier
dependency-version: 3.7.3
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-01 22:42:03 +00:00
dependabot[bot]
1054b6d2f5
build(deps-dev): Bump tsx from 4.20.6 to 4.21.0
...
Bumps [tsx](https://github.com/privatenumber/tsx ) from 4.20.6 to 4.21.0.
- [Release notes](https://github.com/privatenumber/tsx/releases )
- [Changelog](https://github.com/privatenumber/tsx/blob/master/release.config.cjs )
- [Commits](https://github.com/privatenumber/tsx/compare/v4.20.6...v4.21.0 )
---
updated-dependencies:
- dependency-name: tsx
dependency-version: 4.21.0
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-01 22:41:52 +00:00
github-actions[bot]
669ce41c2e
chore: add VERSION v0.5.1 ( #366 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-12-01 09:35:27 +00:00
Michel Roegl-Brunner
7c4683012f
Update update.sh
2025-12-01 10:29:41 +01:00
github-actions[bot]
cfcdc1e342
chore: add VERSION v0.5.1 ( #361 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-11-29 15:57:44 +00:00
Michel Roegl-Brunner
07cf03a408
Merge pull request #360 from community-scripts/feat/clone_lxc_vm
...
feat: Add VM/LXC cloning functionality
2025-11-29 16:56:48 +01:00
Michel Roegl-Brunner
dd17d2cbec
feat: Add VM/LXC cloning functionality
...
- Add CloneCountInputModal component for specifying clone count
- Implement clone handlers and state management in InstalledScriptsTab
- Add clone menu item to ScriptInstallationCard
- Extend StorageSelectionModal to support clone storage selection (rootdir only)
- Add clone terminal support to Terminal component
- Implement startSSHCloneExecution in server.js with sequential ID retrieval
- Add clone-related API endpoints (getClusterNextId, getContainerType, getCloneStorages, generateCloneHostnames, executeClone, addClonedContainerToDatabase)
- Integrate with VM/LXC detection from main branch
- Fix storage fetching to use correct serverId parameter
- Fix clone execution to pass storage parameter correctly
- Remove unused eslint-disable comments
2025-11-29 16:53:58 +01:00
Michel Roegl-Brunner
f3d14c6746
Merge pull request #359 from community-scripts/fix/352
...
fix: align toggle switches in repository settings
2025-11-29 16:14:07 +01:00
Michel Roegl-Brunner
447332e558
fix: align toggle switches in repository settings
...
- Remove fixed label width from Toggle component
- Move delete button to left of toggle switches
- Add matching border/padding to 'Enable after adding' section to align with repository items
- Ensure all toggles have consistent right-side alignment
2025-11-29 16:12:20 +01:00
Michel Roegl-Brunner
9bbc19ae44
Merge pull request #358 from community-scripts/fix/357_356
...
fix: Add dynamic text to container control loading modal
2025-11-29 16:00:49 +01:00
Michel Roegl-Brunner
5564ae0393
fix: add dynamic text to container control loading modal
...
- Update LoadingModal to display action text (Starting/Stopping LXC/VM)
- Update handleStartStop to include container type (LXC/VM) in action text
- Show clear feedback when starting or stopping containers
2025-11-29 15:58:30 +01:00
Michel Roegl-Brunner
93d7842f6c
feat: implement batch container type detection for performance optimization
...
- Add batchDetectContainerTypes() helper function that uses pct list and qm list to detect all container types in 2 SSH calls per server
- Update getAllInstalledScripts to use batch detection instead of individual isVM() calls per script
- Update getInstalledScriptsByServer to use batch detection for single server
- Update database queries to include lxc_config relation for fallback detection
- Fix isVM() function to properly default to LXC when VM config doesn't exist
- Significantly improves performance: reduces from N SSH calls per script to 2 SSH calls per server
2025-11-29 15:55:43 +01:00
Michel Roegl-Brunner
84c02048bc
Fix a false detection as a VM when it is a LXC
2025-11-29 15:41:49 +01:00
github-actions[bot]
66a3bb3203
chore: add VERSION v0.5.0 ( #355 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-11-28 14:04:05 +00:00
Michel Roegl-Brunner
0da802be42
Merge pull request #354 from community-scripts/bugfixing_bumps
...
Add TypeScript Runtime Support and add Prisma 7 Compatibility
2025-11-28 14:56:43 +01:00
CanbiZ
5bc3933d11
fix gh action runner
2025-11-28 14:48:38 +01:00
CanbiZ
1c6d1ac120
fix gh action
2025-11-28 14:48:06 +01:00
CanbiZ
ba1e6478d7
Update package-lock.json - add tsx to lock file
2025-11-28 14:46:18 +01:00
CanbiZ
e3af248456
Merge main into bugfixing_bumps - keep bugfixing_bumps versions (Prisma 7, tsx support)
2025-11-28 14:43:25 +01:00
CanbiZ
43bafb610f
Add initializeRepositories to autoSyncInit.ts
2025-11-28 14:34:28 +01:00
CanbiZ
8e22568efb
Add detailed logging for autoSyncInit dynamic import and function checks
2025-11-28 14:33:11 +01:00
CanbiZ
6bb9ed5182
Use dynamic import for autoSyncInit to avoid tsx caching issues
2025-11-28 14:30:43 +01:00
CanbiZ
b6c3954f98
Fix start script to use tsx for Prisma 7 TypeScript support
2025-11-28 14:14:16 +01:00
CanbiZ
f73b303172
Use node --import tsx for better TypeScript support
2025-11-28 14:11:42 +01:00
CanbiZ
50d066669e
Fix db.js - add .ts extension for Prisma client import
2025-11-28 14:11:09 +01:00
CanbiZ
68541c0046
Use tsx to run server.js - enables TypeScript imports for Prisma 7
2025-11-28 14:09:25 +01:00
CanbiZ
644222e958
Fix db.js - require index.js explicitly
2025-11-28 14:08:39 +01:00
CanbiZ
31a5fd97d4
Fix db.js - use absolute path to .prisma/client
2025-11-28 14:07:54 +01:00
CanbiZ
b54fbf15f6
Fix db.js - use createRequire to load .prisma/client CJS module
2025-11-28 14:07:22 +01:00
CanbiZ
a787e60e7c
Fix db.js - import from .prisma/client runtime location
2025-11-28 14:06:35 +01:00
CanbiZ
1e250306dc
Fix db.js - use CommonJS-style import for @prisma/client
2025-11-28 14:05:37 +01:00
CanbiZ
d64a296ebe
Fix db.js - import PrismaClient from @prisma/client for Node ESM compatibility
2025-11-28 14:04:58 +01:00
CanbiZ
691b27c924
Fix db.js import - add .js extension for Prisma client
2025-11-28 14:04:05 +01:00
CanbiZ
dbc591aa63
Add JS wrappers for ESM compatibility (repositoryService, githubJsonService) and fix .js import extensions
2025-11-28 14:01:18 +01:00
CanbiZ
5ea6828f8c
Fix ESM import in database-prisma.js - add .js extension
2025-11-28 13:58:05 +01:00
CanbiZ
3dabacd055
Revert "Auto-initialize default repositories on first API call"
...
This reverts commit aebc8a6171 .
2025-11-28 13:56:29 +01:00
CanbiZ
e8ee829577
Add explicit type annotations and return types
...
This commit adds TypeScript type definitions for database entities and updates all methods in DatabaseServicePrisma to use explicit type annotations and return types. This improves type safety, code clarity, and maintainability by ensuring consistent return values and better integration with Prisma-generated types.
2025-11-28 13:50:44 +01:00
CanbiZ
aebc8a6171
Auto-initialize default repositories on first API call
2025-11-28 13:41:21 +01:00
CanbiZ
c5db169441
Fix login race condition: don't call checkAuth after successful login
2025-11-28 13:34:51 +01:00
CanbiZ
bef5bef875
Remove .js extensions from dynamic imports
2025-11-28 13:32:51 +01:00
CanbiZ
3a4f86942f
Remove circular import wrapper files (githubJsonService.js, localScripts.js)
2025-11-28 13:30:17 +01:00
CanbiZ
94eb772467
Fix cross-origin cookie issues: use lax SameSite and add CORS headers
2025-11-28 13:28:53 +01:00
CanbiZ
3a2a1b2cd6
Add datasource property to Prisma config for migrate/db push support
2025-11-28 13:25:33 +01:00
CanbiZ
69c10b05ac
Ensure recursive creation of ssh-keys directory
...
Updated the initialization logic to use the 'recursive' option when creating the data/ssh-keys directory, ensuring parent directories are created if they do not exist.
2025-11-28 13:23:31 +01:00
Michel Roegl-Brunner
7833d5d408
Fix type errors
2025-11-28 13:21:37 +01:00
CanbiZ
e0baa79d6b
Remove file extensions from import statements
...
Updated import statements across several server files to omit explicit file extensions. This improves compatibility with module resolution and aligns with common import practices.
2025-11-28 13:21:03 +01:00
CanbiZ
737c9c94f3
Fix repositoryService import extension in autoSyncInit.js
2025-11-28 13:19:53 +01:00