Gabriele
b46ecb4351
WebUI: Decrease frequency of updates of property panel
...
Now that the properties are loaded immediately when the selected torrent
or the property tab is changed, the frequency of the updates can be
reduced without affecting the user experience.
New update intervals:
* General: 5 seconds (10 if qBT is not reachable)
* Tracker list: 10 seconds (20 if qBT is not reachable)
* File list: 5 seconds (10 if qBT is not reachable)
2014-12-11 00:02:11 +01:00
Gabriele
ac507261f8
WebUI: Remove extra parethesis
2014-12-11 00:02:11 +01:00
Gabriele
408cc7101e
WebUI: Update torrent properties immediately
...
Don't wait for new data to be fetched, request them as soon as
they are required, i.e. when a property tab is loaded or when a
different torrent is selected.
2014-12-11 00:02:09 +01:00
Gabriele
c54271638b
WebUI: Load properties tabs once
...
Don't reload HTML on tab change. Load the entire structure once and
keep the unused bits hidden.
Keep also the JS code separately, one file per tab.
NOTE: tabs content is not loaded. This will be fixed in the next commit.
2014-12-11 00:00:35 +01:00
Gabriele
cb9ed13d69
WebUI: Fix minor error
...
No timer is set when the functions are directly called.
2014-12-11 00:00:35 +01:00
Gabriele
d06d7b1f6d
WebUI: MochaUI: Show entire error message
2014-12-11 00:00:35 +01:00
Gabriele
aded5422d8
WebUI: MochaUI: Check for undefined functions
2014-12-11 00:00:35 +01:00
sledgehammer999
6884845446
Ensure that the priority column has enough width when queueing is enabled. Closes #2263 .
2014-12-11 00:04:33 +02:00
Gabriele
d055613125
WebUI: Make column width less variable in transferlist
...
Each column has a fixed width that allows to read its content.
The column for the name of the torrents has a variable width with an
upper and a lower constraint.
If the width of the page is not sufficient to fit the table, a scrollbar
will appear.
2014-12-10 21:56:37 +01:00
Gabriele
5fb32da49f
WebUI: Center progressbars in trasferlist
2014-12-10 21:56:33 +01:00
Gabriele
0a512e41c9
WebUI: Select username on login page load
...
On logout, the input field is not empty. Select its content.
2014-12-10 21:56:27 +01:00
Gabriele
57e9165bb4
WebUI: Translate page title everywhere
2014-12-10 21:56:06 +01:00
sledgehammer999
1820a03f1d
Merge pull request #2254 from buinsky/master
...
WebUI: Some changes
2014-12-10 22:50:35 +02:00
sledgehammer999
7e16094ac6
Merge pull request #2268 from pmzqla/file-ext
...
Ignore .!qB when extracting file extensions
2014-12-10 22:19:20 +02:00
buinsky
2c93330ce9
Add space before priority menu item
2014-12-10 06:45:24 +03:00
buinsky
76e30ecf78
Dynamically show 'Start' and 'Pause' menu items
2014-12-10 06:44:41 +03:00
buinsky
2a712a81ea
Add sequential downloading menu items
2014-12-10 04:50:39 +03:00
buinsky
6644791458
Follow project coding style. Issue #2192 .
2014-12-10 04:50:21 +03:00
buinsky
44992056cf
Restore selected filter on page load
2014-12-09 23:49:11 +03:00
buinsky
5b604ac251
Save torrent list sort order in local storage
2014-12-09 23:49:09 +03:00
buinsky
b4f39add08
Update torrent list after operations with torrents.
...
Immediately update torrent list after some operations with torrents.
Such as changing priority, adding torrent, pause/resume, etc.
2014-12-09 23:49:07 +03:00
buinsky
e8ad465c5f
Follow project coding style. Issue #2192 .
2014-12-09 23:49:05 +03:00
buinsky
57a4f3ed19
Hide priority menu items when queueing is disabled
2014-12-09 23:48:45 +03:00
Gabriele
2389495d96
Ignore .!qB when extracting file extensions
2014-12-09 21:32:26 +01:00
buinsky
28fad54cc4
Add higest and lowest priority icons into toolbar
2014-12-08 00:33:38 +03:00
buinsky
69506ec505
Follow project coding style. Issue #2192 .
2014-12-08 00:14:55 +03:00
buinsky
ba40408c8d
Images cache control code edit
2014-12-07 23:50:06 +03:00
buinsky
dbc5ffee75
Follow project coding style. Issue #2192 .
2014-12-07 23:33:36 +03:00
sledgehammer999
513f71e000
Sync translations from Transifex and run lupdate.
2014-12-07 22:01:37 +02:00
sledgehammer999
dcfe95f04b
Merge pull request #2224 from pmzqla/webui-updates
...
WebUI changes
2014-12-07 17:23:54 +02:00
Gabriele
0b6d5c662a
WebUI: Use CSS to alternate row colors in transferlist
...
Keep the old code for IE < 9, the majority of the browsers
shouldn't need it.
Also, keep the CSS code in one place.
2014-12-07 15:53:33 +01:00
Gabriele
8a4028fc84
WebUI: Remove unused variable
2014-12-07 15:53:33 +01:00
Gabriele
d7071a81bd
WebUI: Keep current preference for the title style in a variable
...
Read persistent value only when required.
2014-12-07 15:53:33 +01:00
Gabriele
6ee1c8851f
WebUI: Update title immediately when showing/hiding rates
2014-12-07 15:53:33 +01:00
Gabriele
2226f166ac
WebUI: Fix increasing frequency of XHR requests
...
ajaxfn() is called every time the torrent list is filtered. This function
calls itself after a predefined amount of time by setting a timer. If
the function is called manually without destroying the timer, the
frequency of the XHR requests will increase.
Fix this by saving a reference to each timer that is created so that
they can be later destroyed.
Add also two helper functions to request updated data safely.
2014-12-07 15:53:33 +01:00
Gabriele
aab2c34257
Follow project coding style. Issue #2192 .
2014-12-07 15:53:28 +01:00
sledgehammer999
3672363207
Merge pull request #2191 from glassez/webui
...
WebUI: Implement server-side filtering, sorting and limit/offset.
2014-12-07 15:42:01 +02:00
sledgehammer999
14d27d982d
Fix compilation with libtorrent 0.16.x.
2014-12-07 15:28:55 +02:00
Vladimir Golovnev (Glassez)
0e87b96beb
WebUI: Drop client-side sorting.
2014-12-07 16:28:03 +03:00
Vladimir Golovnev (Glassez)
e279dcf904
WebUI: Implement limit/offset.
2014-12-07 16:28:01 +03:00
Vladimir Golovnev (Glassez)
59ff08c107
WebUI: Implement server-side sorting.
2014-12-07 16:27:59 +03:00
Vladimir Golovnev (Glassez)
8ff03d162d
WebUI: Fix transferlist.html indentation.
2014-12-07 16:27:56 +03:00
Vladimir Golovnev (Glassez)
d938643c38
WebUI: Drop client-side filtering.
2014-12-07 16:27:54 +03:00
Vladimir Golovnev (Glassez)
0488ddafa5
WebUI: Fix indentation.
...
Fix indentation in client.js and dynamicTable.js.
2014-12-07 16:25:52 +03:00
Vladimir Golovnev (Glassez)
1a1db877bf
Use QTorrentHandle::torrentState() in btjson.
2014-12-07 16:13:39 +03:00
Vladimir Golovnev (Glassez)
5edf0e251f
WebUI: Implement server-side torrent filtering.
2014-12-07 16:13:37 +03:00
Vladimir Golovnev (Glassez)
e887f574d7
Implement QTorrentHandle torrentState() and eta().
2014-12-07 16:13:33 +03:00
Vladimir Golovnev (Glassez)
c24610ec80
WebUI: Improve btjson.* indentation.
2014-12-07 16:13:32 +03:00
sledgehammer999
78d4258dac
Remove unused variable.
2014-12-07 15:09:56 +02:00
sledgehammer999
cd52d1820d
Show reason why a peer was blocked. Needs libtorrent 1.0.x.
2014-12-07 15:09:16 +02:00