1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +02:00
Commit Graph

158 Commits

Author SHA1 Message Date
Fredrik Strand Oseberg
1f46d3b21b Fix/cleanup (#276)
* chore: update changelog

* 4.0.0-alpha.10

* fix: add dnd provider as top level wrapper

* fix: add forgotten password link to password auth

* fix: remove unecceesary dnd component

* fix: check for usedTokenError
2021-04-27 09:48:00 +02:00
Fredrik Oseberg
e81918ee48 fix: password 2021-04-23 15:31:42 +02:00
Fredrik Strand Oseberg
b9f5585c62 Fix/optimizations (#275)
* chore: update changelog

* feat: login mobile view

* fix: lists

* fix: colors

* fix: resolve merge conflict

* fix: tests

* fix: set defualt location object

* fix: don't check password before length exceeds 2

* fix: check length
2021-04-23 15:21:24 +02:00
Fredrik Strand Oseberg
05334337c2 Feat/user profile (#274)
* chore: update changelog

* feat: user profile

* feat: onOutsideClick hook

* feat: tune user profile

* fix: refactor to button

* feat: mobile view

* fix: update tests

* feat: add link to docs
2021-04-23 13:49:42 +02:00
Ivar Conradi Østhus
423646e4eb fix: lint 2021-04-23 12:21:15 +02:00
Ivar Conradi Østhus
cb7555d048 fix: minor tuning on auth 2021-04-23 11:40:23 +02:00
Fredrik Strand Oseberg
0ca753e7e5 Feat/add new user (#273)
* chore: update changelog

* chore: update changelog

* fix: refactor AddUser

* feat: add screens for email and copy

* fix: remove interface

* fix: admin constant in userlist

* chore: fix changelog

* feat: user data fetching with useSWR

* feat: flesh out dialogues

* fix: remove useRequest

* refactor: remove redux for user admin

* refactor: remove from store

* refactor: userListItem

* fix: change type

* feat: add initial loading

* fix: useLayoutEffeect in useLoading

* fix: remove useEffect

* fix: update snapshots

* fix: remove status code

* fix: remove roles from store
2021-04-23 10:59:11 +02:00
Ivar Conradi Østhus
c31e9b9392 feat: add support for demo-signin 2021-04-22 08:44:16 +02:00
Fredrik Strand Oseberg
524936912d Feat/user flow (#267)
* feat: add new user page

* feat: passwordchecker

* fix: remove loading

* feat: reset password

* fix: move swr to devDeps

* feat: generate reset link

* feat: add reset password form

* fix: remove console log

* fix: rename to forgotten password

* feat: add simple menu

* fix: change password checker title

* fix: change text in new-user view

* fix: lint errors

* fix: add status code to constants

* fix: comment

* fix: add classes for new user component

* fix: tests

* fix: remove console log

* fix: remove retry method

* fix: invalid token constant

* fix: remove console log

* fix: dependency array on useCallback

* fix: featureview

* fix: redirect on authenticated

* refactor: progresswheel

* fix: lint deps
2021-04-19 10:55:15 +02:00
Fredrik Oseberg
2a0acd3fb2 fix: remove console log 2021-04-13 09:10:01 +02:00
Fredrik Oseberg
fa9a1c3145 fix: logout redirect logic 2021-04-12 16:25:38 +02:00
Fredrik Oseberg
8d295fd176 fix: redirect from login page if authorized 2021-04-12 15:34:37 +02:00
Fredrik Strand Oseberg
86631b53c9 Fix/material UI cleanup (#264)
* fix: strategy dialogue

* fix: fontweight dropdown

* fix: eventlog padding

* refactor: history

* refactor: use material ui styling conventions for history

* refactor: add empty state for features

* refactor: variant dialog

* refactor: delete unused variant config

* fix: variant typography

* fix: remove unused styles file

* fix: footer

* feat: protected routes

* fix: rename app

* fix: remove console log

* fix: convert app to typescript

* fix: add standalone login screen

* fix: cleanup

* fix: add theme colors for login

* fix: update tests

* fix: swap route with ProtectedRoute

* fix: remove unused redirect

* fix: use redirect to correctly setup breadcrumbs

* refactor: isUnauthorized

* fix: reset loading count on logout

* fix: create a more comprehensive auth check

* feat: add unleash logo
2021-04-12 15:04:03 +02:00
Christopher Kolstad
22795e251f Migrate to create-react-app and react-scripts (#263)
* Setup create-react-app and typescript

Co-authored-by: Fredrik Oseberg <fredrik.no@gmail.com>
2021-04-07 09:04:48 +02:00
Fredrik Strand Oseberg
dbed06f300 Feat/material UI (#250)
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
Co-authored-by: Christopher Kolstad <chriswk@getunleash.ai>
Co-authored-by: Christopher Kolstad <git@chriswk.no>
2021-03-30 15:14:02 +02:00
Ivar Conradi Østhus
73c0c8beb0 fix: unsecure => insecure 2021-02-24 11:17:46 +01:00
Ivar Conradi Østhus
5342c86b60 fix: one and only one front (#244)
Co-authored-by: Christopher Kolstad <chriswk@getunleash.ai>
Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>
2021-02-24 11:03:18 +01:00
Ivar Conradi Østhus
7380d92e45 fix: migrate all .scss files to .module.scss 2021-01-07 13:36:13 +01:00
Ivar Conradi Østhus
7e50ebbad9 fix: some ux cleanup for toggle types 2020-08-10 21:58:14 +02:00
Ivar Conradi Østhus
0d3cbd8294 fix: read unleash version from ui-config (#219) 2020-08-03 13:38:14 +02:00
Ivar Conradi Østhus
400e8bdb26 fix: password login should prefer login options 2020-05-14 22:14:17 +02:00
Ivar Conradi Østhus
63091184d3 feat: add support for username/password login 2020-05-12 22:57:45 +02:00
Ivar Conradi Østhus
e61e786cef feat: locale select should be dropdown menu 2020-05-12 22:37:59 +02:00
Ivar Conradi Østhus
eefc0cf44c fix: adjust colors of dialog 2020-04-30 08:15:58 +02:00
Ivar Conradi Østhus
2ef640f506 fix: lint 2020-04-18 22:06:49 +02:00
Luan Raithz Machado
c25c0a76a8 fix: babel-preset-env (#190)
* changed do @babel/preset-env

* runned lint fix

* added beforeEach in ui-config-store-test
2019-10-09 19:58:49 +02:00
ivaosthu
e88b1893d0 fix: Add new locales: cz, de 2019-07-29 10:38:03 +02:00
ivaosthu
4393aeedd3 feat: Support a few more locales 2019-05-04 05:46:15 +02:00
Ivar Conradi Østhus
51c29ca044 fix: Cleanup logut flow 2019-04-03 20:13:32 +02:00
ivaosthu
eaa20927c0 chore: Fix linting 2019-03-13 09:11:30 +01:00
ivaosthu
c4900262f2 feat: Customisable UI via config
This feature enables overrides of certain UI elements from the API
such as setting a different background color for the header.

This will make it easier to customise the UI in different environemnt.
2019-03-13 08:49:50 +01:00
Dave Dunkin
141faf78ba fix(locale) Add navigator.userLanguage fallback for IE11. 2018-10-24 09:11:00 -07:00
Dave Dunkin
d471abbbb0 fix(locale): Use navigator.language as default locale. 2018-10-20 11:44:24 -07:00
Dave Dunkin
b744368720 fix(locale): Use correct US English language code. 2018-10-20 11:33:16 -07:00
ivaosthu
e7d899f77d fix(react-router): Make sure logout still works. 2018-08-13 11:10:54 +02:00
ivaosthu
59bcabe331 fix(router): Upgrade to react-router v. 4.x.
This is rather big change to react-router and
required a lot of rewrites.

Mostly followed this guide:
https://github.com/ReactTraining/react-router/blob/master/packages/react-router/docs/guides/migrating.md
2018-08-07 12:50:28 +02:00
Corinne Krych
808ebad141 fix(user): flag without border in css 2018-02-09 08:47:05 +01:00
Corinne Krych
df4dd6a784 fix(locale): make timezone defaulted 2018-02-08 12:57:36 +01:00
Corinne Krych
920872512c feat(timezone): Timezone should be configurable 2018-02-07 14:53:10 +01:00
Ivar Conradi Østhus
b97e666e0f chore(lint): Added propTypes to all components 2018-02-04 22:16:04 +01:00
ivaosthu
2b33fd0a49 Minor tweaks 2018-01-17 09:45:38 +01:00
ivaosthu
da86b62509 Implement support for cutstom authentication. 2018-01-16 15:24:06 +01:00
Simen Bekkhus
8ef9def08c Use 120 as width in prettier (#90) 2017-08-28 21:40:44 +02:00
Simen Bekkhus
b176d63f56 Fix deprecations (#88)
* Fix some optimization bailouts

* Use prop-types package

* Make error comp functional

* Remove unused css transition dep

* Remove unused immutability helper dep

* Align react versions in package.json
2017-08-28 21:30:12 +02:00
Simen Bekkhus
683ae7e6d8 Use prettier (#87)
* Use prettier

* Upgrade to 1.6 beta

* Update lint deps

* Upgrade to full 1.6
2017-08-28 19:15:47 +02:00
Simen Bekkhus
3f8931ff8c Fix faulty proptypes declarations
Go from 188 lint errors to 64
2017-07-10 23:38:44 +02:00
Simen Bekkhus
6e0db0a998 Upgrade eslint 2017-06-29 08:36:10 +02:00
vsandvold
dfb841cd3c github link into menu + username tooltip + visual tweaks 2017-01-20 12:57:05 +01:00
sveisvei
410ecf7867 typ0 and default to submit form 2016-12-27 13:11:56 +01:00
ivaosthu
a256e7c44d Switch to react-modal to avoid buggy polyfill 2016-12-22 15:50:56 +01:00
ivaosthu
c9ea64639e Added dialog-polyfill.
closes #23
2016-12-22 14:09:16 +01:00
ivaosthu
3ff14117ad fixing linting 2016-12-20 19:28:45 +01:00
ivaosthu
aaead7b4b9 fix text 2016-12-17 10:24:46 +01:00
sveisvei
d7bcdd6c1b fix user 2016-12-04 13:25:20 +01:00
sveisvei
eeb40113c5 wip 2016-12-04 12:49:01 +01:00
ivaosthu
e23cdfeb8d Show username in AppBar 2016-11-25 15:37:06 +01:00
ivaosthu
6f8199a014 fix linting 2016-11-24 21:45:22 +01:00
ivaosthu
67bdb16659 Show a dialog if the username cookie is not set.
This is used by unleash server to show who changes what.
By making this a required input allow us to make sure
it is always set.
2016-11-24 21:32:29 +01:00