Commit Graph

39 Commits

Author SHA1 Message Date
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
Nils Maier
09eba68e41 Display the full download.relpath as name. 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
aa147cc93f Rewrite search 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
55dea0f0dd Pimp pagination
* Better active color
* Prev/Next items
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
603ad30040 Fix Upload* display 2014-02-20 20:56:51 +01: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
sskaje
58fb00f9fd case insensitive download filter 2013-08-02 22:12:10 +08:00
hamza zia
047e7d8b98 added page title for notifications if pinned as app tab in a modern browser 2013-07-17 16:10:24 +02:00
hamza zia
d272f1d086 feature detection for compiled support for bittorrent and metalinks added 2013-03-20 08:45:28 +01:00
hamza zia
80581ad7db added global download search and finally made angular the default implementationgit add . 2013-03-19 21:57:52 +01:00
hamza zia
4e9404f29e fixed angular recursive bug in nested rpc calls 2013-03-18 15:59:40 +01:00
hamza zia
8b3b30dd4a fixed angular waiting downloads bug 2013-03-18 10:51:03 +01:00
hamza zia
aa84b4cafa rename variables in angular 2013-03-16 14:33:10 +01:00
hamza zia
dd76756d26 initial pagination added in angualar 2013-03-16 09:13:06 +01:00
hamza zia
9d3daff3b7 made rpc api angular friendly 2013-03-12 07:51:44 +01:00
hamza zia
0d3b2f03a1 added manage menu to angular 2013-02-25 14:09:11 +01:00
hamza zia
708d627ff3 file settings landed in angular implementation 2013-02-25 11:50:42 +01:00
hamza zia
6c93dba6ff global settings fully working in angular, ui can be improved 2013-02-25 10:58:35 +01:00
hamza zia
7d1129275b alert timeouts and error codes from ari2 now show as alerts 2013-02-22 20:44:10 +01:00
hamza zia
bff6694f05 added alerts servive and perf improvements in angular 2013-02-22 19:28:10 +01:00
hamza zia
1a3ddf5089 added initial settings dialog in angular, still incomplete 2013-02-20 01:13:06 +01:00
hamza zia
c36446bb5a added initial settings service in angular 2013-02-15 18:34:10 +01:00
hamza zia
567d6f8179 separated angular components into modules 2013-01-29 17:47:40 +05:00
hamza zia
489f12ea1e new uri modal in angular, with overall refactoring and fixes in the
codebase
2013-01-28 19:18:21 +05:00
hamza zia
61bfe20b94 added bittorrent to the ctx, fix the torrent name in angular 2013-01-24 17:19:57 +05:00
hamza zia
dfe6bd509e refactored download view ctx and added restart in angular 2013-01-22 17:11:38 +05:00
hamza zia
5ec45b0aac added basic download control functionally in angular 2013-01-22 15:12:40 +05:00
hamza zia
9db282addd filters landed in angular 2013-01-22 12:53:30 +05:00
hamza zia
73dbcb67e0 added directives for chunkbar and graphs, with overall fixes in improvement in angular implementation 2013-01-21 19:07:55 +05:00
hamza zia
6481737c61 changed download ctx with angular templates updated 2013-01-19 22:46:22 +05:00
hamza zia
bd8a1ad87f name fix for angular 2013-01-18 13:08:39 +05:00
hamza zia
e9042c8b55 download info now working in angular 2013-01-17 21:18:23 +05:00
hamza zia
e64b3fbd66 refactoed rpc and templates with ui hints for download status 2013-01-17 11:51:03 +05:00
hamza zia
571eaf8257 Initial core the new overhauled ui in angular.html with fixes for ui in the old index.html 2013-01-15 13:28:14 +05:00