From ad950610222d4dd7178f38f78b1b2c31ed903146 Mon Sep 17 00:00:00 2001 From: Jeff Mitchell Date: Mon, 23 Apr 2018 15:05:50 -0400 Subject: [PATCH 01/11] changelog++ --- CHANGELOG.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0e67965fbd3e..ebf1c643b0f0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ ## 0.10.1 (Unreleased) +DEPRECATIONS/CHANGES: + + * `vault kv` and Vault versions: In 0.10.1 some issues with `vault kv` against + v1 K/V engine mounts are fixed. However, using 0.10.1 for both the server + and CLI versions is required. + * Identity and Local Mounts: Local mounts would allow creating Identity + entities but these would not be able to be used successfully (even locally) + in replicated scenarios. We have now disallowed entities and groups from + being created for local mounts in the first place. + FEATURES: * X-Forwarded-For support: `X-Forwarded-For` headers can now be used to set the From b0fc93256489b3629418f8ea9f03ef75859da433 Mon Sep 17 00:00:00 2001 From: Matthew Irish Date: Mon, 23 Apr 2018 15:32:43 -0500 Subject: [PATCH 02/11] UI: Mount tune fix (#4431) * serialize instead of toJSON when mount tuning * add tests * remove model unit test * fix typo --- ui/app/components/auth-config-form/options.js | 2 +- ui/app/templates/components/ttl-picker.hbs | 6 +-- .../settings/auth/configure/section-test.js | 10 +++++ .../auth-config-form/options-test.js | 42 +++++++++++++++++++ .../components/auth-config-form/options.js | 9 ++++ ui/tests/pages/components/form-field.js | 2 +- 6 files changed, 66 insertions(+), 5 deletions(-) create mode 100644 ui/tests/integration/components/auth-config-form/options-test.js create mode 100644 ui/tests/pages/components/auth-config-form/options.js diff --git a/ui/app/components/auth-config-form/options.js b/ui/app/components/auth-config-form/options.js index 73a2dd0631ae..82f850e1e5b1 100644 --- a/ui/app/components/auth-config-form/options.js +++ b/ui/app/components/auth-config-form/options.js @@ -5,7 +5,7 @@ import DS from 'ember-data'; export default AuthConfigComponent.extend({ saveModel: task(function*() { const model = this.get('model'); - let data = model.get('config').toJSON(); + let data = model.get('config').serialize(); data.description = model.get('description'); try { yield model.tune(data); diff --git a/ui/app/templates/components/ttl-picker.hbs b/ui/app/templates/components/ttl-picker.hbs index ce6ec531f31f..f42a890c788b 100644 --- a/ui/app/templates/components/ttl-picker.hbs +++ b/ui/app/templates/components/ttl-picker.hbs @@ -6,7 +6,7 @@ value={{time}} id="time-{{elementId}}" type="text" - name="time" + name="time-{{elementId}}" class="input" oninput={{action 'changedValue' 'time'}} /> @@ -15,8 +15,8 @@