diff --git a/src/ui_ng/lib/package.json b/src/ui_ng/lib/package.json index c54f1e16f..8ac07e5ba 100644 --- a/src/ui_ng/lib/package.json +++ b/src/ui_ng/lib/package.json @@ -1,6 +1,6 @@ { "name": "harbor-ui", - "version": "0.6.22", + "version": "0.6.24", "description": "Harbor shared UI components based on Clarity and Angular4", "scripts": { "start": "ng serve --host 0.0.0.0 --port 4500 --proxy-config proxy.config.json", diff --git a/src/ui_ng/lib/pkg/package.json b/src/ui_ng/lib/pkg/package.json index 129332a39..15eeef28a 100644 --- a/src/ui_ng/lib/pkg/package.json +++ b/src/ui_ng/lib/pkg/package.json @@ -1,6 +1,6 @@ { "name": "harbor-ui", - "version": "0.6.22", + "version": "0.6.24", "description": "Harbor shared UI components based on Clarity and Angular4", "author": "VMware", "module": "index.js", diff --git a/src/ui_ng/lib/src/config/config.ts b/src/ui_ng/lib/src/config/config.ts index decc1fd95..f3b80b8d7 100644 --- a/src/ui_ng/lib/src/config/config.ts +++ b/src/ui_ng/lib/src/config/config.ts @@ -65,6 +65,10 @@ export class Configuration { ldap_uid: StringValueItem; ldap_url: StringValueItem; ldap_verify_cert: BoolValueItem; + uaa_client_id: StringValueItem; + uaa_client_secret?: StringValueItem; + uaa_endpoint: StringValueItem; + uaa_verify_cert: BoolValueItem; email_host: StringValueItem; email_identity: StringValueItem; email_from: StringValueItem; @@ -91,6 +95,10 @@ export class Configuration { this.ldap_uid = new StringValueItem("", true); this.ldap_url = new StringValueItem("", true); this.ldap_verify_cert = new BoolValueItem(true, true); + this.uaa_client_id = new StringValueItem("", true); + this.uaa_client_secret = new StringValueItem("", true); + this.uaa_endpoint = new StringValueItem("", true); + this.uaa_verify_cert = new BoolValueItem(false, true); this.email_host = new StringValueItem("", true); this.email_identity = new StringValueItem("", true); this.email_from = new StringValueItem("", true); diff --git a/src/ui_ng/lib/tslint.json b/src/ui_ng/lib/tslint.json index eb187d020..283c238ec 100644 --- a/src/ui_ng/lib/tslint.json +++ b/src/ui_ng/lib/tslint.json @@ -9,18 +9,15 @@ "check-space" ], "curly": true, - "eofline": true, - "forin": true, + "eofline": false, + "forin": false, "indent": [ true, "spaces" ], "label-position": true, "label-undefined": true, - "max-line-length": [ - false, - 140 - ], + "max-line-length": false, "member-access": false, "member-ordering": [ true, @@ -74,7 +71,8 @@ ], "quotemark": [ true, - "single" + "double", + "avoid-escape" ], "radix": true, "semicolon": [ diff --git a/src/ui_ng/package.json b/src/ui_ng/package.json index d4255e7ca..809a8b4b3 100644 --- a/src/ui_ng/package.json +++ b/src/ui_ng/package.json @@ -31,7 +31,7 @@ "clarity-icons": "^0.10.17", "clarity-ui": "^0.10.17", "core-js": "^2.4.1", - "harbor-ui": "0.6.23", + "harbor-ui": "0.6.24", "intl": "^1.2.5", "mutationobserver-shim": "^0.3.2", "ngx-cookie": "^1.0.0", diff --git a/src/ui_ng/src/app/account/account-settings/account-settings-modal.component.html b/src/ui_ng/src/app/account/account-settings/account-settings-modal.component.html index f46d45058..36d754823 100644 --- a/src/ui_ng/src/app/account/account-settings/account-settings-modal.component.html +++ b/src/ui_ng/src/app/account/account-settings/account-settings-modal.component.html @@ -1,6 +1,6 @@ - +