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 |
|
Andrey Prygunkov
|
bf49f16d7c
|
#103: renamed global variables
|
2015-11-01 21:42:35 +01:00 |
|
Andrey Prygunkov
|
1fb21b330e
|
#103: normalized (renamed) acronyms
|
2015-10-30 23:54:37 +01:00 |
|
Andrey Prygunkov
|
5adb50274e
|
#103: renamed local, member variables and function parameters
|
2015-10-27 22:37:23 +01:00 |
|
Andrey Prygunkov
|
5d24697b0c
|
refactor: reworked declaration of global objects (singletones)
|
2015-05-22 20:28:05 +00:00 |
|
Andrey Prygunkov
|
7e6f8f19eb
|
each nzb now has its own individual log, where messages printed during download or post-processing are saved; the messages can be retrieved later at any time; new button "Log" in the history details dialog; button "Log" in the download details dialog is now active during download too (not only during post-processing); the log contains all nzb-related messages except detail-messages and errors printed during retrieving of articles (they would produce way too many messages and are not that useful anyway); new option "NzbLog" to deactivate per-nzb logging if necessary; per-nzb logs are saved in the queue-directory (option "QueueDir"); new RPC-method "loadlog" returns the previously saved messages for a given nzb-file; new field "MessageCount" is returned by RPC-methods "listgroups" and "history" and indicates if there are any messages saved for the item; parameter "NumberOfLogEntries" of RPC-method "listgroups" and the field "Log" returned by the method are now deprecated, use method "loadlag" instead; field "PostInfoText" returned by RPC-method "listgroups" is now automatically filled with the latest message printed by a pp-script eliminating the need to access deprecated field "Log"
|
2015-02-26 20:57:38 +00:00 |
|
Andrey Prygunkov
|
a23128f25f
|
addition to r1205: when sorting by priority in auto mode (without specifying + or -) the default order is descending since it is more logical to use for priority
|
2015-02-07 22:23:17 +00:00 |
|
Andrey Prygunkov
|
567f7c3028
|
added on-demand queue sorting; one click on column title in web interface sorts the selected or all items; if the items were already sorted in that order they are sorted backwards; in other words the second click sorts in descending order; when sorting selected items they are also grouped together in a case there were holes between selected items; RPC-method "editqueue" has new command "GroupSort", parameter "Text" must be one of: "name", "priority", "category", "size", "left"; add character "+" or "-" to sort to explicitly define ascending or descending order (for example "name-"); if none of these characters are used the auto-mode is active: the items are sorted in ascending order first, if nothing changed - they are sorted again in descending order
|
2015-02-07 19:17:49 +00:00 |
|
Andrey Prygunkov
|
86ae9e94cd
|
name and category of history items can now be changed in web-interface; RPC-API method "editqueue" extended with new actions "HistorySetName" and "HistorySetCategory"
|
2015-01-15 20:46:17 +00:00 |
|
Andrey Prygunkov
|
0f98c72f1e
|
fixed: cancelling of post-processing could delete the nzb-item completely (bug introduced in v14)
|
2014-08-28 19:15:42 +00:00 |
|
Andrey Prygunkov
|
f439f09c2e
|
improvement in support for detection of bad downloads (fakes, etc.): queue-scripts are now called after every downloaded file included in nzb; new event "FILE_DOWNLOADED" of parameter "NZBNA_EVENT"; event "UNPACK" removed; instead added event "NZB_DOWNLOADED" which is similar to "UNPACK" but is called for every download even not having archive files and even if unpack is disabled; the execution of queue-scripts is serialized - only one script is executed at a time and other scripts wait in script-queue; the script-queue is compressed so that the same script for the same event is not queued more than once; this reduces the number of calls of scripts if files are downloaded faster than queue-scripts can work up them; a call for event "NZB_DOWNLOADED" is always performed even if the previous calls for events "FILE_DOWNLOADED" were skipped; when a script marks nzb as bad the nzb is deleted from queue, no further internal post-processing (par, unrar, etc.) is made for the nzb but all post-processing scripts are executed; if option "DeleteCleanupDisk" is active the already downloaded files are deleted; new status "BAD" for field "DeleteStatus" of nzb-item in RPC-method "history"; queue-scripts can set post-processing parameters by printing special command, just like post-processing-scripts can do that; this simplifies transferring (of small amount) of information between queue-scripts and post-processing-scripts
|
2014-08-15 22:24:53 +00:00 |
|
Andrey Prygunkov
|
c9981472a8
|
refactor: disk state now holds info about failed files: their IDs, CRCs of download articles and full intitial article information; these data can be used later to retry download of failed articles and for quick par-verification of damaged files
|
2014-08-05 23:45:28 +00:00 |
|
Andrey Prygunkov
|
d26d04d92b
|
when changing category in web-interface the post-processing parameters are now automatically updated according to new category settings; only parameters which are different in old and new category are changed; parameters which present in both or in neither categories are not changed; that ensures that only the relevant parameters are updated and parameters which were manually changed by user remain they settings when it make sense; in the "download details dialog" the new parameters are updated on the postprocess-tab directly after changing of category and can be controlled before saving; in the "edit multiple downloads dialog" the parameters are updated individually for each download on saving; new action "CP" of remote command "--edit/-E" for groups to set category and apply parameters; new action "GroupApplyCategory of RPC-method "editqueue" for the same purpose
|
2014-06-13 21:53:27 +00:00 |
|
Andrey Prygunkov
|
bf66500aac
|
reworking queue (continued): merged url queue into main download queue: urls added to queue are now immediately shown in web-interface; urls can be reordered and deleted; when urls are fetched the downloaded nzb-files are put into queue at the positions of their urls; this solves the problem with fetched nzb-files ordered differently than the urls if the fetching of upper (position wise) urls were completed after of the lower urls; removed options "ReloadUrlQueue" and "ReloadPostQueue" since there are no separate url- and post-queues anymore; nzb-files added via urls have new field "URL" which can be accessed via RPC-methods "listgroups" and "history"; new env. var. "NZBNP_URL", "NZBNA_URL" and "NZBPP_URL" passed to NzbProcess, NzbAddedProcess and PostProcess-scripts; removed remote command "--list U", urls are now shown as groups by command "--list G"; RPC-method "urlqueue" is still supported for compatibility but should not be used since the urls are now returned by method "listgroups", the entries have new field "Kind" which can be "NZB" or "URL"
|
2014-03-18 22:35:58 +00:00 |
|
Andrey Prygunkov
|
8168804f05
|
reorganized source code directory structure: created directory 'daemon' with several subdirectories and put all source code files there
|
2014-02-24 22:11:14 +00:00 |
|