Merge pull request #160 from janglapuk/master

Added missing http-user and place them into $downloadProps
This commit is contained in:
hamza zia 2015-08-31 00:41:29 +08:00
commit 7255e42cc4
3 changed files with 7 additions and 1 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
.DS_STORE
.idea
.git

View File

@ -37,7 +37,7 @@ angular
])
.constant('$downloadProps', [ // Similar to starred Quick Access properties but for adding new downloads.
// go to Advance Download Options when adding a new download to view the list of possible options
'pause', 'dir', 'max-connection-per-server'
'http-user', 'http-passwd', 'pause', 'dir', 'max-connection-per-server'
])
.constant('$globalTimeout', 1000) // interval to update the individual downloads
;

View File

@ -292,6 +292,11 @@ angular.module('webui.services.settings', [])
options: ["true", "false"],
},
"http-user": {
val: '',
desc: "Set HTTP username.",
},
"http-passwd": {
val: '',
desc: "Set HTTP password.",