1
0
forked from BRT/arc

Commit Graph

  • 52d261a060 Integrate TaskDumpRecorder into scripts for enhanced error tracking and proper handling of nested scopes. slava 2026-05-11 20:16:05 +0700
  • afe83e17c2 Filter bank profiles by profile country and sync material statuses with server: slava 2026-05-11 15:52:54 +0700
  • 377844e94b Add account number parsing and database integration: slava 2026-05-08 20:29:00 +0700
  • 9a7a718d52 Add new monitoring paths (/monitoring/log and /monitoring/dump) to config.ini slava 2026-05-08 15:54:58 +0700
  • daa0123f7f Refine sum field detection logic in findSumEditText to account for an additional EditText above the anchor. slava 2026-05-07 23:09:56 +0700
  • 46aca63341 Update MainWindow to call sendLogsToBackend instead of sendLogToTelegram. slava 2026-05-07 22:56:11 +0700
  • 1ab023b45e Rename sendLogToTelegram to sendLogsToBackend in FileLogWindow. slava 2026-05-07 22:54:14 +0700
  • 9c2ec74f76 - Add findSumEditText to ScreenXmlParser for enhanced sum field detection. - Update PayByPhoneScript and PayByCardScript to use findSumEditText as a fallback. - Enhance FileLogWindow to export logs and database files to backend via NetworkService. - Add networkService getter in TaskDumpRecorder for centralizing access to NetworkService. slava 2026-05-07 22:54:06 +0700
  • 558e881c75 Update ScreenXmlParser to use startsWith for handling multi-line "Идентифицирован" content-desc slava 2026-05-06 23:32:16 +0700
  • c144305240 Handle declined transactions and enhance payment scripts: - Add unique bank_transaction_id generation for declined transactions in EventHandler. - Extend timeout and iteration logic to better handle intermediate statuses ("Выполняется") in PayByPhoneScript and PayByCardScript. - Update slava 2026-04-30 23:41:06 +0700
  • d58100083f Switch Tesseract initialization to memory-based loading of rus.traineddata to fix issues with paths containing Cyrillic characters (Windows). slava 2026-04-30 19:52:07 +0700
  • f611639532 Add OCR utilities and backend integration for enhanced screen dump analysis: - Introduce OcrUtils with fuzzy-matching logic for text recognition on screenshots. - Implement dual-pass OCR to handle light-on-dark and dark-on-light text cases. - Replace hardcoded "Подтверждаю" button tap logic with OCR-based detection and fallback geometry. - Update TaskDumpRecorder to utilize NetworkService for uploading screen dumps, images, and metadata to the backend. - Add support for /monitoring/dump endpoint in NetworkService. - Enhance UI functionality with new error handling and progress feedback during dump creation and upload. slava 2026-04-30 19:39:21 +0700
  • 11e8f00e42 Add OCR utilities and backend integration for enhanced screen dump analysis: - Introduce OcrUtils with fuzzy-matching logic for text recognition on screenshots. - Implement dual-pass OCR to handle light-on-dark and dark-on-light text cases. - Replace hardcoded "Подтверждаю" button tap logic with OCR-based detection and fallback geometry. - Update TaskDumpRecorder to utilize NetworkService for uploading screen dumps, images, and metadata to the backend. - Add support for /monitoring/dump endpoint in NetworkService. - Enhance UI functionality with new error handling and progress feedback during dump creation and upload. slava 2026-04-30 19:17:17 +0700
  • 6de3751a60 Add logic to refresh balance on the home screen: - Introduce findRefreshButtonOnHomeScreen in ScreenXmlParser for locating the refresh button. - Update GetProfileInfoScript to tap refresh button and retry balance parsing when balance is zero. - Extend mock server profiles with additional test data. slava 2026-04-29 22:02:53 +0700
  • f19137280e Handle declined transactions in EventHandler: - Add logic to identify and process declined transactions for `CreateTransaction slava 2026-04-28 00:06:13 +0700
  • d37acd5347 Handle closing of ad bottom sheets in CommonScript: - Add detection and dismissal logic for ad banners on the homepage. - Introduce retry mechanism with back button fallback for persistent ads. slava 2026-04-27 21:45:53 +0700
  • f7a187ec88 Add getRawScreenDumpAsXml to capture slava 2026-04-27 20:41:16 +0700
  • 052f9051e1 Improve "Показать" button scrolling in GetCardInfoScript to handle devices with short screen heights: - Add logic to scroll WebView until the button is in the visible top-third of the screen. - Account for bottom navigation obstruction and ensure reliable tapping. slava 2026-04-27 18:19:10 +0700
  • 44e60fc09f Introduce TaskDumpRecorder for centralized task dump management: - Add TaskDumpRecorder to save task-related XML dumps and upload failure info to Telegram. - Integrate TaskDumpRecorder into PayByPhoneScript and PayByCardScript for Dushanbe and Ozon banks. - Extend ADB utilities to record XML dumps with TaskDumpRecorder and refine keyboard dismissal logic. - Enhance freeze detection with consecutive dump checks in CommonScript and payment scripts. - Update mock server profiles and scenario configurations with new material IDs. slava 2026-04-26 19:22:40 +0700
  • cd1828e2b5 Optimize button verification in payment scripts: - Refactor retry logic for visibility and tappability of key payment buttons. - Enhance error messaging for obstructed or missing buttons. slava 2026-04-24 22:22:24 +0700
  • a92610f9e5 Improve "Перевести" button handling in PayByCardScript: - Add keyboard dismissal and retry logic to ensure button visibility and tappability. - Update error messages to differentiate between missing or obstructed button scenarios. slava 2026-04-24 22:10:06 +0700
  • af47dc5888 Improve "Продолжить" button handling in PayByPhoneScript: - Add keyboard dismissal and retry logic to ensure button visibility and tappability. slava 2026-04-24 22:07:34 +0700
  • f5be380292 Improve ADB Keyboard activation reliability: - Add retries for ime enable to handle delayed IME registration after installation. - Introduce flag to distinguish newly installed keyboards for adaptive retry logic. slava 2026-04-24 21:56:20 +0700
  • cc5a4ed15b Add copy logic for ADBKeyboard assets in CMake build process slava 2026-04-24 21:41:16 +0700
  • ac8b5922ad Enable reliable activation of ADB Keyboard and improve fallback handling: - Add comprehensive verification and logging for IME activation steps in AdbUtils. - Update PayByPhoneScript to handle IME activation failures with error reporting. - Improve edit text detection in ScreenXmlParser for devices with missing hint attributes. slava 2026-04-24 21:31:37 +0700
  • f200eae2bd Add closeGooglePlayBannerIfVisible to handle Google Play update banners across scripts: - Integrate banner dismissal in retry loops for XML parsing in payment and profile scripts. - Add detection logic for permission deny buttons and update banner handling in ScreenXmlParser. - Ensure reliable operation during input field detection, transactions fetching, and confirmation screens. slava 2026-04-24 16:39:38 +0700
  • d480cc51b0 Enhance input field detection and retry logic across payment scripts: - Add retry loops for input fields in PayByPhoneScript and PayByCardScript to improve reliability. - Update window title in MainWindow with version info from config.ini. slava 2026-04-24 16:09:36 +0700
  • 8c2be04787 Improve button loading and error handling in PayByCardScript: - Add checks for the "По номеру карты" button on the payments screen. - Refine error messages to distinguish missing button vs. incomplete screen load. slava 2026-04-23 21:13:31 +0700
  • 0a460d10a0 Add exclusive material activation logic to MaterialDAO and improve card selection in BankSetupWizard. slava 2026-04-23 20:44:44 +0700
  • efc2da5cd0 Refine transaction amount parsing in mock server: - Ensure amounts include the ₽ currency symbol for accurate parsing. slava 2026-04-22 18:03:52 +0700
  • d854da3e8f Standardize error reporting across services: - Add event_type to error data. - Replace dynamic type with "ERROR" for task results and error messages. slava 2026-04-20 17:21:22 +0700
  • a2c9118c82 Increase maxScrolls limit to 30 in GetLastTransactionsScript for better transaction fetching. slava 2026-04-19 09:00:10 +0700
  • 248fae6061 Improve scroll recovery logic in GetLastTransactionsScript: - Add upward scroll handling to recover header visibility when the target header scrolls out of view. slava 2026-04-18 20:08:45 +0700
  • bac36aa5d2 Refine date header visibility logic and scroll behavior in GetLastTransactionsScript: - Add computeDateYCount to detect overlapping date headers and improve visibility checks. - Adjust swipe logic for better handling of target and older dates during transaction fetching. - slava 2026-04-18 19:46:06 +0700
  • 779e3cd74c Fix for windows slava 2026-04-18 19:23:56 +0700
  • ad4d87abc3 Fix for windows slava 2026-04-18 18:53:10 +0700
  • fc0b3f9e6e Fix for windows slava 2026-04-18 18:53:00 +0700
  • d59bf51416 Add closeGooglePlayBannerIfVisible to handle Google Play update banners: - Ensure banners are closed during transaction fetching in GetLastTransactionsScript. - Update XML parsing workflow to accommodate banner dismissal logic. slava 2026-04-18 18:52:28 +0700
  • d0330a509a Refine transaction amount parsing and improve banner closing in Ozon scripts: - Handle fractional amounts during transaction parsing in mock server. - Add support for closing Google Play update banners in Ozon homepage handling logic. slava 2026-04-18 17:27:12 +0700
  • d9479cd3ea Refactor EventHandler and Dushanbe scripts to centralize screenshot handling: - Introduce connectScreenshotDushanbe for consistent signal-slot connections in EventHandler. - Emit screenshots via CommonScript across PayByCard, PayByPhone, and GetLastTransactions. - Eliminate redundant screenshot signals in GetLastTransactionsScript. slava 2026-04-17 11:17:59 +0700
  • 312e0b37dd Simplify adb broadcast command construction in AdbUtils for cleaner and more concise execution logic. slava 2026-04-16 17:29:20 +0700
  • 899f4ff6d6 Add support for mock server state persistence, error tracking, and screenshot handling. Extend bootstrapping logic and monitoring endpoints for enhanced debugging and task management. slava 2026-04-14 18:46:34 +0700
  • 628323184f Refine transaction fetching and parsing: - Add date header parsing and swipe functionality for streamlined Ozon transactions list processing. - Improve deduplication logic, date assignment, and scroll behavior in Dushanbe and Ozon scripts. - Introduce screenshot handling for debugging transaction fetching workflows. - Add cancellation logic by materialId in EventDAO. - Update mock server for enhanced filename generation and PATCH support for bank profiles. slava 2026-04-13 22:41:15 +0700
  • a97bdea977 Add timeout mechanism in NetworkService to prevent hanging requests by aborting after 30 seconds. slava 2026-04-13 19:16:22 +0700
  • e5e8500534 Improve logging and control flow in NetworkService and EventHandler; fix tapped assignment in GetLastTransactionsScript. slava 2026-04-13 18:55:08 +0700
  • db88cf373e Add currency mapping logic to GetCardInfoScript in all platforms and update .gitignore for mock server scenarios slava 2026-04-13 18:37:01 +0700
  • 16cde75220 Fix for windows slava 2026-04-13 18:34:23 +0700
  • 967397b5d5 Add scenarios for "FETCH_TRANSACTIONS" testing and improve bank-specific bootstrapping logic in mock server. slava 2026-04-12 17:29:48 +0700
  • dfbe1cbf72 Fix for windows slava 2026-04-12 16:54:34 +0700
  • 0ab71db506 Fix for windows slava 2026-04-12 15:52:19 +0700
  • c2fc0104c6 Fix for windows slava 2026-04-12 15:17:28 +0700
  • 23c3f366b1 Add mock server for local ARC backend integration tests, update config.ini for local API usage. slava 2026-04-12 12:11:39 +0700
  • d235508c70 Emit parsed transaction data as a signal to streamline GetLastTransactionsScript integration with EventHandler. slava 2026-04-11 19:29:47 +0700
  • 33c8420910 Refine transaction parsing and handling logic: - Add fast path for avoiding unnecessary app restarts if already on the home or PIN screen. - Improve PIN code and home screen detection with fallback mechanisms. - Implement URL and error sanitization for network messages to hide sensitive data from logs. - Add embedded transaction parsing from content description with adjusted tap positioning logic. - Refactor transaction fetching to use direct signal-based parsed data instead of database queries. slava 2026-04-11 16:37:14 +0700
  • 4407f999c7 Use device name and timestamp to generate unique filenames for XML dumps to avoid overwriting files during uploads. slava 2026-04-11 14:51:44 +0700
  • 4f3e2e472f Add screen dump feature with screenshot and XML upload to Telegram, adjust UI layout to use QVBoxLayout for button alignment. slava 2026-04-11 14:48:26 +0700
  • d79dd93514 Refine transaction filtering logic by adjusting time-based pre-filtering with wraparound midnight support and improving detail parsing for extracting transaction metadata. slava 2026-04-10 19:03:35 +0700
  • ffb206303e Refine transaction ID generation by replacing history-based retrieval with timestamp-based fallback logic. Adjust source card selection and transaction grouping in payment scripts. slava 2026-04-10 18:46:33 +0700
  • fd99281dfb Add device timezone handling in transaction filtering and refine match logic by amount and timestamp slava 2026-04-10 18:14:52 +0700
  • 76ceaed0eb Refine pin code validation logic, add device timezone support in transaction scripts, and improve XML node logging for error handling. slava 2026-04-10 17:55:45 +0700
  • 14ca8348c3 Add timeout handling and process kill logic for ADB operations. Refine date and time validation in transaction fetching. Adjust EventHandler to handle "ozon" bank accounts separately. Use blocking queued connection for stopping EventHandler. slava 2026-04-10 15:44:55 +0700
  • 0c1d2675b3 Add validation to ensure device.name is not empty before registering a new device in API sync logic. slava 2026-04-09 22:32:58 +0700
  • 87d74e7747 Add warning log for failed balance updates in GetCardInfoScript to improve error visibility. slava 2026-04-09 22:25:43 +0700
  • 4c1ff0af0f Refine card number parsing logic in GetCardInfoScript and improve node filtering in ScreenXmlParser. slava 2026-04-09 22:21:05 +0700
  • d27f4b6b22 Add phone number to makePayment and implement fallback logic for generating transaction IDs in payment scripts. slava 2026-04-08 21:34:54 +0700
  • 7931a10b88 Fix for windows slava 2026-04-08 15:43:59 +0700
  • 3e22f9ea93 Add database/app_data.db to .gitignore for exclusion from version control slava 2026-04-08 09:44:46 +0700
  • 6d3f76feea - Add log panel to the devices page and implement log parsing with enhanced context extraction for banks and devices. Remove unused bank synchronization logic and bank list actions. slava 2026-04-08 09:43:38 +0700
  • 73461b93bf - Add OCR-based fallback logic to extract bankTrExternalId in GetLastTransactionsScript when missing. - Copy required images, trained data, and config files to the build directory during the CMake process. slava 2026-04-06 20:57:48 +0700
  • baa60d008b Ensure BankSetupWizard triggers only when bankProfileId is empty and pinCodeChecked is false in DeviceSettingsWindow and DeviceWidget. slava 2026-04-06 20:16:58 +0700
  • c5e8fc4ed5 Ensure BankSetupWizard triggers only when bankProfileId is empty and pinCodeChecked is false in DeviceSettingsWindow and DeviceWidget. slava 2026-04-06 20:01:52 +0700
  • a046a27569 Fix for windows slava 2026-04-06 19:53:05 +0700
  • 8ec9f37160 Replace nullptr with QCoreApplication::applicationDirPath() in OCR initialization across automation scripts to ensure correct Tesseract setup paths. Add UI overlay updates in AccountSettingsWindow for better progress visibility and enhance error handling in EventHandler for transactions missing bank_transaction_id. slava 2026-04-06 19:45:51 +0700
  • d7c296ba42 Fix for windows slava 2026-04-06 19:09:39 +0700
  • 013a00c972 Add debug logging for card details in GetCardInfoScript to enhance troubleshooting. slava 2026-04-06 18:40:03 +0700
  • b2bbb2207f Add cross-platform archive creation for event and log exports using platform-specific tools (zip and PowerShell). slava 2026-04-06 18:02:59 +0700
  • 6647a91c88 Handle error dialog in GetLastTransactionsScript with "OK" tap and pull-to-refresh; add time pre-filtering and enhanced match validation for transactions. slava 2026-04-06 17:18:42 +0700
  • 41bb5e33fd Add pause/resume functionality for active profiles in AccountSettingsWindow and improve automation scripts with OCR-based transaction ID extraction, card balance waits, and absolute value handling in event parsing. slava 2026-04-06 17:02:52 +0700
  • 58513eb15a - Add buttons for profile and card operations to AccountSettingsWindow with threading integration and UI state management. - Implement Dushanbe automation for GetProfileInfoScript and GetCardInfoScript. - Add device validation in DeviceDAO and enhance duplicate checks in NetworkService during synchronization. slava 2026-04-06 14:59:00 +0700
  • 3ed2d4da20 Add PayByCardScript and PayByPhoneScript for Dushanbe automation, including transaction flow, OCR-based operation ID extraction, and enhanced logging. slava 2026-04-06 12:51:18 +0700
  • 37b72938e8 Add CommonScript framework and implement bank-specific automation scripts including GetCardInfoScript, GetProfileInfoScript, and GetLastTransactionsScript. slava 2026-04-04 23:32:26 +0700
  • f28311b5cf - Add debug outputs in NetworkService for bank profile synchronization and adjust default installation status for new apps. slava 2026-04-02 14:18:09 +0700
  • 8d0eae8ec0 - Remove app_logs table and related logic, transitioning to general_logs. - Add pinCheckOnly parameter in scripts to support conditional account checks. - Prevent activation of bank profiles without active cards in AccountSettingsWindow and DeviceWidget. - Adjust logging flow in AppLogger for unified data handling. slava 2026-03-31 14:07:23 +0700
  • a6509b5653 - Add database migration for screenshot column in general_logs. - Implement cleanupOldData in DatabaseManager to remove outdated entries and optimize storage. - Introduce unlockScreen in AdbUtils and integrate it into common scripts for screen unlocking. - Enhance GeneralLogDAO to support screenshot storage and retrieval. - Expand FileLogWindow with screenshot viewer and horizontal layout. - Add device ID migration logic in BankProfileDAO and MaterialDAO. - Improve error handling in EventHandler by saving and logging screenshots for critical events. slava 2026-03-31 13:08:02 +0700
  • de8c2e84d0 - Add toggleMaterial logic to NetworkService for enabling/disabling materials via PATCH request. - Implement toggleMaterialStatus in AccountSettingsWindow for UI control and threading integration. - Enhance MaterialDAO with numeric validation for lastNumbers field to ensure data integrity. - Update PayByCardScript and PayByPhoneScript to handle PIN entry if required after payment confirmation. - Introduce dynamic UI adjustments for material toggling, including a new toggle button and layout refinements. - Add documentation for task logic in ozon_tasks.md and black_tasks.md. - Switch default currency in GetCardInfoScript (Black app) from USD to ARS. slava 2026-03-31 11:40:34 +0700
  • bceceb516b Remove AccountDAO, ApplicationDAO, and related models, replacing them with BankProfileDAO and BankProfileInfo. slava 2026-03-31 00:11:50 +0700
  • b395ed41a5 Add bank profile toggling in DeviceWidget and enhance error handling in EventHandler slava 2026-03-25 16:05:27 +0700
  • e1b977becc Fix for windows slava 2026-03-24 14:20:48 +0700
  • 8f416b3303 Refactor project naming and executable targets, enhance UI with no-devices label, tutorial handling, and app branding updates. slava 2026-03-24 14:03:39 +0700
  • b42fb5eea9 Enhance error handling, improve UI parsing logic, and refine tap retry workflows across Ozon scripts slava 2026-03-23 21:30:37 +0700
  • 01f8801a73 Refactor findPinCodeNodes in ScreenXmlParser for improved PIN handling and grid detection slava 2026-03-21 18:41:02 +0700
  • cefad834c7 Enhance findPinCodeNodes logic in ScreenXmlParser with regex support and size tolerance improvements slava 2026-03-21 18:14:05 +0700
  • 712b73316c Remove CommonBirbankScript and its derived classes from the codebase slava 2026-03-21 17:41:05 +0700
  • 10897164e9 Fix for windows ver-0.0 slava 2026-03-16 18:31:45 +0700
  • 8ed25698e8 Add GetLastTransactionsScript and PayByCardScript implementations for Black app slava 2026-03-12 18:42:38 +0700
  • eb14339623 Add core scripts for Black app automation and XML parsing slava 2026-03-11 19:45:08 +0700
  • 55fef77c43 Fix for windows slava 2026-03-10 09:49:29 +0700
  • 23d404b9c5 Add PayByCardScript implementation and XML asset for payment automation in Ozon slava 2026-03-10 09:30:25 +0700
  • f95dabca77 Fix for windows slava 2026-03-09 18:17:05 +0700
  • 1ed7cbe6f7 Fix for windows slava 2026-03-09 17:20:03 +0700