Safihre
a624669b4d
On Windows only support Multipar for verification
...
And make startup logging nicer: #1506
2020-06-25 23:31:16 +02:00
Safihre
6c9862c634
More settings for default sort when new item is added
...
Closes #1480
2020-06-22 23:27:30 +02:00
SABnzbd Automation
525c7ade7c
Automatic translation update
2020-06-22 13:35:01 +00:00
Safihre
73d3f7b5c2
Validate ionice and nice parameters
2020-06-21 16:20:00 +02:00
Sander Jonkers
db13ae5fc8
Revert ""3" in SABnzbd logo on frontpage"
...
This reverts commit e95e9d52
2020-06-21 15:25:52 +02:00
jcfp
e37c517f79
set utf-8 encoding in systemd service
2020-06-21 13:22:20 +02:00
Sander
4a9093e0e9
Block unwanted extensions inside an NZB ( #1515 )
2020-06-19 16:54:57 +02:00
Safihre
4420c36889
Speed-up selenium tests by re-using open browser window
2020-06-18 14:18:11 +02:00
Safihre
6098eb6eac
Make the RSS-feed test more stable
2020-06-18 08:40:18 +02:00
Safihre
50b7c8a00c
Allow failure for unstable unicode-rar download
2020-06-18 08:40:09 +02:00
Safihre
48d18b3866
Replace test files with smaller files
...
Closes #1511
2020-06-17 22:33:21 +02:00
Safihre
c0627f342c
SABNews handle filenames fully in unicode
2020-06-17 22:33:21 +02:00
Safihre
92efc9ed8a
Improve automated download-testing
...
- 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
2020-06-17 22:33:21 +02:00
Safihre
00a0d35020
Use sabnzbd.__version__ consistently
2020-06-17 21:49:02 +02:00
Safihre
1cac9ad559
Use sabnzbd.org address when checking for new version
2020-06-17 21:22:35 +02:00
Safihre
0f2c485d05
Set correct User-Agent when making HTTP-calls
2020-06-17 21:19:14 +02:00
Safihre
c4635f99c7
Update text files for 3.0.0Beta4
3.0.0Beta4
2020-06-17 10:38:21 +02:00
Safihre
b31803780a
Correctly detect filenames of existing files when retrying a job (2)
...
Oops, it also included directories.
2020-06-16 17:33:18 +02:00
Safihre
86fe3aae1a
Restore attributes when retrying a job that failed post-processing
...
Closes #1510
2020-06-16 17:33:18 +02:00
Safihre
9d0dda7fac
During retry only check the Complete folder for missed recursive unpack
...
Otherwise it would try to unpack the files in the Incomplete folder twice on every Retry.
2020-06-16 17:17:21 +02:00
Safihre
5bc93be26d
Rename folders of failed jobs to _FAILED_
...
This code was always here, but never used. Why?
Relates to #1510
2020-06-16 17:02:51 +02:00
Safihre
140aded113
Correctly detect filenames of existing files when retrying a job
2020-06-16 15:50:12 +02:00
Safihre
3faa0f4f42
Add logging to reading and writing of attribute files
2020-06-16 13:12:47 +02:00
SABnzbd Automation
59b293c398
Automatic translation update
2020-06-16 10:54:40 +00:00
Safihre
18f42b60b6
Category was not parsed correctly when using "addfile"
...
Relates to #1507
2020-06-15 08:14:36 +02:00
Safihre
aa6c254997
Restore compatibility with Couchpotato and Headphones
...
Closes #1507
2020-06-15 08:13:22 +02:00
SABnzbd Automation
44f7295830
Automatic translation update
3.0.0Beta3
2020-06-14 11:14:28 +00:00
Safihre
22a75a886d
Update text files for 3.0.0 Beta 3
2020-06-14 13:06:23 +02:00
Safihre
7e5a43e95c
Revert "Code-formatting: optimize imports"
...
This reverts commit db5ff8c7e1 .
Does not work on Python 3.4/3.6. Not really sure why, but don't want to investigate right now.
2020-06-14 11:29:54 +02:00
Safihre
db5ff8c7e1
Code-formatting: optimize imports
2020-06-14 10:21:33 +02:00
Safihre
d9758a7358
Refactor the reusing NZO's
...
Closes #1289
What a mess again. Hope I broke nothing.
2020-06-14 09:53:46 +02:00
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)
2020-06-13 21:36:48 +02:00
SABnzbd Automation
9040b56ada
Automatic translation update
2020-06-13 19:10:35 +00:00
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
2020-06-13 18:35:50 +02:00
Safihre
3b178d2645
Correctly correct double API-arguments
...
So many mistakes I made in this little bit of code.
Closes #1503
2020-06-13 18:00:24 +02:00
Safihre
21b7acd60b
Proper error-handling of bad email templates
...
Closes #1431
2020-06-13 09:53:22 +02:00
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"
2020-06-12 17:30:18 +02:00
Safihre
2fd72cbd82
API-method addurl should return list of nzo's
...
https://github.com/theotherp/nzbhydra2/issues/585
2020-06-12 17:16:51 +02:00
Safihre
329a67cb21
Queue-file was saved twice when a job was removed from the queue
2020-06-12 16:28:22 +02:00
Safihre
9155ade937
Correct logging formatting in errors/warnings
2020-06-11 10:54:02 +02:00
Safihre
9bcbcaefdf
Black code-style everything
2020-06-11 10:16:53 +02:00
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 >
2020-06-11 09:01:36 +02:00
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
2020-06-11 09:00:27 +02:00
Safihre
c2ba998e7b
Show all output so maybe at some point we can fix tests
2020-06-10 14:30:46 +02:00
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.
2020-06-10 13:21:30 +02:00
Safihre
593c6ec09c
Lower log-level in SABNews and keep SABnzbd connected for test stability
2020-06-10 11:49:39 +02:00
Safihre
8bb6ba2285
Windows: test only on recent Python version
2020-06-10 09:57:25 +02:00
Safihre
39e2254cd5
Add new sets to functional tests
2020-06-09 21:52:50 +02:00
Sander Jonkers
51f361f8d9
tests/data/unicode_rar: simplied chinese chars at two levels: rar and par2, and payload itself
2020-06-09 20:59:11 +02:00
Safihre
0c26af66d7
Correctly name the QuickCheck function
2020-06-09 16:57:41 +02:00