Chocobo1
e85479dfd7
Specify lib requirement: zlib >= 1.2.5.2
2017-05-31 00:33:51 +03:00
Chocobo1
104bed7cc8
Revise Utils::Gzip::decompress
...
Rename from uncompress to decompress
Change signature
Use proper casting
Use larger buffer for the output of inflate()
Reserve 1 MBytes for output buffer
Change function signature
2017-05-31 00:33:50 +03:00
Chocobo1
75f3dd6d1d
Revise Utils::Gzip::compress code
...
Change signature
Add ZLIB_CONST define to make z_stream.next_in const
Cast to zlib defined type Bytef*
Set memLevel to 9 in deflateInit2() for maximum performance
Revise compression loop
On returning false, free memory correctly by calling deflateEnd()
Reserve space by the estimation of deflateBound()
2017-05-31 00:33:50 +03:00
Chocobo1
751f64c98b
Rewrite rules for gzipping http response content
2017-05-31 00:33:49 +03:00
Chocobo1
6353c2ca3c
Implement robust acceptsGzipEncoding()
...
Adhere more to http/1.1 standard
2017-05-31 00:33:48 +03:00
Chocobo1
f51e467ce3
Fix "Content-Encoding" header is always created.
...
Was side effect of operator[]
2017-05-31 00:33:47 +03:00
Chocobo1
358d182c82
Cleanup Http::responseGenerator()
...
Add CRLF definition
Rewrite loop using iterator, slightly more efficient
Rename variables
2017-05-31 00:33:47 +03:00
Chocobo1
7d2802cf2c
Demote to helper function
...
Rename function
2017-05-31 00:33:46 +03:00
Chocobo1
a739d86e3d
Convert Qstring to char arrays
...
Cleanup header
Sort constants
2017-05-31 00:33:45 +03:00
Chocobo1
6ff614ebea
Send Date http header
...
It's not strict required but often expected.
change class to namespace
cleanup header
2017-05-31 00:33:44 +03:00
Chocobo1
d9f4141221
Always send Content-Length header.
...
Because without it, HTTP/1.1 (with persistence connection) clients will
keep waiting for more data.
2017-05-31 00:33:44 +03:00
Chocobo1
415a805818
Implement http persistence connection
...
Max simultaneous connection limit set to 500
This also release allocated memory of Connection instances at runtime instead of at program shutdown.
2017-05-31 00:33:43 +03:00
Chocobo1
b8fff68230
WebUI: Fix checkbox hidden. Closes #6642 .
2017-05-31 00:33:42 +03:00
Eugene Shalygin
44f81a2d2b
cmake: set warning and error options
...
The set is far from perfect, but guards against common errors with GCC.
2017-05-31 00:33:41 +03:00
Eugene Shalygin
e4f472e0f8
Replace variable length array with std::vector in print_stacktrace()
...
The function does memory allocation from heap anyway, so should not be
a problem to use STL container.
2017-05-31 00:33:40 +03:00
Vladimir Golovnev (Glassez)
91a38193f5
Remove torrent temp folder when torrent is deleted
2017-05-31 00:33:39 +03:00
Vladimir Golovnev (Glassez)
66b92f3bb4
Remove torrent temp folder if it becomes unneeded
2017-05-31 00:33:38 +03:00
ngosang
8b0b398a5f
[Search engine] Add btdb plugin
2017-05-31 00:33:35 +03:00
ngosang
9400aac003
[Search engine] Update legittorrents plugin
2017-05-31 00:33:35 +03:00
ngosang
7856863b3e
[Search engine] Remove mininova plugin
2017-05-31 00:33:34 +03:00
ngosang
b1f598a1d3
[Search engine] Update demonoid plugin
2017-05-31 00:33:33 +03:00
Eugene Shalygin
1835ec6086
cmake: fix typo in the manifest file name
2017-05-31 00:33:32 +03:00
Chocobo1
3d4cead200
Uncrustify
2017-05-31 00:33:31 +03:00
Chocobo1
112a24f9b6
Relax comparsion for floating point
2017-05-31 00:33:30 +03:00
Chocobo1
cdcafecb44
Cleanup & refactor
2017-05-31 00:33:29 +03:00
Chocobo1
4e173d34d3
Setup parent pointer
...
Rely on Qt to do the delete, since the parent ownership is setup
correctly.
2017-05-31 00:33:28 +03:00
Chocobo1
df5d31b52b
Always draw background
2017-05-31 00:33:28 +03:00
Chocobo1
be745551e6
Fix downloaded/uploaded columns were not highlighted properly when selected.
...
Refactor
2017-05-31 00:33:27 +03:00
opengg
a3e4bcd1dd
[WebUI] Add skip_checking and paused to /command/download and /command/upload
2017-05-31 00:33:26 +03:00
opengg
36cc6909f8
[WebUI] bugfix: RequestParser::splitMultipartData drop extra trailing newline.
2017-05-31 00:33:25 +03:00
Chocobo1
3987e677d5
Refactor: move methods under the same #if section.
2017-05-31 00:33:24 +03:00
Chocobo1
13f27c6d3b
Refactor: move the validation of certificates & key functions under Server class
...
Rename method
Add log messages
2017-05-31 00:33:24 +03:00
Chocobo1
68f88f7907
Rename class variables
2017-05-31 00:33:23 +03:00
Chocobo1
6c2c08c6dd
Refactor: group port forwarding code together
...
Unify log message
2017-05-31 00:33:22 +03:00
Eugene Shalygin
b8eee9e1b8
Start up torrents after UI was created. Fixes #6454 .
...
Commit dd0537d changed torrents startup code adding alerts processing
into it. Therefore alerts were processed before UI code subscribed to
signals and therefore part of alerts was not reflected in the UI.
Thus here we do not start torrents in Session constructor, but do that
from Application::exec() after UI was constructed and is ready to process
signals.
2017-05-31 00:33:21 +03:00
Eugene Shalygin
ef08b4269d
Rename .desktop and appdata files to match executable name. Fixes #6625 .
2017-05-31 00:33:21 +03:00
Eugene Shalygin
6717e3d30c
Remove generated include from headers. Closes #6634 .
...
Not only fixes compilation with CMake 3.8 (without messing with include
paths) but makes sources cleaner.
2017-04-17 19:30:38 +02:00
Eugene Shalygin
778209ae49
cmake: fixes for cmake 3.8
...
AUTOUIC seems to became stricter.
2017-04-17 18:26:11 +02:00
sledgehammer999
0e64e6887a
Bump API_VERSION and API_VERSION_MIN to 13.
2017-04-06 02:04:31 +03:00
sledgehammer999
c25cb29e61
Sync translations of .desktop file from Transifex.
2017-04-06 02:04:29 +03:00
sledgehammer999
bca9b60db8
Revert "Refactor: initialize class variable directly"
...
This reverts commit b4bca7cfb7 .
2017-04-06 00:43:03 +03:00
Chocobo1
1ec122c4ab
Set cookie SID value to empty on logout
...
Set cookie SID expiration date to 1 day in the past on logout
2017-04-05 18:40:53 +03:00
Chocobo1
562dd41ab2
Fire up the timer to clean inactive sessions
2017-04-05 18:40:52 +03:00
Chocobo1
b4bca7cfb7
Refactor: initialize class variable directly
2017-04-05 18:40:51 +03:00
Chocobo1
b985bb43fa
Refactor: reorder headers
2017-04-05 18:40:50 +03:00
Chocobo1
bf8a438a6f
Set HttpOnly attribute to SID cookie
2017-04-05 18:40:48 +03:00
sledgehammer999
444c2bdf19
Revert "Use Perl-compatible regexes for RSS rules. Closes #6367."
...
This reverts commit 8d11af94f2 .
2017-04-04 03:25:27 +03:00
sledgehammer999
f86064e322
Revert "Cache rule regular expressions for performance"
...
This reverts commit bacef1ca24 .
2017-04-04 03:25:24 +03:00
sledgehammer999
6675544c23
Revert "Change named of getter function."
...
This reverts commit 20b30dd4b5 .
2017-04-04 03:25:14 +03:00
FranciscoPombal
10205ca67e
fixed "remaining" column in WebUI
...
the key had the wrong name. In the js code, the expected key is "amount_left" and not "remaining".
2017-04-04 02:04:36 +03:00