Safihre
db5ff8c7e1
Code-formatting: optimize imports
5 years ago
Safihre
d9758a7358
Refactor the reusing NZO's
Closes #1289
What a mess again. Hope I broke nothing.
5 years ago
Safihre
8ce6c26f9c
Do not scan incomplete directory recursively
Also renamed the recursive_listdir function so it can also be non-recursive. Which was very easy due to the extensive test-set by @jcfp !
Relates to #1304 (that NZB triggered invalid reading of sub-dirs in incomplete folder)
5 years ago
SABnzbd Automation
9040b56ada
Automatic translation update
5 years ago
Safihre
15ad60f8a9
Refactor the adding of NZB's ( #1502 )
- All is handled by sabnzbd.add_nzbfile
- Moved the actual file-processing to nzbparser
- We always support gzip in URLGrabber
- Remove upload.py, all handled by add_nzbfile
- Rework the dirscanner and urlgrabber to the new reality
- Retry job was broken if you added a file
5 years ago
Safihre
3b178d2645
Correctly correct double API-arguments
So many mistakes I made in this little bit of code.
Closes #1503
5 years ago
Safihre
21b7acd60b
Proper error-handling of bad email templates
Closes #1431
5 years ago
Safihre
18a96d3286
Make super-sure we have a random job-name in functional tests
Yes, it turned out the job names were not random enough!
https://travis-ci.com/github/sabnzbd/sabnzbd/jobs/348060280
Shows that there are 2 jobs named "testfile_973"
5 years ago
Safihre
2fd72cbd82
API-method addurl should return list of nzo's
https://github.com/theotherp/nzbhydra2/issues/585
5 years ago
Safihre
329a67cb21
Queue-file was saved twice when a job was removed from the queue
5 years ago
Safihre
9155ade937
Correct logging formatting in errors/warnings
5 years ago
Safihre
9bcbcaefdf
Black code-style everything
5 years ago
William Friesen
63794869a4
fix variable name that broke pausing ( #1500 )
this was introduced in 3259f83b9
and broke pausing
Co-authored-by: William Friesen <will@williamfriesen.com>
5 years ago
Safihre
3631138978
Small delay is needed when adding RSS job
It seems sometimes it doesn't right away detect the job in the queue because it is fetching the URL: https://travis-ci.com/github/sabnzbd/sabnzbd/jobs/347249629
5 years ago
Safihre
c2ba998e7b
Show all output so maybe at some point we can fix tests
5 years ago
Safihre
93c62c6827
The tests are just.. flaky
Marking them like this will cause them to be retried once if they fail. This also happens from time to time with the happyeyeballs test.
5 years ago
Safihre
593c6ec09c
Lower log-level in SABNews and keep SABnzbd connected for test stability
5 years ago
Safihre
8bb6ba2285
Windows: test only on recent Python version
5 years ago
Safihre
39e2254cd5
Add new sets to functional tests
5 years ago
Sander Jonkers
51f361f8d9
tests/data/unicode_rar: simplied chinese chars at two levels: rar and par2, and payload itself
5 years ago
Safihre
0c26af66d7
Correctly name the QuickCheck function
5 years ago
Safihre
1f412fc1c6
Use new sabyenc3.encode function for massive speedup
5 years ago
Safihre
1150f1af71
Test higher number of connections
5 years ago
Safihre
d0510509a4
Compatibility of sabnews with Python 3.5
5 years ago
Safihre
d84444ae73
Convert tests to sabnews
5 years ago
Safihre
8ef7dee0b5
SABnews implementation
5 years ago
Safihre
d658f70d2b
Add black as GitHub action
5 years ago
Safihre
308c0ec621
Clean-up of old API code
5 years ago
Safihre
2f45a87f12
API-method addurl only supports adding 1 URL at a time
5 years ago
jcfp
75ddba076f
add unittests for urlgrabber._build_request ( #1495 )
* add unittests for urlgrabber._build_request
* add explicit check for absence of Authorization header
5 years ago
Safihre
a2aefe5242
Remove WinError and use OSError
Removed in Python 3.3
https://www.python.org/dev/peps/pep-3151/
5 years ago
Safihre
3259f83b9d
Do not use variable names that shadow built-in ones
Maybe fixes https://forums.sabnzbd.org/viewtopic.php?f=11&t=24785
5 years ago
Sander
65cd41b3c1
happyeyeballs.py: no more -X dev ResourceWarning with unreachable port ( #1493 )
5 years ago
Sander
8a7d3e8d2a
INSTALL.txt: updated details installation from source ( #1485 )
* INSTALL.txt: updated details installation from source
* INSTALL.txt: updated details installation from source on Linux and PyPI
5 years ago
Safihre
ce29c1f5cb
Updata Javascript libraries in the Config
5 years ago
Safihre
f738469444
Update Javascript libraries in Glitter
But not Bootstrap, because the icons are still bad.
5 years ago
Safihre
4ec25f7a60
Queue-item labels no longer part of name but separate API-property
5 years ago
jcfp
c6ccffd1df
fix urllib deprecation warning, base64 encoding in _build_request() ( #1490 )
* fix urllib deprecation warning, base64 encoding in _build_request()
* set user_passwd from urllib supplied values
5 years ago
Sander
539be8fca9
newsunpack.py: is_sfv_file() fix DeprecationWarning in regexp ( #1491 )
5 years ago
Safihre
f53bf6a4a4
Add automatic closing of stale issues
5 years ago
jcfp
e9b4340a25
extend filesystem tests ( #1481 )
* extend filesystem tests
* fix test failure when no explicit umask was set
* have black uglify the code
* require case-sensitive fs for test_capitalization_linux
* run black with -l120 instead
* make windows-compatible, fix some minor issues
* mark xfail rather than comment out part of trim_win_path
5 years ago
Safihre
a5b075426b
Force Python 3.5 compatibility in black-check
5 years ago
Safihre
b58d26354d
Request access to the HOME folder in the snap
https://forums.sabnzbd.org/viewtopic.php?f=3&t=24168
5 years ago
Safihre
75f5066941
Move black to the Python 3.8 job
5 years ago
Sander
d40cebd34d
pytest: postproc -> rar_renamer() ( #1469 )
* pytest: postproc -> rar_renamer()
* pytest: postproc -> rar_renamer(): remove trailing slash
* pytest: postproc -> rar_renamer(): remove trailing slash
* pytest: postproc -> rar_renamer(): check on matching filenames
* pytest: postproc -> rar_renamer(): appveyor Windows compatible, cleaner coding
* pytest: postproc -> rar_renamer(): appveyor Windows compatible, cleaner coding
* pytest: postproc -> rar_renamer(): try without minus
* pytest: postproc -> rar_renamer(): try with distutils.dir_util.copy_tree() instead of shutil.copytree()
* pytest: postproc -> rar_renamer(): formatting to make Travis happy
* pytest: postproc -> rar_renamer(): correct printing in pytest.fail()
5 years ago
Safihre
4b5c0a6e87
Update .gitignore to match new build results
5 years ago
Safihre
faedd22329
Update text files for 3.0.0 Beta 2
5 years ago
Safihre
2aafa1d30d
Remove executable and special permissions for files ( #1481 )
5 years ago
Safihre
331395f665
Rename article_found to article_success
5 years ago
Safihre
ac4a643a8f
Remove debug_log_decoding special setting
Just use --log-all if you want everything.
5 years ago