sledgehammer999
cbf9c52462
Update copyright year.
2018-02-09 20:50:29 +02:00
Chocobo1
b37dbb60b5
Sort filename lists in .pri files
2018-01-03 23:28:18 +02:00
Thomas Piccirello
b9ddc6ee86
Use https for www.qbittorrent.org
2018-01-03 03:18:07 +02:00
Thomas Piccirello
276856a614
Add Time Active column
2018-01-03 03:18:07 +02:00
Thomas Piccirello
fbd6a8a0da
Add Tags columns
2018-01-03 03:18:06 +02:00
Thomas Piccirello
6fc18b4af6
Reposition Total Size column to match gui
2018-01-03 03:18:05 +02:00
Thomas Piccirello
44d633fb68
Make value formatting consistent with GUI
2017-12-24 03:01:17 +02:00
Thomas Piccirello
eb4bf6cc68
Add "Remaining" and "Availability" columns to webui Content tab
2017-12-24 03:01:15 +02:00
Chocobo1
c7d3d6ac90
WebUI: Only prepend scheme when it is not present. Closes #8057 .
2017-12-24 03:00:55 +02:00
Vladimir Golovnev (Glassez)
ae35111b59
Fix WebUI is not reachable via IPv6
2017-12-17 23:07:59 +02:00
Chocobo1
f8d4315f7e
[WebUI] Use POST for logout command
...
This is to avoid browser being smart to prefetch the link then logging
out the user.
2017-12-17 23:07:54 +02:00
Chocobo1
1fa2957d27
[WebUI] Add check to avoid type error after logout
2017-12-17 23:07:53 +02:00
Chocobo1
ade50d2b53
Fix missing qbt logo on login page in webUI. Closes #7953 .
2017-12-17 23:07:52 +02:00
sledgehammer999
a15e3407b0
Bump API_VERSION to 16.
2017-11-22 01:14:58 +02:00
Chocobo1
31a55f79f1
Remove superfluous QString::fromUtf8()
2017-11-22 01:03:41 +02:00
Chocobo1
77c3758090
[WebUI] Fix logo missing in login page
2017-11-22 01:03:37 +02:00
Thomas Piccirello
dfc3f047e2
Add ip subnet whitelist for bypassing webui auth
2017-11-20 22:48:53 +02:00
Vladimir Golovnev (Glassez)
0e738b534c
Fix WebUI error handling
2017-11-20 02:09:58 +02:00
Chocobo1
50bb733293
[WebAPI] Improve error messages
...
Also refactor to use class methods
2017-11-20 02:09:55 +02:00
sledgehammer999
a2ddabaedb
Bump API_VERSION to 16.
2017-11-20 02:09:49 +02:00
Chocobo1
3926eba585
Allow SMTP sender to be set. Closes #7575 .
2017-11-20 02:09:41 +02:00
Chocobo1
324f18a0b2
[WebUI] Improve log messages
2017-11-20 02:09:38 +02:00
Chocobo1
7bd86048a8
WebAPI refactor: utilize parseBool() function
...
Coding style cleanup
Rename variable
Return const reference
Add const
2017-10-24 01:30:37 +03:00
Chocobo1
d399f024a7
Reinitialize webUI server when "IP address" setting changed
...
An app restart won't be necessary from now on.
2017-10-24 01:30:36 +03:00
sledgehammer999
21f06abef8
Fix row height/width in webui for country flags.
...
Patch by Chocobo1.
2017-10-24 01:07:57 +03:00
sledgehammer999
fbe0e96fd5
Use svg icons for the country flags.
...
Closes #6223 .
2017-10-24 01:07:55 +03:00
Matthew Fioravante
94e00dd38d
Add WebUi\Address config option
2017-10-24 01:07:54 +03:00
Chocobo1
c3f5432877
[WebUI]: Print error messages upon receiving invalid header fields
2017-10-24 01:07:53 +03:00
Chocobo1
17f5e10ffc
Convert tab into whitespaces
2017-10-24 01:07:45 +03:00
Chocobo1
a0dbb6c97c
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
2017-10-24 01:07:44 +03:00
Chocobo1
9fc2bf6353
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
2017-10-24 01:07:42 +03:00
Eugene Shalygin
d3a0ac3b6e
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.
2017-10-24 00:57:58 +03:00
Chocobo1
d51a957247
Die gracefully when failed to initialize web server with qbt-nox
2017-10-24 00:57:56 +03:00
Matthew Fioravante
a0c16cd461
Report TCPServer errorString() if webui fails to listen to port
2017-10-24 00:57:55 +03:00
thalieht
07130c4b26
Coding style, use nullptr and other minor things
2017-10-24 00:55:33 +03:00
Vladimir Golovnev (Glassez)
395ea4d1d0
Implement TorrentCategoryDialog class
2017-10-24 00:55:22 +03:00
Thomas Piccirello
5b0ae0271b
Reposition "Priority" menu option in WebUI to match gui ( closes #7072 )
2017-10-24 00:53:02 +03:00
Chocobo1
4213d37857
WebAPI: fix addPaused wrong default behavior
...
Add helper function
Sort include header
2017-10-24 00:52:57 +03:00
Chocobo1
0192922910
Refactor
...
Merge statements
Use case-insensitive contains()
Add const
Use value(), this avoids inserting empty values.
Use range based for loop
2017-10-24 00:52:56 +03:00
Chocobo1
d2b88e9f84
WebAPI: fix root_folder default behavior
...
Bug was introduced in
6b33db3ae3
2017-10-24 00:52:55 +03:00
Chocobo1
a32c4aca92
Add comboBox for selecting BitTorrent protocol. Closes #6316 .
...
Use unicode string C_UTP in place of "uTP"
2017-10-24 00:52:54 +03:00
thalieht
91d41336a7
Create root folder option when adding a torrent in WebUI
2017-10-24 00:52:53 +03:00
Allan Nordhøy
5af90fee46
Spelling: HTTP/HTTPS
2017-10-23 19:03:40 +03:00
Chocobo1
63d3f20e51
Sort the resource lists
...
Update RCC header
2017-10-23 18:12:40 +03:00
Chocobo1
0890154e16
WebAPI: fix validating wrong header field. Closes #7311 .
...
X-Forwarded-Host is a foreign proxy setting, it isn't the same as
qbt's local setting and thus it makes no sense to verify it.
2017-10-23 18:12:17 +03:00
Chocobo1
60bd5999b0
Wrap class & functions in anonymous namespace
...
Rename vars
Cleanup class interfaces
Pass by reference whenever possible
2017-10-23 18:12:15 +03:00
Thomas Piccirello
6c2271584c
Use single quotes for char.
...
Use case insensitive compare.
Swap conditionals
2017-10-23 18:12:00 +03:00
Thomas Piccirello
1002b28c95
Add auto torrent management to webui context menu (addresses #6815 )
2017-10-23 18:11:54 +03:00
Thomas Piccirello
cc141ba02f
Add option to rename torrent from WebUI
...
Addresses #6815 .
2017-10-23 02:11:52 +03:00
Vladimir Golovnev (qlassez)
8fc931a61b
Use qUtf8Printable() for logging strings
...
qDebug(), qInfo(), qWarning(), qCritical(), qFatal() expect %s arguments
to be UTF-8 encoded, while qPrintable() converts to local 8-bit encoding.
Therefore qUtf8Printable() should be used for logging strings instead of
qPrintable().
2017-10-23 02:11:51 +03:00