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.
8 years ago
Eugene Shalygin
ecd67b9d75
Rename .desktop and appdata files to match executable name. Fixes #6625 .
8 years ago
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.
8 years ago
Eugene Shalygin
0710a59bf5
Refactor parameters parsing
...
Introduce classes that encapsulate parameter names and parsing schemes
from command line and from environment variables.
8 years ago
Eugene Shalygin
0bf7fa15c1
Replace wrappers in base/utils/fs.h with Profile::SpecialFolders::location()
8 years ago
Eugene Shalygin
44b6cb28f6
Add environment variables usage description to the help text
8 years ago
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_".
8 years ago
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.
8 years ago
Chocobo1
d1ee54f6ea
Refactor: move methods under the same #if section.
8 years ago
Chocobo1
7f346b49a7
Refactor: move the validation of certificates & key functions under Server class
...
Rename method
Add log messages
8 years ago
Chocobo1
05d8c46bb0
Rename class variables
8 years ago
Chocobo1
35ab86d32f
Refactor: group port forwarding code together
...
Unify log message
8 years ago
sledgehammer999
e40444d1ad
Bump API_VERSION and API_VERSION_MIN to 13.
8 years ago
sledgehammer999
50f0ba4f7a
Sync translations of .desktop file from Transifex.
8 years ago
sledgehammer999
be7facdfaf
Sync translations from Transifex and run lupdate.
8 years ago
Chocobo1
812bd4c83a
Uncrustify
8 years ago
Chocobo1
a86f189f53
Relax comparsion for floating point
8 years ago
Chocobo1
59556dfc6a
Cleanup & refactor
8 years ago
Chocobo1
86e82c71e5
Setup parent pointer
...
Rely on Qt to do the delete, since the parent ownership is setup
correctly.
8 years ago
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".
8 years ago
opengg
b271fa9f00
[WebUI] Add `skip_checking` and `paused` to `/command/download` and `/command/upload`
8 years ago
Chocobo1
5de505acfe
Cleanup headers
...
Remove unused headers
Sort header includes
8 years ago
Chocobo1
faaafce35b
Fix cancel "Set location" causes files move to installation dir.
...
Closes #6568 .
8 years ago
Chocobo1
0d3c670728
Add log message
8 years ago
Chocobo1
272d53fdf8
Set cookie SID value to empty on logout
...
Set cookie SID expiration date to 1 day in the past on logout
8 years ago
Chocobo1
4e48408eaa
Fire up the timer to clean inactive sessions
8 years ago
Chocobo1
e26b30a5f4
Refactor: initialize class variable directly
8 years ago
Chocobo1
e4d6fe2d02
Refactor: reorder headers
8 years ago
Chocobo1
e9bd75f4e1
Set HttpOnly attribute to SID cookie
8 years ago
Eugene Shalygin
b2ff058bc0
cmake: fix OSX bundle creation
8 years ago
Eugene Shalygin
5c0bf86405
cmake: remove qt4 leftover
8 years ago
epicgirl1998
f904cfa32d
Remove extra space
...
fixes https://github.com/qbittorrent/qBittorrent/issues/6523
8 years ago
opengg
db3158c410
[WebUI] bugfix: `RequestParser::splitMultipartData` drop extra trailing newline.
8 years ago
Eugene Shalygin
3091e03a95
Fix CMake build
8 years ago
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.
8 years ago
Chocobo1
a16c557137
Always draw background
8 years ago
Chocobo1
2b2b3a4fe7
Fix downloaded/uploaded columns were not highlighted properly when selected.
...
Refactor
8 years ago
sledgehammer999
bc910798da
Indicate bitness in stackstrace and about dialog. Closes #6172 .
8 years ago
sledgehammer999
a7dcf20ed1
Fix state of IP filter widgets.
8 years ago
sledgehammer999
729fbb2e50
Change named of getter function.
8 years ago
sledgehammer999
be60b3e046
Change the user-agent format in the session.cpp too.
8 years ago
sledgehammer999
b90db12ba0
Use a QTreeView and a sort proxy in the manually banned IP list to have a consistent sort order with QStringList::sor().
8 years ago
sledgehammer999
431658bee6
Fix race condition where there was a chance to allow all ips between reparsings of the ip filter.
8 years ago
sledgehammer999
14513cd81f
Allow edit of manually banned IPs regardless if an IP filter has been set.
8 years ago
sledgehammer999
b69b6d1f55
Revert "Set default locale". Closes #6436 and #6459 .
...
This reverts commit 75ef6356d3
.
8 years ago
Vladimir Golovnev (Glassez)
79e8f69fb6
Remove exception-suppress macros
...
Remove SAFE_* macros from TorrentHandle class.
These macros using seems to be unneeded.
8 years ago
Chocobo1
fa2128cbae
Replace Utils::String::fromStdString() by QString::fromStdString()
8 years ago
sledgehammer999
9839ef7292
Add keywords to the .desktop file.
8 years ago
Chocobo1
87384ca2a2
Replace Utils::String::toHtmlEscaped() by QString::.toHtmlEscaped()
8 years ago
Chocobo1
ffdcfe9686
Replace Utils::String::toStdString() by QString::toStdString()
8 years ago