Add more settings to the modal, including:

* Global upload/download throttles mirrored in modal and dropdown
* Max client memory usage
* Verify hash after downloading flag
This commit is contained in:
John Furrow
2016-06-18 00:47:52 -07:00
parent 542093269a
commit a72fb8acb4
10 changed files with 151 additions and 63 deletions

View File

@@ -93,10 +93,6 @@ class ClientRequest {
}
send() {
// TODO: Remove this.
if (!this) {
console.log('\n\n\n\n\n\n\nthis is null\n\n\n\n\n\n');
}
let handleSuccess = this.handleSuccess.bind(this);
let handleError = this.handleError.bind(this);
@@ -174,9 +170,9 @@ class ClientRequest {
});
}
// Ensure client's response gets mapped to the correct requested property.
if (options.setPropertiesArr) {
options.setPropertiesArr(requestedSettings);
// Ensure client's response gets mapped to the correct requested keys.
if (options.setRequestedKeysArr) {
options.setRequestedKeysArr(requestedSettings);
}
requestedSettings.forEach((settingsKey) => {