1
0
forked from BRT/arc
Commit Graph

226 Commits

Author SHA1 Message Date
slava
cab12293aa Add XML test files for card and SPB transaction histories
Introduced two new XML files for testing transaction history pages: `card_test_recive_history.xml` for card operations and `spb_test_send_history.xml` for SPB transactions. These files will support UI testing and
2025-05-06 10:27:14 +07:00
slava
dfbca410c9 - Добавил xml дампы и скрины анализируемых экранов
- Добавил наработки по скрипту оплаты
2025-04-30 22:16:30 +07:00
AmirS
8ae4dbe695 RAZRABOTKA-6 task completed 2025-04-27 18:35:22 +04:00
AmirS
2a75604d79 Auto Payment Script improvements) 2025-04-27 06:16:54 +04:00
slava
c3fed927fc Remove macOS-specific Scrcpy embedding and cleanup debug logs
Removed Scrcpy embedding code and related configurations for macOS. Commented out excessive debug logging in multiple files to reduce console noise. Simplified CMakeLists.txt by unifying platform-specific sections for improved build system clarity.
2025-04-26 15:16:42 +07:00
slava
675fa7ca5f Fix scrcpy 2025-04-26 14:11:07 +07:00
slava
cf543917b4 Fix scrcpy 2025-04-26 13:50:05 +07:00
slava
b125c509b3 Fix database 2025-04-26 10:28:10 -07:00
slava
bf976f04c7 Refactor CMakeLists to conditionally include SCRCPY for macOS.
Moved the inclusion of SCRCPY and executable definition to within the APPLE conditional block. This ensures platform-specific sources are handled appropriately, improving configurability and avoiding redundancy.
2025-04-26 10:13:36 +07:00
slava
d52574c50f Merge remote-tracking branch 'origin/main' 2025-04-26 10:11:38 +07:00
slava
327b206fe8 Add ScrcpyWindow integration for screen mirroring
Introduced a ScrcpyWindow to enable integration of the scrcpy tool for device screen mirroring within the application. Platform-specific embedding is supported for macOS and Windows, with structure adjustments made in MainWindow and the build system (CMakeLists.txt).
2025-04-26 10:11:29 +07:00
AmirS
9f4ae0d726 Script auto starting 2025-04-25 15:42:51 +04:00
AmirS
71500f5023 Script initial 2025-04-24 15:45:44 +04:00
slava
c1b34ce7d7 Implement AccountWindow and TransactionWindow for account management
Added AccountWindow to display account tables linked to devices and TransactionWindow for viewing account details. Enhanced DeviceDAO and AccountDAO to support additional filtering and data retrieval functionalities.
2025-04-22 12:22:56 +07:00
slava
c1b8d0c23c Add menu navigation and cleanup main.cpp code
Introduced a navigation menu with actions "Окно 1" and "Окно 2" in `MainWindow`. Cleaned up commented-out code and adjusted formatting in `main.cpp` for clarity.
2025-04-22 10:18:52 +07:00
slava
92b78c3804 Add description field to accounts table and related logic
Added a new `description` column to the `accounts` table in the database schema. Updated the model, DAO methods, and queries to handle the `description` field for both inserting and retrieving account data. This change ensures that account entries can now include descriptive information.
2025-04-22 10:18:42 +07:00
slava
b1876bc3b9 Refactor includes and add AccountInfoScreener functionality
Updated include paths for consistent structure under the `db` directory. Added `AccountInfoScreener` for parsing card data using Tesseract OCR and enhanced related models. Removed unused code and simplified main workflow.
2025-04-21 23:12:21 +07:00
slava
e76113738e Update database and image files
Replaced the app_data.db and img.png files with new versions. These updates likely include important data and visual changes.
2025-04-21 12:01:34 +07:00
slava
d21e7f4048 Add database schema and DAO implementation for accounts and transactions
Introduced tables for devices, accounts, and transactions in the schema, along with associated models. Implemented DAO methods for CRUD operations, including upsert functionality for accounts and deduplication for transactions. These changes enable structured management of account and transaction data.
2025-04-21 12:01:24 +07:00
slava
d56b91425c Rename database fields to use consistent snake_case format.
Updated all SQL queries and bindings to replace camelCase field names (e.g., `updateTime`, `lastScan`) with snake_case equivalents (e.g., `update_time`). Ensures uniformity across database schema and codebase.
2025-04-21 12:00:55 +07:00
slava
2ee1e90d1b Add app_data.db to build directory during compilation
Ensures that the app_data.db file is copied to the build directory alongside other resources. This is necessary to guarantee all required files are available for the application to function correctly.
2025-04-18 20:07:03 +07:00
slava
4d9889db46 Refactor UI and database logic for device management
Replaced `MyWindow` with `MainWindow` featuring dynamic device widgets. Introduced `DeviceInfo`, `DeviceDAO`, and improved database interaction. Added flow layout and refactored image handling for better performance.
2025-04-18 16:39:13 +07:00
slava
1672216bdc Integrate device data management with database access
Added SQLite database support for managing device information and common data. Implemented DAOs for handling device and common data operations, such as inserting/updating devices and tracking the last scan time. Enhanced `DeviceScreener` to read device info, update database records, and take screenshots.
2025-04-17 22:10:11 +07:00
slava
144a784166 Test 2025-04-16 09:05:20 -07:00
slava
504c6629ab Integrate threading and Tesseract OCR functionality
Added a background worker using QThread for device screening and integrated Tesseract OCR for text recognition from images. Refactored project structure, updated CMakeLists for Tesseract support, and adjusted .gitignore for build files.
2025-04-14 13:59:19 +07:00
slava
944e32cfda First 2025-04-10 21:24:56 +07:00