Commit Graph
203 Commits
Author SHA1 Message Date
baodev0 3bb59feba3 update 2026-07-01 10:51:05 +07:00
baodev0 914e96138a update 2026-06-23 15:52:00 +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 4a308cd19a update package 2026-05-18 16:45:22 +07:00
pbao9 8523440009 update 2026-05-18 16:13:45 +07:00
pbao9 f932d6a16b update 2026-05-18 16:10:57 +07:00
pbao9 bb27ed0305 update mail provider 2026-05-18 16:04:12 +07:00
pbao9 b63fbe8be0 update 2026-05-18 15:26:49 +07:00
Pham Bao 9bfdccb251 Merge pull request #7 from pbao9/staging
update
2026-05-18 15:02:44 +07:00
pbao9 2d957d0da1 update 2026-05-18 15:01:07 +07:00
Pham Bao ea85eb73c3 Merge pull request #5 from pbao9/staging
update test api
2026-05-18 11:48:02 +07:00
pbao9 4972a8a9ee update test api 2026-05-18 11:47:18 +07:00
Pham Bao 9c5dde8d73 Merge pull request #4 from pbao9/staging
Refactor cache key management and implement activity logging
2026-05-18 09:14:35 +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 06dbd54ecd update cors 2026-05-15 09:19:08 +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 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 1bbba4e158 feat: implement IP pool management module with CRUD operations and network integration 2026-05-13 11:02:28 +07:00
pbao9 7311a20324 feat: implement admin SMTP settings management and automated order notification system 2026-05-13 10:26:47 +07:00
pbao9 d82c428f23 refactor: simplify deployment logic and remove redundant commands in GitHub Actions workflow 2026-05-12 15:39:45 +07:00
pbao9 cfffff96bf refactor: dynamicize jumphost credentials from database and restrict CORS allowed origins 2026-05-12 15:37:19 +07:00
pbao9 760b58e08d chore: update deployment script with debug flags and working directory logging 2026-05-12 14:51:25 +07:00
pbao9 917ae142c9 chore: update deployment script to include phpenv path and verify php version 2026-05-12 14:50:17 +07:00
pbao9 59df3977c8 chore: update deployment workflow to use SSH key and improve repository synchronization process 2026-05-12 14:35:27 +07:00
pbao9 2d4f0fd4b2 update 2026-05-12 13:50:53 +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 f4145088e1 feat: Enhance ServiceClientResource and InvoiceRepository with additional data fields; remove unused SVG icons 2026-04-17 14:43:17 +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 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 64a9d603e2 Add service renewal functionality and command for expired services 2026-04-15 20:52:11 +07:00
pbao9 dba49c4374 test cicd 2026-03-18 09:28:25 +07:00
pbao9 655b11cd24 test cicd 2026-03-18 09:28:12 +07:00
pbao9 7fab943956 update docker 2026-03-18 09:24:01 +07:00
pbao9 04eb0c26d4 update 2026-03-17 17:30:59 +07:00
pbao9 56ea3fd74a test 2026-03-17 17:27:39 +07:00
pbao9 ba0508ff67 test 2026-03-17 17:22:46 +07:00
pbao9 c273fc9aea feat: Add Docker configuration for Laravel application, including services for portal, database, and cache with environment variables and entrypoint script enhancements. 2026-03-17 17:01:48 +07:00
pbao9 017248eeb9 refactor: Cache mail configuration, update route domains to use config() helper, and upgrade developer dependencies. 2026-03-17 11:44:42 +07:00