Commit Graph

252 Commits

Author SHA1 Message Date
Nils Maier
2b584f2fe1 Improve filters display...
and do not hide filters, ever.
2014-05-24 16:55:42 +02:00
Nils Maier
12fb096a5b Use different color for upload speed 2014-05-24 16:55:41 +02:00
Nils Maier
7eec859d49 Do not remove stuff from lists...
next update will take care of that. Not removing will avoid re-insertion
if aria2/RPC did not yet remove the item before the next update.
2014-05-24 16:55:41 +02:00
Nils Maier
e4326a4394 Persist category filters 2014-05-24 16:55:41 +02:00
Nils Maier
8b5b465231 Confirm removal of downloads 2014-05-24 16:55:41 +02:00
Nils Maier
5d1af829fd Link metadata with the actual downloads 2014-05-24 16:55:41 +02:00
Nils Maier
7ca141a41f Waiting downloads should be pausable 2014-05-16 01:17:26 +02:00
Nils Maier
00799bc6f6 Use ng-switch instead of ng-show for some stuff (perf)
ng-switch does not actually generate and insert DOM nodes when
unswitched while ng-show=false does. This improves performance quite a
bit, but sacrifices collapsed animations (although this would be
fixable).
2014-05-16 01:17:26 +02:00
Nils Maier
1ee0a95d76 Do not use [METADATA] label, but an icon 2014-05-16 01:17:26 +02:00
Nils Maier
2712b236ba Allow to filter for running downloads
i.e. downloads with some speed.
2014-05-15 09:39:24 +02:00
Nils Maier
f859a0f806 Do not autocomplete search box 2014-05-15 09:39:24 +02:00
Nils Maier
5f515bf56b More pagesize 2014-05-15 09:39:23 +02:00
hamza zia
e733e0043d Merge pull request #86 from felixphew/patch-1
Fixed code formatting
2014-03-23 21:11:30 +08:00
hamza zia
534218f0e1 Merge pull request #87 from robbielj/patch-2
Clean up a placeholder character which may prevent webui from loading normally
2014-03-23 21:10:56 +08:00
robbielj
8b5abe1439 Update download.js 2014-03-14 15:49:25 +01:00
robbielj
809591bd62 Update download.js 2014-03-14 14:01:14 +01:00
robbielj
e129e7c034 Update rpc.js 2014-03-14 13:59:12 +01:00
robbielj
59c66a211a Update utils.js 2014-03-14 13:57:57 +01:00
robbielj
9e0673f077 Update bytes.js 2014-03-14 13:55:18 +01:00
robbielj
c290e3f913 Update dgraph.js 2014-03-14 13:52:51 +01:00
felixphew
e1927ec428 Fixed code formatting 2014-03-09 09:01:53 +11:00
hamza zia
c129b53b13 Merge pull request #85 from nmaier/my-improvs
various performance and UX improvements
2014-03-02 17:48:38 +08:00
Nils Maier
65be558722 Fix overflow issues
By making fields potentially wide again
2014-02-28 13:30:45 +01:00
Nils Maier
37a8307027 IE compat 2014-02-28 13:30:45 +01:00
Nils Maier
f816ab853f Safari compat 2014-02-28 13:30:45 +01:00
Nils Maier
09eba68e41 Display the full download.relpath as name. 2014-02-28 13:30:44 +01:00
Nils Maier
499e1caa24 Style Quick Access save button 2014-02-28 13:30:44 +01:00
Nils Maier
6027005616 Use angular-ui pagination 2014-02-28 13:30:44 +01:00
Nils Maier
a773d03dc4 Right-float the main download graph 2014-02-28 13:30:44 +01:00
Nils Maier
8eed4e162f More quick-access stuff to the bottom. 2014-02-28 13:30:44 +01:00
Nils Maier
aa147cc93f Rewrite search 2014-02-28 13:30:44 +01:00
Nils Maier
753e80936c Hide dgraph on phones 2014-02-28 13:30:44 +01:00
Nils Maier
38a413e95b Performance improvements
* Pre-compute name, formatted sizes and speeds.
* Handle name edge-cases such as no-path and no-uris better.
* Unroll getCtx.
* Improve performance of mergeMap.
* Delay the search filter.

As indicated by Chrome/Gecko profilers.
2014-02-28 13:30:44 +01:00
Nils Maier
4ab27fb503 Pimp the speed graphs
- Upgrade jquery-flot.
- Disable actual local time.
- Use colors more in line with the current theme.
- Scale the y-axis (bytes) ticks.
2014-02-28 13:05:24 +01:00
Nils Maier
55dea0f0dd Pimp pagination
* Better active color
* Prev/Next items
2014-02-28 13:05:24 +01:00
Nils Maier
0f4ddbd155 Improve bytes formatting.
Also may or may not perform a bit better. Most likely the former.
2014-02-28 13:05:24 +01:00
Nils Maier
09120284c5 Cache relative paths instead of using an angular filter.
This will improve the performance a lot. First load performance may
suffer a bit, though.

Also, the leading "./" is skipped now, as this causes additional string
ops, which turn out to be particularly harmful in some cases (slots vs
heaps aka. shortstrings in spidermonkey, allocation overhead). And the
leading "./" is not really required anymore.
2014-02-28 13:05:24 +01:00
Nils Maier
89005aa168 Re-style
* Fix alignment issues
* Use fixed width for label
* Iconize labels
* Colorize speeds
* Simplifications
* Re-arragements
2014-02-28 13:05:24 +01:00
Nils Maier
c22cd3c28c Improve alert messages a bit 2014-02-28 12:25:23 +01:00
Nils Maier
dc9bd97eb4 Upgrade Libraries.
* Latest JQuery 2.x
* Latest angular
* Last 2.x bootstrap
* Last 3.x font-awesome
* Last compatible angular-bootstrap UI (0.8)

This fixes some nasty display issues, such as items starting out at
uncollapsed, to be immediately collapsed after the load.

Also it seems to improve performance a bit in certain areas, while
performance regressions in other areas are neglectable.
2014-02-28 12:25:23 +01:00
hamza zia
6dbacaeac1 Merge pull request #82 from nmaier/perf-fixes
Fix Upload* display
2014-02-21 04:00:37 +08:00
Nils Maier
603ad30040 Fix Upload* display 2014-02-20 20:56:51 +01:00
hamza zia
97271eabbc Merge pull request #81 from nmaier/perf
Improve ngWatch time significantly
2014-02-21 00:03:20 +08:00
hamza zia
20f223a34c Merge pull request #79 from fviard/master
Moved miscallenous info out of the main page. Added "server info" and "a...
2014-02-21 00:00:48 +08:00
Nils Maier
71d66758e0 Improve ngWatch time significantly
Angular uses dirty-checking for data-bindings. This is OK for POD types,
but when it comes to objects, incl. arrays, just stuffing in the new
array without checking for changed content will make angular think
something has changed and update the DOM when there really was no change
at all. So do not blindly copy over objects and arrays anymore.

Also, since webui-aria2 does not use all `bittorrent` and `file` fields,
there is no point in keeping all fields around, causing unnecessary
angular invalidations.

With this commit, the update code runs in about 1/10th of the time it
did before on my system (Chrome/Firefox) when using displaying many
torrent downloads with many files.
2014-02-20 08:20:01 +01:00
Florent Viard
d3d9b6fd42 Re-organization of the main page: mini graph is on top of download list (one click on it to enlarge / reduce it) + fixed message when nothing on download list. 2014-02-18 01:10:45 +01:00
Florent Viard
b1da2b0a84 Moved miscallenous info out of the main page. Added "server info" and "about" modals as settings sub-menus. 2014-02-17 01:13:25 +01:00
hamza zia
9297fcac35 Merge pull request #78 from fviard/master
Improve UI by having larger modal windows for all modals except torrent ...
2014-02-16 17:04:28 +08:00
Florent Viard
e006e06507 Improve UI by having larger modal windows for all modals except torrent and metalink windows.
+ Show the tip in top of fields in modals.
2014-02-15 20:37:04 +01:00
hamza zia
447f60c875 Merge pull request #77 from nmaier/race
Fix subscriptions race.
2014-01-09 04:08:43 -08:00