Commit Graph

97 Commits

Author SHA1 Message Date
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
ziahamza
83ca5bdea1 Merge pull request #22 from dannywarren/websocket_fallback_fix
fixed websocket fallback for browsers that don't support websocket
2012-09-04 21:24:32 -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
96881b6d03 updated help message for new download 2012-08-27 20:53:32 +08: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
hamza zia
4d606f6d14 refined add new download 2012-08-27 14:12:52 +08:00
hamza zia
b0881e8262 changed session cookies to presistant cookies 2012-08-25 18:58:17 +08:00
hamza zia
104580ff4e updated the default host placeholder 2012-08-25 01:44:34 +08:00
ziahamza
1268544d8d updated the README 2012-08-09 12:31:32 +08:00
ziahamza
291b72425d Updated 2012-08-09 12:30:26 +08:00
hamza zia
c1a2dc7c72 refactored license 2012-08-08 11:02:35 -04:00
hamza zia
280eb635c0 refactored license 2012-08-08 10:58:26 -04:00
ziahamza
479390156b Added a license for the project 2012-08-07 12:13:35 +08:00
Hamza Zia
b560ff4dd6 fixed the blurring bug for chunked progress bar 2012-08-06 12:41:51 +08:00
Hamza Zia
91a2cc7ef0 chunk progress bar refined, peer info for torrents added 2012-08-05 04:08:08 +08:00
Hamza Zia
34dd757841 vim typo file removed. sooo annoying!! 2012-08-05 02:39:26 +08:00
Hamza Zia
04823ecfd1 chunk progress bar replaced with canvas implementation, global download graph also added 2012-08-05 02:37:25 +08:00
Hamza Zia
88d3b394d1 fixed some layout issues, still not satisfactory on small resolution though 2012-08-02 20:57:00 +08:00
Hamza Zia
ed3e32a5ec improved performance of chunk progress bars and now stable to use! 2012-08-02 20:47:01 +08:00
Hamza Zia
bebf4e7741 unstable commit for a new and smart algorithm for piece progress bar, not usable, 2012-08-02 11:42:03 +08:00
Hamza Zia
72208fe579 chunked progress bar added!, somewhat experimental and very unstable (slow) for large download pieces 2012-08-02 03:08:41 +08:00
Hamza Zia
8c411ec3d1 minor fix in README 2012-08-02 00:14:04 +08:00
Hamza
36dfb82ff4 polished graphs for downloads with upload graphs merged in!!! 2012-08-01 23:59:12 +08:00
Hamza
3cdfeb9a50 minor graph updates 2012-08-01 21:06:25 +08:00
Hamza Zia
98cb53b3ba experimental but unstable graph support 2012-08-01 18:44:20 +08:00
Hamza Zia
3df40af495 cookie bug fixed 2012-07-15 19:22:02 -07:00
Hamza Zia
3e190dcb0b minor typos in the help messages 2012-07-06 20:56:01 +08:00
Hamza Zia
21c97bf577 minor change for aria2 to listen on all interfaces 2012-07-06 20:43:09 +08:00
Hamza Zia
37e6a48230 name from path bug fixed 2012-07-05 08:28:29 -07:00
Hamza Zia
3cd22d932d Desktop padding bug 2012-07-05 09:37:28 +08:00
Hamza Zia
307e3a6b64 removed padding on small resolution 2012-07-04 15:23:06 +08:00
Hamza Zia
53d1999fc4 ui updates for small resolution and mobile devices 2012-07-04 14:53:45 +08:00
Hamza Zia
015fa17014 password input fix 2012-07-04 14:00:55 +08:00
Hamza Zia
911c927056 hostname bug 2012-07-03 04:47:04 -07:00
Hamza Zia
92cd5820a4 minor css refactoring 2012-07-02 08:18:42 -07:00
Hamza Zia
4aebd01c83 server host used by default 2012-07-02 08:15:39 -07:00
Hamza Zia
a417f03a93 word break for long download names 2012-07-02 02:47:44 -07:00
Hamza Zia
a9fbb8a148 added initial cookie support 2012-07-02 01:16:10 -07:00
Hamza Zia
a85d6b41e0 play changed to resume 2012-06-26 08:13:18 -07:00
Hamza Zia
b26a7edabb about us modifications 2012-06-25 11:20:07 -07:00