Commit Graph

37 Commits

Author SHA1 Message Date
andrew.ng efa325ed19 Update log health check 2026-06-19 16:29:05 +07:00
andrew.ng 7cfe8a1d69 Update lum la 2026-06-05 09:50:13 +07:00
andrew.ng a69e904afa Update controller get list log, lưu cache redis, fix UI 2026-06-05 08:08:55 +07:00
andrew.ng a356552d5b Update link ip and dns, update view AI 2026-05-21 16:18:03 +07:00
joseph le 5135f7ba9a Update api erp, short log 2026-05-20 14:05:53 +07:00
nguyentrungthat 7ea6af3c28 Update user login, form 2026-05-09 10:34:37 +07:00
nguyentrungthat 1ae7550d77 Add Prompt AI model, API, seeds and UI
Introduce PromptAi support: add model, migration, seeder and controller with full CRUD endpoints, and register routes under /api/prompt-ai. Integrate DB-driven prompts into LineConnection (replace hardcoded prompt strings for DPELP and ENV with fetched PromptAi records). Update frontend ModalConfig to add a Prompt AI management tab (fetch, create, edit prompts), plus related UI tweaks (tabs, prompt editor modal, axios/notifications). This makes AI prompts editable at runtime without code changes.
2026-05-06 10:32:45 +07:00
nguyentrungthat 5d36b39c64 Update api update note SN ERP 2026-04-24 07:56:20 +07:00
nguyentrungthat 4740458dd4 Update healcheck_controller.ts 2026-04-21 09:45:48 +07:00
nguyentrungthat d0022eb7d5 Update keywords 2026-01-28 16:34:28 +07:00
nguyentrungthat 0ce936b685 Update config ram and check ram 2026-01-26 14:45:04 +07:00
nguyentrungthat c86824e589 Refactor health check controller and improve error handling
Moves LINK_WIKI and ERP_URL constants outside the check method for reuse. Updates error handling to set status based on which API call failed, and removes console logging for cleaner output. Always returns code 200 for consistency.
2026-01-17 10:41:51 +07:00
nguyentrungthat 38b6cb4981 Update load License 2026-01-13 10:54:12 +07:00
nguyentrungthat 5586f8f930 Update load license 2026-01-09 16:08:50 +07:00
nguyentrungthat 5afc8701ab Update folder get ios 2026-01-08 10:34:29 +07:00
nguyentrungthat 28059f85ed Update physical test, load ios 2026-01-07 16:04:24 +07:00
nguyentrungthat e55951d42c Update ios_license_controller.ts 2025-12-29 16:59:05 +07:00
nguyentrungthat b1b4f1b907 Update physical test 2025-12-26 16:09:52 +07:00
nguyentrungthat 42f67e5390 Enhance terminal clear options and update note handling
Added a 'Clear (scrollback)' option to the terminal modal, allowing users to clear only the scrollback buffer without emitting a clear event. Updated backend and helper logic to use 'testNotes' instead of 'notes' for serial number updates, and improved note formatting with timezone support. Also improved email content formatting and error reporting.
2025-12-24 14:27:52 +07:00
nguyentrungthat fd5d1628a5 Update note SN sau khi run dpelp và api heal check 2025-12-23 16:34:21 +07:00
nguyentrungthat e2e66f86bf Add health check endpoint and controller
Introduces HealCheckController to perform a health check by posting to a wiki API. Adds a new route at /atc/health-check for accessing the health check functionality.
2025-12-23 10:19:16 +07:00
nguyentrungthat 7c7778a0e1 Update run scenario DPELP theo flow mới 2025-12-17 16:45:33 +07:00
nguyentrungthat 76659b3e68 Update modal run scenario 2025-12-16 11:11:19 +07:00
nguyentrungthat 2729feed4e Update modal Scenario 2025-12-15 17:10:50 +07:00
nguyentrungthat 5a8cf4b999 Update migration table brand, category, scenario 2025-12-15 15:03:26 +07:00
nguyentrungthat 1d0a90f2cf Update config scenarios 2025-12-15 11:33:45 +07:00
nguyentrungthat c36b9f69df Enhance ticket handling and UI interactions
Backend: Added lineId to ticket creation, improved ticket update logic, and switched ticket update route to POST. Added 'update_ticket' event to socket.io provider. Frontend: Integrated 'motion' for animated bottom toolbar, added expand/collapse functionality, improved ticket creation and update flows, and ensured terminal focus on CLI open. Adjusted delays in ButtonDPELP, improved ticket info copy, and enhanced input handling in ModalTerminal. Updated dependencies to include 'motion'.
2025-11-19 13:57:52 +07:00
nguyentrungthat d908cf204c Add ticket management to lines and improve UI
Backend changes add a tickets relationship to lines and preload tickets (ordered by updated_at) when fetching stations. The frontend now displays ticket information in CardLine, adds ticket history and management (create, update, close, issue) in ModalTerminal, and introduces new types for tickets. Various UI improvements include consistent button font weights, port name normalization, and enhanced log/tooltips. Obsolete takeover logic was removed from App and ModalTerminal.
2025-11-18 16:59:27 +07:00
nguyentrungthat cbc4a8c9b0 Add ticket management API and update baud rate handling
Introduces a new TicketsController and Ticket model to support ticket CRUD operations via new /api/ticket routes. Updates line_connection service to improve baud rate command sequence. Adjusts CardLine component to include stationId when emitting set_baud events. Minor improvements to socket_io_provider for safer disconnect handling.
2025-11-17 16:25:40 +07:00
nguyentrungthat e4014054d2 Update 2025-11-06 09:39:33 +07:00
nguyentrungthat 21cb42ebc0 Update 2025-11-05 11:07:04 +07:00
nguyentrungthat 1682a28029 Update 2025-10-31 15:37:37 +07:00
nguyentrungthat 54ed6c95e8 Update 2025-10-30 09:56:09 +07:00
nguyentrungthat cbc8397ea8 Update 2025-10-28 16:57:15 +07:00
nguyentrungthat dea4d2b804 Update FE 2025-10-27 16:55:04 +07:00
nguyentrungthat 077a2ddc35 Update 2025-10-24 16:39:39 +07:00
nguyentrungthat 85c4bb9a26 Initial commit 2025-10-23 17:00:58 +07:00