Commit graph

1139 commits

Author SHA1 Message Date
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.
2017-10-10 21:28:57 +02:00
Chocobo1
5185eeb7ef
Die gracefully when failed to initialize web server with qbt-nox 2017-10-09 13:50:01 +08:00
Vladimir Golovnev
083bc71315 Merge pull request #7396 from thalieht/updownratio
Properly pre-select the selected torrent's current ratio limiting options in UpDownRatioDlg
2017-10-08 21:06:55 +03:00
thalieht
525fdd6c2b Coding style, use nullptr and other minor things 2017-10-08 10:20:54 +03:00
Matthew Fioravante
05c92e652c Report TCPServer errorString() if webui fails to listen to port 2017-10-06 05:54:52 +00:00
Vladimir Golovnev
66a6674cbc Merge pull request #7490 from glassez/category-path
Allow to set explicit save path for Category from GUI
2017-09-29 14:25:40 +03:00
Vladimir Golovnev (Glassez)
3ec992474d
Implement TorrentCategoryDialog class 2017-09-27 21:25:22 +03:00
Mike Tzou
2eb3ec1a6e Merge pull request #7463 from Piccirello/fix-priority-context-menu-placement
Reposition "Priority" menu option in WebUI to match gui (closes #7072)
2017-09-24 10:28:05 +08:00
Chocobo1
c5ddbcfb5b
WebAPI: fix addPaused wrong default behavior
Add helper function
Sort include header
2017-09-19 17:26:01 +08:00
Chocobo1
72b0ba36ae
Refactor
Merge statements
Use case-insensitive contains()
Add const
Use value(), this avoids inserting empty values.
Use range based for loop
2017-09-19 14:16:39 +08:00
Chocobo1
b107c0671d
WebAPI: fix root_folder default behavior
Bug was introduced in
6b33db3ae3
2017-09-19 13:07:50 +08:00
sledgehammer999
b9e233601d Merge pull request #7446 from Chocobo1/utpOnly
Add uTP only mode option
2017-09-19 01:45:58 +03:00
Chocobo1
45a0c5558a
Add comboBox for selecting BitTorrent protocol. Closes #6316.
Use unicode string C_UTP in place of "uTP"
2017-09-18 01:52:57 +08:00
Thomas Piccirello
b6596f9957 Reposition "Priority" menu option in WebUI to match gui (closes #7072) 2017-09-17 05:42:46 -04:00
thalieht
6b33db3ae3 Create root folder option when adding a torrent in WebUI 2017-09-11 16:56:33 +03:00
Allan Nordhøy
5c18db240c Spelling: HTTP/HTTPS 2017-09-08 11:22:25 +02:00
Chocobo1
64d5e329c0
Sort the resource lists
Update RCC header
2017-08-29 13:39:02 +08:00
Chocobo1
9ef1e32327
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-08-20 22:40:19 +08:00
Chocobo1
65ca490b64
Wrap class & functions in anonymous namespace
Rename vars
Cleanup class interfaces
Pass by reference whenever possible
2017-08-19 01:57:11 +08:00
Thomas Piccirello
4846b0ec28
Use single quotes for char.
Use case insensitive compare.
Swap conditionals
2017-08-14 23:15:03 +08:00
Thomas Piccirello
771033a449
Add auto torrent management to webui context menu (addresses #6815) 2017-08-14 23:14:46 +08:00
Mike Tzou
0522db3f19 Merge pull request #7061 from Piccirello/webui-rename-torrent
Rename torrent from webui context menu (addresses #6815)
2017-08-13 23:39:35 +08:00
Vladimir Golovnev (qlassez)
cff6a64e9f
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-08-13 16:14:57 +03:00
Thomas Piccirello
798c230634
Add option to rename torrent from WebUI
Addresses #6815.
2017-08-13 15:45:51 +03:00
Chocobo1
3e9311b096
Correctly handle translation
Fixup of 07a85a1018
2017-08-06 17:20:01 +08:00
Chocobo1
1bfb8d35cd
Move "Copy hash" menu item above "Copy magnet link"
Fix wrong "Copy hash" icon used in webUI
Fixup of 145641ac41
2017-08-06 17:19:55 +08:00
Tom Piccirello
07a85a1018 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-06 17:04:39 +08:00
Tom Piccirello
145641ac41 Add copy options to webui context menu (addresses #6815) (#7036)
* Add copy options to webui context menu
Add Copy Hash to gui (closes #6964)

* Use switch statement

* Use camel case, switch from signal to qaction.

* Rename variable

* Change variable name
2017-08-06 16:35:12 +08:00
sledgehammer999
802cd89ec9
Bump API_VERSION and API_VERSION_MIN to 15. 2017-07-18 22:38:59 +03:00
Tom Piccirello
11b44407af Add Status column to webui (addresses #6815) (#7032)
* Add Status column to webui (addresses #6815)
2017-07-17 14:26:52 +08:00
Chocobo1
07780b48c5 Load the domain list at least once on startup.
Fixup of 0532d546d7
2017-07-13 00:41:30 +08:00
Chocobo1
0532d546d7
Implement HTTP host header filtering
This filtering is required to defend against DNS rebinding attack.
2017-07-12 17:26:13 +03:00
Chocobo1
18651c8d01
Use Qt5 connect syntax 2017-07-12 17:26:11 +03:00
Chocobo1
55e038b165
Avoid modifing request headers 2017-07-12 17:26:05 +03:00
Chocobo1
be61e8f2fd Revert back to intended fallthrough
Partial revert a7f4ea8b18
2017-07-10 00:36:56 +08:00
Chocobo1
448d937c15 Fix value comparison. Closes #7081.
`category` could be 'undefined'.
Fixup of a7f4ea8b18.
2017-07-09 22:31:14 +08:00
Mike Tzou
db2dec3d28 Merge pull request #7031 from Piccirello/fix-js-errors
Fix various javascript errors and follow best practices
2017-07-05 15:03:09 +08:00
Thomas Piccirello
a7f4ea8b18 Fix javascript errors and follow best practices 2017-07-01 03:28:35 -04:00
Thomas Piccirello
cd5a55d711 Skip username/password check for active sessions (closes #6860) 2017-07-01 03:26:15 -04:00
Chocobo1
cdb8f4bc61 [WebUI] relax CSRF defense. Closes #6882.
Allow HTTP request which has neither Origin nor Referer header included
2017-06-02 21:16:06 +08:00
Chocobo1
087856d3d8
[WebUI]: Implement CSRF defense
Bump API version
2017-06-01 19:37:57 +03:00
Eugene Shalygin
74cecb1b6c Replace C-style casts with C++ ones 2017-05-29 17:25:42 +02:00
Mike Tzou
20f6bf817e Merge pull request #6836 from Chocobo1/api
[WebAPI] Get piece information/state
2017-05-27 18:28:22 +08:00
Mike Tzou
b6080c19c2 Merge pull request #6834 from Chocobo1/cookie
[WebUI] Make cookie parsing robust
2017-05-26 23:56:35 +08: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
Chocobo1
f35a5c8085 [WebUI] Make cookie parsing robust
Previously cookie name such as "<any string>SID" will be mistakenly
accepted as "SID" session ID, this commit fixes it.

Use QString::isEmpty()
2017-05-25 18:45:07 +08:00
Mike Tzou
ced52e3269 Merge pull request #6827 from naikel/webui_filter_fix
Fix slow filtering in WebUI
2017-05-24 00:02:22 +08:00
Naikel Aparicio
03b2decab6 Fix slow filtering in WebUI. Fixup 7aadf644e0. 2017-05-22 09:19:03 -04:00
Naikel Aparicio
9fc6de77ca Cosmetic fixes for WebUI upload and download windows 2017-05-20 16:01:24 -04:00
Chocobo1
5529a7713c Set icon height in html instead of js
Fixup of d302e4fb92
2017-05-19 00:06:10 +08:00
Chocobo1
d302e4fb92 [WebUI] Fix connection status icon too large. Closes #6804. 2017-05-18 23:07:40 +08:00
Naikel Aparicio
9ba00d7035 Implemented share limit by seeding time 2017-05-17 14:33:17 -04:00
Mike Tzou
0838f64311 Merge pull request #6782 from Piccirello/strict-csp
Use less permissive Content Security Policy
2017-05-17 18:47:51 +08:00
Mike Tzou
d80abeb10f Merge pull request #6751 from thalieht/webuiUnitPrecision
WebUI: Increase the number of digits after the decimal point
2017-05-17 12:48:03 +08:00
Mike Tzou
0f7eabfa4b Merge pull request #6781 from Piccirello/torrent-download-api-response
Include response status in upload torrent API
2017-05-17 00:39:55 +08:00
Thomas Piccirello
7cf1d844b0 Return status indicating if at least one torrent was successfully added 2017-05-15 14:30:44 -04:00
Thomas Piccirello
1b5852ad0b Use less permissive Content Security Policy
Adjust content order
2017-05-14 20:26:15 -04:00
Vladimir Golovnev (Glassez)
8a6d8f3953 Use cached SessionStatus and CacheStatus 2017-05-10 13:24:37 +03:00
thalieht
e075274177 webUI: increase the number of digits after the decimal point 2017-05-05 20:09:04 +03:00
sledgehammer999
b1f1823c65
[WebUI]Use the same layout in the Speed tab in preferences as the GUI. 2017-05-05 16:41:41 +03:00
sledgehammer999
0addeafc6b
Add missing unit sizes in misc.js 2017-05-05 16:41:40 +03:00
sledgehammer999
44c5a9beff
[WebUI]Use translatable strings in Statistics dialog. 2017-05-05 16:41:39 +03:00
sledgehammer999
e177799ada
[WebUI]Make the context obligatory for translatable strings. Also delete duplicate strings from extra translations. 2017-05-05 03:46:33 +03:00
Mike Tzou
e91a5f6a5a Merge pull request #6701 from Chocobo1/webui
WebUI: Fix checkbox hidden
2017-04-30 13:35:02 +08:00
Chocobo1
5e50d8ed91 WebUI: Fix checkbox hidden. Closes #6642. 2017-04-29 23:12:04 +08: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
Chocobo1
7f346b49a7 Refactor: move the validation of certificates & key functions under Server class
Rename method
Add log messages
2017-04-10 21:18:59 +08:00
Chocobo1
05d8c46bb0 Rename class variables 2017-04-10 21:07:08 +08:00
Chocobo1
35ab86d32f Refactor: group port forwarding code together
Unify log message
2017-04-10 20:14:19 +08:00
sledgehammer999
e40444d1ad
Bump API_VERSION and API_VERSION_MIN to 13. 2017-04-06 02:03:44 +03:00
sledgehammer999
1111ca9d90 Merge pull request #6548 from Chocobo1/cookie
Fixes for AbstractWebApplication
2017-04-05 18:37:51 +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
opengg
b271fa9f00 [WebUI] Add skip_checking and paused to /command/download and /command/upload 2017-03-31 14:05:19 +08: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
sledgehammer999
147f4d76e2 Merge pull request #6445 from Chocobo1/fix
Follow http user-agent format
2017-03-07 23:38:14 +02:00
sledgehammer999
5084c01c2b Merge pull request #5877 from dzmat/to_pull_request
locally banned IP list managment (Closes #1837 )
2017-03-07 23:14:20 +02:00
sledgehammer999
140187649d Merge pull request #6473 from FranciscoPombal/stats_webui
Implement statistics window in web UI
2017-03-07 22:51:57 +02:00
dzmat
59de1af31b implemented UI for managment of locally banned IP list (Closes #1837 ) 2017-03-06 19:40:34 +07:00
Chocobo1
cb1646be32 Prepend QBT_ for preprocessor variables 2017-03-06 13:41:58 +08:00
FranciscoPombal
1ce71fc63e Implement statistics window in web UI 2017-03-06 03:05:18 +00:00
sledgehammer999
fc49856857 Merge pull request #6391 from Chocobo1/cert
Allow QSsl::Ec as private key format
2017-03-06 01:22:09 +02:00
sledgehammer999
fa1149e1f2
Remove remnant of qt4 version checking. 2017-03-06 00:53:25 +02:00
Eugene Shalygin
008d7dbedc Raise minimal Qt version to 5.5.1 2017-03-05 22:24:59 +01:00
Eugene Shalygin
e64bb1de8c Drop Qt 4 support 2017-03-05 22:24:59 +01:00
sledgehammer999
922fec44d2 Merge pull request #6447 from buinsky/master
WebUI: Improve performance of updating 'progress' column
2017-03-05 14:46:30 +02:00
buinsky
b6c6b70915 Improve performance of updating 'progress' column 2017-03-04 12:19:36 +03:00
sledgehammer999
5c730f984d
Bump API_VERSION to 12. 2017-03-03 22:31:58 +02:00
Chocobo1
0fb3b18a8f
Utilize escapeHtml 2017-03-03 21:28:32 +02:00
Chocobo1
eba45a0b26
Cleanup 2017-03-03 21:28:29 +02:00
Chocobo1
7756dd80f3
[WebUI]: add X-XSS-Protection, X-Content-Type-Options, CSP header 2017-03-03 21:28:28 +02:00
ngosang
f5ad04766f
[WebUI] Avoid clickjacking attacks 2017-03-03 21:28:27 +02:00
sledgehammer999
31b69ae6f6
Update copyright year. 2017-03-03 21:26:38 +02:00
Chocobo1
759bf4d73d Allow to load/use ECDSA certificate in webUI.
Limit max read size
Improve messages in dialogs
Refactor
2017-02-17 12:23:51 +08:00
Chocobo1
511796f74e Replace rand() by a true uniform distribution generator 2017-02-16 12:21:26 +08:00
ngosang
e6e0ecfaea [Web UI] Fix category in torrent upload. Closes #6260 2017-01-22 14:20:48 +01:00
buinsky
484e021ca2 Avoid lags in firefox on resizing progress column 2017-01-21 16:37:34 +03:00
buinsky
741e0a08ea Remove 300px limit of column width 2017-01-21 16:21:46 +03:00
buinsky
7628490def Fix scrollbar covers menu item with long text 2017-01-21 15:57:02 +03:00
buinsky
d50a7778fe Implement resizable progress bar in "Done" column 2017-01-21 15:57:02 +03:00
buinsky
09cf93521f Follow project coding style. Issue #2192. 2017-01-21 15:57:02 +03:00
buinsky
e65a628bf9 Add a vertical separator between columns 2017-01-21 15:57:02 +03:00
buinsky
bdf736b7d7 Prevent text wrapping in menus 2017-01-21 15:57:02 +03:00
buinsky
3dfcd6db6a Make too tall menus scrollable 2017-01-21 15:57:02 +03:00
buinsky
134e4c1eb9 Add some missing columns to dynamic tables 2017-01-21 15:57:02 +03:00
buinsky
a087d146df Fix columns names 2017-01-21 15:57:02 +03:00
buinsky
3ac87f22cb Implement dynamic table columns hiding 2017-01-21 15:57:02 +03:00
buinsky
56b885995c Implement dynamic table columns reordering 2017-01-21 15:57:02 +03:00
buinsky
56c07704d8 Implement dynamic table columns resizing 2017-01-21 15:57:02 +03:00
buinsky
c765d8ebe2 Add tooltips to dynamic table header 2017-01-21 15:57:02 +03:00
buinsky
dd1959abfb Make torrent peers table scrollable horizontally 2017-01-21 15:57:02 +03:00
buinsky
b1c45901f0 Simplify dynamic table CSS styles 2017-01-21 15:57:01 +03:00
buinsky
7aadf644e0 Make torrents table scrollable horizontally 2017-01-21 11:19:43 +03:00
buinsky
afd4f89693 Rename variables in DynamicTable class 2017-01-21 11:19:42 +03:00
sledgehammer999
96f9984823
Fix preferences icon loading in WebUI. 2017-01-20 18:54:36 +02:00
Chocobo1
ca77a315d9 Fix download & upload icon too large on statusbar in webui 2017-01-20 14:04:32 +08:00
Chocobo1
35921c70fe Remove trailing spaces 2017-01-20 14:04:05 +08:00
sledgehammer999
dcab1da8ab Merge pull request #6138 from Chocobo1/stats2
Use the numbers from tracker scrape response
2017-01-19 11:49:47 +02:00
Chocobo1
ecd49148d0 Fix webUI used the wrong value. Closes #6232. 2017-01-19 13:17:39 +08:00
sledgehammer999
ba03fb30f3 Merge pull request #5987 from Chocobo1/temp_dir
Put temp files in .qBittorrent directory
2017-01-19 01:33:57 +02:00
sledgehammer999
a33ff12123 Merge pull request #6203 from okeatime/webui_proxy
Webui proxy_type bug fix
2017-01-18 19:15:50 +02:00
Eugene Shalygin
9bab229108 Adjust icons names to better fit FDO scheme
An icon theme may use variously styled icons for various types of UI
elements. For example, Breeze theme uses monochrome icons for actions
(toolbars) and statuses, but colourful for view contents. qBittorrent
was using icon names without putting attention to categories, creating
mix of styles in UI elements (i.e. the main toolbar).

This commit fixes icon names (and move some of them to theme) to avoid
this style mixes where possible.

Unfortunately, options dialog page icons for network and speed limits
are remained monochrome because there are no Breeze or Adwaita icons to
match.
2017-01-18 18:03:33 +01:00
Chocobo1
df274e6457 Fix statusIcon too large. Closes #6228. 2017-01-13 22:53:24 +08:00
Oke Atime
84fe40c492
Webui proxy_type bug fix 2017-01-05 18:43:54 +09:00
sledgehammer999
283511116e New translations: Icelandic, Latvian, Malay, Occitan, Uzbek
Also re-run lupdate.
2016-12-13 02:09:28 +02:00
sledgehammer999
0caf03130c Bump API_VERSION and API_VERSION_MIN to 11. 2016-12-12 22:11:06 +02:00
Chocobo1
cffa729ac5 Put temp files in .qBittorrent directory. Closes #4462. 2016-12-01 01:39:27 +08:00
Chocobo1
bb4e67684c QJson: update to 5e3b9b84b225f4612e09ef05aa6d8c23379e4e71 2016-11-04 01:33:25 +08:00
sledgehammer999
05f4270d01 WEBUI: Changed meaning of the value of the 'dl_limit', 'up_limit', 'alt_dl_limit' and 'alt_up_limit' tokens.
The value is expressed in bytes and not in KiB.
2016-11-01 18:25:36 +02:00
sledgehammer999
a5ae86512a Rename IP filtering functions and settings names. 2016-11-01 03:06:58 +02:00
sledgehammer999
124eddc68c Merge pull request #5342 from glassez/session
Optimize BitTorrent::Session settings applying
2016-11-01 03:02:29 +02:00
sledgehammer999
3ea81be2cc Merge pull request #5731 from thalieht/webui_port
Fix WEBUI port overflow
2016-09-13 23:54:01 +03:00
thalieht
6ec1c61b06 fix webui port overflow 2016-09-11 23:41:14 +03:00
Vladimir Golovnev (Glassez)
bb17d4a8dd Show type name in btjson.cpp@processMap assert
This may help to solve #5381
2016-06-20 16:08:10 +03:00
Vladimir Golovnev (Glassez)
b5fe749f0b Use new libtorrent-1.1 settings API 2016-06-20 08:30:02 +03: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
sledgehammer999
00b5d52eab Merge pull request #5227 from ngosang/addtrackers
[WebUI] Expose Add trackers feature
2016-05-23 16:53:45 -05: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
Ibrahim Tachijian
2cef805ab6 Add 'Added on' column in Webui. Closes #5145,#1092,#738 2016-05-10 15:23:24 +00:00
ngosang
30b52b9825 [WebUI] Expose Add trackers feature 2016-05-07 15:17:01 +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
Eugene Shalygin
f050f15a0c cmake: fix Qt resources linkage. Closes #5080
Qt resource is innitialized by a static object constructor (see
https://wiki.qt.io/QtResources). When we put resources into a static
library, the linker removes that static objects and thus the resources
themselves. To correct that we append resources to the main executable
sources list. This is done via custom function qbt_target_sources which
knows where to read the executable' name.
2016-04-17 01:06:24 +02:00
sledgehammer999
93d8cadaaf Bump API_VERSION and API_VERSION_MIN. 2016-03-29 23:15:11 +03:00
sledgehammer999
2f19594bef Merge pull request #4960 from ngosang/webui_minor
[WebUI] Add missing string
2016-03-21 07:58:58 -05:00
buinsky
d63f9e751d WebUI: Select category on right click 2016-03-16 13:17:07 +03:00
buinsky
fc077257d0 WebUI: Don't show several context menus at the same time 2016-03-16 13:17:07 +03:00
buinsky
d265d2e1a0 WebUI: Adjust context menu position 2016-03-16 13:17:07 +03:00
buinsky
ead592647a WebUI: Implement delete torrents by category 2016-03-16 13:17:07 +03:00
buinsky
2c24c0bfbf WebUI: Implement pause torrents by category 2016-03-16 13:17:07 +03:00
buinsky
f7833c9f0c WebUI: Implement start torrents by category 2016-03-16 13:17:07 +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
buinsky
a939fca4ac WebUI: Add empty context menu to categories filter 2016-03-16 13:17:07 +03:00
buinsky
d30a799b45 WebUI: Rename function updateCategoryFN to setCategoryFN 2016-03-16 13:17:07 +03:00
buinsky
c003229fcf WebUI: Refactor ContextMenu class 2016-03-16 13:17:07 +03:00
buinsky
dbf995480a WebUI: Change the order of the values of speed labels 2016-03-15 20:21:15 +03:00
ngosang
f53cc05f52 [WebUI] Add missing string 2016-03-15 15:50:10 +01:00
funkydude
268a5a95c8 Move some URLs overs to https 2016-03-14 17:01:51 +00:00
UnDifferential
f50a8d4f59 Support SSL certificate bundles. Issue #4896. 2016-03-05 14:10:28 -05:00
sledgehammer999
15ec515872 Merge pull request #4877 from evsh/cmake
add basic cmake support
2016-03-04 17:30:08 -06:00
Vladimir Golovnev (Glassez)
dd34663224 Implement Advanced Saving Management subsystem
Closes #4696
2016-03-04 19:59:53 +03:00
Eugene Shalygin
64daecb266 add basic cmake support 2016-02-29 12:53:43 +01:00
sledgehammer999
176d4780b5 Merge pull request #4746 from buinsky/WebUI_torrents_request
WebAPI: Add "Added on" and "Completion on" fields to query/torrents …
2016-02-04 15:32:14 -06:00
sledgehammer999
4a5f29b0d1 Merge pull request #4482 from glassez/savepath
Manage save path in one place
2016-02-04 15:16:26 -06:00
buinsky
b94a1b9fbe WebAPI: Add "Added on" and "Completion on" fields to query/torrents query response 2016-02-04 09:28:51 +03:00
sledgehammer999
6054e05e70 Merge pull request #4725 from ngosang/webui_css
[Web UI] Minor changes in CSS styles
2016-02-02 16:07:49 -06:00
Vladimir Golovnev (Glassez)
c57aaf0216 Create MagnetUri object from BC link or HASH string 2016-01-31 21:32:41 +03:00
ngosang
2ee43758d5 Check WebUI username and password length. Closes #4191 2016-01-31 19:18:45 +01:00
ngosang
9507e12ca7 [Web UI] Minor changes in CSS styles 2016-01-31 19:18:10 +01:00
sledgehammer999
53261cc0b2 Merge pull request #4677 from buinsky/WebUI_misc_fixes
WebUI: Misc fixes and improvements
2016-01-30 12:11:46 -06:00
sledgehammer999
c8a562b865 Merge pull request #3816 from ngosang/fix_last_piece
Download more pieces in "Download first and last pieces first" feature
2016-01-30 12:08:32 -06:00
ngosang
87dc9a4a18 [Web UI] Fix max_ratio precision. Closes #4707 2016-01-30 18:22:11 +01:00
ngosang
6b6411d06b Download more pieces in "Download first and last pieces first" feature 2016-01-30 03:11:14 +01:00
buinsky
c04f502863 WebUI: Submit the label in the new label dialog on pressing enter key 2016-01-29 18:02:36 +03:00
buinsky
3591a0cedd WebUI: Repair translation 2016-01-29 09:57:27 +03:00
buinsky
418734b0a3 WebUI: Fix JavaScript exception on WebUI load 2016-01-24 14:29:29 +03:00
sledgehammer999
de5381856d Merge pull request #4619 from buinsky/WebUI_fix
WebUI: Fix unnecessary updates of peers table
2016-01-20 13:16:24 -06:00
buinsky
cdb70a8c14 WebUI: Move style of dynamic table header to CSS 2016-01-20 15:16:40 +03:00
buinsky
b2839a6442 WebUI: Fix unnecessary updates of torrent peers table 2016-01-20 12:13:27 +03:00
sledgehammer999
1af8a1533e Bump Copyright year. 2016-01-19 01:46:01 +02:00
sledgehammer999
ab813df992 Bump WebUI API_VERSION and API_VERSION_MIN. 2016-01-19 01:31:39 +02:00
sledgehammer999
d3c38da04d Merge pull request #4565 from glassez/fixes
Fix some bugs (reported by Coverity Scan)
2016-01-17 16:18:40 -06:00
sledgehammer999
717759db29 Merge pull request #4566 from buinsky/WebUI_tabs
WebUI: Remember last opened tab
2016-01-17 11:50:23 -06:00
buinsky
e8789dcd02 WebUI: Remember last opened tab 2016-01-15 19:18:09 +03:00
Vladimir Golovnev (Glassez)
ea8acf3bbd Fix unitialized scalar field bugs 2016-01-15 09:44:10 +03:00
sledgehammer999
ca45d15424 Merge pull request #4526 from buinsky/WebUI_translation
WebUI: Repair translation
2016-01-13 17:10:07 -06: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
1fea2b3d8a Merge pull request #4286 from filipporig8/runparams
Update webui run program parameters
2016-01-11 10:14:56 -06:00
sledgehammer999
a17ca5382d Merge pull request #4538 from buinsky/WebUI_misc_fixes
WebUI: Miscellaneous fixes
2016-01-11 10:12:50 -06:00
sledgehammer999
2bcefe364f Merge pull request #4522 from buinsky/icons
Edit speed limits and upload ratio icons
2016-01-10 07:29:47 -06:00
buinsky
00e6e00e71 Edit speed limits and upload ratio icons 2016-01-10 16:24:34 +03:00
sledgehammer999
ca4bbdd02b Merge pull request #4528 from Chocobo1/pri_rename
Rename column header
2016-01-10 06:57:42 -06:00
buinsky
165ab473df WebUI: Fix torrent table context menu
Don't show "Limit download speed" menu item for downloaded torrents.
2016-01-10 12:11:54 +03:00
buinsky
a5e6cd256c WebUI: Fix deleting torrents
Fix possible showing "qBittorrent client is not reachable" message on
deleting torrents.
2016-01-10 12:03:46 +03:00
buinsky
f961fd6a7c WebUI: Repair translation 2016-01-09 12:04:27 +03:00
Chocobo1
9b031d2fae Rename column header 2016-01-08 22:18:41 +08:00
buinsky
486b65487f Move some styles into css 2016-01-07 10:07:50 +03:00
Naikel Aparicio
fa34f0efcc Implemented WebUI interface for the new Watched Folders feature 2016-01-03 22:08:55 +02:00
sledgehammer999
bc92f156c1 Improve the "Watch folders" UI. Closes #4300. 2016-01-03 22:08:55 +02:00
sledgehammer999
15652025d3 Update native names for Chinese locales. Closes #4381. 2016-01-02 18:55:36 +02:00
sledgehammer999
719e71264b Merge pull request #4282 from buinsky/master
WebUI: Show filtered torrents number
2015-12-28 17:23:49 -06:00
buinsky
2691bb1540 Fix paused, active and inactive filters 2015-12-27 09:22:45 +03:00
filipporig8
d3b47f45ab Update webui run program parameters 2015-12-24 14:43:28 +01:00
sledgehammer999
3e0f8a1e4e Bump WebUI API_VERSION. 2015-12-07 23:59:39 +02:00
buinsky
b10f04abbd WebUI: Show filtered torrents number 2015-12-07 23:27:45 +03:00
buinsky
05a2e5a92e Implement torrent peers table in WebUI 2015-12-06 22:21:28 +03:00
buinsky
00c765be1b Implement sync/torrent_peers request 2015-12-06 22:21:24 +03:00
buinsky
1e3a57ad92 Rename 'context_menu' variable to 'torrents_table_context_menu' 2015-12-06 22:07:44 +03:00
buinsky
805f0d4c90 Rename 'myTable' variable to 'torrentsTable' 2015-12-06 22:07:42 +03:00
buinsky
2275060022 Split the DynamicTable class into 2 classes 2015-12-06 22:07:39 +03:00
buinsky
c9b74c2742 Add seeds tab to WebUI 2015-12-06 22:07:37 +03:00
Vladimir Golovnev (Glassez)
9db93e5d8f Rename Core to Base (Closes #3733). 2015-12-06 14:27:00 +03:00
sledgehammer999
17ac4b90be Use simpler DEFINE for detecting Qt5 so moc will work too. 2015-12-05 22:20:49 +02: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
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
ngosang
40bdeb6c2d [WebUI] Change colors in selected filters and torrents. 2015-11-09 03:38:37 +01:00
sledgehammer999
0b68c2356c Merge pull request #4111 from dpeukert/master
WebUI: Change selected color
2015-11-23 10:18:03 -06:00
sledgehammer999
3e6d76245c Bump WebUI API_VERSION. 2015-11-22 22:08:16 +02:00
sledgehammer999
18f3517efa New translation: Esperanto
Also re-run lupdate.
2015-11-22 22:08:10 +02:00
sledgehammer999
5b232528cc Fixup previous commit. 2015-11-16 02:58:41 +02:00
dsimakov
1f17a7836d 1. In option window add column 'download path' for watched folders and enlarge heigth.
2. Change logic checkbox in column 'download here': if it checked,
   then torrent file will download to watchdir, if state is unchecked,
   will be use download path from next column.
2015-11-16 02:45:23 +02:00
Daniel Peukert
3901f1555d WebUI: Change selected color
The selected color was little bit too close to the progress bar color.
2015-11-14 00:23:33 +01:00
ngosang
e0be09dd81 [WebUI] Patch mootools-more to fix IPv6 problem. Closes #3621 2015-11-09 01:57:40 +01:00
sledgehammer999
472fff06dc Merge pull request #3984 from glassez/root_path
Fix TorrentHandle path methods. Closes #3847.
2015-11-06 16:03:48 -06:00
sledgehammer999
4cecb585bc Merge pull request #3444 from ngosang/webui_labels
[Web UI] Labels implementation
2015-11-03 16:31:05 -06:00
sledgehammer999
f7f23d2ae9 Merge pull request #3809 from ngosang/webui_optim
[Web UI] Code cleanup and little change in contextual menu
2015-11-01 17:38:55 -06:00
Vladimir Golovnev (Glassez)
501ab07024 Fix TorrentHandle path methods. Closes #3847. 2015-11-01 17:09:09 +03:00
Vladimir Golovnev (Glassez)
52db762677 Cast MaxRatioAction to int when store as JSON. Closes #3939. 2015-10-19 21:14:41 +03:00
sledgehammer999
8d025949d9 Merge pull request #3838 from glassez/wswitch
Fix compiler warnings (Closes #3826).
2015-10-10 13:01:27 -05:00
sledgehammer999
e39f8fafb1 Bump WebUI API_VERSION. 2015-10-09 16:46:20 +03:00
sledgehammer999
19ad58c394 Merge pull request #3685 from glassez/cpp11
Add C++11 support.
2015-10-05 11:53:42 -05:00
sledgehammer999
b9a061680d Fix broken donation link. Closes #3771. 2015-10-04 22:26:56 +03:00
Vladimir Golovnev (Glassez)
d2f1216987 Fix compiler warnings (Closes #3826). 2015-09-21 11:45:40 +03:00
Vladimir Golovnev (Glassez)
b519700e33 Use c++11 enum classes instead of macros. 2015-09-18 08:33:22 +03:00
ngosang
e922275c72 [Web UI] Clean up JavaScript code 2015-09-17 17:48:38 +02:00
ngosang
52ff53b0b0 [Web UI] Reorder "Super seeding mode" option in right click menu 2015-09-17 17:22:09 +02:00
Casey Bodley
87b26a8dcc webui: add save_path to /query/torrents
Signed-off-by: Casey Bodley <cbodley@gmail.com>
2015-09-07 16:25:07 -04: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
Gabriele
5cc5552d9b Use infinity symbol rather than -1 for nb_connections 2015-09-02 23:34:17 +02:00
Gabriele
42c74f9553 Avoid concatenation when dealing with translatable strings
Concatenation could be problematic with RTL languages.
2015-09-02 23:34:17 +02:00
sledgehammer999
735b1cc6b9 Merge pull request #3470 from ngosang/reorder_buttons
Change Queue buttons order in the Toolbar (GUI & Web UI)
2015-08-30 07:10:20 -05:00
Chocobo1
cf3a87ed55 Use native path separators, fixup of 030dd9e, 3baec1c. 2015-08-29 14:17:21 +08:00
sledgehammer999
2ec1d9e39e New translation: Slovenian
Also re-run lupdate.
2015-08-04 19:14:02 +03:00
sledgehammer999
6985b553af Merge pull request #3494 from glassez/drop_libtorrent_0
Drop libtorrent 0.16.x support.
2015-07-29 22:15:45 +03:00
sledgehammer999
4f2d74f793 Merge pull request #3374 from ngosang/webui_info
[Web UI] Add information in General tab
2015-07-28 03:03:45 +03:00
ngosang
e33570625f [Web UI] Fix friendlyUnit() implementation. Related to #2719 2015-07-26 14:31:11 +02:00
ngosang
2132704e1d [Web UI] Add information in General tab 2015-07-26 14:27:59 +02:00
sledgehammer999
626a3b10d3 [webui] Fix ugly 'C++' wrapping in About dialog. 2015-07-26 00:35:04 +03:00
Vladimir Golovnev (Glassez)
e72cc4eaf9 Drop libtorrent 0.16.x support. 2015-07-25 19:00:18 +03:00
sledgehammer999
f9dc76928c Merge pull request #3467 from ngosang/webui_refresh
[Web UI] Massive increase in performance.
2015-07-23 01:17:57 +03:00
ngosang
03f86a71de Change Queue buttons order in the Toolbar (GUI & Web UI) 2015-07-20 04:44:29 +02:00
ngosang
2db942e606 [Web UI] Massive increase in performance. 2015-07-20 02:13:44 +02:00
sledgehammer999
f21cafb605 Merge pull request #3410 from ngosang/preview
Minor changes in the GUI (Preview file & Forece Resume)
2015-07-20 02:46:40 +03:00
sledgehammer999
783f17ec4d Merge pull request #3456 from Chocobo1/localhost
Fix translated localhost address (::ffff:127.0.0.1) is not recognized
2015-07-19 19:37:59 +03:00
sledgehammer999
2de5390c08 Merge pull request #3433 from ngosang/webui_extlinks
[Web UI] Open external links in a new window/tab
2015-07-19 18:57:59 +03:00
sledgehammer999
bfaa0789f0 Merge pull request #3428 from ngosang/webui_queuenum
[Web UI] Fix sort by queue number
2015-07-19 18:52:18 +03:00
Chocobo1
8bb2e98b90 Fix localhost address (::ffff:127.0.0.1) is not recognized when connecting to WebUI 2015-07-19 14:48:58 +08:00
ngosang
1f4d01e512 [Web UI] Changes in Force Resume icon and menu order 2015-07-15 23:12:12 +02:00
ngosang
0fe99fe10f [Web UI] Open external links in a new window/tab 2015-07-14 12:16:01 +02:00
ngosang
10bba1a632 [Web UI] Fix sort by queue number 2015-07-14 01:48:05 +02:00
sledgehammer999
bf13238ccf Merge pull request #3385 from ngosang/webui_addtracker
[Web UI] Fix empty trackers addition
2015-07-13 23:37:14 +03:00
sledgehammer999
5b56717501 Merge pull request #3394 from ngosang/json3
[Web UI] Fix API Content Types. Closes #3393
2015-07-13 23:36:34 +03:00
ngosang
ac74f14408 Increase API_VERSION 2015-07-12 23:08:43 +02:00
ngosang
3a44b94cc7 [Web UI] New option Web UI port UPNP. Closes #3358 2015-07-12 23:07:49 +02:00
sledgehammer999
365d039209 Merge pull request #3386 from ngosang/webuibug
[Web UI] Fix an error in Content tab when the torrent doesn't have me…
2015-07-12 14:39:13 +03:00
sledgehammer999
40c9727cb9 Merge pull request #3383 from ngosang/webui_port
[Web UI] Ports between 1 and 65535 as in the GUI. Closes #1602
2015-07-12 14:33:39 +03:00
ngosang
6413537f45 [Web UI] Fix API Content Types. Closes #3393 2015-07-12 01:29:03 +02:00
ngosang
47c31c8b03 [Web UI] Ports between 1 and 65535 as in the GUI. Closes #1602 2015-07-12 01:24:34 +02:00
ngosang
f0d32e2cde [Web UI] Torrent download from hash. Closes #1173 2015-07-12 01:21:09 +02:00
ngosang
62b803e268 [Web UI] Fix empty trackers addition 2015-07-11 15:35:53 +02:00
ngosang
9ea56ea5d4 [Web UI] Fix an error in Content tab when the torrent doesn't have metadata 2015-07-09 18:11:04 +02:00
ngosang
0ed8ea9599 [Web UI] Additional checks in Options dialog 2015-07-08 09:53:01 +02:00
ngosang
d9ef7c1b32 [Web UI] Reorder Options dialog code 2015-07-08 09:06:41 +02:00
ngosang
357334fb46 [Web UI] Fix alternative global rate limits. 2015-07-08 06:47:59 +02:00
ngosang
768e87b0da [Web UI] Fix missing torrent states. 2015-07-04 01:04:10 +02:00
sledgehammer999
14187978c0 Update Chinese locale names for WebUI too. 2015-07-03 22:52:08 +03:00
sledgehammer999
61705fdd42 Partially revert fb7ba92f6 and split the Chinese locales into 3.
Chinese Simplified, Chinese Traditional(Taiwan), Chinese Traditional(Hong Kong).
Closes #3262.
2015-07-03 22:20:32 +03:00
ngosang
e6f2926ccd [Web UI] Don't update the tabs if tab's panel is collapsed 2015-06-28 16:36:46 +02:00
ngosang
263d45ca9d [Web UI] Use camelCase in variable names 2015-06-28 16:36:46 +02:00
ngosang
8e4b9f30bb [Web UI] Add Web Seeds (HTTP Sources) tab 2015-06-28 16:36:45 +02:00
ngosang
3ac9b2525e Increase API_VERSION due to changes in #3279, #3197, #3226 and #3040 2015-06-28 13:33:56 +02:00
ngosang
831b47b8f9 [Web UI] Add new options 2015-06-28 13:33:51 +02:00
ngosang
ff10eafcbc Follow project coding style. Issue #2192. 2015-06-28 13:32:57 +02:00
ngosang
973518694e [Web UI] Tabs indentation replaced with spaces 2015-06-20 18:18:36 +02:00
ngosang
d6caf1c839 [Web UI] Reorder the tabs/groups in Options window 2015-06-20 18:04:23 +02:00
ngosang
6f7dca1f83 [Web UI] Option to hide Top Toolbar 2015-06-20 18:04:18 +02:00
ngosang
bbc667cb78 [Web UI] Changes in menus to keep the client's style 2015-06-20 17:36:13 +02:00
sledgehammer999
75fecf9645 Merge pull request #3226 from ngosang/webui_dhtport
[Web UI] Remove DHT port setting. Closes #3225
2015-06-18 23:37:53 +03:00
sledgehammer999
fb7ba92f69 Rename Chinese translation files. Closes #2936. 2015-06-17 23:06:08 +03:00
sledgehammer999
c259666e43 Merge pull request #2803 from Chocobo1/shutdown
WebUI: add delay in shutdown command in order to send out response msg
2015-06-17 22:58:49 +03:00
ngosang
8340abbe63 [Web UI] Remove DHT port setting. Closes #3225 2015-06-15 11:00:36 +02:00
sledgehammer999
a2c48646ae New translation: Indonesian. 2015-06-14 23:43:21 +03:00
sledgehammer999
9ee67364c2 Merge pull request #3209 from ngosang/minor_fixes
Code clean up
2015-06-14 11:40:41 +03:00
ngosang
4a76526417 Code clean up
This changes were proposed by @PiotrNawrot in these PRs: #2967, #2970.
2015-06-14 10:35:32 +02:00
dartraiden
8ac83cfd42 Fixed typos, spelling correction 2015-06-14 10:55:46 +03:00
ngosang
e01a61d816 changes in typography 2015-06-13 20:04:20 +02:00
Vladimir Golovnev (Glassez)
191cdc2849 Move utilities to core/utils folder.
Also move the names to Utils namespace.
2015-06-09 21:30:56 +03:00
Vladimir Golovnev (Glassez)
427688cb34 Remove unused sources. 2015-06-09 21:30:53 +03:00
Vladimir Golovnev (Glassez)
d16d1fdb3a Redesign main core classes. 2015-06-09 21:30:42 +03:00
Vladimir Golovnev (Glassez)
d32bb52390 Don't add core to INCLUDEPATH. 2015-06-03 22:11:43 +03:00
Vladimir Golovnev (Glassez)
4b5e7e6168 Move network related code to core/net. 2015-06-03 22:11:41 +03:00
sledgehammer999
17cba898e9 Merge pull request #3005 from ngosang/wasted
Web UI: Display wasted data with friendly units. Closes #2994
2015-06-01 16:03:59 +03:00
sledgehammer999
736f20538d Merge pull request #3040 from ngosang/webui_global_slot
Web UI: New config - Global maximum number of upload slots. Closes #2997
2015-06-01 15:57:44 +03:00
sledgehammer999
6cee7483ba Merge pull request #3041 from ngosang/webui_fix_torrentinfo
Web UI: Fix Max connections and Time active in transfer panel. Closes #2993
2015-06-01 15:26:50 +03:00
ngosang
7129ad47f4 Web UI: Minor changes in style 2015-05-23 22:18:52 +02:00
ngosang
dcdb319653 Web UI: Complete translatable strings 2015-05-23 20:35:25 +02:00
ngosang
c5ce99ebec Web UI: Changes in title bar 2015-05-23 19:20:04 +02:00
sledgehammer999
2c1d76c87f Merge pull request #3027 from ngosang/fix_webui_all
Web UI: Fix resumeAll and pauseAll. Closes #3016
2015-05-17 18:44:11 +03:00
ngosang
8b06f72a94 Web UI: Fix Max connections and Time active in transfer information 2015-05-17 15:47:37 +02:00
ngosang
2e05777dc5 Web UI: New config - Global maximum number of upload slots 2015-05-17 14:40:34 +02:00
ngosang
dd71355e8a Web UI: Fix login and logout relative URLs 2015-05-17 13:48:06 +02:00
ngosang
a90ec4cce7 Web UI: Fix resumeAll and pauseAll. Closes #3016 2015-05-15 22:49:03 +02:00
ngosang
de3c84bd0b Web UI: Display wasted data with friendly units. Closes #2994 2015-05-14 13:35:48 +02:00
sledgehammer999
88237fbd1e Update Copyright year. 2015-05-13 23:23:53 +03:00
sledgehammer999
d14805d065 Merge pull request #2863 from racam/master
login.html escape quotes + add qbittorrent-nox to gitignore + bug with startup info with qbittorrent-nox
2015-05-02 23:09:10 +03:00
racam
d7ac142885 Enhancement of the webui preference and of the quote escape for javascript 2015-05-01 21:59:36 +02:00
Gabriele
8017680055 WebUI: create a new session for each user
Closes #2919.
2015-04-29 16:13:43 +02:00
sledgehammer999
167d20083d Merge pull request #2875 from pmzqla/qvarianthash
WebUI: Convert torrent list from QVariantHash to QVariantMap
2015-04-28 22:10:19 +03:00
Gabriele
b5b40abb56 WebUI: Implement 'Force Start' feature. 2015-04-16 18:32:31 +02:00
Gabriele
fff1436e26 WebUI: Convert torrent list from QVariantHash to QVariantMap
Currently QJsonDocument::fromVariant() does not support QVariantHash,
so convert the torrent list to QVariantMap.

Closes #2849.
2015-04-14 20:36:25 +02:00
sledgehammer999
4493fd9c31 Allow to use system QJson. Closes #1744. 2015-04-12 14:01:32 +03:00
sledgehammer999
3c58b0cc9a Revert "WebUI: Use QVariantMap instead of QVariantHash"
This reverts commit d49c79d032.
2015-04-11 12:43:22 +03:00
Gabriele
d49c79d032 WebUI: Use QVariantMap instead of QVariantHash
Currently QJsonDocument::fromVariant() does not support QVariantHash,
so use QVariantMap instead.

Closes #2849.
2015-04-10 13:17:23 +02:00
Gabriele
6e91a108bd WebUI: Check if torrent queueing is enabled before changing torrent priorities 2015-04-03 18:02:39 +02:00
sledgehammer999
3294d895a1 Merge pull request #2652 from pmzqla/content-table
WebUI: changes to torrent file list
2015-04-02 11:53:19 +03:00
Chocobo1
1037d7f335 Webui: add delay in shutdown command in order to send out response msg 2015-03-30 13:50:53 +08:00
sledgehammer999
25afb8a338 New translation: Hindi(India). 2015-03-29 21:09:18 +03:00
Gabriele
e3a5ba09c4 WebUI: Implement a 'Completed' status 2015-03-29 18:00:59 +02:00
sledgehammer999
96d7bfb4ad Update the UI when trackers or Url seeds are added either via the WebUI or via merging duplicate torrents. 2015-03-28 16:53:36 +02:00
Gabriele
1e4d11801e WebUI: Add title attribute to filename cells in content tab
This will show the entire file path in a tooltip. This is useful
especially since bb1649a797 ("WebUI: return full paths to files).
2015-03-04 22:25:43 +01:00
Gabriele
dd112c1e1b WebUI: Simplify the code for the update of the content table 2015-03-04 22:25:26 +01:00
Gabriele
4db757839c WebUI: Return full path to files
It's otherwise impossible to know the structure of a torrent.
2015-03-04 20:03:46 +01:00
sledgehammer999
ac1e66fc71 Merge pull request #2490 from pmzqla/webui-checkbox
WebUI: Fix checkboxes of the watched folder list in the preferences
2015-02-12 16:07:53 +02:00
sledgehammer999
3b677053c7 Merge pull request #2487 from pmzqla/webui-negativeoffset
WebUI: Fix negative offsets when requesting torrent list
2015-02-12 16:06:29 +02:00
sledgehammer999
58c9a094f4 Merge pull request #2486 from pmzqla/webui-title
WebUI: Update browser title even with no transfer going on
2015-02-12 16:06:08 +02:00
buinsky
902db2b938 Group setting torrents download limit 2015-02-10 14:25:08 +03:00
buinsky
cf55751fbe Group setting torrents upload limit 2015-02-10 14:25:06 +03:00
buinsky
facab1681a Add ability to set super seeding mode for torrents 2015-02-10 14:25:04 +03:00
buinsky
28f573e9a8 Fix processHash function
Fix processHash function to not use QVariantHash as result because of QJsonDocument doesn't support QVariantHash variables in Qt 5.
2015-02-10 14:25:01 +03:00
buinsky
8931eec5b0 Use server refresh interval
Use torrents table refresh interval from server in web-client.
2015-02-10 14:24:59 +03:00