sledgehammer999
a2ddabaedb
Bump API_VERSION to 16.
2017-11-20 02:09:49 +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
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
thalieht
07130c4b26
Coding style, use nullptr and other minor things
2017-10-24 00:55:33 +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
thalieht
91d41336a7
Create root folder option when adding a torrent in WebUI
2017-10-24 00:52:53 +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
Tom Piccirello
98bef605a7
Set torrent location from webui context menu (addresses #6815 ) ( #7062 )
...
* Add option to set torrent location from webui context menu (addresses #6815 )
* Update debug messages
* Use logger
* Remove redundant curly braces
* Remove message
* Use log message from transferlistwidget
* Use QDir
* Remove unused import
* Check if newLocation is an empty string
2017-08-07 08:27:05 +03:00
sledgehammer999
802cd89ec9
Bump API_VERSION and API_VERSION_MIN to 15.
2017-07-18 22:38:59 +03:00
Thomas Piccirello
cd5a55d711
Skip username/password check for active sessions ( closes #6860 )
2017-07-01 03:26:15 -04:00
Chocobo1
087856d3d8
[WebUI]: Implement CSRF defense
...
Bump API version
2017-06-01 19:37:57 +03:00
Chocobo1
3933790bda
Add new webUI API. Closes #6457 .
...
Now getting piece information for a specific torrent is possible via:
* Returns an array of states (integers) of pieces in order. Defined as:
"0=not downloaded", "1=downloading", "2=downloaded".
GET /query/getPieceStates/<torrent_hash>
* Returns an array of hashes (strings) of pieces in order:
GET /query/getPieceHashes/<torrent_hash>
2017-05-26 14:37:03 +08:00
Thomas Piccirello
7cf1d844b0
Return status indicating if at least one torrent was successfully added
2017-05-15 14:30:44 -04:00
Eugene Shalygin
c4e16aa820
cmake: set warning and error options
...
The set is far from perfect, but guards against common errors with GCC.
2017-04-29 13:30:28 +02:00
Vladimir Golovnev (Glassez)
989a70fe60
Redesign RSS subsystem
2017-04-23 09:03:46 +03:00
sledgehammer999
018574e546
Merge pull request #6475 from OpenGG/master
...
[WebUI-API] Add "skip_checking" and "paused" to "/command/download" and "/command/upload"
2017-04-17 17:12:24 +03:00
sledgehammer999
e40444d1ad
Bump API_VERSION and API_VERSION_MIN to 13.
2017-04-06 02:03:44 +03:00
opengg
b271fa9f00
[WebUI] Add skip_checking and paused to /command/download and /command/upload
2017-03-31 14:05:19 +08:00
Chocobo1
cb1646be32
Prepend QBT_ for preprocessor variables
2017-03-06 13:41:58 +08:00
sledgehammer999
5c730f984d
Bump API_VERSION to 12.
2017-03-03 22:31:58 +02:00
sledgehammer999
0caf03130c
Bump API_VERSION and API_VERSION_MIN to 11.
2016-12-12 22:11:06 +02:00
Vladimir Golovnev (Glassez)
b2cb473b63
Don't use Preferences in BitTorrent::Session
2016-06-20 08:30:02 +03:00
sledgehammer999
57a4b9f8b6
Fix API_VERSION and API_VERSION_MIN numbers.
2016-06-20 02:15:11 +03:00
Gabriele
01b73bf704
WebUI: Add command to get the logs
...
Add /query/getLog and /query/getPeerLog to respectively retrieve
the main log and the peer log.
GET /query/getLog
Params:
- normal (bool): include normal messages (default true)
- info (bool): include info messages (default true)
- warning (bool): include warning messages (default true)
- critical (bool): include critical messages (default true)
- last_known_id (int): exclude messages with id <= 'last_known_id'
GET /query/getPeerLog
Params:
- last_known_id (int): exclude messages with id <= 'last_known_id'
2016-05-17 12:13:59 +02:00
sledgehammer999
4c79a1d766
Bump API_VERSION to 11.
2016-04-17 19:57:08 +03:00
sledgehammer999
2a20855c17
Merge pull request #4661 from buinsky/WebUI_labels_menu
...
WebUI: Implement labels filter context menu
2016-04-17 11:36:58 -05:00
sledgehammer999
93d8cadaaf
Bump API_VERSION and API_VERSION_MIN.
2016-03-29 23:15:11 +03:00
buinsky
24584503d9
WebUI: Implement removing unused categories
2016-03-16 13:17:07 +03:00
buinsky
50f2437ac3
WebUI: Implement removing categories
2016-03-16 13:17:07 +03:00
buinsky
a4dca52617
WebUI: Implement adding categories
2016-03-16 13:17:07 +03:00
Vladimir Golovnev (Glassez)
dd34663224
Implement Advanced Saving Management subsystem
...
Closes #4696
2016-03-04 19:59:53 +03:00
Vladimir Golovnev (Glassez)
c57aaf0216
Create MagnetUri object from BC link or HASH string
2016-01-31 21:32:41 +03:00
sledgehammer999
ab813df992
Bump WebUI API_VERSION and API_VERSION_MIN.
2016-01-19 01:31:39 +02:00
Gabriele
9e91cd70ee
WebUI: Allow to remove the label assigned to a torrent
...
Empty strings are not valid label names, but they are used to remove
torrent labels, so allow them.
2016-01-13 14:57:49 +01:00
sledgehammer999
3e0f8a1e4e
Bump WebUI API_VERSION.
2015-12-07 23:59:39 +02:00
buinsky
00c765be1b
Implement sync/torrent_peers request
2015-12-06 22:21:24 +03:00
Vladimir Golovnev (Glassez)
9db93e5d8f
Rename Core to Base ( Closes #3733 ).
2015-12-06 14:27:00 +03:00
sledgehammer999
6f2eccd62f
Merge pull request #4015 from naikel/cookies
...
[WebUI] Add save path, cookies and labels when adding torrents
2015-11-29 18:12:10 -06:00
sledgehammer999
3e6d76245c
Bump WebUI API_VERSION.
2015-11-22 22:08:16 +02:00
Naikel Aparicio
753c9556fd
Cookies support on WebUI when downloading torrent from a URL. Modified download and upload windows to allow autocompletion of browsers.
...
Fixed the spinner in the WebUI upload page. Modified height of the WebUI download page.
Fixed all the JavaScript functions for download and upload pages.
2015-11-10 10:02:20 -04:30
sledgehammer999
4cecb585bc
Merge pull request #3444 from ngosang/webui_labels
...
[Web UI] Labels implementation
2015-11-03 16:31:05 -06:00
sledgehammer999
e39f8fafb1
Bump WebUI API_VERSION.
2015-10-09 16:46:20 +03:00
ngosang
a9e9a9c835
[Web UI] Changes in labels implementation
2015-09-03 03:16:07 +02:00
Felipe Barriga Richards
4ae2f6c33b
webui (js): feature: Added complete support for labels (add/set/reset/display/filter) #648
...
Changes:
- added list of labels on the lower-left corner
- added support to add/set/reset labels on context menu
- added support to filter torrents by label
2015-09-03 03:16:07 +02:00
Felipe Barriga Richards
76d93c23b7
webui (c++): feature: added labels support. #648
2015-09-03 03:16:07 +02:00