From ee01c3a059c435add68938657955cbd2c5851c50 Mon Sep 17 00:00:00 2001 From: Philipp Dormann Date: Sun, 10 Jan 2021 18:19:45 +0100 Subject: [PATCH 1/3] =?UTF-8?q?=F0=9F=9A=80RELEASE=20v0.1.6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 11 +++++++++++ package.json | 2 +- public/index.html | 2 +- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bfb96cf9..6d4542c4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,9 +2,20 @@ All notable changes to this project will be documented in this file. Dates are displayed in UTC. +#### [0.1.6](https://git.odit.services/lfk/frontend/compare/0.1.5...0.1.6) + +- ✨ UsersOverview - user delete [`f0c100a`](https://git.odit.services/lfk/frontend/commit/f0c100aee47d6a5aeb0995db79b268f33bf316e9) +- πŸ”’ UserDetail - added basic layout for permission change [`81c1537`](https://git.odit.services/lfk/frontend/commit/81c1537bada2c87127385d9110d48459cd1b505f) +- πŸ“§ UserDetail - email input [`f856c6a`](https://git.odit.services/lfk/frontend/commit/f856c6ae3792c93aee148339d89e3978db6e9293) +- ✨ UserDetail multiselect layout for groups [`98ecfab`](https://git.odit.services/lfk/frontend/commit/98ecfab0325e35c5418775f7162049b56e5f332f) +- UserDetail - placeholder for permission picker πŸ”’ [`b948b8c`](https://git.odit.services/lfk/frontend/commit/b948b8c1a48e5b4bc6a083139d26100ef4499970) + #### [0.1.5](https://git.odit.services/lfk/frontend/compare/0.1.4...0.1.5) +> 10 January 2021 + - Merge commit '16f572480ad55425890061f9dad65fe85f2f39ad' into dev [`#30`](https://git.odit.services/lfk/frontend/issues/30) +- πŸš€RELEASE v0.1.5 [`330755c`](https://git.odit.services/lfk/frontend/commit/330755c63e3405533a5da79c84ef4f379eb43e1c) - ‡ load dynamic build info in Footer component [`c089bb3`](https://git.odit.services/lfk/frontend/commit/c089bb39298fb1067093c2fa81101130c214947c) - πŸ“… dynamic copyright year in Footer component [`b8a9e4f`](https://git.odit.services/lfk/frontend/commit/b8a9e4f272f925999b9a032dd009f7498acbfae0) - πŸ‘€ improved Footer layout + display on Login component [`43b4065`](https://git.odit.services/lfk/frontend/commit/43b406592ebe115cea04a8dbf36874c0a5bdd7e9) diff --git a/package.json b/package.json index b14a8805..33828c05 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@odit/lfk-frontend", - "version": "0.1.5", + "version": "0.1.6", "scripts": { "i18n-order": "node order.js", "dev": "snowpack dev", diff --git a/public/index.html b/public/index.html index 773cbc99..f8d2c78f 100644 --- a/public/index.html +++ b/public/index.html @@ -13,7 +13,7 @@ - + From 63569684a392bf0c24c9c2efd7945114d1a230a5 Mon Sep 17 00:00:00 2001 From: Philipp Dormann Date: Mon, 11 Jan 2021 21:08:14 +0100 Subject: [PATCH 2/3] =?UTF-8?q?=E2=84=B9=20update=20jwtinfo=20store=20on?= =?UTF-8?q?=20token=20refresh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/store.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/store.js b/src/store.js index ea38f0d3..ef71a8da 100644 --- a/src/store.js +++ b/src/store.js @@ -27,6 +27,8 @@ const store = () => { AuthService.authControllerRefresh({ token: state.auth.refresh_token }).then((auth) => { console.log('got new auth'); OpenAPI.TOKEN = auth.access_token; + const jwtinfo = JSON.parse(atob(auth.access_token.split('.')[1])); + state.jwtinfo = jwtinfo; localForage.setItem('logindata', auth); }); }, From be629e5c6b076bf9a28dcc953e97478d244d8413 Mon Sep 17 00:00:00 2001 From: Philipp Dormann Date: Mon, 11 Jan 2021 21:08:39 +0100 Subject: [PATCH 3/3] =?UTF-8?q?=F0=9F=95=95=20set=20manual=20refresh=20tim?= =?UTF-8?q?e=20to=202min?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/store.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/store.js b/src/store.js index ef71a8da..5657dac3 100644 --- a/src/store.js +++ b/src/store.js @@ -41,8 +41,8 @@ const store = () => { // state.refreshInterval = setInterval(() => { this.refreshAuth(); - // 4min - }, 4 * 60000); + // 2min + }, 2 * 60000); // return state; });