Andrey Prygunkov
3a07dd378a
#371 : restart direct unpack after program reload
...
When program is reloaded during direct unpack the unpack restarts after
one (any) inner file is downloaded.
2017-05-08 23:27:49 +02:00
Andrey Prygunkov
ff02b53ed0
#371 : better handling of cancelling direct unpack
2017-05-06 23:45:31 +02:00
Andrey Prygunkov
61af2b3446
#371 : integrated direct unpack into pp-workflow
2017-05-05 21:57:52 +02:00
Andrey Prygunkov
160b274ce8
#371 : new module "DirectUnpack"
...
without implementation and with a new failing unit test.
2017-05-03 21:30:35 +02:00
Andrey Prygunkov
ba1e51a8d8
#362 : new queue event after direct rename
...
Queue-event NZB_NAMED, sent after the inner files are renamed
2017-05-01 17:48:20 +02:00
Andrey Prygunkov
9f7d6655b2
#364 : logging for file reordering
2017-05-01 17:31:14 +02:00
Andrey Prygunkov
62b3d47b43
#362 : redesigned renaming
...
Spread RenameInfo into FileInfo and NzbInfo to make the state easier to
save on disk
2017-04-28 23:55:41 +02:00
Andrey Prygunkov
4107536c03
#364 : implemented file reordering
...
- reordering inner files after adding nzb to queue;
- reordering inner files after adding direct renaming;
- new command “GroupSortFiles” in api-method “editqueue”.
2017-04-22 20:13:45 +02:00
Andrey Prygunkov
6efefe3780
fixed #350 : sleep mode no longer works on Windows
2017-03-15 20:13:55 +01:00
Andrey Prygunkov
e7c47f523a
fixed #348 : queue was not saved after deleting of queued post-jobs
2017-03-13 18:04:44 +01:00
Andrey Prygunkov
5c8be152f4
fixed #347 : possible crash at the end of post-processing
2017-03-13 17:58:15 +01:00
Andrey Prygunkov
f2073ff920
#327 : better handing of damaged par2-files in par-renamer
...
If par-renamer can’t load par2-file another par2-file is downloaded and
par-renamer tries again.
2017-01-17 00:23:29 +01:00
Andrey Prygunkov
ab0723adda
#288 : rar-rename only if unpack is enabled
2016-12-14 18:50:14 +01:00
Andrey Prygunkov
80debf521a
#299 : removed parameter "offset" from api-method "editqueue"
...
When needed the “offset” is now passed within parameter “Args” as
string.
2016-10-31 15:58:02 +01:00
Andrey Prygunkov
d2d20f29c1
#291 : better handling of shutdown/reload
...
for post-processing jobs
2016-10-18 21:52:30 +02:00
Andrey Prygunkov
cac25ed290
#291 : distinguishing pp-stages par-renaming and rar-renaming
...
to better handling temporary pause.
2016-10-15 13:37:34 +02:00
Andrey Prygunkov
d72071c8ed
#291 : temporary pause during post-processing
...
Options ParPauseQueue, UnpackPauseQueue, PostPauseQueue work properly.
2016-10-15 13:00:52 +02:00
Andrey Prygunkov
ba05dfc202
#291 : tweaking balanced pp-startegy
...
Other job can be run only during repair stage but not during
verification stage.
2016-10-14 11:20:57 +02:00
Andrey Prygunkov
b1b5405809
#291 : new option "PostStrategy" to configure multi-post-processing
...
instead of option “ParExclusive”.
2016-10-14 00:07:13 +02:00
Andrey Prygunkov
99fcd164ac
#291 : smoother transition between pp-stages
...
without intermediate “pp-queued” state shown in web-interface
2016-10-13 00:07:44 +02:00
Andrey Prygunkov
2e18021e08
#291 : new option "ParExclusive"
...
to configure simultaneous post-processing of a second item if currently
performing par-check/repair for the first item in pp-queue
2016-10-12 00:22:34 +02:00
Andrey Prygunkov
2e19382ccc
#291 : multi post-processing
...
During par-check/repair another pp-item can be post-processed at the
same time, as long as it doesn’t require par-check/repair.
2016-10-12 00:13:50 +02:00
Andrey Prygunkov
a6dc20dc8e
#291 : refactor: made par-checker non-global
...
and more similar to other post-processing stages.
2016-10-11 20:43:11 +02:00
Andrey Prygunkov
db7bc4314f
#288 : rar-rename as a separate post-processing stage
...
Made rar-rename a separate post-processing stage which runs after
par-repair, in order to restore archive file names after possible
repair stage (which could rename files back to obfuscated names if
rar-rename were run before par-repair).
2016-09-28 22:22:18 +02:00
Andrey Prygunkov
804f8ab085
#288 : integrated rar-renamer into post-processing
...
also implemented initial simple renaming for rar-files
2016-09-26 21:55:41 +02:00
Andrey Prygunkov
3593990dd6
#288 : new module "Rename" to handle par-rename and rar-rename
2016-09-26 21:16:27 +02:00
Andrey Prygunkov
5e0e91f671
#249 : do not cleanup if unpack disabled
...
If parameter "unpack" is disabled for an nzb-file the cleanup isn't
performed for it.
2016-09-19 23:40:00 +02:00
Andrey Prygunkov
a1e945661b
#205 : improved handling of queue cleanup
...
Also removed option “ParCleanupQueue” as it is not needed anymore with
reworked state handling.
2016-05-15 19:42:54 +02:00
Andrey Prygunkov
864fb92bc7
#205 : new option "HistoryCleanupDisk"
...
… extracted from “DeleteCleanupDisk”.
2016-05-12 23:34:08 +02:00
Andrey Prygunkov
43f25587d2
#205 : improved file state handling
...
Better handling of all cases: manual delete, health delete, retry
failed, download remaining with ContinuePartial=on/off and
DirectWrite=on/off.
2016-05-12 23:22:06 +02:00
Andrey Prygunkov
f08d3918dc
#205 : retry for deleted downloads too
...
Commands “Retry failed articles” and “Download remaining files“ now
work for deleted downloads too (including deleted by health check).
2016-05-09 19:17:17 +02:00
Gunnar Lilleaasen
181a395515
Updated names of guarded pointers used directly in foreach loops.
2016-03-24 13:01:15 +01:00
Gunnar Lilleaasen
4f7849fbc1
Fixed guard usage in foreach loops, where the guards would unlock before the iteration was done.
2016-03-24 02:44:12 +01:00
Andrey Prygunkov
5948729b87
#185 : guarded containers
...
Using guarded lists to automatically unlock containers.
2016-03-18 21:45:29 +01:00
Andrey Prygunkov
1a74695126
#148 : unique smart pointers for download containers
2016-03-11 22:49:14 +01:00
Andrey Prygunkov
f3f7fbd0de
#176 : updated copyright notice in source files
...
- added link to http://nzbget.net ;
- replaced FSF Post address with a web link;
- removed unusable subversion-tags;
- updated year.
2016-03-01 19:45:07 +01:00
Andrey Prygunkov
bfa5027bf9
#175 : in-class member initializers
2016-02-28 19:53:37 +01:00
Andrey Prygunkov
ff69fbbeb9
#136 : avoid double slashes in paths
...
Extra long path names are not normalized automatically by Windows and
therefore must contain paths in canonical form.
2016-01-23 14:23:53 +01:00
Andrey Prygunkov
ef4a72d383
#152 : eliminated dereferences in for-range loops using “begin()” and “end()” template functions in “nzbget.h”
2016-01-13 19:44:40 +01:00
Andrey Prygunkov
b32b4c0691
#152 : for-range loops with iterators
2016-01-12 00:30:17 +01:00
Andrey Prygunkov
32400a810f
#143 : store download objects directly in containers
...
…where possible.
2016-01-08 22:29:44 +01:00
Andrey Prygunkov
3e89638b39
refactor: replaced "time(NULL)" with an utility function
2016-01-01 14:57:48 +01:00
Andrey Prygunkov
04c3e0d263
#138 : use "nullptr" instead of "NULL"
2015-12-30 16:35:07 +01:00
Andrey Prygunkov
6840ef4439
#131 : routing a few more remaining function calls through module "FileSystem"
...
“rename”, “remove” and “rmdir”.
2015-12-25 22:55:46 +01:00
Andrey Prygunkov
eae6fd5d91
#131 : wrapped function "remove" into module FileSystem
...
under name “DeleteFile”.
2015-12-24 18:34:15 +01:00
Andrey Prygunkov
321c7efa41
#130 : moved parts from module "Util" into new module "FileSystem"
2015-12-22 22:01:03 +01:00
Andrey Prygunkov
9e2d8544da
#126 : full use of class BString
...
1) replaced characters arrays with class BString through the whole
program. The string formatting code has become much cleaner.
2) class Util returns error message via CString instead of character
buffers.
3) few more places to use CString.
2015-12-19 18:43:52 +01:00
Andrey Prygunkov
6d33d83d20
#126 : using GCC attributes to detect formatting errors
...
also eliminated warnings found with activated detection.
2015-12-13 18:28:48 +01:00
Andrey Prygunkov
ec17d119a1
#115 : put all external headers together
...
into “nzbget.h”
2015-11-19 23:51:02 +01:00
Andrey Prygunkov
70ccfd9802
normalized whitespace formatting
...
1) removed trailing spaces and tabs;
2) replaced occasional leading spaces with tabs.
2015-11-05 23:45:19 +01:00