From bb8e6d961ffa2cf55e973f7b8f159406750f6570 Mon Sep 17 00:00:00 2001 From: janglapuk Date: Fri, 28 Aug 2015 21:46:32 +0800 Subject: [PATCH] Added missing http-user and place them to $downloadProps --- .gitignore | 1 + configuration.js | 2 +- js/services/settings/settings.js | 5 +++++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index e928d8f..6fb0b49 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ .DS_STORE .idea +.git diff --git a/configuration.js b/configuration.js index e845075..46d6019 100644 --- a/configuration.js +++ b/configuration.js @@ -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 ; diff --git a/js/services/settings/settings.js b/js/services/settings/settings.js index 26392be..12797e0 100644 --- a/js/services/settings/settings.js +++ b/js/services/settings/settings.js @@ -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.",