Commit Graph
83 Commits
Author SHA1 Message Date
baodev0 4daf52ef3e feat: Add customer notes functionality and enhance invoice/order models with date fields 2026-07-25 11:05:34 +07:00
baodev0 5d2eeac6c4 feat: Enhance service management with VMware integration and update note field to LONGTEXT 2026-07-24 17:01:25 +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 c3b5417b19 update 2026-07-21 08:34:15 +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 401dcc8783 update vm ticket 2026-07-14 17:03:38 +07:00
baodev0 f035730a44 Add username and password fields to VirtualMachines model and database migration; update related email templates to use config for frontend URL 2026-07-14 11:10:38 +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 97f64c2dc5 fix database 2026-07-06 08:28:51 +07:00
baodev0 9a16a5c313 update 2026-07-06 08:00:23 +07:00
baodev0 3bb59feba3 update 2026-07-01 10:51:05 +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
baodev0 a31d238135 feat: Implement VM suspension feature with email notification
- Added suspend method in VCenterManagerController to handle VM suspension requests.
- Introduced VmSuspendedMail for notifying customers about VM suspension.
- Created email template for VM suspension notification.
- Updated API routes to include VM suspend functionality.
- Modified cors.php to allow additional local development URL.
- Updated DatabaseSeeder to include AdminSeeder and commented out unused seeders.
- Removed deprecated Livewire components related to cart, customer email history, invoices, orders, tickets, transactions, user settings, and VPS reinstall modal.
2026-05-21 10:17:16 +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 41de3744a8 feat: add manual deposit system, implement Bank model, remove Docker configs, and initialize comprehensive Laravel best practice documentation for AI agents. 2026-05-14 16:33:35 +07:00
pbao9 ae3b681aaa feat: add bulk delete with validation to IP Pool and update provisioning logic and email notifications 2026-05-13 15:41:56 +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 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 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 7f6264c87f feat: Implement payment proof upload for orders, add payment method selection API, and seed bank transfer payment options. 2026-03-11 16:57:26 +07:00
pbao9 5649674eb4 feat: Implement payment method fields, refactor order creation logic to support detailed order items and VM provisioning, and add admin notifications. 2026-03-11 10:14:32 +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 cf0f2cf686 feat: Implement admin role and permission management, employee management APIs, and user profile extensions. 2026-03-10 11:43:19 +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 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 db3a8c4949 feat: Introduce InvoiceStep enum and add reminder_step column to invoice table. 2026-03-02 14:44:07 +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 1cfcaee871 feat: implement VMware vCenter integration, enhance product pricing display, and update order processing logic. 2026-03-01 23:10:35 +07:00
pbao9 5c97768707 feat: Enhance product creation UI with radio buttons and switch, correct product VPS OS foreign key, remove transaction UUID migration, and refactor customer add/edit views. 2026-02-25 13:45:02 +07:00
pbao9 c720e62bda feat: Implement VNPAY callback redirection to frontend and add UUID/public code to transactions. 2026-02-19 17:01:49 +07:00
pbao9 75791d6257 feat: introduce ProductCategoryResource and refactor database migrations by deleting old tables and consolidating transaction schema. 2026-02-18 21:44:31 +07:00
pbao9 9a2cab4521 feat: implement deposit request validation and transaction API, refactor client routes, and update transaction schema. 2026-02-18 21:17:13 +07:00