52 Commits
Author SHA1 Message Date
baodev0 a83fb1d8d3 update 2026-08-04 17:18:15 +07:00
baodev0 8a451e434e update 2026-07-25 15:18:48 +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 c3b5417b19 update 2026-07-21 08:34:15 +07:00
baodev0 ad20cd5bdc Refactor VM resource specs resolution and enhance order payment success email with addon summary; add UpdateVmConfigJob for CPU/RAM updates 2026-07-17 14:00:42 +07:00
baodev0 a282d38170 Increase SSH command execution timeout to accommodate longer-running PowerShell scripts 2026-07-13 16:37:01 +07:00
baodev0 eb6e8e9e80 Refactor VsphereHostSshService to streamline remote command execution; remove redundant conditional logic for PowerShell commands 2026-07-13 16:09:19 +07:00
baodev0 71878b4684 Enhance SSH execution in VsphereHostSshService to capture stdout and stderr; improve error handling for command execution 2026-07-13 15:54:31 +07:00
baodev0 c852fb13ff Refactor VsphereHostSshService to use phpseclib for SSH execution, removing sshpass dependency; enhance error handling and logging 2026-07-13 15:30:55 +07:00
baodev0 d283a2c694 Enhance VM provisioning logging by integrating VmProvisionLogger into CreateVirtualMachineJob and AssignIpToGuestJob; update composer dependencies for Plesk integration 2026-07-13 13:45:22 +07:00
baodev0 3403cb9ec5 Refactor deployment process and enhance VM IP reservation logic; update email template for VM creation failure notifications 2026-07-13 11:53:00 +07:00
baodev0 8d3410f8cc Implement VM provision locking mechanism and enhance VM job handling 2026-07-13 11:23:53 +07:00
baodev0 dfb926055d Add feature tests for domain order management
- Implement AdminDomainOrderTest to cover admin functionalities for domain orders including listing, confirming registration, KYC updates, activation, rejection, and refunds.
- Implement ClientDomainOrderTest to cover client functionalities for placing domain orders, including validation for balance, duplicate orders, and domain normalization.
- Ensure proper handling of domain pricing and service statuses throughout the tests.
2026-07-10 14:16:35 +07:00
baodev0 61c0e026c8 update 2026-07-09 11:19:50 +07:00
baodev0 9a16a5c313 update 2026-07-06 08:00:23 +07:00
baodev0 776b1a6807 update 2026-06-22 09:55:11 +07:00
baodev0 0c436153c6 update 2026-06-22 08:43:32 +07:00
baodev0 3243473843 update logic 2026-06-15 09:11:57 +07:00
baodev0 9c68273b4a Add VM rebuild pipeline with isolated job chain and admin log API 2026-05-29 18:19:38 +07:00
baodev0 7ae237ee9d Refactor VM provisioning pipeline into focused services and add IP pool
management
2026-05-29 12:03:35 +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
baodev0 fccb0c353a feat: Add DNS management resources and importer
- Implemented DomainCollection, DomainDetailResource, DomainNSCollection, DomainNSResource, and DomainResource for handling DNS domain and record data.
- Created VpsServiceCollection and VpsServiceResource for VPS service management.
- Added DnsManagerNS and DnsManagerUser models to represent DNS records and user associations.
- Developed AdminZoneDnsSqlImporter for importing DNS data from SQL dumps, including customer and DNS domain records.
- Added migration scripts to update the customers table with new fields and sync foreign key references for DNS tables.
- Created a migration preview document outlining the mapping and schema changes for the admin zone DNS import.
2026-05-26 13:54:33 +07:00
baodev0 520f21cb11 feat: add GeneratesUniqueSlug class for unique slug generation
feat: create PostCategoryFactory for generating post category data

feat: create PostFactory for generating post data

feat: add retry_requested_at column to services table

feat: add vcenter provisioning fields to products table

feat: add module_host_id to os table

feat: create email_notification_templates table for email templates

feat: add scenario and format fields to template table

feat: add admin fields to transactions table

fix: update ticket table columns and types

feat: add uuid to ticket table and backfill existing records

fix: make ticket_reply user_id nullable

feat: create notifications table for user notifications

fix: make ticket uuid nullable

feat: create post_categories table for blog categories

feat: create posts table for blog posts

feat: add invoice email template for PDF generation
2026-05-25 15:39:42 +07:00
pbao9 4972a8a9ee update test api 2026-05-18 11:47:18 +07:00
pbao9 551c90d60b feat: implement system-wide activity logging with database persistence, repository patterns, and admin controller access. 2026-05-16 20:01:52 +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 f158a84e8b feat: implement JSON-based IP configuration scripts for Windows and Linux and integrate service activation in provisioning flow 2026-05-15 09:08:44 +07:00
pbao9 7311a20324 feat: implement admin SMTP settings management and automated order notification system 2026-05-13 10:26:47 +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 8aef607e1f feat: Implement IP assignment and verification for VM guests; add related PowerShell scripts 2026-04-18 08:51:02 +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 d68fda2cf0 Enhance VM service management: add service_id and plain_password fields, sync service records, and update related migrations 2026-04-16 09:39:52 +07:00
pbao9 c2e90696b6 feat: Implement refresh token system for client authentication, including token creation, rotation, and revocation. 2026-03-16 10:23:11 +07:00
pbao9 e0341363f6 feat: Implement client-facing service management API with UUID for services and bulk actions for product services. 2026-03-13 15:17:23 +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 508d5186db feat: Reorganize database migrations for module snapshots, VMware, and OS groups, and implement customer order creation email notifications. 2026-03-12 12:31:52 +07:00
pbao9 1934be9a19 feat: standardize invoice number field, refine invoice creation logic, and update module foreign key constraints 2026-03-12 10:10:20 +07:00
pbao9 1e09ccf17b feat: Reimplement order and invoice management with new service and repository layers, introduce compression middleware, and update database schema. 2026-03-12 09:30:29 +07:00
pbao9 7fdcc01027 feat: Implement client status validation on login, refine password rules, and simplify customer resource status. 2026-03-10 16:27:23 +07:00
pbao9 4e4807dbea feat: Implement DNS management with dedicated models, repositories, requests, controllers, and services, while refactoring authentication by removing Passport and Sanctum. 2026-03-09 16:43:06 +07:00
pbao9 1cfcaee871 feat: implement VMware vCenter integration, enhance product pricing display, and update order processing logic. 2026-03-01 23:10:35 +07:00
pbao9 c7215ababc feat: Implement JWT authentication for client API and add transaction verification endpoint. 2026-02-19 15:38:43 +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 f3a679d7f3 feat: Implement comprehensive product management, including categories, pricing, and integration into the order system. 2026-02-12 14:29:29 +07:00
pbao9 556b2c02e6 feat: Implement order and invoice management, enhance addon features, and remove the 'Type' module. 2026-02-11 17:02:07 +07:00
pbao9 8ecea7badc feat: Implement pagination for active services and introduce ServiceListResource for formatted API output. 2026-02-11 11:32:45 +07:00
pbao9 6b6385f441 update 2026-02-11 11:18:35 +07:00
pbao9 d59b2a0840 client api 2026-02-11 10:08:39 +07:00
pbao9 7916a00dc3 update 2025-10-09 10:37:30 +07:00
pbaodev 197fe413e5 update change password 2025-08-24 22:41:15 +07:00