1
0
forked from BRT/arc
Commit Graph

262 Commits

Author SHA1 Message Date
slava
cef3515790 Add screen dump checklists for Dushanbe and Ozon, introduce download stall timeouts, and refine update process with watchdog to prevent hangs during downloads. 2026-06-05 21:39:23 +05:00
slava
9f23991c61 Refactor payment confirmation logic: add locateConfirmButton with prioritized search (color → OCR → geometry), enhance tap precision 2026-06-05 14:56:41 +05:00
slava
e760f2bb5f Optimize database logging, improve thread performance, and implement periodic maintenance to avoid GUI blocking. Replace infinite waits in AdbUtils with safe timeouts to prevent thread starvation. 2026-06-05 14:39:29 +05:00
slava
cfc562eae6 Support datetime input for filters, improve date parsing logic, and update UI labels and button states in monitoring app. 2026-06-05 13:10:58 +05:00
slava
39e07ddb15 Save and upload previous session logs before truncation; extend LogArchiveSender for specific log file handling. 2026-06-05 13:10:50 +05:00
slava
49f1323706 Revise log entry processing in LogArchiveSender, disable screen history uploads in DeviceScreener, and replace rowid with id in database queries for consistency. 2026-06-05 11:01:42 +05:00
slava
d7fc838d1a Remove database file handling from LogArchiveSender, revise emergency purge logic in monitoring, and enhance error reporting in BankSetupWizard. 2026-06-04 23:28:26 +05:00
slava
521101463b Handle edge cases in log processing, enhance JSON rendering in monitoring logs, and improve logging in AdbUtils. 2026-06-04 22:07:36 +05:00
slava
a0583c4966 Add tests for monitoring log format: validate task_success/task_error JSON structure and improve database documentation with schema and migration details. 2026-06-04 13:36:18 +05:00
slava
a72a00cc3f Add monitoring/app.py to project and add logs download button
- Import arc-monitoring server code (app.py) into the repo under monitoring/
  so it can be version-controlled and edited locally
- Add "Скачать архив" button to admin header: GET /admin/logs/export
  downloads a ZIP with entries.json (all log entries) + attached log archives
  (file_path ZIPs from entries table); excludes screenshots and screen_dumps

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-04 13:31:34 +05:00
slava
c2994d9041 Refactor monitoring logs handling: use concise JSON formatting for transaction logs, add /monitoring_logs admin endpoint for testing, increase screen monitoring interval to 120s, and simplify network retry logic with shorter monitoring timeouts. 2026-06-04 13:01:47 +05:00
slava
2b4bd5a9d1 Add database section to documentation: include SQLite schema, migration patterns, and update processes. 2026-06-03 17:41:00 +05:00
slava
1f20c9437c Streamline transaction logging: remove redundant batch success reporting in FETCH_TRANSACTIONS and log individual transactions directly to arc-monitoring. 2026-06-03 16:49:38 +05:00
slava
615febc8b5 Introduce global transaction cache to prevent duplicate confirmations across tasks and enhance workflow consistency. Optimize cache cleanup and integrate validation in "Get 2026-06-03 15:29:04 +05:00
slava
cd98644f32 Add taskJson parameter to sendTaskError, introduce sendTaskSuccess, enhance error and success logging with detailed JSON data, and refine time mismatch handling. 2026-06-03 15:17:22 +05:00
slava
66279d4767 Add clientVersion retrieval and include in task dump reports for improved debugging. 2026-06-02 23:16:47 +05:00
slava
3391591e33 Include appVersion and clientVersion in error reporting for task failures. Add fallback logic for bottom navigation taps in GetLastTransactionsScript using icon-based detection. 2026-06-02 21:56:42 +05:00
slava
b486e922b3 Optimize "GetLastTransactionsScript" with single-pass search for all targets, add geometric fallback for bottom navigation taps, and improve error handling for unmatched transactions. 2026-06-02 20:06:57 +05:00
slava
fb9fa279a6 Refine error handling for "Interrupted" events, optimize screenshot throttling, and reduce redundant logs and heavy operations in ADB workflows. 2026-06-02 18:25:25 +05:00
slava
0168cf7610 Disable server-side material DELETE operations across multiple workflows; restrict DELETE to card toggling in AccountSettingsWindow. 2026-06-02 14:38:18 +05:00
slava
569eefb3e8 Update error reporting functions to include event ID and improve scroll detection in transaction scripts. Adjust network ping interval to 15 seconds. 2026-06-02 14:07:23 +05:00
slava
6d60cecef4 Add configurable date search window for transaction history parsing. 2026-06-01 22:27:34 +05:00
slava
e5a11b0a57 Disable date-based scrolling limit in GetLastTransactionsScript temporarily. 2026-06-01 21:52:25 +05:00
slava
7d953add94 Expand AppVersionTrack documentation with guidelines for adding new app versions. 2026-06-01 19:55:45 +05:00
slava
9744fbf990 Expand AppVersionTrack documentation with guidelines for adding new app versions. 2026-06-01 18:23:06 +05:00
slava
c6c35cff2c Add AppVersionTrack enum and related helpers to support version-based parsing. Include XML assets for Dushanbe 3.2.38 version. 2026-06-01 18:17:38 +05:00
slava
e08514ea2e Add parallel ADB scanning with QtConcurrent, optimize device sync logic, and replace blocking API calls with fire-and-forget dispatch for improved performance. 2026-06-01 14:54:17 +05:00
slava
29ae105c64 Add appVersion to TaskDumpMeta structure and update associated scripts for enhanced application version tracking in tasks and monitoring outputs. 2026-06-01 14:29:05 +05:00
slava
f6d895ab34 Refactor LogArchiveSender to add collectInto for file bundling; update TaskDumpRecorder to unify archive creation for tasks and logs. 2026-06-01 12:45:10 +05:00
slava
c5f0c035fe Adjust watchdog timer for FETCH_TRANSACTIONS to 10 minutes; optimize scroll behavior in GetLastTransactionsScript. 2026-06-01 00:27:43 +05:00
slava
5c2aba0505 Include androidId in TaskDumpMeta and update related scripts for improved device identification and tracking. 2026-05-31 21:23:50 +05:00
slava
35b2b3bcaa Include archive size in Telegram notification for x64 build. Adjust build_x64.bat to calculate and append file size to update messages. 2026-05-30 15:01:23 +05:00
slava
8d86d5f835 Add bank profile and phone metadata for improved task tracking and error reporting. Update TaskDumpMeta structure and associated scripts to include bankProfileId and profilePhone. Enhance LogArchiveSender and monitoring outputs for better operator identification and debugging. 2026-05-30 14:54:32 +05:00
slava
65d3b00bb9 Remove unused minVersion and mandatory fields from version.json generation in build_x64.bat. 2026-05-30 14:19:37 +05:00
slava
63fa25a087 Remove unused "notes" field from update mechanism and refactor version availability prompts for improved clarity. 2026-05-30 14:14:55 +05:00
slava
92e754ef6b Add support for -prod configuration in build_x64.bat, including API and manifest switching. Replace SCP with CURL for update uploads. 2026-05-30 14:05:32 +05:00
slava
f179c581d0 Add flag parsing for -up-version and -prod in build_x64.bat. Update archive naming to include a _prod suffix when -prod is specified. 2026-05-30 13:47:22 +05:00
slava
ce61986035 Add update mechanism for ARC: implement UpdateService for version checks, downloads, and staging; add ApplyUpdate for file copying and relaunch; integrate update actions into MainWindow and workflows. 2026-05-30 13:36:50 +05:00
slava
992073d43d Add support for database wipe on exit, including delayed deletion handling and user-triggered wipe option in GUI. Update DatabaseManager with sentinel logic and file path utilities. 2026-05-30 12:29:23 +05:00
slava
709c7d0490 Streamline FETCH_TRANSACTIONS to support per-transaction streaming, handle partial successes, and prevent duplicate retries. Update scripts, task lifecycles, and error reporting with multi-target processing. 2026-05-29 21:01:09 +05:00
slava
3832a658ce Add retry logic to EventHandler for FETCH_TRANSACTIONS script errors and timeouts, with a maximum of two retries per event. Update related event and task handling to ensure retry tracking and cleanup. 2026-05-28 22:21:11 +05:00
slava
b8da23fa6c Add DesktopSelectionWindow with UI logic for selecting or creating desktops. Update NetworkService to handle desktop selection flow. Improve desktop synchronization and settings management. Enhance mock server to support desktop device data in tests. 2026-05-28 19:12:27 +05:00
slava
942d6137e9 Add getOnlineDeviceApiIds and getActiveBankProfileIds to DAO layers, refactor NetworkService::doPingProfile to include device and bank profile details. Comment out unused debug statement in EventHandler. Update mock server profile data for testing. 2026-05-27 15:09:59 +05:00
slava
07399670c0 Introduce MaterialPayload utility for consistent material data serialization and API operations. Refactor profile and material handling logic across scripts and UI components to ensure invariant enforcement and improved server synchronization. Add deleteMaterial operation to NetworkService. 2026-05-27 13:29:07 +05:00
slava
a7840b640d Remove error handling for zero balance in GetProfileInfoScript as it is now considered a valid state. 2026-05-26 20:48:17 +05:00
slava
34e80f04bb Improve GetProfileInfoScript with polling mechanism for balance loading. Add parseBalanceFromHomeScreenOpt to differentiate loading state from zero balance. Update ScreenXmlParser logic accordingly. 2026-05-26 20:30:54 +05:00
slava
c5a6524e16 Merge branch 'main' into dev 2026-05-26 19:46:09 +05:00
slava
50a7b20f0a Add transactionId support to EventHandler, EventDAO, and related components for improved event tracking and error handling. Update database queries, error reporting, and UI logic accordingly.
(cherry picked from commit 067b16f700)
2026-05-26 19:39:35 +05:00
slava
3f9d3eebd0 Add transactionId support to EventHandler, EventDAO, and related components for improved event tracking and error handling. Update database queries, error reporting, and UI logic accordingly. 2026-05-26 19:34:16 +05:00
slava
d3b109d87f Update build documentation to reflect executable name change from ARCDesktopProject to ARC 2026-05-25 16:48:13 +05:00