Andrey Prygunkov
|
571ab9602f
|
1) additional comment to r693 (ArticleDownloader.cpp, line 632): fixed: the program could hang if the destination file could not be created; 2) improved thread synchronisation to avoid (short-time) lockings of the program during creation of destination files
|
2013-05-26 20:42:15 +00:00 |
|
Andrey Prygunkov
|
cfab6a3bb6
|
more detailed error message if a directory could not be created (<DstDir>, <NzbDir>, etc.); the message includes error text reported by OS such as <permission denied> or similar
|
2013-05-26 13:47:23 +00:00 |
|
Andrey Prygunkov
|
9ab955d026
|
refactor: more consistent using of c-headers
|
2013-05-14 20:20:52 +00:00 |
|
Andrey Prygunkov
|
73c85a0013
|
fixed: when a duplicate file was detected during download the program could hang
|
2013-05-05 20:59:22 +00:00 |
|
Andrey Prygunkov
|
fb72c36a48
|
if a news-server returns empty or bad article (this may be caused by errors on the news server), the program tries again from the same or other servers (in previous versions the article was marked as failed without other download attempts)
|
2013-04-26 19:55:30 +00:00 |
|
Andrey Prygunkov
|
bf0062be52
|
addition to r639: eliminated a compiler warning
|
2013-04-21 19:43:14 +00:00 |
|
Andrey Prygunkov
|
6dc3d954c5
|
fixed: authorization to news-server was forced even when username/password were empty (bug introduced in r634)
|
2013-04-19 18:44:32 +00:00 |
|
Andrey Prygunkov
|
a86618c2c2
|
fixed: when options <DirectWrite> and <ContinuePartial> were both active, a restart or reload of the program during download may cause damaged files in the active download
|
2013-04-08 20:19:05 +00:00 |
|
Andrey Prygunkov
|
1f1a4b8fb8
|
fixed potential segfault which could happen with file paths longer than 1024 characters
|
2013-04-07 15:14:20 +00:00 |
|
Andrey Prygunkov
|
2e8bfa16f9
|
fixed: articles with decoding errors (incomplete or damaged posts) caused infinite retry-loop in downloader
|
2013-03-31 14:36:15 +00:00 |
|
Andrey Prygunkov
|
18387f6d98
|
fixed: when the option <ContinuePartial> is active and there are partially downloaded files in queue, after reloading/restarting of the program the file may stuck with status <downloading>; trying to reload or quit the program in this state resulted in a crash (bug introduced in r599)
|
2013-03-22 22:07:23 +00:00 |
|
Andrey Prygunkov
|
e30cdfc176
|
addition to r602: fixed: if news servers from different levels were defined with the same group (bad config actually), download could hang when waiting for a free connection to a higher level server
|
2013-03-17 20:24:25 +00:00 |
|
Andrey Prygunkov
|
5ec0d20286
|
improvement in news-server/connection management: new option <ServerX.Group> allows more flexible configuration of news servers when using multiple accounts on the same server; with this option it's also possible to imitate the old server management behavior regarding levels as it was before r599
|
2013-03-17 12:21:46 +00:00 |
|
Andrey Prygunkov
|
e0aa69f605
|
improvement in news-server/connection management: do not reconnect on <article/group not found> errors since this doesn't help but unnecessary increases CPU load and network traffic
|
2013-03-16 15:24:01 +00:00 |
|
Andrey Prygunkov
|
c859f39036
|
addition to r599: fixed: download could be cancelled when waiting for a free connection to news server
|
2013-03-16 13:32:35 +00:00 |
|
Andrey Prygunkov
|
5251f62665
|
major improvement in news-server/connection management (main and fill servers): if download of article fails, the program tries all servers of the same level before trying higher level servers; this ensures that fill servers are used only if all main servers fail; this makes the configuring of multiple servers much easier than before: in most cases the simple configuration of level 0 for all main servers and level 1 for all fill servers suffices; in previous versions the level was increased immediately after the first tried server of the level failed; to make sure all main servers were tried before downloading from fill servers it was required to create complex server configurations with duplicates; these configurations were still not as effective as now
|
2013-03-14 22:30:59 +00:00 |
|
Andrey Prygunkov
|
2b87e2b221
|
fixed: download could be cancelled when waiting for a free connection on a second-(or higher)-level news server
|
2013-03-12 22:24:29 +00:00 |
|
Andrey Prygunkov
|
f64e5241ed
|
improved the handling of hanging connections: if a connection hangs longer than defined by option <ConnectionTimeout> the program tries to gracefully close connection first (this is new); if it still hangs after <TerminateTimeout> the download thread is terminated as a last resort (as in previous versions)
|
2013-03-06 21:36:09 +00:00 |
|
Andrey Prygunkov
|
e4ed1c8fd7
|
categories can now have their own destination directories
|
2012-12-18 22:29:24 +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
|
3e81a03087
|
refactor: corrected inconsistent include of <config.h>
|
2012-06-23 18:58:56 +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
|
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
|
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
|
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
|
eae06a4145
|
fixed: nothing was downloaded when the option <Retries> was set to <0>
|
2010-01-18 10:59:26 +00:00 |
|
Andrey Prygunkov
|
b2ffddd84d
|
changed the sleep-time during the throttling of bandwidth from 200ms to 10ms in order to achieve better uniformity
|
2009-12-08 21:55:39 +00:00 |
|
Andrey Prygunkov
|
123cfe6a38
|
added <binary> flag by opening of all files to explicitly set binary mode for compatibility with OSes which do not do that by default (like Posix does)
|
2009-06-11 21:13:37 +00:00 |
|
Andrey Prygunkov
|
0692547440
|
redesigned server pool and par-checker to avoid using of semaphores; updated makefile to include postprocess-example.conf
|
2009-05-27 21:09:08 +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
|
9f96d171f7
|
Improved error reporting on decoding failures
|
2009-01-26 22:11:55 +00:00 |
|
Andrey Prygunkov
|
d66c688910
|
the workaround for thread-related connection errors (introduced in r265) is now disabled by default (because it wasn't confirmed, that it helps), but can be activated by defining the symbol <THREADCONNECT_WORKAROUND> in any header file, for example <config.h> or <nzbget.h>
|
2008-12-18 21:34:13 +00:00 |
|
Andrey Prygunkov
|
c572223147
|
improved the handling of running connect errors: if many attempts fail, download thread terminates to retry in a new thread; that should help on some systems
|
2008-12-05 23:27:41 +00:00 |
|
Andrey Prygunkov
|
583b36667f
|
improved entering to paused state on connection errors (do not retry failed downloads if pause was activated)
|
2008-11-25 17:11:49 +00:00 |
|
Andrey Prygunkov
|
8569205297
|
fixed: files downloaded with disabled decoder (option decode=no) sometimes were malformed and could not be decoded
|
2008-10-01 17:58:03 +00:00 |
|
Andrey Prygunkov
|
2cf683fc0f
|
improved the check of server responses to prevent unnecessary retrying if article does not exist on server
|
2008-09-20 09:50:28 +00:00 |
|
Andrey Prygunkov
|
7ee0e867c8
|
now using OS-specific line-endings in log-file and brokenlog-file: LF on Posix and CRLF on Windows
|
2008-08-09 07:57:23 +00:00 |
|
Andrey Prygunkov
|
b7ee6018ad
|
added TLS/SSL support
|
2008-07-29 20:32:23 +00:00 |
|
Andrey Prygunkov
|
cf3e27431e
|
added option <ServerX.JoinGroup> to connect to servers, that do not accept <GROUP>-command
|
2008-07-22 19:20:20 +00:00 |
|
Andrey Prygunkov
|
b686cce21b
|
added ipv6; thanks to Maik Nijhuis and Ian Cass for the patch
|
2008-07-21 21:52:26 +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
|
1f46214363
|
added the server's name to the detail-log-message, displayed on start of article's download
|
2008-05-29 22:16:07 +00:00 |
|
Andrey Prygunkov
|
6f9a2dd57f
|
added support for UU-format to internal decoder; removed support for uulib-decoder (it did not work well anyway); replaced the option <decoder (yenc, uulib, none)> with the option <decode (yes, no)>
|
2008-02-14 17:42:45 +00:00 |
|
Andrey Prygunkov
|
9137ed6278
|
improved the internal decoder: 1) added the support for yEnc-files without ypart-statement (sometimes used for small files); 2) added the detection of UU-format and the printing of a specific error-message instead of a general error-message; the download of article with detected unsupported format stops on early stage (after the first line of article's body), saving traffic and time
|
2008-02-13 21:42:01 +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
|
e96a1d6bde
|
fixed: dupecheck could cause seg.faults when all articles for a file failed
|
2008-02-08 18:34:04 +00:00 |
|