From 1947a6f24ac7c933695e388d12cf84c0579d4329 Mon Sep 17 00:00:00 2001 From: TuxCoder Date: Fri, 15 Jul 2022 10:53:06 +0200 Subject: [PATCH] update fixes, ... --- browser_app/index.js | 12 +- index.html | 194 ++ lenticular_cloud/application.cfg | 11 +- lenticular_cloud/cli.py | 2 +- lenticular_cloud/form/frontend.py | 6 + .../versions/0f217e90cd07_fix_app_token.py | 48 + lenticular_cloud/model.py | 43 +- lenticular_cloud/pki.py | 4 +- .../static/0caf4c6cf244a90efcc5.woff2 | Bin 0 -> 23940 bytes .../static/0d03b1bbd1d62c1e1284.ttf | Bin 0 -> 60520 bytes .../static/4baccb548138840fa33a.ttf | Bin 0 -> 10556 bytes .../static/59edf72a325ac2048d60.woff2 | Bin 0 -> 154228 bytes .../static/afac89562a5301459069.woff2 | Bin 0 -> 4960 bytes .../static/b823fc0dbb5a5f0c21bb.ttf | Bin 0 -> 181852 bytes .../static/e615bbcb258550973c16.ttf | Bin 0 -> 388460 bytes .../static/ebb7a127d2d8ee6f1832.woff2 | Bin 0 -> 105536 bytes lenticular_cloud/static/main.css | 4 +- lenticular_cloud/static/main.css.map | 2 +- lenticular_cloud/static/main.js | 2 +- lenticular_cloud/static/main.js.map | 2 +- .../template/frontend/app_token.html.j2 | 40 +- .../template/frontend/app_token_new.html.j2 | 36 +- .../frontend/app_token_new_show.html.j2 | 25 + .../template/frontend/client_cert.html.j2 | 2 +- lenticular_cloud/user_provider.py | 0 lenticular_cloud/views/admin.py | 11 +- lenticular_cloud/views/api.py | 43 +- lenticular_cloud/views/auth.py | 10 +- lenticular_cloud/views/frontend.py | 79 +- lenticular_cloud/views/oauth2.py | 11 +- package-lock.json | 2953 ++++++++++++++++- 31 files changed, 3395 insertions(+), 145 deletions(-) create mode 100644 index.html create mode 100644 lenticular_cloud/migrations/versions/0f217e90cd07_fix_app_token.py create mode 100644 lenticular_cloud/static/0caf4c6cf244a90efcc5.woff2 create mode 100644 lenticular_cloud/static/0d03b1bbd1d62c1e1284.ttf create mode 100644 lenticular_cloud/static/4baccb548138840fa33a.ttf create mode 100644 lenticular_cloud/static/59edf72a325ac2048d60.woff2 create mode 100644 lenticular_cloud/static/afac89562a5301459069.woff2 create mode 100644 lenticular_cloud/static/b823fc0dbb5a5f0c21bb.ttf create mode 100644 lenticular_cloud/static/e615bbcb258550973c16.ttf create mode 100644 lenticular_cloud/static/ebb7a127d2d8ee6f1832.woff2 create mode 100644 lenticular_cloud/template/frontend/app_token_new_show.html.j2 delete mode 100644 lenticular_cloud/user_provider.py diff --git a/browser_app/index.js b/browser_app/index.js index f0b3cd8..f125c4c 100644 --- a/browser_app/index.js +++ b/browser_app/index.js @@ -82,7 +82,7 @@ window.auth = { submit: function(form) { SimpleFormSubmit.submitForm(form.action, form) .then(response =>{ - response.json().then(function(data) { + response.json().then(data => { if (data.errors) { var msg ='