Commit graph

7485 commits

Author SHA1 Message Date
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
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
sledgehammer999
a79099fc52 Merge pull request #6597 from vlakoff/translation
Update French translation for the installer
2017-04-05 18:34:22 +03:00
sledgehammer999
851fb8d3de
Fix running the uninstaller if the user chose a different path in the installer. Closes #6080. 2017-04-05 03:04:59 +03:00
vlakoff
2e3aaf3428 Update French translation for the installer 2017-04-04 18:45:07 +02:00
sledgehammer999
f3d6ae3433 Merge pull request #6590 from FranciscoPombal/webui_remaining
fixed "remaining" column in WebUI
2017-04-04 01:35:59 +03:00
sledgehammer999
4a0244ae88
Better 64-bit handling in the installer. 2017-04-04 01:27:12 +03:00
sledgehammer999
40948ab652 Merge pull request #6519 from evsh/cmake
cmake: fix build and add build configurations for Travis
2017-04-04 01:24:59 +03:00
sledgehammer999
b2528f7573 Merge pull request #6581 from Chocobo1/set_location
Fix cancel "Set location" causes files move to installation dir
2017-04-04 01:15:27 +03:00
sledgehammer999
d4f30030a6 Merge pull request #6565 from Chocobo1/defines
Add NTDDI_VERSION define
2017-04-04 01:09:51 +03:00
sledgehammer999
027607490a Merge pull request #6584 from Chocobo1/nsis
NSIS: set exit code to 0 on install/uninstall success
2017-04-04 01:09:29 +03:00
FranciscoPombal
829ad2e1e6 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-03 16:20:01 +01:00
Chocobo1
b4d474b770 NSIS: set exit code to 0 on install/uninstall success
Closes #6129.
2017-03-31 14:49:23 +08:00
Chocobo1
d2e02605e9 NSIS: trim whitespaces 2017-03-31 14:48:07 +08:00
Chocobo1
5de505acfe Cleanup headers
Remove unused headers
Sort header includes
2017-03-30 16:45:11 +08:00
Chocobo1
faaafce35b Fix cancel "Set location" causes files move to installation dir.
Closes #6568.
2017-03-30 16:45:10 +08:00
Chocobo1
0d3c670728 Add log message 2017-03-30 16:45:10 +08:00
Chocobo1
b779330163 code formatting 2017-03-28 17:38:04 +08:00
Chocobo1
5958585e3a Add NTDDI_VERSION define 2017-03-28 17:38:04 +08:00
sledgehammer999
5fb3b4639c Merge pull request #6517 from regs01/patch-1
NSIS ManifestDPIAware
2017-03-22 22:45:18 +02:00
sledgehammer999
3dba24bfe0 Merge pull request #6527 from epicgirl1998/patch-1
Remove extra space between category names and torrent counts
2017-03-22 20:00:50 +02:00
sledgehammer999
10f2fbdd17 Merge pull request #6554 from sheeit/patch-1
Fixed Markdown formatting for headers in CODING_GUIDELINES.md
2017-03-22 19:57:58 +02:00
sheeit
ec0771448c Fixed Markdown formatting for headers 2017-03-22 15:49:19 +01:00
Chocobo1
272d53fdf8 Set cookie SID value to empty on logout
Set cookie SID expiration date to 1 day in the past on logout
2017-03-22 17:22:10 +08:00
Chocobo1
4e48408eaa Fire up the timer to clean inactive sessions 2017-03-22 17:21:10 +08:00
Chocobo1
e26b30a5f4 Refactor: initialize class variable directly 2017-03-22 17:20:28 +08:00
Chocobo1
e4d6fe2d02 Refactor: reorder headers 2017-03-22 17:20:27 +08:00
Chocobo1
e9bd75f4e1 Set HttpOnly attribute to SID cookie 2017-03-21 15:24:41 +08:00
Eugene Shalygin
7d19ee2e59 travis: add cmake build 2017-03-20 22:18:36 +01:00
Eugene Shalygin
8a106314ff travis: remove Qt4 leftover 2017-03-20 19:47:21 +01:00
Eugene Shalygin
17e6eba50a travis: use apt addon for libtorrent and Qt packages 2017-03-20 19:47:21 +01:00
Eugene Shalygin
b2ff058bc0 cmake: fix OSX bundle creation 2017-03-20 19:47:21 +01:00
Eugene Shalygin
5c0bf86405 cmake: remove qt4 leftover 2017-03-20 19:07:52 +01:00
epicgirl1998
f904cfa32d Remove extra space
fixes https://github.com/qbittorrent/qBittorrent/issues/6523
2017-03-17 03:43:49 +02:00
regs01
6fae4e6e5c Update options.nsi
dpi-aware installer
2017-03-15 08:33:27 +03:00
sledgehammer999
9eb01fbe4d Merge pull request #6489 from evsh/fix-fileguard
Fix TorrentFileGuard::setAutoRemove() recursion problem. Closes #6488.
2017-03-08 12:18:58 +02:00
sledgehammer999
61efc76b82 Merge pull request #6490 from evsh/cmake
Fix CMake build
2017-03-08 12:18:38 +02:00
Eugene Shalygin
3091e03a95 Fix CMake build 2017-03-08 09:12:49 +01:00
Eugene Shalygin
3752d112fb Fix TorrentFileGuard::setAutoRemove() recursion problem. Closes #6488.
The problem was created during Qt 4 drop, when FileGuard was promoted
from a member to a base class. The function was blindly changed.
2017-03-08 09:05:58 +01:00