Captain Trips
6bbfb6b7b7
#736 : cast time_t to int for printf ( #742 )
...
This fixes crashes on systems with 64-bit time_t.
2021-04-20 23:56:23 +02:00
Disconnect3d
575b823758
#679 : fix strncasecmp size parameter off by ones
2020-04-20 19:36:01 +02:00
Andrey Prygunkov
a124a91a84
fixed #693 : negative values for "FileSizeLo" in JSON-RPC
2020-04-20 19:32:15 +02:00
Andrey Prygunkov
aac98b53ee
#621 : fixed: remote server could crash when feed with invalid api request
2019-03-10 13:54:53 +01:00
Andrey Prygunkov
e3bd94189a
#351 : refactor: moved changeable state into new Unit "WorkState.cpp"
...
from Unit “Options.cpp”. The latter now contains only program options
(which cannot be changed without reload).
2019-01-22 21:57:00 +01:00
Federico Cuello
541a695e2f
fix compile warning: -Wsign-compare
...
Fix sign compare warning by improving casting choices.
2018-12-21 16:04:41 +01:00
Sander
86ac23b6aa
#567 , #569 : NextParamAsInt: Stop parsing at end-of-string
...
fixed potential crash in web-interface.
2018-07-30 19:18:22 +02:00
Andrey Prygunkov
14c5a1caf7
#541 : delayed fetching of nzbs added via urls
2018-07-07 18:16:40 +02:00
Andrey Prygunkov
93a43e711f
#471 : more robust news server connection test
...
This fixes connection test errors with servers checking message id
format correctness.
2017-11-11 11:50:23 +01:00
Andrey Prygunkov
0709f248ee
#435 : fixed warnings in 64 bit mode on Windows
2017-08-30 22:22:29 +02:00
Andrey Prygunkov
763fe425d6
#433 : better username/password validation
...
when testing connection on settings page
2017-08-27 20:28:15 +02:00
Andrey Prygunkov
0135e605a8
#421 , #422 : do not parse json-response if it will not be used
...
… and small refactorings and fixes for error reporting
2017-07-30 23:40:54 +02:00
Andrey Prygunkov
18f673e6b3
#421 , #422 : allow caching for more API methods
...
1) All safe methods are now cacheable.
2) Corrected debug code, accidentally pushed in previous commit (#ifdef
DISABLE_PARCHECK).
2017-07-30 23:40:29 +02:00
schnusch
0008f040b3
#421 , 422: added support for Etag an If-None-Match HTTP headers
...
The web server now support Etag generation for static files and some RPC
methods. If If-None-Match is given in the request and matches with the Etag
generated for the response than no data is sent and 304 or 412 is returned.
The JavaScript RPC calls also support the new HTTP error code by buffering
Etags and responses and will reuse the previous response if 412 is returned.
2017-07-30 23:40:13 +02:00
Andrey Prygunkov
b3cc316092
#252 : new option to force news servers to ipv4 or ipv6
2017-05-22 22:03:30 +02:00
Andrey Prygunkov
61af2b3446
#371 : integrated direct unpack into pp-workflow
2017-05-05 21:57:52 +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
de3eb3de9d
#352 : parameters for api-method "servervolumes"
...
as a performance optimization measure to reduce amount of transferred
data.
2017-04-12 19:47:58 +02:00
Andrey Prygunkov
bfee7c55cd
#50 : confirmation for commands marked as dangerous
2017-03-21 23:22:54 +01:00
Andrey Prygunkov
e839db7107
#50 : pass not yet saved options to script
2017-03-20 20:59:34 +01:00
Andrey Prygunkov
ffb16aa7bb
#50 : progress dialog for script execution log
...
New API-method “logscript”.
2017-03-20 20:30:19 +01:00
Andrey Prygunkov
a3b0b7675e
#50 : execute custom commands for scripts
...
New API-method “startscript”.
2017-03-17 20:24:14 +01:00
Andrey Prygunkov
98c2dd46b7
#291 : fixed "PostTotalTimeSec" in API-method "listgroups"
2016-12-27 17:21:06 +01:00
Andrey Prygunkov
7450b97871
#319 : scheduler scripts in option "Extensions"
...
Scheduler scripts can now be selected in option “Extensions” if the
scripts provide default time definition.
2016-12-20 22:22:09 +01:00
Andrey Prygunkov
a3b3921bea
#301 : API extension for drag-n-drop support
...
New actions “GroupMoveBefore” and “GroupMoveAfter” in API-method
“editqueue”; parameter “args” contains id of the target item to move
before/after.
2016-11-01 12:27:42 +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
ce1e1b61e7
#291 : fixed status in api-method "listgroups"
2016-10-15 16:12:48 +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
20aa83e0f7
#253 : new field "RetryData" in RPC-method "history"
...
to more carefully indicate if “Retry failed articles” is possible.
2016-08-08 23:42:18 +02:00
Andrey Prygunkov
355e7a5ab1
#224 : options to delete already downloaded files
2016-05-29 12:28:00 +02:00
Andrey Prygunkov
b82cc06789
#205 : retry failed articles
...
- new action in history dialog: retry failed articles;
- new command “HistoryRetryFailed” of RPC-method “editqueue”;
- new subcommand “F” of command line switch “-E/--edit” for history.
2016-04-21 22:14:12 +02:00
Andrey Prygunkov
dd4df8b734
#99 : separate quota reached flag
...
- using separate “quota reached”-flag instead of changing global pause
state;
- new field “QuotaReached” in RPC-method “Status”.
2016-04-15 20:47:04 +02:00
Andrey Prygunkov
a97cb4c61e
#99 : download volume quota
...
- new options “MonthlyQuota”, “QuotaStartDay”, “DailyQuota”;
- downloading is paused when quota is reached;
- new fields in RPC-method “status”: MonthSizeLo, MonthSizeHi,
MonthSizeMB, DaySizeLo, DaySizeHi, DaySizeMB. MonthSizes are related to
current billing month taking option “QuotaStartDay” into account;
- download volume for “this month” shown in web-interface in statistics
dialog shows data for current billing month (taking option
“QuotaStartDay” into account);
- scheduler task “UnpauseDownload” is ignored if the download was
paused due to quota.
2016-04-12 18:52:09 +02:00
Andrey Prygunkov
298178b2dc
#155 : added handling of optional news servers
2016-03-30 22:10:57 +02:00
Andrey Prygunkov
737f059b3a
#193 : fixed for-range loops on guarded pointers
...
Range expression must be GuardedPtr. Dereferencing this object means
loosing the lock on pointer and therefore can’t be part of range
expression.
2016-03-25 20:29:25 +01: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
069350eaa3
#168 : unique smart pointers for download objects
...
… before they are put into containers.
2016-03-09 23:28:37 +01:00
Andrey Prygunkov
e5501cfa15
#182 : use std::shared_ptr for feed items cache
...
… instead of a custom reference counting cache.
2016-03-05 19:59:33 +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
8a344c97c9
#176 : changed order of member declarations
2016-03-01 00:20:14 +01:00
Andrey Prygunkov
831c73d28d
#176 : removed aligning of class member names
2016-02-29 19:31:40 +01:00
Andrey Prygunkov
bfa5027bf9
#175 : in-class member initializers
2016-02-28 19:53:37 +01:00
Andrey Prygunkov
390481f814
#172 : using CString in Maintenance-class
...
instead of c-style string.
2016-02-23 22:09:11 +01:00
Andrey Prygunkov
6aead41e6f
#126 : using CharBuffer instead of raw pointers in LoadFileIntoBuffer
2016-02-23 21:59:10 +01:00
Andrey Prygunkov
c96d2259ce
#168 : unique smart pointers for local variables
2016-02-17 22:03:33 +01:00
Andrey Prygunkov
74f2ab8963
#162 : removed support for multiple paths
...
in options “DestDir” and “CategoryX.DestDir”.
2016-02-02 21:38:45 +01:00
Andrey Prygunkov
00d81795e9
#162 : combining free space on all paths of "DestDir"
...
1) When checking free space (option “DiskSpace”) the total free size of
directories in “DestDir” is checked;
2) Web-interface shows the total free size of all directories.
2016-02-01 00:36:59 +01:00