Commit Graph

53 Commits

Author SHA1 Message Date
nguyentrungthat 36a67c5b2d Update form summary 2026-05-11 16:25:15 +07:00
nguyentrungthat 95601a02cb Update 2026-05-08 16:41:32 +07:00
nguyentrungthat 7fea517efa Update 2026-05-06 14:25:34 +07:00
nguyentrungthat 2c33854e43 Update 2026-05-06 14:12:44 +07:00
nguyentrungthat c3f51051fa Update 2026-05-06 13:59:26 +07:00
nguyentrungthat dd6d4047e0 Update Detect Log By AI 2026-05-06 13:57:02 +07:00
nguyentrungthat 5d36b39c64 Update api update note SN ERP 2026-04-24 07:56:20 +07:00
nguyentrungthat c7040f7ac7 Update load IOS, License 2026-03-21 09:32:35 +07:00
nguyentrungthat 0bb2ce2e63 Update ping trước khi load ios, license 2026-03-17 08:35:35 +07:00
nguyentrungthat 05950726bf Update status is ready for line 2026-02-24 09:36:36 +07:00
nguyentrungthat c644e798c6 Add summary-report debounce and small fixes
Backend: Add debounceSendSummaryReport to LineConnection and snapshotting to debounce sendReportSummary (10 min) to avoid duplicate summary emails; adapt sendReportSummary to accept a snapshot and use snapshot data when available. Reset physicalTest and listFeatureTested on line disconnect and add initConfig helper. Improve PoE/SFP parsing (filter names with '/' and match 'unknown') and adjust report HTML (tested/missing counts, column counts). Add PS_INCOMPATIBLE log rule. Comment out automatic wiki/email send in socket provider. Physical test service: suppress getFormReport call on completion and include PoE/SFP breakdown in the HTML report counts. Frontend: fix terminal open logic to check userOpenCLI instead of userEmailOpenCLI and display device MAC in the terminal modal.
2026-02-23 11:20:56 +07:00
nguyentrungthat 215cd4fbe4 Update convert kilobytes 2026-02-10 09:52:19 +07:00
nguyentrungthat c7094f0fd8 Update form report and UI 2026-02-10 08:16:25 +07:00
nguyentrungthat c24febf32a Update physical test, report 2026-02-05 09:14:45 +07:00
nguyentrungthat 7373601fa4 Update report special keyword 2026-01-29 08:43:26 +07:00
nguyentrungthat d0022eb7d5 Update keywords 2026-01-28 16:34:28 +07:00
nguyentrungthat 9fcf03e3a7 Update check flash 2026-01-26 14:54:47 +07:00
nguyentrungthat 0ce936b685 Update config ram and check ram 2026-01-26 14:45:04 +07:00
nguyentrungthat 20ef2732da Update 2026-01-23 13:04:52 +07:00
nguyentrungthat e1f8e42112 Update note from user 2026-01-20 10:51:51 +07:00
nguyentrungthat c4a5b1c499 Update disable Station 2026-01-15 15:39:43 +07:00
nguyentrungthat f6620edc35 Update load license 2026-01-15 09:52:54 +07:00
nguyentrungthat 38b6cb4981 Update load License 2026-01-13 10:54:12 +07:00
nguyentrungthat a9dce43ab2 Update select license 2026-01-12 16:33:07 +07:00
nguyentrungthat 5586f8f930 Update load license 2026-01-09 16:08:50 +07:00
nguyentrungthat 9bc0f96afc Update loading list log 2026-01-08 13:37:26 +07:00
nguyentrungthat 28059f85ed Update physical test, load ios 2026-01-07 16:04:24 +07:00
nguyentrungthat ef1ba4ac99 Update scenario load ios 2025-12-30 16:04:24 +07:00
nguyentrungthat b1b4f1b907 Update physical test 2025-12-26 16:09:52 +07:00
nguyentrungthat 2f484e19b6 update physical test 2025-12-25 16:17: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 48a50b5628 Improve log handling and email reporting
Refactored log buffer management to use 'allBuffer' for complete log storage and updated email content to include raw logs. Enhanced log table formatting and removed status from email header. Commented out interface up/down rules in helper.ts to adjust log rule detection.
2025-12-23 09:36:46 +07:00
nguyentrungthat 0af1cd8747 Add email reporting for test errors and AI log analysis
Introduces functions to format test errors and AI log analysis as HTML tables and send them via email. Adds helper utilities for error mapping and HTML escaping, and updates types to support structured error rows. Also increases the log check interval and refactors buffer management for improved clarity.
2025-12-22 16:54:02 +07:00
nguyentrungthat b9598f9351 Refactor log rule handling and enhance test session logic
Replaces per-rule application with a unified error-based approach in log processing. Expands and clarifies log rules, introduces deduplication and error counting in TestSession, and updates types to support richer error and result reporting. Improves final result output for better clarity and debugging.
2025-12-19 15:42:02 +07:00
nguyentrungthat b8ab1f0583 Update 2025-12-19 12:02:16 +07:00
nguyentrungthat fef82cb233 Enhance scenario detection and tracking logic
Updated LineConnection to track processed scenario IDs and prevent duplicate scenario detection by passing a list of previously detected scenarios to detectScenarioByModel. Modified detectScenarioByModel to skip scenarios already in the list. Added a delay in waitUntilAllReady to ensure readiness before proceeding.
2025-12-18 09:00:03 +07:00
nguyentrungthat 7c7778a0e1 Update run scenario DPELP theo flow mới 2025-12-17 16:45:33 +07:00
nguyentrungthat 117d982c4d Update add log switch, apc 2025-12-11 09:00:58 +07:00
nguyentrungthat 2bc1338316 Update format send zulip 2025-12-09 17:09:23 +07:00
nguyentrungthat 4e5099aea8 Update send zulip 2025-12-08 16:30:17 +07:00
nguyentrungthat 2ad1ee195f Update send Wiki 2025-12-04 15:54:18 +07:00
nguyentrungthat 8cf801d964 Updaet wiki 2025-12-03 11:37:31 +07:00
nguyentrungthat ffad475c2b Update format data gửi wiki 2025-12-02 11:19:24 +07:00
nguyentrungthat 77027d4f8a Implement DPELP batch run and result aggregation
Added backend and frontend support for running DPELP scenarios on all lines of a station and aggregating results. Introduced a new socket event 'run_all_dpelp', a helper for formatting line results, and logic to post results to a wiki endpoint. Also updated scenario command delays and improved overlay positioning logic in the UI.
2025-12-01 16:49:19 +07:00
nguyentrungthat 36d7438055 Refactor log handling and improve output buffering
Updated log file naming to include station name and IP, and refactored appendLog to use new format. Enhanced frontend output buffering for lines to reduce UI update frequency. Improved connection retry logic for switch connections and adjusted socket.io provider timeouts. Updated DrawerLogs format description and removed unnecessary state changes in TerminalXTerm.
2025-11-25 11:32:07 +07:00
nguyentrungthat 3e720691fb Update 2025-11-11 09:57:07 +07:00
nguyentrungthat fb1554d857 Update 2025-10-30 16:23:08 +07:00
nguyentrungthat 240dfdff2c Update 2025-10-29 16:23:00 +07:00
nguyentrungthat cbc8397ea8 Update 2025-10-28 16:57:15 +07:00