Andrey Prygunkov
7ff3251dcf
#682 : allow special characters in URL for username and password
2021-04-21 20:20:21 +02:00
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
Andrey Prygunkov
f02bbbefd7
#725 : set SameSite attribute for cooikes
2021-04-19 20:45:04 +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
15f4955f38
#620 : wildcards in option AuthorizedIP
2019-03-10 21:52:08 +01: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
c7716ae9b7
#351 , #610 , e3bd94189a: fixed: remote clients not displaying current download speed
2019-02-13 18:20:04 +01:00
Andrey Prygunkov
adf3e05e1d
#351 : refactor: utility function "Sleep"
...
to replace direct calls to “usleep”, with parameter in milliseconds
instead of microseconds.
2019-01-22 22:23:40 +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
Andrey Prygunkov
59cae49344
#604 : fixed LGTM alerts for C++
2019-01-19 11:55:25 +01:00
fedux
9713cbad5e
#592 : RemoteClient: Use strncpy instead of strcpy
...
Ensure that the aligned text is filled with zeroes to avoid any data
leak. Also fixed a typo.
2019-01-03 15:23:32 +01:00
Federico Cuello
4a10fdb2df
fix compile warning: -Wstringop-truncation / -Wstringop-overflow
2018-12-27 14:49:17 +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
a4252a1e79
#549 : force terminating remote processors
...
when terminating remote server to ensure all child threads are
terminated on reload/shutdown, even if connections were not closed as
expected
2018-06-01 23:38:10 +02:00
Andrey Prygunkov
1ac2be47d5
#549 : force socket closing in remote server (Windows only)
...
to fix hanging connection to web-client
2018-06-01 23:27:55 +02:00
Andrey Prygunkov
cf0d086b57
#485 : HttpOnly for cookies
...
to improve security
2018-01-26 00:08:51 +01:00
Andrey Prygunkov
bf53c6eaa6
#496 : don't log passwords for incorrect login attempts
2018-01-26 00:00:41 +01: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
35d8aa5fa7
#435 : fixed compiling error if no regex.h
2017-08-28 21:06:45 +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
6cf0edd278
#421 : added debug logging for etags
2017-08-01 21:36:10 +02:00
Andrey Prygunkov
b4bcc82abe
#421 : fixed crash when disconnecting web-clients on Windows
2017-08-01 21:35:48 +02:00
Andrey Prygunkov
6fb1ea1cff
#421 : support keep-alive in all responses
2017-07-31 22:50:26 +02:00
Andrey Prygunkov
fad2be0e0f
#421 : new option "RemoteTimeout"
...
to define timeout for incoming connections including timeout for
keep-alive.
2017-07-31 20:24:02 +02:00
Andrey Prygunkov
2763f1a522
#421 : support for keep-alive connections in built-in web-server
2017-07-31 19:47:17 +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
Andrey Prygunkov
5ac7c0398e
#421 , #422 : adjustments in ETag support
...
1) convert MD5 hash into string using standard method instead of base64;
2) if par2 isn’t available using another hash function from Util-unit;
3) avoid gzipping of response if it isn’t sent;
4) use BString class for header string formatting.
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
f001b0744b
#421 : reduce number of requests when loading webui
...
by combining all javascript-files into one and all css-files into one
2017-07-28 00:41:18 +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
9434149842
#364 : remote command for sorting of inner files
...
subcommand “SF” of remote command “-E“
2017-04-22 21:12:47 +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
d81d6831dc
#331 : support for HTTP-header "X-Forwarded-For" in IP-logging
2017-02-26 12:40:37 +01:00
Andrey Prygunkov
a3f84aca0e
#330 : better session handling in form login
2017-02-23 20:49:50 +01:00
Andrey Prygunkov
0ab86b90f0
#330 : authentication via form in web-interface
...
, new option “FormAuth”.
2017-02-22 17:41:25 +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