Commit graph

11 commits

Author SHA1 Message Date
Kyrre Gjerstad
dc7ca02529
Add SSL Verification Options and Improved Certificate Handling (#817)
* Add SSL verification configuration option

- Add `verify_ssl` parameter to DownloadsConfig to control SSL certificate verification
- Update client methods to use the new SSL verification setting
- Add CLI option `--no-ssl-verify` to disable SSL verification
- Implement SSL verification support across various clients and network requests
- Add test suite to validate SSL verification configuration

* Enhance SSL certificate handling with certifi support

- Add new `ssl_utils.py` module for SSL certificate management
- Implement optional certifi package support for improved certificate verification
- Add utility functions for creating SSL contexts and handling connector kwargs
- Update various clients to use new SSL utility functions
- Add helpful error messaging for SSL certificate verification issues
- Include optional certifi dependency in pyproject.toml

* Enhance SSL verification tests and configuration support

- Add comprehensive test suite for SSL verification utilities
- Implement tests for SSL context creation and configuration
- Update test configuration to include verify_ssl option
- Add test coverage for SSL verification across different clients and methods
- Improve error handling and testing for SSL-related configurations

* run ruff format

* Fix ruff checks

---------

Co-authored-by: Nathan Thomas <nathanthomas707@gmail.com>
2025-03-10 08:41:06 -07:00
Nathan Thomas
54d05e1330
Fix lints in tests (#682)
* Fix lints on tests

* Formatting

* Formatting
2024-05-14 16:27:41 -07:00
Nathan Thomas
ad73a01a03
Preserve previous config data after update (#680)
* Add config updating mechanism

* Update tests

* Fix version not updating
2024-05-14 15:45:46 -07:00
Nathan Thomas
22d6a9b137
Implement Disc folders (#679)
* Add disc subdirectories

* Smoother recovery on broken config
2024-05-14 15:18:58 -07:00
Nathan Thomas
fa65929c97
Implement check for updates feature (#558)
* Implement check for updates

* Fix tests

* Bump version
2024-01-13 22:49:23 -08:00
draco
8424219bfc update test values to match new config, now passes 2023-12-26 22:25:06 +01:00
Nathan Thomas
abb37f17fd Formatting 2023-12-20 22:21:58 -08:00
Nathan Thomas
f9b263a718 Improve progress bars, soundcloud working 2023-11-21 16:29:31 -08:00
Nathan Thomas
837e934476 Update 2023-10-29 14:42:10 -07:00
Nathan Thomas
36fd27c83c Update 2023-10-21 19:18:06 -07:00
Nathan Thomas
06335058f3 Restructure and add tests 2023-10-13 11:38:50 -07:00