Andrey Prygunkov
|
025cd043d3
|
history dialog now shows status of every script
|
2013-04-23 18:20:52 +00:00 |
|
Andrey Prygunkov
|
f28b35bd28
|
reworked concept of post-processing scripts: multiple scripts can be assigned to each nzb-file; all assigned scripts are executed after the nzb-file is downloaded and internally processed (unpack, repair); option <PostProcess> is obsolete; new option <ScriptDir> sets directory where all pp-scripts must be stored; new option <DefScript> sets the default list of pp-scripts to be assigned to nzb-file when it's added to queue; new option <CategoryX.DefScript> to set the default list of pp-scripts on a category basis; the execution order of pp-scripts can be set using new option <ScriptOrder>; there are no separate configuration files for pp-scripts; configuration options and pp-parameters are defined in the pp-scripts; script configuration options are saved in nzbget configuration file (nzbget.conf); changed parameters list of RPC-methods <loadconfig> and <saveconfig>; new RPC-method <configtemplates> returns configuration descriptions for the program and for all pp-scripts; configuration of all scripts can be done in web-interface; the pp-scripts assigned to a particular nzb-file can be viewed and changed in web-interface on page <pp-parameters> in the edit download dialog; option <PostPauseQueue> renamed to <ScriptPauseQueue> (the old name is still recognized); new option <ConfigTemplate> to define the location of template configuration file (in previous versions it must be always stored in <WebDir>)
|
2013-04-15 20:06:05 +00:00 |
|
Andrey Prygunkov
|
284262b7da
|
added new feature <split download> which creates new download from selected files of source download; new command <Split> in web-interface in edit download dialog on page <Files>; new action <S> in remote command <--edit/-E>; new action <FileSplit> in JSON-/XML-RPC method <editqueue>
|
2013-04-06 20:54:00 +00:00 |
|
Andrey Prygunkov
|
58b0a17986
|
reworked post-processor queue: 1) only one job is created for each nzb-file; no more separate jobs are created for par-collections within one nzb-file; 2) option <AllowReProcess> removed; a post-processing script is called only once per nzb-file, this behavior cannot be altered anymore; 3) with a new feature <Split> (see next commits) individual par-collections can be processed separately in a more effective way than before
|
2013-04-06 20:25:07 +00:00 |
|
Andrey Prygunkov
|
cc0ed38e68
|
refactor: removed dead code
|
2013-03-17 12:43:11 +00:00 |
|
Andrey Prygunkov
|
1230d9cdd4
|
added fast renaming of intentionally misnamed (rar-) files; the new renaming algorithm doesn't require full par-scan and restores original filenames in just a few seconds, even on very slow computers (NAS, media players, etc.); the fast renaming is performed automatically when requested by the built-in unpacker (option <Unpack> must be active)
|
2013-03-04 19:55:36 +00:00 |
|
Andrey Prygunkov
|
382faa49cb
|
added new option <InterDir> to put intermediate files during download into a separate directory (instead of storing them directly in destination directory (option <DestDir>); when nzb-file is completely (successfully) downloaded, repaired (if neccessary) and unpacked the files are moved to destination directory (option <DestDir> or <CategoryX.DestDir>); intermediate directory can significantly improve unpack performance if it is located on a separate physical hard drive
|
2013-03-01 20:32:17 +00:00 |
|
Andrey Prygunkov
|
749b4d3083
|
when a history item is post-processed again and the archive files were previously deleted because of option <UnpackCleanupDisk> the post-processing goes directly to script stage; if the archive files were kept, the full post-processing including unpack is performed instead
|
2013-02-28 20:23:50 +00:00 |
|
Andrey Prygunkov
|
f5aaaecc48
|
fixed: RPC-method <history> returned incorrect Par-Status (bug introduced in r563)
|
2013-02-14 15:06:10 +00:00 |
|
Andrey Prygunkov
|
37b85491c3
|
fixed: RPC-method <history> returned bad results for URLs; impacts history tab in web-interface (bug introduced in r555)
|
2013-02-10 21:35:46 +00:00 |
|
Andrey Prygunkov
|
940448ffae
|
added built-in unpack: 1) rar and 7-zip formats are supported (via external Unrar and 7-Zip executables); 2) new options <Unpack>, <UnpackPauseQueue>, <UnpackCleanupDisk>, <UnrarCmd>, <SevenZipCmd>; 3) web-interface now shows progress and estimated time during unpack (rar only; for 7-Zip progress is not available due to limitations of 7-Zip) 4) when built-in unpack is enabled, the post-processing script is called after unpack and possibly par-check/repair (if needed); 5) for nzb-files containing multiple collections (par-sets) the post-processing script is called only once, after the last par-set; 6) new parameter <NZBPP_UNPACKSTATUS> passed to post-processing script; 7) if the option <AllowReProcess> is enabled the post-processing-script is called after each par-set (as in previous versions); 8) example post-processing script updated: removed unrar-code, added check for unpack status; 9) new field <UnpackStatus> in result of RPC-method <history>; 10) history-dialog in web-interface shows three status: par-status, unpack-status, script-status; 11) with two built-in special post-processing parameters <*Unpack:> and <*Unpack:Password> the unpack can be disabled for individual nzb-file or the password can be set; 12) built-in special post-processing parameters can be set via web-interface on page <PP-Parameters> (when built-in unpack is enabled).
|
2013-02-06 22:04:50 +00:00 |
|
Andrey Prygunkov
|
60feae7e5b
|
new feature <Pause for X Minutes> in web-interface; new XML-/JSON-RPC method <scheduleresume>
|
2013-01-21 21:19:04 +00:00 |
|
Andrey Prygunkov
|
2b45ecaea1
|
fixed: some XML-/JSON-RPC methods may return negative values for file sizes between 2-4GB; this had also influence on web-interface
|
2013-01-21 20:44:30 +00:00 |
|
Andrey Prygunkov
|
11c0563fe5
|
refactor: download speed and speed limit are now internally integers (Bytes) instead of floats (KB)
|
2013-01-18 21:36:17 +00:00 |
|
Andrey Prygunkov
|
d2fdc28c85
|
refactor: reworked Connection-class: fully encapsulted sockets; better read/write methods
|
2012-12-30 15:27:38 +00:00 |
|
Andrey Prygunkov
|
04d2d92524
|
implemented function <Clear messages> in web-interface; added RPC-method <clearlog>
|
2012-11-20 20:42:00 +00:00 |
|
Andrey Prygunkov
|
fe14f3ee0e
|
fixed: RPC-method <listfiles> didn't work correctly if the parameter <NZBID> was set to <0> (bug introduced in r487)
|
2012-11-07 03:16:54 +00:00 |
|
Andrey Prygunkov
|
ebcc06686c
|
added editing of individual files of the group in web-interface (pause/resume/delete/reorder); added new command <FileReorder> to RPC-method <editqueue> to set the order of individual files in the group
|
2012-10-20 11:06:45 +00:00 |
|
Andrey Prygunkov
|
ab1cff2a7d
|
added <free disk space> to dialog <statistics and status> in web-interface
|
2012-09-29 19:54:54 +00:00 |
|
Andrey Prygunkov
|
d6c0aa8a80
|
the priority of nzb-file can now be set when adding local-file via web-interface; JSON/XML-RPC method <append> extended with parameter <priority>
|
2012-09-28 19:21:34 +00:00 |
|
Andrey Prygunkov
|
8b1aff33fe
|
added remote command <--reload/-O> and JSON/XML-RPC method <reload> to reload configuration from disk and reintialize the program; the reload can be performed from web-interface
|
2012-09-27 20:13:25 +00:00 |
|
Andrey Prygunkov
|
fdc9464576
|
added subcommand <W> to remote command <-S/--scan> to scan syncronously (wait until scan completed); added parameter <SyncMode> to XML/JSON-RPC method <scan>; the command <Scan> in web-interface now waits for completing of scan before reporting the status
|
2012-09-19 18:42:13 +00:00 |
|
Andrey Prygunkov
|
48891ed7c7
|
many improvements in web-interface UI: main tabs are better distinguishable; separate tab headers removed; handbrake button moved to navbar and renamed to pause/resume-button; animation on pause/resume-button better shows current state; two other important info-elements <current speed> and <remaining time> moved to the navbar as well; the search-edit moved to navbar too; the refresh-button has animation; the navbar is now fixed to the top on big screens; the speed limit is now set via click on <current speed> info; <statistics and status> are accessible via click on <remaining time>; the scan-button moved to add-dialog; due to reduced number of toolbar buttons on the downloads-tab the ability to hide buttons on the toolbar were removed (not neccessary anymore); the phone-theme is now less cluttered; added editing of nzbget and post-processing script settings; the settings-tab is searchable like other tabs; added new XML/JSON-RPC methods <config>, <loadconfig> and <saveconfig>;
|
2012-09-16 11:38:44 +00:00 |
|
Andrey Prygunkov
|
e34b4b8ae7
|
fixed: RPC-method <log(0, IdFrom)> could return wrong results if the log was filtered with options <XXXTarget>
|
2012-07-16 20:10:21 +00:00 |
|
Andrey Prygunkov
|
7ef22fc1e0
|
fixed compilation error on linux (bug introduced in r432)
|
2012-07-01 19:54:45 +00:00 |
|
Andrey Prygunkov
|
5051d698c0
|
implemented built-in web-server
|
2012-07-01 19:31:06 +00:00 |
|
Andrey Prygunkov
|
31bd251f37
|
added support for regular expressions (POSIX ERE Syntax) in remote commands <--list/-L> and <--edit/-E> using new subcommands <GR> and <FR>
|
2012-06-20 22:53:03 +00:00 |
|
Andrey Prygunkov
|
f49f01ec85
|
refactor: splitted class <Util> into <Util> and <Webtil>
|
2012-06-20 22:15:09 +00:00 |
|
Andrey Prygunkov
|
1bd6721af9
|
added options <GN> and <FN> for remote command <--edit/-E>. With these options the name of group or file can be used in edit-command instead of file ID
|
2012-06-19 15:08:23 +00:00 |
|
Andrey Prygunkov
|
4a069266d8
|
added new field <name> to nzb-info-object. It is initially set to the cleaned up name of the nzb-file. The renaming of the group changes this field. All RPC-methods related to nzb-object return the new field, the old field <NZBNicename> is now deprecated. The option <MergeNZB> now checks the <name>-field instead of <nzbfilename> (the latter is not changed when the nzb is renamed). New env-var-parameter <NZBPP_NZBNAME> for post-processing script.
|
2012-06-11 15:09:03 +00:00 |
|
Andrey Prygunkov
|
d10d7f3f02
|
fixed: RPC-Command <history> were not returning the UrlStatus correctly in JSON-RPC (bug introduced in r414)
|
2012-06-08 11:06:00 +00:00 |
|
Andrey Prygunkov
|
ab75a8b3e5
|
added the ability to queue URLs. The program automatically downloads nzb-files from given URLs and put them to download queue. When multiple URLs are added in a short time, they are put into a special URL-queue. The number of simultaneous URL-downloads are controlled via new option UrlConnections. With the new option ReloadUrlQueue can be controlled if the URL-queue should be reloaded after the program is restarted (if the URL-queue was not empty). New switch <-U> for remote-command <--append/-A> to queue an URL. New subcommand <-U> in the remote command <--list/-L> prints the current URL-queue. If URL-download fails, the URL is moved into history. With subcommand <-R> of command <--edit> the failed URL can be returned to URL-queue for redownload. The remote command <--list/-L> for history can now print the infos for URL history items. New XML/JSON-RPC command <appendurl> to add an URL or multiple URLs for download. New XML/JSON-RPC command <urlqueue> returns the items from the URL-queue. The XML/JSON-RPC command <history> was exteneded to provide infos about URL history items. The URL-queue obeys the pause-state of download queue. The URL-downloads support HTTP and HTTPS protocols.
|
2012-05-03 13:47:44 +00:00 |
|
Andrey Prygunkov
|
2631550c2f
|
corrected the address of Free Software Foundation in copyright notice; corrected the spelling of authors name (caused by new rules for translating of cyrillic names to latin alphabet / english spelling)
|
2011-05-24 12:52:41 +00:00 |
|
Andrey Prygunkov
|
08f86cbcf9
|
added priorities; new action <I> for remote command <--edit/-E> to set priorities for groups or individual files; new actions <SetGroupPriority> and <SetFilePriority> of RPC-command <EditQueue>; remote command <--list/-L> prints priorities and indicates files or groups being downloaded; ncurses-frontend prints priorities and indicates files or groups being download; new command <PRIORITY> to set priority of nzb-file from nzbprocess-script; RPC-commands <ListGroups> and <ListFiles> return priorities and indicate files or groups being downloaded
|
2011-03-12 11:48:13 +00:00 |
|
Andrey Prygunkov
|
a1482b9781
|
added renaming of groups; new subcommand <N> for command <--edit/-E>; new action <SetName> for RPC-method <editqueue>
|
2010-08-11 13:30:34 +00:00 |
|
Andrey Prygunkov
|
a67e8314af
|
added URL-based-authentication as alternative to HTTP-header authentication for XML- and JSON-RPC
|
2010-07-18 12:46:28 +00:00 |
|
Andrey Prygunkov
|
8578078f7c
|
added second pause register, which is independent of main pause-state and therfore is intended for usage from external scripts; that allows to pause download without interferring with options <ParPauseQueue> and <PostPauseQueue> and scheduler tasks <PauseDownload> and <UnpauseDownload> - they all work with first (default) pause register; new subcommand <D2> for commands <--pause/-P> and <--unpause/-U>; new RPC-command <pausedownload2> and <resumedownload2>; existing RPC-commands <pause> und <resume> renamed to <pausedownload> and <resumedownload>; new field <Download2Paused> in result struct for RPC-command <status>; existing fields <ServerPaused> and <ParJobCount> renamed to <DownloadPaused> and <PostJobCount>; old RPC-commands and fields still exist for compatibility; the status output of command <--list/-L> indicates the state of second pause register; key <P> in curses-frontend can unpause second pause-register
|
2010-01-30 14:43:58 +00:00 |
|
Andrey Prygunkov
|
a731b606c5
|
fixed: RPC-method <append> did not work properly on Posix systems (it worked only on Windows)
|
2009-12-10 22:43:54 +00:00 |
|
Andrey Prygunkov
|
0859eef869
|
fixed line endings in two source files
|
2009-10-16 11:55:47 +00:00 |
|
Andrey Prygunkov
|
1ad28cb9ac
|
added the returning of a proper HTTP error code if the authorization was failed on RPC-calls (thanks to jdembski <jdembski@users.sourceforge.net> for the patch)
|
2009-10-16 11:54:15 +00:00 |
|
Andrey Prygunkov
|
0f8aa5d7e7
|
added support for JSON-P (extension of JSON-RPC)
|
2009-10-16 11:26:45 +00:00 |
|
Andrey Prygunkov
|
e9d599ab26
|
fixed: JSON-RPC-commands failed, if parameters were placed before method name in the request
|
2009-10-09 20:14:33 +00:00 |
|
Andrey Prygunkov
|
7a28932569
|
fixed: RPC-commands <HistoryReturn> and <HistoryProcess> were processed as <HistoryDelete>
|
2009-09-26 20:44:11 +00:00 |
|
Andrey Prygunkov
|
b1b6d6ace8
|
added field <PostTime> to result of RPC-Command <listfiles> and fields <MinPostTime> and <MaxPostTime> for command <listgroups>
|
2009-09-22 20:40:40 +00:00 |
|
Andrey Prygunkov
|
dc9e938510
|
Added message log to history items; new field <Log> is returned by RPC-command <history> for each item
|
2009-09-19 15:49:08 +00:00 |
|
Andrey Prygunkov
|
80116b6687
|
renamed ParStatus constant <FAILED> to <FAILURE> for a consistence with ScriptStatus constant <FAILURE>, that also affects the results of RPC-command <history>
|
2009-08-23 12:32:46 +00:00 |
|
Andrey Prygunkov
|
7d5225b2ba
|
added field <RemainingFileCount> to history items returned via RPC-command <history>
|
2009-08-23 12:18:44 +00:00 |
|
Andrey Prygunkov
|
6bfe1b0cfd
|
added actions <R> (return history item) and <P> (postprocess history item) for subcommand <H> of command <-E/--edit>; added actions <HistoryReturn> and <HistoryProcess> for remote RPC-command <editqueue>
|
2009-08-22 12:05:25 +00:00 |
|
Andrey Prygunkov
|
feadf59fa0
|
added history: new option <KeepHistory>, new remote subcommand <H> for commands <L> (list history entries) and <E> (delete history entries), new RPC-command <History> and subcommand <HistoryDelete> for command <EditQueue>; changed the result code returning status <ERROR> for postprocessing script from <1> to <94>
|
2009-06-30 16:08:41 +00:00 |
|
Andrey Prygunkov
|
5484ccc0f0
|
added field <NZBID> to NZBInfo; the field is now also returned by XML-/JSON-RPC methods <listfiles>, <listgroups> and <postqueue>
|
2009-06-03 16:07:00 +00:00 |
|