Andrey Prygunkov
|
c2a3450c8f
|
refactor: removed many unneeded pointer-not-null-safety-checks
|
2013-11-24 19:29:52 +00:00 |
|
Andrey Prygunkov
|
a509a491af
|
improved duplicate check: 1) added check for nzb-file content to avoid queueing of exactly same files (even with different names); 2) when nzb-file is added with option "Disable duplicate check" the option now works only during adding, it does not exclude the file from later checks (when adding other files)
|
2013-09-12 15:54:14 +00:00 |
|
Andrey Prygunkov
|
967a6bd4a4
|
fixed potential buffer overflow in remote client
|
2013-08-26 10:02:45 +00:00 |
|
Andrey Prygunkov
|
827acdadea
|
1) added multiline filters for RSS feeds; new dialog to build filters in web-interface; 2) refactor: the length of configuration option values is now unlimited (previously was limited to 1000 characters; unlimited needed for long feed filters)
|
2013-08-02 15:54:11 +00:00 |
|
Andrey Prygunkov
|
1ad8bd212c
|
refactor: small rework of NZBParameterList-class
|
2013-07-24 21:09:56 +00:00 |
|
Andrey Prygunkov
|
5b3113d96b
|
1) when a nzb-file is added via web-interface or via remote call the file is now put into incoming nzb-directory (option "NzbDir") and then scanned; this has two advantages over the old behavior when the file was parsed directly in memory: the file serves as a backup for troubleshootings and the file is processed by nzbprocess-script (if defined in option "NzbProcess") making the pre-processing much easier; 2) new env-var parameters are passed to NzbProcess-script: NZBNP_NZBNAME, NZBNP_CATEGORY, NZBNP_PRIORITY, NZBNP_TOP, NZBNP_PAUSED; 3) new commands for use in NzbProcess-scripts: "[NZB] TOP=1" to add nzb to the top of queue and "[NZB] PAUSED=1" to add nzb-file in paused state
|
2013-06-17 20:39:46 +00:00 |
|
Andrey Prygunkov
|
db1117d892
|
new option "ControlUsername" to define login user name (if you don't like default username "nzbget")
|
2013-06-05 21:09:28 +00:00 |
|
Andrey Prygunkov
|
07ce1d44a9
|
fixed: remote command <--list> for history items may fail with segfault on certain par-status
|
2013-05-16 20:57:04 +00:00 |
|
Andrey Prygunkov
|
9ab955d026
|
refactor: more consistent using of c-headers
|
2013-05-14 20:20:52 +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
|
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
|
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
|
f5e0b67305
|
extended remote command <--append/-A> with optional parameters: <T> - adds the file/URL to the top of queue; <P> - pauses added files; <C category-name> - sets category for added nzb-file/URL; <N nzb-name> - sets nzb filename for added URL; the old switches <--category/-K> and <--top/-T> are deprecated but still supported for compatibility
|
2012-11-12 21:11:42 +00:00 |
|
Andrey Prygunkov
|
011239d45c
|
renamed options <ServerIP>, <ServerPort> and <ServerPassword> to <ControlIP>, <ControlPort> and <ControlPassword> to avoid confusion with news-server options <ServerX.Host>, <ServerX.Port> and <ServerX.Password>; the old option names are still recognized and are automatically renamed when the configuration is saved from web-interface; also renamed option <> to <MainDir>
|
2012-10-05 18:57:09 +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
|
3778430ead
|
in remote command <--list/-l> with subcommands <GR> and <FR> the regex-matching is now performed on the server; that ensures the list-command selects the same records as the edit-command (when server and client have different implementations of POSIX ERE)
|
2012-06-22 18:30:14 +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
|
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
|
ca8719b42b
|
fixed: after renaming of a group, the new name was not displayed by remote commands <-L G> and <-C in curses mode>
|
2012-05-27 12:59:51 +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
|
12c09693bd
|
refactoring: removed class <NetAddress>. That makes <Connection>-class more transparent and easier to use. The TLS-initializing moved from <NNTPConnection> to <Connection>
|
2012-05-03 10:51:13 +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
|
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
|
5bf680a1cf
|
eliminated few compiler warnings on GCC
|
2009-10-09 20:18:30 +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
|
6471928f91
|
added subcommand <S> to remote commands <--pause/-P> and <--unpause/-U> to pause/unpause the scanning of incoming nzb-directory; added commands <PauseScan> and <UnpauseScan> for scheduler option <TaskX.Command>; added remote commands <PauseScan> and <ResumeScan> for XML-/JSON-RPC
|
2009-05-25 20:18:20 +00:00 |
|
Andrey Prygunkov
|
4b538b419a
|
refactoring: extended the meaning of DowloadQueue-object, which now contains file queue, post-job queue, list of completed post-jobs and list of nzb-infos; post-jobs now have references to nzb-infos, what eiliminates duplicate infos; since file queue and post-job queue are now accessed via DownloadQueue only one locking mechanism for both queues is needed
|
2009-05-24 14:26:53 +00:00 |
|
Andrey Prygunkov
|
b1f6735e87
|
added pausing/resuming for post-processor queue; added new modifier <O> to remote commands <--pause/-P> and <--unpause/-U>; added new commands <postpause> and <postresume> to XML-/JSON-RPC; extended output of remote command <--list/-L> to indicate paused state of post-processor queue; extended command <status> of XML-/JSON-RPC with field <PostPause>
|
2009-05-06 19:28:54 +00:00 |
|
Andrey Prygunkov
|
bbdfb2b4f2
|
added modifier <O> to command <-E/--edit> for editing of post-processor-queue; following subcommands are supported: <+/-offset>, <T>, <B>, <D>; subcommand <D> supports deletion of queued post-jobs and active job as well; deletion of active job means the cancelling of par-check/repair or terminating of post-processing-script (including child processes of the script); updated remote-server to support new edit-subcommands in XML/JSON-RPC
|
2009-05-03 17:14:52 +00:00 |
|
Andrey Prygunkov
|
b28c2ae735
|
added estimated remaining time and better distinguishing of server state in command <--list/-L>
|
2009-04-19 19:54:45 +00:00 |
|
Andrey Prygunkov
|
1178138ad2
|
removed an unneeded field from the file-record in remote protocol
|
2009-02-07 23:33:20 +00:00 |
|
Andrey Prygunkov
|
d271acc67e
|
added the printing of post-process-parameters for groups in command <--list G>
|
2009-01-30 19:22:21 +00:00 |
|
Andrey Prygunkov
|
503fb61ee1
|
added subcommands <F>, <G> and <S> to command line switch <-L/--list>, which prints list of files, groups or only status info respectively; extended binary communication protocol to transfer nzb-infos in addition to file-infos
|
2009-01-29 22:25:57 +00:00 |
|
Andrey Prygunkov
|
5521fccf73
|
added command <--scan/-S> to execute the scan of nzb-directory on remote server
|
2008-11-13 19:40:18 +00:00 |
|
Andrey Prygunkov
|
b7ee6018ad
|
added TLS/SSL support
|
2008-07-29 20:32:23 +00:00 |
|
Andrey Prygunkov
|
e28aa2ee67
|
added the categories: new option <AppendCategoryDir>; new switch <-K>; new command <K> in switch <-E>; new parameter in XML-/JSON-RPC-command <editqueue>; new parameter to post-process-scripts; scan the subdirectories of incoming nzb-directory; automatic moving of already downloaded files after the changing of category
|
2008-07-20 13:47:50 +00:00 |
|
Andrey Prygunkov
|
8399322238
|
added the compatibility with gcc 4.3
|
2008-06-27 20:00:04 +00:00 |
|
Andrey Prygunkov
|
c8a496faaa
|
fixed one warning under gcc
|
2008-03-26 18:23:23 +00:00 |
|
Andrey Prygunkov
|
876fee3bc5
|
added field <ID> to post-queue-items (for feature usage)
|
2008-03-23 14:48:56 +00:00 |
|
Andrey Prygunkov
|
9881f2c39e
|
corrected few output-messages in remote-client
|
2008-03-16 15:54:28 +00:00 |
|
Andrey Prygunkov
|
6a8d341ecc
|
added remote command (switch -W/--write) to write messages to server's log
|
2008-03-06 17:21:47 +00:00 |
|
Andrey Prygunkov
|
fff550ca37
|
fixed few incompatibility-issues with unslung-platform on nslu2 (ARM)
|
2008-03-03 17:20:46 +00:00 |
|
Andrey Prygunkov
|
3c5c76eec4
|
added new command <-O/--post> to request the post-processor-queue from server
|
2008-02-28 17:04:14 +00:00 |
|
Andrey Prygunkov
|
160590149f
|
added the queueing of post-process-scripts and waiting for script's completion before starting of a next job in postprocessor (par-job or script); the purpose of changes was to provide more balanced cpu utilization; the state <executing script> is now viewable via XML-RPC method <postqueue>
|
2008-02-18 19:33:15 +00:00 |
|
Andrey Prygunkov
|
e42f7426ee
|
added option <DetailTarget> to allow to filter the (not so important) log-messages from articles' downloads (they have now the type <detail> instead of <info>)
|
2008-02-08 18:57:30 +00:00 |
|
Andrey Prygunkov
|
1ca268e36a
|
refactored: moved global functions in unit <Util> to new class <Util> to prevent possible conflicts with system functions; added error-reporting by moving completed files from tmp- to dst-directory and added code to move files across drives if renaming fails
|
2008-02-07 18:23:59 +00:00 |
|