Commit Graph
60 Commits
Author SHA1 Message Date
baodev0 cd5239b108 Add customer status update and bulk management endpoints 2026-07-13 10:43:17 +07:00
baodev0 290dcc2fb1 Add EmailLogController and routes for email logs management 2026-07-13 09:40:21 +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 61fc870c03 update 2026-07-06 08:16:06 +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 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
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 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 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 64a9d603e2 Add service renewal functionality and command for expired services 2026-04-15 20:52:11 +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 0e5832b1fb feat: Implement product duplication, bulk product status updates and deletion, add client service console ticket retrieval, and update service resource to expose server_name. 2026-03-13 16:28:23 +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 5160ac967a feat: Implement client payment history endpoint and add type filtering to product category API. 2026-03-13 10:38:56 +07:00
pbao9 a388eabe17 refactor: Replace specific Hosting and VPS models and repositories with a generic Service repository and associated customer API endpoints. 2026-03-13 07:50:35 +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 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 74cbe2fe1a feat: Add API endpoints for staff online status and queue monitoring. 2026-03-11 11:22:51 +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 80a5e0ca3d Clean up documentation and infrastructure configuration files, and refine API resources and controllers for products and services. 2026-03-09 14:18:04 +07:00
pbao9 7b3c955d38 refactor: Remove extensive unused administrative UI, styling, and JavaScript assets, and introduce a new payment API controller. 2026-03-09 14:16:39 +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 cb8510cf56 feat: Implement full CRUD API for product categories and products, including recursive product counts for categories. 2026-03-06 11:15:26 +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 1cfcaee871 feat: implement VMware vCenter integration, enhance product pricing display, and update order processing logic. 2026-03-01 23:10:35 +07:00
pbao9 7769326ac9 feat: Add deposit success email notification system with new mailer, job, view, and client update request. 2026-02-19 20:33:24 +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 c7215ababc feat: Implement JWT authentication for client API and add transaction verification endpoint. 2026-02-19 15:38:43 +07:00