Thomas Piccirello
afd4069eb4
Disable options when force proxy is enabled
7 years ago
Thomas Piccirello
69af205094
Use .each(). Refactor conditionals.
7 years ago
Thomas Piccirello
8a2e3f5d93
Add option to show/hide webui status bar
7 years ago
Thomas Piccirello
3f79726ab9
Make download + upload windows resizable
7 years ago
Thomas Piccirello
d1c4b1599a
WebUI Save user's resized window sizes
7 years ago
Vladimir Golovnev (Glassez)
29042e4841
Fix wrong WebAPI param name
7 years ago
Thomas Piccirello
0d55599e02
Add "Use proxy only for torrents" option to webui
7 years ago
Luís Pereira
ea1b0b26b1
Don't implicitly cast iterator to const_iterator
...
It prevents detachments:
To illustrate:
QMap<QString, QString> map;
/* code compiles and works fine but find() returns the non-const
QMap::iterator that detaches!
*/
QMap<QString, QString>::const_iterator it = map.find("girish");
but also some subtle bugs:
QHash<int, int> wrong;
if (wrong.find(1) == wrong.cend()) {
qDebug() << "Not found";
} else {
/* find() detached the container before cend() was called, so it
prints "Found"
*/
qDebug() << "Found";
}
QHash<int, int> right;
if (right.constFind(1) == right.cend()) {
qDebug() << "Not found"; // This is correct now !
} else {
qDebug() << "Found";
}
Enforced by QT_STRICT_ITERATORS definition.
7 years ago
Vladimir Golovnev (Glassez)
27d8dbf13b
Redesign Web API
...
Normalize Web API method names.
Allow to use alternative Web UI.
Switch Web API version to standard form (i.e. "2.0").
Improve Web UI translation code.
Retranslate changed files.
Add Web API for RSS subsystem.
7 years ago
Vladimir Golovnev (Glassez)
bb683bd393
Switch built-in Web UI html to HTML5
7 years ago
Tom Piccirello
ebea0d91af
Remove default case, fix #8302
7 years ago
Thomas Piccirello
65e0aa6b82
Add default case
7 years ago
Thomas Piccirello
6d0cceca83
Use switch statement
7 years ago
Thomas Piccirello
8e9b928b61
Match webui statuses to gui, closes #7516
7 years ago
sledgehammer999
95c32221a2
Update copyright year.
7 years ago
Thomas Piccirello
9b919b6c34
Add missing units
7 years ago
Thomas Piccirello
49d3b7bf30
Right-align stat values
7 years ago
Chocobo1
ec337a8a84
Sort filename lists in .pri files
7 years ago
Thomas Piccirello
ddd6c82dd7
Use https for www.qbittorrent.org
7 years ago
Chocobo1
fb6bdbefd5
WebUI: Only prepend scheme when it is not present. Closes #8057 .
7 years ago
Thomas Piccirello
0f6dff6315
Make value formatting consistent with GUI
7 years ago
Thomas Piccirello
97b4e4a3d3
Add "Remaining" and "Availability" columns to webui Content tab
7 years ago
Vladimir Golovnev (Glassez)
fcde1ba09c
Fix WebUI is not reachable via IPv6
7 years ago
Thomas Piccirello
d184bd8c82
Perform ip string validation inside setWebUiAuthSubnetWhitelist
7 years ago
Thomas Piccirello
a05562cdc5
Add Time Active column
7 years ago
Thomas Piccirello
ee37f1db3d
Add Tags columns
7 years ago
Chocobo1
b234fcec9c
[WebUI] Use POST for logout command
...
This is to avoid browser being smart to prefetch the link then logging
out the user.
7 years ago
Chocobo1
1a45145c1e
[WebUI] Add check to avoid type error after logout
7 years ago
Chocobo1
c1a282aa7b
Fix missing qbt logo on login page in webUI. Closes #7953 .
7 years ago
Thomas Piccirello
e1f8e6aa6f
Reposition Total Size column to match gui
7 years ago
sledgehammer999
4e96a1065e
Bump API_VERSION to 16.
7 years ago
Chocobo1
27090f0cfb
Remove superfluous QString::fromUtf8()
7 years ago
Chocobo1
77f66be493
[WebUI] Fix logo missing in login page
7 years ago
Vladimir Golovnev (Glassez)
71bb6538db
Fix WebUI error handling
7 years ago
Thomas Piccirello
95bf63330e
Add ip subnet whitelist for bypassing webui auth
7 years ago
sledgehammer999
ffa6f7ea34
Bump API_VERSION to 16.
7 years ago
Chocobo1
aa4107478e
[WebAPI] Improve error messages
...
Also refactor to use class methods
7 years ago
Chocobo1
fc0628d35b
Allow SMTP sender to be set. Closes #7575 .
7 years ago
Chocobo1
157b809e21
[WebUI] Improve log messages
7 years ago
sledgehammer999
c887a162ba
Fix row height/width in webui for country flags.
...
Patch by Chocobo1.
7 years ago
sledgehammer999
52df71ad3a
Use svg icons for the country flags.
...
Closes #6223 .
7 years ago
Chocobo1
d6ddc90199
Reinitialize webUI server when "IP address" setting changed
...
An app restart won't be necessary from now on.
7 years ago
Matthew Fioravante
8cd243b06b
Add WebUi\Address config option
7 years ago
Chocobo1
ce362f0e5e
WebAPI refactor: utilize parseBool() function
...
Coding style cleanup
Rename variable
Return const reference
Add const
7 years ago
Chocobo1
4940a77d12
[WebUI]: Print error messages upon receiving invalid header fields
7 years ago
Chocobo1
e78d8b9fcc
Convert tab into whitespaces
7 years ago
Chocobo1
f350977cb4
WebUI: add optional parameters for /command/download & /command/upload
...
Specifically:
torrent name: string
download limit, upload limit: number in bytes, default: -1 (unlimited)
sequential download, first last piece prio: boolean true/false, default: false
7 years ago
Chocobo1
a652baadb5
Add file-to-piece-index mappings in /query/propertiesFiles command
...
Also do the following cleanups:
Use string constant QB_EXT
Remove redundant variable
Add const
7 years ago
Eugene Shalygin
db35bb54e1
Make BitTorrent::TorrentState strongly-typed enum
...
This is needed to forward declare this type and pass it by value.
Conversion from/to QVariant are hanled via Q_DECLARE_METATYPE, while
TorrentState::toString() function was used in webui only and as such is
moved there.
7 years ago
Chocobo1
5185eeb7ef
Die gracefully when failed to initialize web server with qbt-nox
7 years ago