Commit Graph

101 Commits

Author SHA1 Message Date
hamza zia
0734dbe83a changed global timeout to 1 sec for angular 2013-02-09 20:48:21 +01:00
hamza zia
5a9e0b8d4f added metalink and torrent modals to angular 2013-01-30 11:13:38 +05:00
hamza zia
c3c135a093 add uris bug fix 2013-01-30 08:52:01 +05:00
hamza zia
2a18278f43 added initial infrastructure for modals in angular 2013-01-29 22:52:30 +05: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
5c02174117 basic tweaks in styling in small resolutions, with graphs drawing updated in angular 2013-01-26 21:54:17 +05:00
hamza zia
3f767c0b84 only draw graphs in angular when not collapsed, perf improvement 2013-01-25 19:38:08 +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
d2f82365f1 refactored old js core in a separate folder 2013-01-22 12:59:52 +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
fd9b5207af relative path trailing slash fix 2013-01-17 22:23:01 +05:00
hamza zia
c1735267fb relative file paths added 2013-01-17 22:13:58 +05:00
hamza zia
e9042c8b55 download info now working in angular 2013-01-17 21:18:23 +05:00
hamza zia
576df81193 fixed progress bar bug 2013-01-17 12:00:33 +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
50218debae fixed rpc and modal issues 2013-01-15 16:19:26 +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
hamza zia
e7c9e4d0cc removed requirejs shim 2013-01-15 13:24:46 +05:00
hamza zia
0029e1087b initial prototype with new the mobile and touch ui 2013-01-15 13:24:44 +05:00
Carl Monnig
ee90971472 Display queue order as Aria2 will download. 2013-01-05 10:41:05 +02:00
Carl Monnig
c287960fa8 Fixed undefined error when downloading BitTorrent Magnet links. 2013-01-04 23:23:46 +02:00
Carl Monnig
3d32434640 Performance improvements for many downloads. 2013-01-03 19:47:38 +02:00
Carl Monnig
34f10e1b02 Batch DOM updates to improve speed with less reflows. 2013-01-02 22:58:37 +02:00
hamza zia
c58cea1174 renamed navbar controls 2012-12-31 17:18:12 +05:00
hamza zia
a3c98a47ae simple tuning of download graphs 2012-12-30 15:54:00 +08:00
hamza zia
c13a911e70 refactored core and fixed small resolution bugs 2012-12-26 18:57:11 +08:00
hamza zia
ff9b3e652c fixed resolution bug and added files in more info for downloads 2012-10-30 14:28:11 +08:00
hamza zia
9b2ed332bf added javascript lib files 2012-10-30 11:35:32 +08:00
hamza zia
2b998ae380 polished and added new progress title pie chart 2012-10-30 11:34:14 +08:00
hamza zia
7b0d42fee4 fixed torrent file names 2012-10-30 11:03:40 +08:00
hamza zia
8f8155b2e6 timeout heruistics improved 2012-10-06 23:26:19 -07:00
hamza zia
4e11173a8a improved title bar status 2012-10-04 09:26:59 -07:00
hamza zia
775dc59f00 title bar global statistics added 2012-10-03 21:42:26 -07:00
Hamza Zia
b20ad0d04e improved aria2 connection handling 2012-10-02 11:06:37 -07:00
Tatsuhiro Tsujikawa
2bc0f3a90a Add SSL/TLS encryption 2012-10-02 23:50:57 +09:00
hamza zia
e1675c513d websocket support turned on 2012-09-18 22:53:35 +08:00
Hamza Zia
932a72d53f fixed harsh error exception 2012-09-15 01:13:03 +08:00
Hamza Zia
08a4b399f3 added underscore library 2012-09-05 23:18:35 +08:00
Hamza Zia
a5ebd19ec2 connection handling refactored all the way
all the refactored connection handling code resides in the connection.js
file, its a lot more rebost although still might have bugs
2012-09-05 22:53:09 +08:00
ziahamza
d6e1279cfb Merge pull request #23 from dannywarren/misc_js_syntax_fixes
fixing misc javascript syntax errors
2012-09-04 21:26:10 -07:00
Danny Warren
4035d5cf10 fixing misc javascript syntax errors
* these are nitpicky things that some browsers just step right over silently, and others halt script execution for

* the jquery trim function only works on variables that have been returned as jquery objects, so doing "'foo'.trim()" doesn't work, should be "$.trim('foo')"

* some javascript interpreters (annoyingly) can't handle trailing commas in lists
2012-09-04 17:24:09 -07:00
Danny Warren
b025ef3355 fixed websocket fallback for browsers that don't support websocket
* repro: open webui-aria2 in any browser that doesn't have native websocket support in its javascript library (example: Opera 12.01, IE9), and none of the functionality in webui-aria2 will work due to javascript errors

* see: http://en.wikipedia.org/wiki/WebSocket#Browser_support (Note that Firefox has websocket support, but calls its object "MozWebSocket" instead of "WebSocket", so this issue applies there too)

* there were a few places in script.js that check for websocket support by doing something like "if(WebSocket)" to see if the WebSocket object exists

* javascript doesn't handle undefined variables that way, the interpreter will actually throw an "undefined variable" error and stop execution of the script

* this means that any browser that doesn't have websocket support can never reach the fallback json call code

* added a new variable "web_sock_support" that does a proper "undefined" check, and is set to "1" if the "WebSocket" object is available in the browser

* changed the websocket checks to use the "web_sock_support" variable
2012-09-04 16:30:55 -07:00
hamza zia
6f300f9c09 split the uris by space or new line for new download 2012-08-27 19:18:47 +08:00
hamza zia
76299e6b1f incorrect form submission bug fixed 2012-08-27 19:12:50 +08:00