Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor improved threading & logging #601

Merged
merged 70 commits into from
Jan 26, 2024

Commits on Jan 18, 2024

  1. Chore update Python to 3.12.1

    - Updated Python version in .github/workflows/release.yml
    - Updated required Python version in README.md
    - Updated Python version in pyproject.toml
    - Added Python 3.12 support in tox.ini
    vagabondHustler committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    836052f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0ac65f7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2bf0c09 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    39d379d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    33f5ecf View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d22090b View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2024

  1. Configuration menu
    Copy the full SHA
    6b171b8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b4fcf4b View commit details
    Browse the repository at this point in the history
  3. Chore update CI workflow for dev branch

    - Updated CI workflow to trigger on `dev` branch
    - Added Python 3.12.* to the matrix for dependency_review job
    - Adjusted linting workflow to run on the `dev` branch
    vagabondHustler committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    4a3159c View commit details
    Browse the repository at this point in the history
  4. Chore update CI workflow for dev branch

    - Modified GitHub Actions workflow in release.yml
    - Updated references to `inputs.checkout_branch` to `github.ref_name`
    vagabondHustler committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    3e45d8b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7c4ecea View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e6d2288 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    39dc6c2 View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2024

  1. chore update GitHub Actions workflow

    - Added `pr_merge` job to create and merge PRs
    vagabondHustler committed Jan 20, 2024
    Configuration menu
    Copy the full SHA
    4430de7 View commit details
    Browse the repository at this point in the history
  2. Fix resolve directory cleanup issue

    - Corrected condition for checking empty directory in core.py
    vagabondHustler committed Jan 20, 2024
    Configuration menu
    Copy the full SHA
    c1cdb49 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6e2b8d6 View commit details
    Browse the repository at this point in the history
  4. Chore update branch index logic

    - Adjusted index calculation for 'dev' branch
    vagabondHustler committed Jan 20, 2024
    Configuration menu
    Copy the full SHA
    a090669 View commit details
    Browse the repository at this point in the history
  5. Fix invalid escape sequences

    - Corrected escape sequences in file paths
    - Used raw string literals for regular expressions
    vagabondHustler committed Jan 20, 2024
    Configuration menu
    Copy the full SHA
    ae3c098 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2ab9736 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    0c90df9 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    1e6d84d View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    d8e4f21 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    8ae714b View commit details
    Browse the repository at this point in the history

Commits on Jan 21, 2024

  1. Configuration menu
    Copy the full SHA
    84cbe0f View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2024

  1. Bump selectolax from 0.3.17 to 0.3.18

    Bumps [selectolax](https://github.com/rushter/selectolax) from 0.3.17 to 0.3.18.
    - [Release notes](https://github.com/rushter/selectolax/releases)
    - [Changelog](https://github.com/rushter/selectolax/blob/master/CHANGES.rst)
    - [Commits](rushter/selectolax@v0.3.17...v0.3.18)
    
    ---
    updated-dependencies:
    - dependency-name: selectolax
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Jan 22, 2024
    Configuration menu
    Copy the full SHA
    0111088 View commit details
    Browse the repository at this point in the history
  2. Bump actions/dependency-review-action from 3 to 4

    Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 3 to 4.
    - [Release notes](https://github.com/actions/dependency-review-action/releases)
    - [Commits](actions/dependency-review-action@v3...v4)
    
    ---
    updated-dependencies:
    - dependency-name: actions/dependency-review-action
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Jan 22, 2024
    Configuration menu
    Copy the full SHA
    8174317 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f374382 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f8ac005 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9e8eb0d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    6e84a91 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    bcef50f View commit details
    Browse the repository at this point in the history
  8. Chore update GitHub Actions workflow

    - Modified workflow to depend on `changelog` instead of `publish_github`
    vagabondHustler committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    0ceba4c View commit details
    Browse the repository at this point in the history
  9. Fix missing timestamp in log.log (#590)

    * Fix log timestamp
    
    - Updated date formatting in log messages
    - Removed unused variables in `create_logger` method
    - Introduced a singleton class for stdout handling
    - Improved stdout messages for file system actions
    - Enhanced logging for dataclass instances
    
    * Chore refactor update calls for logging
    vagabondHustler authored Jan 22, 2024
    Configuration menu
    Copy the full SHA
    366a8f7 View commit details
    Browse the repository at this point in the history
  10. Fix attributeError

    vagabondHustler committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    c8ad380 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    48ad1d9 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    d137a81 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    c778193 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    e5823b9 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    ea06f61 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    436f320 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    4299958 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    d81737a View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    7ffcad0 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    2336f3d View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2024

  1. Enhance download manager functionality (#591)

    Feat enhance download manager functionality
    
    - Added the option to always use the download manager.
    - Introduced the `download_manager.open_on_no_matches` config
    - Introduced the `download_manager.always_open` config
    - Introduced the `download_manager.no_automatic_downloads` config
    - Updated default app configuration and config reading.
    
    - Updated download manager logic to determine when it should open.
    - Added additional tests to ensure the proper functioning of the download manager.
    
    - Enhanced download manager functionality with the following features:
      - The download manager now opens in two scenarios: when no matches are found or always, regardless of subtitle count.
      - Users have control over automatic downloads for subtitles that would have been downloaded by default when always using the download manager.
      - Updated the `download_manager` method in the `SubsearchCore` class.
      - Modified the handling of `rejected_subtitles` in the `DownloadManager` class.
      - Improved sorting and display of subtitles in the `DownloadManager`.
      - Added automatic downloads based on an acceptance threshold.
      - Removed temporary zip archives after subtitle extraction.
    vagabondHustler authored Jan 23, 2024
    Configuration menu
    Copy the full SHA
    ca66b89 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ecb28fe View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fe85608 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2b15482 View commit details
    Browse the repository at this point in the history
  5. Docs update README.md

    - Added a Note section for ppl interested in dev builds
    vagabondHustler authored Jan 23, 2024
    Configuration menu
    Copy the full SHA
    68bcdb0 View commit details
    Browse the repository at this point in the history
  6. Fix download count in log and toast (#592)

    - Fixed the reported number of downloaded subtitles in the log and displayed as a toast massage
    vagabondHustler authored Jan 23, 2024
    Configuration menu
    Copy the full SHA
    0eb3859 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    01c82e8 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    72db48c View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    aa9493d View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    06fe4bd View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    f70ea3f View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2024

  1. Configuration menu
    Copy the full SHA
    17504d5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b138eee View commit details
    Browse the repository at this point in the history
  3. Fix pypi upload

    vagabondHustler committed Jan 24, 2024
    Configuration menu
    Copy the full SHA
    b58764d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    da31cff View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2024

  1. Configuration menu
    Copy the full SHA
    1ff3716 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e2776a5 View commit details
    Browse the repository at this point in the history
  3. Refactor threading in propagating_thread

    - Introduced `PropagatingThread` class for propagating exceptions
    - Implemented `handle_tasks` for managing multiple threads
    - Enhanced logging for thread start and finish events
    vagabondHustler committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    898960a View commit details
    Browse the repository at this point in the history
  4. Refactor update logging format

    - Updated log format in `io_log.py` to include module, lineno, and timestamp
    vagabondHustler committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    874a532 View commit details
    Browse the repository at this point in the history
  5. Refactor update log calls

    - Updated log calls to match new format in `io_file_system.py`
    vagabondHustler committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    40bb6f6 View commit details
    Browse the repository at this point in the history
  6. Refactor remove option in in config

    - Removed `misc.multithreading` option from Subsearch
    vagabondHustler committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    b955ba4 View commit details
    Browse the repository at this point in the history
  7. Refactor remove option in in config

    - Removed `misc.multithreading` option from Subsearch
    vagabondHustler committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    88331cb View commit details
    Browse the repository at this point in the history
  8. Refactor add capture_call_info decorator

    - Removed unnecessary logging calls in decorators module
    - Improved conditions in `call_func` and `_CoreSubsearchFuncCondtitons`
    - Added `capture_call_info` decorator for capturing call information
    vagabondHustler committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    60d92ef View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    b6249e6 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    a6c09a2 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    dec77db View commit details
    Browse the repository at this point in the history