Closes#1574
Add tests for long paths
Make sure long path is >260
Add rar test file with invalid Windows filenames
Add rar_unpack tests for unicode and passworded sets
Simplify Unrar command building
Add test for rar_invalid_windows
Remove check for 260 chars in rar_unpack
Should never happen anymore
Let Unrar rename invalid filenames
Check full path output if rar_unpack
Add helper for check
Correct test_rar_unpack_invalid_windows_filenames
Apply changes also to Direct Unpacker
Extend testing to make sure full paths are tested
Add tests for long paths inside rar
Unrar auto-rename message is different on Linux
* Deobfuscate ON by default
* Correct data test set: filename that is not obfuscated. Except test_par2file
* Correct data test set: filename that is not obfuscated. Except test_par2file
* Commented out test in test_par2file.py
* Commented out test in test_par2file.py
* assert for unicode_rar 我喜欢编程 now working too
---------
Co-authored-by: sander <san.d.erjonkers+github@gmail.com>
* replace series/date/movie sorters with a generic sorter
* fix test_eval_sort on windoze
* unbreak and de-uglify the fix
* add special setting for season pack sorting
* remove unused import
* replace series/date/movie sorters with a generic sorter
* fix test_eval_sort on windoze
* unbreak and de-uglify the fix
* add special setting for season pack sorting
* remove unused import
* correct type for sort_type entries
* standardize ui
* add visual hints for drag-n-drop
* move presets directly below sort string field
* replace hex with ascii letters to avoid random occurences of (cd|e)[0-9]+
* Some styling things
---------
Co-authored-by: Safihre <safihre@sabnzbd.org>
* detect fully encrypted rars
* debug.warning working, nzo.fail_msg alas is overwritten
* a bit of clean-up
* a bit of clean-up
* the real clean-up
* no intermediate variable
Co-authored-by: Safihre <safihre@sabnzbd.org>
* Shorter message
Co-authored-by: Safihre <safihre@sabnzbd.org>
* more clean-up
* unittest
Co-authored-by: sander <san.d.erjonkers+github@gmail.com>
Co-authored-by: Safihre <safihre@sabnzbd.org>
* record new files generated based on par2
* record new files generated based on par2
* test first par2 based renaming, then deobfuscate obfuscated names
* remove commented-out line
* corrected contents zip-file
* try again, github
* try again, github
* correct_extension: basics, including unittest
* correct_extension: basics, including unittest
* correct_extension: puremagic into requirements.txt
* correct_extension: introduce a main for testing from CLI
* correct_extension: parse all parameters on CLI as files
* correct_extension: parse all parameters on CLI as files
* correct_extension: CLI parameter "-p" for privacy output
* correct_extension: has_common_extension() and most_likely_extension()
* correct_extension: has_common_extension() and most_likely_extension()
* correct_extension: add extension if file has no commonly used extension
* correct_extension: Black happy ... hopefully
* correct_extension: Black happy ... hopefully
* correct_extension: process feedback, mainly the extenions lists ^H^H^H^ tuples
* correct_extension: process feedback, mainly the extenions lists ^H^H^H^ tuples
* correct_extension: process feedback, mainly the extenions lists ^H^H^H^ tuples
* correct_extension: process feedback, mainly the extenions lists ^H^H^H^ tuples
* correct_extension: cleaned up
* correct_extension: cleaned up ... github-black now happy?
* correct_extension: cleaned up ... github-black now happy?
* correct_extension: cleaned up ... github-black now happy?
* correct_extension: cleaned up ... github-black now happy?
* correct_extension: cleaned up ... github-black now happy?
* correct_extension: easier if-then-logic, check if new_extension_to_add is filled.
* correct_extension: if puremagic does recoging txt or nzb, check ourselves
* correct_extension: if puremagic does recoging txt or nzb, check ourselves
* correct_extension: only files!
* correct_extension: only files!
* correct_extension: rNN files not common extension, plus easier testing
* correct_extension: clean-up ... no more boolean extension_too
* correct_extension: requirements.txt, solved a TODO, and use get_ext()
* correct_extension: a comment added
* correct_extension: correct typing, correct txt and nzb extension
* correct_extension: extensions always with dots, bug fix in what_is_most_likely_extension()
* correct_extension: back on track?
* correct_extension: back on track?
* correct_extension: better comments
* Save all interface values if useGlobalOptions is true
* Try to fix the tests
* New test test
* Another test test
* Remove default value for interface_settings
* fix deprecation warning in sabnews regex
* enable text, xml returns from get_api_result
* add api tests
* add functional api tests
* add tavern.yaml files to test data
* explicitly add lxml to work around pip dependency issues
* prevent pytest from picking up the tavern files
* Revert "fix deprecation warning in sabnews regex"
This reverts commit 4f0b7131e7.
* address minor issues
* integrate fixtures into conftest
* black :/
* harden queue repair test
* try a workaround for extremely slow test runs on windoze
* Correct server detection in functional tests
* move scripts dir inside SAB_CACHE_DIR
* also relocate the generated script
Co-authored-by: Safihre <safihre@sabnzbd.org>
- Catch all Selenium exceptions while waiting for the download to complete
- Correctly set autodisconnect=0
- Make job-name even more unique
- Wait for the RSS-added job to finish fetching
- Move sabnzbd.basic.ini to data folder
- Use new SAB_DATA_DIR
- Optimized imports
* isSFVfile(): Checks if given file is a SFV file, and returns result as boolean
* Obfuscated SFV files: find and use them
* Obfuscated SFV files: rename to is_sfv_file()
* is_sfv_file(): regexp based, minor stuff, pytest
* is_sfv_file(): pytest according to black