Commit Graph

478 Commits

Author SHA1 Message Date
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
Nils Maier
3843bf34f5 Fix subscriptions race. 2014-01-09 04:18:44 +01:00
hamza zia
f6df1689c2 fixed the upload graph bug 2014-01-08 15:13:25 +05:00
hamza zia
541a6ce723 Merge pull request #66 from 0pain/master
Prefixed uint8array() with 'new ' to make everything work again.
2013-08-17 23:47:09 -07:00
Andrew Payne
f5fab45662 Prefixed uint8array() with 'new ' to make everything work again. 2013-08-18 10:18:21 +10:00
hamza zia
b6e25bf1cd Merge pull request #63 from nmaier/uuid
Generate RFC4122 UUIDs and use in randStr
2013-08-02 17:03:44 -07:00
hamza zia
f76837ae28 Merge pull request #64 from sskaje/master
changed download filter to be case insensitive
2013-08-02 17:03:10 -07:00
hamza zia
2e04def70d Merge pull request #62 from nmaier/eta
Format times like hh:mm:ss
2013-08-02 17:01:32 -07:00
sskaje
58fb00f9fd case insensitive download filter 2013-08-02 22:12:10 +08:00
Nils Maier
1b7b8aa41c Generate RFC4122 UUIDs and use in randStr 2013-07-31 23:44:03 +02:00
Nils Maier
993363d309 Use UUIDs for jsonrpc requestes 2013-07-31 23:44:03 +02:00
Nils Maier
6027f1ad7c Format times like hh:mm:ss 2013-07-31 23:37:10 +02:00
hamza zia
39ecd3a3d6 updated the page title to be more obvious 2013-07-17 16:13:43 +02: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
1f988e30d8 small link fix for the project 2013-06-23 22:04:18 +02:00
hamza zia
6d9162442f TONS of features and refinements, quick access settings finally landed :) 2013-06-23 22:02:50 +02:00
hamza zia
4bd0c7c7c1 tweaked getting the configuration from the cookie 2013-06-22 21:37:14 +01:00
hamza zia
e73778ab18 removed auxilarry file 2013-06-22 21:05:29 +01:00
hamza zia
842b81c1bc tweaked the websocket error message, and finally commited something after a while ;) 2013-06-22 21:04:37 +01:00
hamza zia
3b893edfaa resume glitch fix 2013-04-18 08:24:23 +01:00
hamza zia
3cc42f1626 minor fixes and remove statistics when no downloads, better way to hide them comming soon 2013-03-24 09:57:56 +01:00
hamza zia
02a7a595a0 refactored window location with angular 2013-03-20 10:08:50 +01:00
hamza zia
d272f1d086 feature detection for compiled support for bittorrent and metalinks added 2013-03-20 08:45:28 +01:00
hamza zia
cfb721b57d added host name heuristics for selecting aria2 server 2013-03-19 22:03:34 +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