From 2b9218548df65f1fa274e7d47ff7f2739bbc4a6e Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Tue, 15 Mar 2022 23:26:06 +0000 Subject: [PATCH] added append password and forceemail options to seeder --- ayanova/devdocs/todo.txt | 2 +- ayanova/src/views/ay-evaluate.vue | 42 ++++++++++++++++++++++++++++--- 2 files changed, 39 insertions(+), 5 deletions(-) diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 6c10a999..6963517b 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -16,7 +16,7 @@ # OUTSTANDING #B4BETA -more fucking cases :( +more cases "There is no beta release, only mirage on horizon" - v. putin Add ability to set *all* sample data to same email address diff --git a/ayanova/src/views/ay-evaluate.vue b/ayanova/src/views/ay-evaluate.vue index 75365ea4..164a77db 100644 --- a/ayanova/src/views/ay-evaluate.vue +++ b/ayanova/src/views/ay-evaluate.vue @@ -33,6 +33,33 @@ type="number" @input="fieldValueChanged('timeZoneOffset')" > + + + + + + @@ -111,6 +138,7 @@ export default { data() { return { seedDialog: false, + reveal: true, formCustomTemplateKey: null, selectLists: { seedLevels: [] @@ -118,7 +146,10 @@ export default { seedingJobActive: false, obj: { seedLevel: "small", - timeZoneOffset: 0 + timeZoneOffset: 0, + e2e: false, + forceEmail: null, + appendPassword: null }, formState: { ready: false, @@ -197,9 +228,12 @@ export default { return; } //call seed route - let jobId = await window.$gz.api.upsert( - `trial/seed/${vm.obj.seedLevel}/${vm.obj.timeZoneOffset}/false` - ); + // let jobId = await window.$gz.api.upsert( + // `trial/seed/${vm.obj.seedLevel}/${vm.obj.timeZoneOffset}/false` + // ); + + let jobId = await window.$gz.api.upsert("trial", vm.obj); + if (jobId.error) { throw new Error(window.$gz.errorHandler.errorToString(jobId, vm)); }