Commit Graph

302 Commits

Author SHA1 Message Date
hamza zia
c36446bb5a added initial settings service in angular 2013-02-15 18:34:10 +01:00
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
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
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
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
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
37e6a48230 name from path bug fixed 2012-07-05 08:28:29 -07:00
Hamza Zia
53d1999fc4 ui updates for small resolution and mobile devices 2012-07-04 14:53:45 +08:00
Hamza Zia
911c927056 hostname bug 2012-07-03 04:47:04 -07:00
Hamza Zia
4aebd01c83 server host used by default 2012-07-02 08:15:39 -07:00
Hamza Zia
a9fbb8a148 added initial cookie support 2012-07-02 01:16:10 -07:00
Hamza Zia
00f990d873 small typos 2012-06-25 01:53:30 -07:00
Hamza Zia
13f1df4900 further ui refinement and torrent metalink functionality added; 2012-06-22 05:31:02 -07:00
Hamza Zia
56ce71454a web_sock connection reset cases handled 2012-06-09 21:51:28 +08:00
Hamza Zia
c3fae7388c empty download bug 2012-06-09 21:40:45 +08:00
Hamza Zia
18f72e4f62 about added 2012-06-09 14:50:26 +08:00
Hamza Zia
8916d47b12 websocket backend added 2012-06-09 14:35:24 +08:00
Hamza Zia
d7f5eb8a8a empty download notification 2012-06-09 13:34:53 +08:00
Hamza Zia
336ed03d31 deleted annoying backup files, have to add it in .gitignore 2012-06-07 20:46:49 +08:00
Hamza Zia
ec253f92b4 download specific settings functionality added!!! 2012-06-07 20:45:58 +08:00
Hamza Zia
a05a7b552a added more info functionality to downloads 2012-06-07 18:02:11 +08:00
Hamza Zia
aff99f1fc6 major downloads refactoring and efficient updating of dom elements 2012-06-07 16:10:19 +08:00
Hamza Zia
d006bdeab1 added dynamic global settings functionality 2012-06-07 01:43:51 +08:00
Hamza Zia
8501ccde77 updating the values for global settings, very near to completing the feature 2012-06-06 22:50:59 +08:00
Hamza Zia
6c9f1843f1 template for global settings added 2012-06-06 20:08:24 +08:00
Hamza Zia
ad3763128a file backup bug 2012-06-06 18:41:40 +08:00
Hamza Zia
713ec96ef2 infrastructure for dynamic settings injection added 2012-06-06 18:41:15 +08:00
Hamza Zia
ca3f32a130 time formatting updated 2012-06-06 16:09:48 +08:00
Hamza Zia
4f6c98c563 rounding of statistics changed to fixed decimal places 2012-06-06 15:51:42 +08:00
Hamza Zia
433663a584 hack for http authentication for all browsers added over JSONP!! 2012-06-06 15:06:05 +08:00
Hamza Zia
b1f297aa7b http authentication hack added for JSONP !!!! 2012-06-06 14:17:55 +08:00
Hamza Zia
7b8cdc9d6b eta time added to active downloads 2012-06-06 13:17:39 +08:00
Hamza Zia
2ea153d644 torrent magnet link bugs fixed 2012-06-06 01:55:59 +08:00
Hamza Zia
71ea9b22ce functionality for adding multiple links to new download added 2012-06-06 01:24:15 +08:00
Hamza Zia
c7c1ccd4c4 basic ui refinement 2012-06-05 22:12:01 +08:00
Hamza Zia
53971cf220 minimal download statistics 2012-06-05 20:53:52 +08:00
Hamza Zia
66248c7ab8 file creation error 2012-06-05 19:41:42 +08:00
Hamza Zia
66561d288d basic download resume and pause functionality added!!! 2012-06-05 19:40:43 +08:00
Hamza Zia
c723dd8762 basic download pausing and playing 2012-06-05 17:44:54 +08:00
Hamza Zia
5d779e3b1a basic download display sucess!! 2012-06-05 13:25:57 +08:00
Hamza Zia
708bbd1ea0 basic ui structure addded 2012-06-04 22:08:46 +08:00
Hamza Zia
3573209150 initial download tracking functions declared 2012-05-27 08:04:40 +08:00
Hamza Zia
8fc9f8ba4f ditched dojo for bootstrap and updated ui 2012-05-27 06:02:45 +08:00
Hamza Zia
24865eec83 added initial files and directory structure 2012-05-01 19:52:07 +08:00