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
sledgehammer999
a79099fc52
Merge pull request #6597 from vlakoff/translation
...
Update French translation for the installer
2017-04-05 18:34:22 +03:00
Chocobo1
812bd4c83a
Uncrustify
2017-04-05 17:39:44 +08:00
Chocobo1
a86f189f53
Relax comparsion for floating point
2017-04-05 17:36:47 +08:00
Chocobo1
59556dfc6a
Cleanup & refactor
2017-04-05 17:36:47 +08:00
Chocobo1
86e82c71e5
Setup parent pointer
...
Rely on Qt to do the delete, since the parent ownership is setup
correctly.
2017-04-05 17:36:36 +08: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
opengg
b271fa9f00
[WebUI] Add skip_checking
and paused
to /command/download
and /command/upload
2017-03-31 14:05:19 +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