Chocobo1
129172453b
Fix "Content-Encoding" header is always created.
...
Was side effect of operator[]
2017-04-20 22:22:17 +08:00
Chocobo1
7d36c81949
Cleanup Http::responseGenerator()
...
Add CRLF definition
Rewrite loop using iterator, slightly more efficient
Rename variables
2017-04-20 22:22:17 +08:00
Chocobo1
6cb2f05a6c
Demote to helper function
...
Rename function
2017-04-20 22:22:17 +08:00
Chocobo1
829e1399ca
Convert Qstring to char arrays
...
Cleanup header
Sort constants
2017-04-20 22:22:17 +08:00
Chocobo1
4b2266a8e2
Send Date http header
...
It's not strict required but often expected.
change class to namespace
cleanup header
2017-04-20 22:22:17 +08:00
Chocobo1
9496b2a159
Always send Content-Length header.
...
Because without it, HTTP/1.1 (with persistence connection) clients will
keep waiting for more data.
2017-04-20 22:22:17 +08:00
Chocobo1
0b28fb6c6b
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-04-20 22:22:14 +08:00
sledgehammer999
ae0a9d74c4
Merge pull request #6487 from Chocobo1/ui
...
GUI polish
2017-04-18 04:01:13 +03:00
sledgehammer999
2045c38005
Merge pull request #6623 from evsh/cmake
...
CMake 3.8 compatibility and refactoring
2017-04-17 17:38:08 +03:00
Eugene Shalygin
4e1b7c3b87
Remove generated include from headers
...
Not only fixes compilation with CMake 3.8 (without messing with include
paths) but makes sources cleaner.
2017-04-17 16:31:19 +02:00
Eugene Shalygin
34798399da
cmake: fixes for cmake 3.8
...
AUTOUIC seems to became stricter.
2017-04-17 16:27:24 +02:00
Eugene Shalygin
97d52668cc
travis: fix CMake + OSX build
...
Brew changed installation dir for Qt, and we have to change it in our
workaround symlinks too.
2017-04-17 16:27:24 +02:00
Eugene Shalygin
c32cee8098
travis: remove redundant 'cd' command
2017-04-17 16:27:24 +02:00
sledgehammer999
018574e546
Merge pull request #6475 from OpenGG/master
...
[WebUI-API] Add "skip_checking" and "paused" to "/command/download" and "/command/upload"
2017-04-17 17:12:24 +03:00
sledgehammer999
48b0cf8a48
Merge pull request #6621 from Chocobo1/webui
...
Webui: refactor
2017-04-17 17:08:25 +03:00
sledgehammer999
ae0ec716cb
Fix inverted check when applying the IP filter.
2017-04-17 17:07:12 +03:00
sledgehammer999
c27108c97a
Merge pull request #6630 from evsh/fix-6454
...
Start up torrents after UI was created. Fixes #6454 .
2017-04-17 16:44:03 +03:00
sledgehammer999
56436d3f97
Merge pull request #6626 from evsh/fix-desktop-filename
...
Rename .desktop file to match executable name. Fixes #6625 .
2017-04-17 16:03:06 +03:00
sledgehammer999
d702b32e53
Merge pull request #5465 from glassez/strip_root_folder_v2
...
Allow to strip root folder. Closes #588 , closes #5433
2017-04-17 15:48:28 +03:00
Vladimir Golovnev (Glassez)
22178f9997
Fix strip torrent root folder
2017-04-15 17:33:20 +03:00
Vladimir Golovnev (Glassez)
6d7d566cdf
Fix TorrentHandle rootPath() and contentPath() methods
2017-04-15 10:11:53 +03:00
Vladimir Golovnev (Glassez)
d413bc65ef
Improve strip torrent root folder
...
Fix issue when you rename the "root item" in the "Add New Torrent" dialog
and uncheck "Create subfolder", it will create the subfolder with the
renamed name.
Fix PropertiesWidget first folder is expanded after app restart.
Strip root folder if torrent was added via magnet link.
Fix crash when you get name of torrent without metadata.
2017-04-15 10:11:53 +03:00
sledgehammer999
4b2d8a7941
Setting for creating subfolder on multifile torrents. Closes #588 .
2017-04-15 10:11:53 +03:00
Eugene Shalygin
21a72c651f
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-04-14 00:58:43 +02:00
Eugene Shalygin
ecd67b9d75
Rename .desktop and appdata files to match executable name. Fixes #6625 .
2017-04-12 17:26:12 +02:00
sledgehammer999
07af8c9648
Merge pull request #5214 from evsh/adjustable-config-name
...
Implement configurations and portable mode. Closes #465
2017-04-12 02:20:34 +03:00
Eugene Shalygin
a8d95dd8bd
Save relative paths in fastresume files
...
Conditionally change absolute paths to relative in the fastresume data files.
The condition is specified by user via a command line parameter and
paths are relative to the profile dir.
On Windows the convertion to relative path is performed if the path and
the profile are on the same drive only.
2017-04-12 00:51:37 +02:00
Eugene Shalygin
0710a59bf5
Refactor parameters parsing
...
Introduce classes that encapsulate parameter names and parsing schemes
from command line and from environment variables.
2017-04-12 00:50:33 +02:00
Eugene Shalygin
0bf7fa15c1
Replace wrappers in base/utils/fs.h with Profile::SpecialFolders::location()
2017-04-12 00:50:33 +02:00
Eugene Shalygin
44b6cb28f6
Add environment variables usage description to the help text
2017-04-12 00:50:33 +02:00
Eugene Shalygin
d5414631c3
Initialise QBtCommandLineParameters members from environment
...
This allows to pass options via environment variables. The variable name
is constructed from parameter name by transforming the name to upper
case and prefixing "QBT_".
2017-04-12 00:50:33 +02:00
Eugene Shalygin
0f746ffd5a
Add support for different configurations. Partially closes #465
...
It may be useful to have different configurations either for portable
versions or for debugging purposes. To implement this we add two
options, avaliable via command line switches
1. An option to change configuration name ("--configuration"). The name
supplied via this option is appended to
QCoreApplication::applicationName() to form "qBittorrent_<conf_name>"
name for the configuration files.
2. An option to provide a path do directory where all the settings are
stored (kind of profile directory). There is a shortcut "--portable"
which means "use directory 'profile' near the executable location".
In order to implement that we have to perform initialisation of the
profile directories before the SettingStorage and Preferences singletones
are initialised. Thus, options parsing shall be performed without defaults
read from preferences.
2017-04-12 00:50:28 +02:00
sledgehammer999
f3338263ea
Merge pull request #6493 from Chocobo1/editorconfig
...
Add .editorconfig
2017-04-11 23:20:58 +03:00
sledgehammer999
44996b4c6b
Merge pull request #6624 from schnurlos/patch-5
...
Update of german.nsi
2017-04-11 23:18:56 +03:00
schnurlos
bbe8184abe
Update of german.nsi
...
Translation of 64-bit text done.
2017-04-11 18:52:27 +02:00
Chocobo1
d1ee54f6ea
Refactor: move methods under the same #if section.
2017-04-11 23:16:16 +08:00
sledgehammer999
f4bd3d2868
Merge pull request #6620 from evsh/uk-installer-translation
...
Create Ukrainian translation for the Windows installer.
2017-04-11 15:38:08 +03:00
Chocobo1
7f346b49a7
Refactor: move the validation of certificates & key functions under Server class
...
Rename method
Add log messages
2017-04-10 21:18:59 +08:00
Chocobo1
05d8c46bb0
Rename class variables
2017-04-10 21:07:08 +08:00
Chocobo1
35ab86d32f
Refactor: group port forwarding code together
...
Unify log message
2017-04-10 20:14:19 +08:00
Eugene Shalygin
ec274157d7
Create Ukrainian translation for the Windows installer.
2017-04-10 12:42:31 +02:00
sledgehammer999
6ad8a4d8b1
Merge pull request #6606 from ngosang/es_installes_translation
...
Update Spanish translation for the installer
2017-04-07 16:43:18 +03:00
ngosang
5490c54f8d
Update Spanish translation for the installer
2017-04-07 12:49:10 +02:00
sledgehammer999
fe056e7fc0
Merge pull request #6599 from Chocobo1/defines
...
Fix NTDDI_VERSION define
2017-04-06 14:25:22 +03:00
sledgehammer999
e40444d1ad
Bump API_VERSION and API_VERSION_MIN to 13.
2017-04-06 02:03:44 +03:00
sledgehammer999
50f0ba4f7a
Sync translations of .desktop file from Transifex.
2017-04-06 02:02:01 +03:00
Chocobo1
84cdd2e061
Bump _WIN32_IE in cmake build
2017-04-06 06:51:24 +08:00
sledgehammer999
be7facdfaf
Sync translations from Transifex and run lupdate.
2017-04-06 01:50:52 +03:00
Chocobo1
ca8ea73ddb
Fix NTDDI_VERSION define
...
Fixup of 5958585e3a
2017-04-06 06:50:42 +08:00
sledgehammer999
1111ca9d90
Merge pull request #6548 from Chocobo1/cookie
...
Fixes for AbstractWebApplication
2017-04-05 18:37:51 +03:00