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
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
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
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
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