* add tests for adding nzbs
* restore clean_cache_dir fixture, unbreak utils tests
* include tests for partial and malformed nzbs
* test handling of prio from nzb metadata category
* update params of test_adding_nzbs_malformed
* add metadata to sabnews nzb creator
* also test with size_limit
* test prio with dupe detection
* remove leftover todo entry
* move pause and cleanup to fixture; rename functions
* 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
Each template must now reside under the "interfaces" folder.
The "standard" templates are now called "Default".
The Config-General screen now shows all interfaces found in the "interfaces" folders and lets the user pick one.
Only through the command option -t it is possible to specify an absolute path.
Any non-absolute path in the -t option is matched against the templates in "interfaces", only when one is matched it will be used. Otherwise the Default will be used. Any templates missing the template/main.tmpl constructions is refused and the Default is used.
Also: set the $web_name variable for the template. This is to be used in the "default.css?version=$web_name" construction, to ensure that the browser picks up the correct default.css when changing interfaces.