Ivar Conradi Østhus
e339e5c01f
fix: add logout as an explicit call ( #311 )
...
Co-authored-by: Christopher Kolstad <chriswk@getunleash.ai>
2021-07-20 22:56:57 +02:00
Fredrik Strand Oseberg
7fddf04398
Feat/pnps ( #306 )
...
* feat: animation
* feat: setup api calls
* feat: try catch
* feat: refetch user
* fix: remove unused variables
* fix: call hideFeedback
* fix: return expression
2021-06-07 10:29:08 +02:00
Ivar Conradi Østhus
367b5c8d85
fix: logout should only be called once
2021-05-04 21:24:25 +02:00
Fredrik Strand Oseberg
f0d6e45361
Feat/bootstrap ( #281 )
...
* feat: add bootstrap endpoint redux integration
* fix: remove useEffect from app
* feat: add path provider
* feat: browser router
* fix: delete path formatter
* fix: return absolute path if no basepath
* fix: format seenURI
* feat: get bootstrap uri from html
* fix: remove unused imports
* fix: remove initial loading call
* fix: wrap logout in formatApiPath
* feat: import logo
* feat: remove accessor from receiveConfig
* fix: update tests
* fix: update asset paths
* fix: remove data from app
* fix: revert moving access provider
* fix: remove build watch
* fix: remove console logs
* fix: update asset paths
* fix: remove path logic from base64
* fix: remove unused import
* set uiconfig
* change notification text
* fix: match uiConfig with expected format
* feat: add proclamation
* fix: move proclamation
* fix: remove unused imports
* fix: add target _blank
* fix: allow optional toast
* fix: return empty string if default value is present
* fix: set basepath to empty string if it matches default
2021-05-04 09:59:42 +02:00
Ivar Conradi Østhus
c31e9b9392
feat: add support for demo-signin
2021-04-22 08:44:16 +02:00
Ivar Conradi Østhus
f669f96d49
wip: frontend should understand rbac permissions ( #269 )
...
* chore: update changelog
* 4.0.0-alpha.4
* wip: frontend should understand rbac permissions
* move all feature components to hasAccess
* fix: remove all change permissions
* fix all the tests
* fix all the tests x2
* fix snapshot for node 12
* fine tune perms a bit
* refactor: rewrite to ts
* refactor: use admin constant
* fix: import
Co-authored-by: Fredrik Oseberg <fredrik.no@gmail.com>
2021-04-20 19:13:31 +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
fa9a1c3145
fix: logout redirect logic
2021-04-12 16:25:38 +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
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
24899b40e0
fix: move all api calls to store folders
2021-01-06 22:19:50 +01:00
Ivar Conradi Østhus
9c009627ba
fix: should not clear all stores on update user profile
2020-05-18 20:53: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
f28b6bd93a
fix: Logout should not be xhr call
...
details: https://github.com/Unleash/unleash/issues/520
2020-03-29 20:44:48 +02:00
Ivar Conradi Østhus
51c29ca044
fix: Cleanup logut flow
2019-04-03 20:13:32 +02:00
Corinne Krych
507f3c7ec1
fix(signout): make signout works with proxy
2018-04-16 14:27:34 +02: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
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
Ivar
f56118ac0f
Should also decode cookie value when reading.
...
This solves encoding issues and closes #39
2017-01-24 11:45:46 +01:00
Ivar
3a15da5913
Fix encoding issue in username cookie #39
2017-01-04 22:52:23 +01:00
ivaosthu
e23cdfeb8d
Show username in AppBar
2016-11-25 15:37:06 +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