Commit Graph
13 Commits
Author SHA1 Message Date
Your Name 7849b62d44 fix: Enhance logging and clean up blank lines across multiple files
- Improved logging for reservation handling and participation decisions to provide better traceability.
- Cleaned up excessive blank lines in various markdown and Python files to enhance readability and maintainability.
- Ensured consistent formatting across documentation and code files, contributing to overall project clarity.
2025-12-27 10:35:15 +08:00
Your Name 235c5076eb fix: Update reservation handling and improve logging
- Fixed issues with the reservation backtracking feature by ensuring the `needswitch` configuration is correctly loaded from `config.json`.
- Enhanced the logging for reservation backtracking logic to provide detailed insights during execution.
- Updated the `reservations.json` file to reflect the latest reservation details, including changes to future timestamps and content.
- Cleaned up unnecessary blank lines in various markdown and Python files for better readability.
2025-12-25 17:31:46 +08:00
Your Name e68f1dd3de feat: Refactor coverage management and enhance logging functionality
- Removed the `.coverage` file from the repository to streamline coverage management.
- Updated `.gitignore` to exclude coverage-related files and directories, ensuring a cleaner project structure.
- Introduced new scripts for checking GPU availability and detecting GUI parameter conflicts, enhancing the overall functionality of the application.
- Improved logging mechanisms across various modules to support better debugging and monitoring.
- Added comprehensive documentation for new features and updated existing markdown files for clarity.
2025-12-23 02:38:51 +08:00
Your Name fe0098c591 feat: Enhance 福袋 template matching functionality
- Introduced a new configuration option to enable or disable 福袋 template matching, improving user control over the feature.
- Updated command-line arguments to support enabling and disabling the 福袋 template matching feature.
- Enhanced the GUI to include options for configuring 福袋 template matching settings.
- Improved error handling and logging in various modules to support the new functionality.
- Updated documentation to reflect changes in 福袋 template matching features and configuration options.
2025-12-22 04:05:22 +08:00
Your Name 533943620c feat: Optimize OCR performance and enhance debugging features
- Implemented parallel execution for OCR tasks, significantly improving recognition speed for content, countdown, and value detection.
- Updated configuration settings to support automatic cleanup of debug captures, including retention days and maximum file limits.
- Enhanced GUI to include new options for debugging parameters, allowing users to configure debug capture settings directly.
- Improved documentation to reflect changes in OCR functionality and debugging features, ensuring clarity for users.
- Refined error handling and logging across various modules to facilitate better monitoring and troubleshooting.
2025-12-22 03:27:37 +08:00
Your Name e5a510d19b feat: Introduce unified logging system and optimize file management
- Added a new unified logging module to standardize log formatting, including support for traceId and MDC for better tracking.
- Updated `.gitignore` to exclude code analysis reports and temporary files.
- Created cleanup scripts to manage unused files and generate cleanup reports.
- Enhanced existing modules to integrate the new logging system and improve debugging capabilities.
- Removed outdated files and scripts to streamline the project structure.
2025-12-22 01:30:09 +08:00
Your Name 5b8dd6e5d4 Auto commit: 2025-12-21 22:45:00 - Hourly auto save 2025-12-21 22:45:01 +08:00
Your Name 1a63852bde feat: Add dependency management tools and enhance logging features
- Introduced `check_dependencies.py` to automate dependency checks and provide installation guidance.
- Created `install_dependencies.py` for automatic installation of missing dependencies.
- Updated `config.json` to include new logging settings for log retention and date-based log file management.
- Added `DEPENDENCY_GUIDE.md` and `DEPENDENCY_FIXES_REPORT.md` for comprehensive documentation on dependency management and fixes.
- Enhanced logging functionality in `douyin_logging.py` to support date-based log files and automatic cleanup of old logs.
2025-12-21 22:40:56 +08:00
Your Name 2cd81c05a3 fix: Adjust configuration settings and improve error handling
- Updated `config.json` to modify `yanghao_recommend_interval_seconds` for better timing control.
- Refactored logging in `douyin_detection.py` to enhance readability and error handling.
- Improved pixel loading and error management in image processing functions across multiple modules.
- Enhanced GUI elements in `gui_app.py` to support new configuration options and improve user experience.
2025-12-21 21:55:30 +08:00
Your Name 836a31d817 refactor: Remove outdated files and enhance Web GUI functionality
- Deleted obsolete markdown files related to follow tab coordinates testing and results.
- Removed outdated batch scripts for launching the Web GUI.
- Updated `config.json` to improve reservation handling and adjust prize value settings.
- Enhanced logging and error handling in `web_gui.py` and `app.js` for better user experience.
- Added automatic screenshot functionality during Web GUI startup for improved monitoring.
2025-12-19 03:31:08 +08:00
Your Name b0bd7c72c8 refactor: Remove outdated batch script and enhance configuration settings
- Deleted the obsolete batch script for launching the Web GUI.
- Updated `config.json` to increase `webgui_log_capacity` to 2000 and set `reset_after_swipes` to 15.
- Enabled `reset_after_swipes_enabled` for improved functionality.
- Added a new field `reservation_back_swipe_delay` to enhance reservation handling.
- Improved OCR caching and detection mechanisms in `douyin_fudai.py` for better performance.
- Enhanced logging functionality in `web_gui.py` to handle ANSI escape codes and improve error handling.
2025-12-16 16:49:29 +08:00
Your Name ea8d221543 feat: Add runtime overrides for reservation settings and update high value rooms
- Introduced new command-line arguments for runtime configuration:
  - `--reservation-back-swipe-delay`: Adjusts swipe delay after rollback (only effective when rollback verification is disabled).
  - `--reservation-preempt-min-value`: Sets the minimum value for preempting reservations.
  - `--fudai-find-max-attempts`: Limits the maximum attempts to find the 福袋 icon.

- Updated `high_value_rooms.json` to reflect new room entries and updated timestamps.
- Modified `reservations.json` to change the current reservation details and added a new reservation entry.
- Enhanced `web_gui.py` to support new runtime parameters from the GUI.
- Updated `app.js` and `index.html` in the web UI to include new settings for 福袋 attempts, reservation preemption value, and swipe delay.
2025-12-15 20:31:41 +08:00
Your Name 02b2930639 Add styles for web UI and create batch script for launching Web GUI
- Introduced a comprehensive CSS file for styling the web interface, including variables for colors, layout styles, and responsive design adjustments.
- Added a batch script to automate the process of stopping any existing instances of the web GUI and launching the new instance, along with opening the browser to the appropriate URL.
2025-12-15 18:17:16 +08:00