Commit Graph

18 Commits

Author SHA1 Message Date
nguyentrungthat 7ea6af3c28 Update user login, form 2026-05-09 10:34:37 +07:00
nguyentrungthat dd6d4047e0 Update Detect Log By AI 2026-05-06 13:57:02 +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 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 7c7778a0e1 Update run scenario DPELP theo flow mới 2025-12-17 16:45:33 +07:00
nguyentrungthat 5a8cf4b999 Update migration table brand, category, scenario 2025-12-15 15:03:26 +07:00
nguyentrungthat 4e5099aea8 Update send zulip 2025-12-08 16:30:17 +07:00
nguyentrungthat ab1ff30f12 Update save field send wiki 2025-12-04 16:37:24 +07:00
nguyentrungthat 2ad1ee195f Update send Wiki 2025-12-04 15:54:18 +07:00
nguyentrungthat 997e9b2a1b Add history tracking to Line model and update CLI actions
Introduces a 'history' column to the Line model and database, storing line history as a JSON string. Updates line_connection service to persist history and extends Redis cleanup to 96 hours. Refactors BottomToolBar and ButtonAction components to use selectedLines for CLI actions and adjusts command sequences.
2025-12-02 14:23:35 +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 8a06650eab Add baud and interface to lines, enhance line controls
Added 'baud' and 'interface' fields to the Line model and database schema. Implemented backend and frontend support for setting baud rate per line, including socket event handling and UI controls. Enhanced CardLine and BottomToolBar components to provide scenario and baud controls, and improved UI/UX for line management. Minor fixes and refactoring for consistency and usability.
2025-11-13 16:58:02 +07:00
nguyentrungthat 1682a28029 Update 2025-10-31 15:37:37 +07:00
nguyentrungthat 00621e2cbe Update 2025-10-30 10:16:18 +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