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