32 Commits
Author SHA1 Message Date
baodev0 82080b5b84 update fix deadcode, security 2026-09-28 08:26:29 +07:00
baodev0 3af59bd9c5 update rm deadcode 2026-09-27 11:42:40 +07:00
baodev0 e3d3dea8aa Refactor code structure for improved readability and maintainability 2026-08-10 08:37:52 +07:00
baodev0 5d3ed57b32 feat: Enhance vCenter integration with resource pool and folder support
- Added methods to ResourceService for fetching resource pools and updated existing methods to include datacenter filtering.
- Modified CreateVirtualMachine to accept folder and resource pool parameters from product data.
- Updated various jobs to synchronize resource pools and include them in the provisioning process.
- Introduced new ModuleResourcePool model and migration for resource pool management.
- Enhanced existing models (ModuleDatastore, ModuleNetwork, Os) to include relationships with vCenter and resource pools.
- Added netmask field to IpPool and updated related logic for IP reservation.
- Improved error handling and logging in VM creation and IP reservation processes.
- Updated API routes to include sync functionality for vCenter.
2026-07-21 21:37:28 +07:00
baodev0 2d43e95855 Add datastore_id to OS model and related functionality; update validation and relationships 2026-07-21 11:10:45 +07:00
baodev0 abc12b71ef Implement VM deletion functionality and update related services; add confirmation check and logging 2026-07-17 09:14:26 +07:00
baodev0 6bb4a47bfb Add stubs for various Laravel components and scaffolding
- Created stubs for JavaScript and SASS assets.
- Added stubs for channel, command, component, controller, event, factory, job, listener, mail, middleware, migration, model, notification, observer, policy, request, resource, route provider, seeder, and validation rule.
- Implemented scaffolding for configuration, service provider, and Vite integration.
- Included example views for module structure.
- Introduced a module loader for Vite to handle asset paths dynamically.
2026-05-29 09:28:08 +07:00
pbao9 8a115c5175 refactor: implement centralized cache key management and add utility traits for vCenter SSH operations. 2026-05-16 16:52:21 +07:00
pbao9 cfffff96bf refactor: dynamicize jumphost credentials from database and restrict CORS allowed origins 2026-05-12 15:37:19 +07:00
pbao9 96778e7bed feat: implement VM snapshot management, enhance client resource loading, and refactor deployment workflow for production 2026-05-11 11:09:55 +07:00
pbao9 5043bea79a feat: Add IP address and DNS fields to module_vmware table
- Introduced `ip` and `dns` columns to the `module_vmware` table to store assigned IP addresses and DNS configurations.
- Implemented `ChangePasswordViaSshJob` for secure password changes via SSH.
- Created `ChangePasswordJob` for handling password changes during VM provisioning.
- Developed `ChangePasswordViaVsphereJob` to reset VM guest OS passwords using PowerShell scripts executed on the vSphere host.
- Added `SendVmCredentialsEmailJob` to send final VM credentials to customers.
- Implemented `WaitVmReadyJob` to poll vSphere API until VMware Tools are running and guest IP is available.
- Created `VmProvisionService` for managing VM provisioning tasks, including password generation and updates.
- Developed `VsphereHostSshService` for executing PowerShell scripts on the vSphere host via SSH.
- Added `IpPoolSeeder` to populate IP pools for VM service initialization.
2026-04-16 23:21:27 +07:00
pbao9 bb73d6c5a2 Refactor vCenter snapshot handling and VM operations
- Introduced a new method `resolveVCenterFromProduct` in `SnapshotService` to streamline vCenter resolution from product data.
- Updated `CreateSnapshot`, `RemoveSnapshot`, and `RevertSnapshot` jobs to utilize the new vCenter resolution method.
- Enhanced the `VmController` to support UUID-based service identification for VM operations.
- Added new actions for changing VM IP and RDP port, encapsulating the logic for these operations.
- Improved error handling and logging for VM operations, including detailed responses for API consumers.
- Removed unnecessary relationships in model queries to optimize performance.
2026-04-15 23:38:38 +07:00
pbao9 dbd3cdafcd feat: Implement UUID-based customer routing, enhance order request validation, and refactor VM creation job with updated payment logic and ModuleVmware handling. 2026-03-12 16:30:02 +07:00
pbao9 23a496f511 feat: Implement vCenter management APIs, console ticket retrieval, password encryption, and background synchronization. 2026-03-06 17:29:52 +07:00
pbao9 cca4e0b86f feat: Implement new admin API endpoints for product, customer, vCenter, and authentication, and add vCenter resource management UI. 2026-03-05 14:30:31 +07:00
pbao9 0c260a7e1c feat: Implement VM restart, auto-renew invoice functionality, and client invoice detail API, alongside admin UI improvements. 2026-03-02 10:26:01 +07:00
pbao9 2c8c3d14cd feat: Implement VM console with dedicated layout, WMKS integration, and jQuery 3 compatibility. 2026-03-02 00:27:18 +07:00
pbao9 ef53ea3207 feat: Integrate L5-Swagger for API documentation and enhance VM synchronization to include host-level details. 2026-02-15 12:31:06 +07:00
pbao9 498a57b499 feat: Implement VM console access, display VM power state, and add VM statistics retrieval. 2026-02-14 16:28:13 +07:00
pbao9 64c3182b00 feat: Implement comprehensive vCenter integration with new services for VM configuration, power management, templates, snapshots, and resource management, alongside infrastructure management and synchronization job updates. 2026-02-12 17:23:01 +07:00
pbao9 3ece85430c update 2026-02-10 16:49:59 +07:00
pbao9 eef04846a8 update sync vm 2026-02-05 21:57:57 +07:00
pbao9 057ba58760 feat: Implement asynchronous VM power operations and refactor vCenter snapshot retrieval to use API calls. 2026-01-27 16:35:42 +07:00
pbao9 fb6b2159da change ssh2 into new SSH2 2026-01-21 10:27:14 +07:00
pbao9 b97676d557 update develop 2026-01-19 09:31:10 +07:00
pbao9 4f2fdbaaa5 update change port 2026-01-17 11:27:54 +07:00
pbaodev 1384a2ec1c update port remote change 2025-08-25 01:45:38 +07:00
pbaodev 197fe413e5 update change password 2025-08-24 22:41:15 +07:00
Pham Bao 5d6e2060a8 update assign ip windows 2025-07-29 23:49:33 +07:00
Pham Bao 21a2dfe855 update bug 2025-07-29 22:49:14 +07:00
pbao9 d80580d1e4 update optimize code 2025-07-29 15:48:51 +07:00
pbao9 69851ac7bc Update source into github 2025-07-24 16:18:27 +07:00