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

907 Commits

Author SHA1 Message Date
Ivar Conradi Østhus
f698880eb7 chore: update changelog 2021-04-29 22:00:43 +02:00
Ivar Conradi Østhus
4b826715a7 Feat/auth hosted section (#280) 2021-04-29 21:55:48 +02:00
Fredrik Oseberg
d7e6219070 fix: only get legalValues if definition exists 2021-04-28 18:09:37 +02:00
Fredrik Strand Oseberg
8d003da400 Fix/variants (#278)
* fix: use autocomplete for legal values

* fix: use flag to toggle overrides

* fix: use legalvalues directly

* fix: tests

* Update src/component/feature/variant/__tests__/update-variant-component-test.jsx

Co-authored-by: Christopher Kolstad <chriswk@getunleash.ai>

* Update src/component/feature/variant/AddVariant/AddVariant.jsx

Co-authored-by: Christopher Kolstad <chriswk@getunleash.ai>

* fix: tests

* fix: remove flag for overrides

Co-authored-by: Christopher Kolstad <chriswk@getunleash.ai>
2021-04-28 14:58:53 +02:00
Fredrik Strand Oseberg
f8e34d53ff Fix/bugfixes (#279)
* fix: add try catch to copy

* fix: show constraints on default strategy

* fix: require name to submit context field

* fix: require name and project id to be set in order to create a project

* fix: change documentation icon

* fix: only validate unique names on create

* Update src/component/context/form-context-component.jsx

Co-authored-by: Christopher Kolstad <chriswk@getunleash.ai>

Co-authored-by: Christopher Kolstad <chriswk@getunleash.ai>
2021-04-28 14:27:25 +02:00
Fredrik Strand Oseberg
0340573199 fix/locale (#277)
* fix/locale

* fix: check on lowercase values

* fix: remove console logs
2021-04-28 11:57:45 +02:00
Ivar Conradi Østhus
f66cca468e fix: added teams logo 2021-04-27 21:39:34 +02:00
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 Oseberg
b1c32eab71 4.0.0-alpha.9 2021-04-23 15:23:36 +02:00
Fredrik Oseberg
f2a483a76a chore: update changelog 2021-04-23 15:23:33 +02:00
Fredrik Oseberg
2dec218422 chore: update changelog 2021-04-23 15:21:38 +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
99c4b7e36d 4.0.0-alpha.8 2021-04-23 13:39:34 +02:00
Ivar Conradi Østhus
062916f865 chore: update changelog 2021-04-23 13:39:22 +02:00
dependabot[bot]
982ed4a441 chore(deps): bump ssri from 6.0.1 to 6.0.2 (#270)
Bumps [ssri](https://github.com/npm/ssri) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/npm/ssri/releases)
- [Changelog](https://github.com/npm/ssri/blob/v6.0.2/CHANGELOG.md)
- [Commits](https://github.com/npm/ssri/compare/v6.0.1...v6.0.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-23 13:29:36 +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
a82feadf01 4.0.0-alpha.7 2021-04-22 10:48:46 +02:00
Ivar Conradi Østhus
cc357cea87 chore: update changelog 2021-04-22 10:47:27 +02:00
Ivar Conradi Østhus
c31e9b9392 feat: add support for demo-signin 2021-04-22 08:44:16 +02:00
Ivar Conradi Østhus
43101d0483 4.0.0-alpha.6 2021-04-21 09:41:29 +02:00
Ivar Conradi Østhus
6532d6a136 4.0.0-alpha.5 2021-04-21 09:38:40 +02:00
Ivar Conradi Østhus
c4c6d6d9f0 chore: update changelog 2021-04-21 09:36:51 +02:00
Ivar Conradi Østhus
5bedf0c344 fix: require ADMIN role to manage users 2021-04-21 09:35:13 +02:00
Ivar Conradi Østhus
3ad447b7d9 fix: add permissions for tag-types and project 2021-04-21 09:27:50 +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
3bf9bd73ae Fix/overall bugs (#271)
* fix: reporting

* fix: center icon

* fix: paths in featureview

* fix: revert path in passwordauth

* fix: remove console log
2021-04-20 16:22:23 +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
Ivar Conradi Østhus
3cca2513fb fix: small description for toggles 2021-04-16 12:59:36 +02:00
Ivar Conradi Østhus
b3436b5ae6 fix: make admin pages work for OSS and enterprise (#268)
* fix: make admin pages work for OSS and enterprise

* fix: more admin tuning

* fix: project mgm access
2021-04-16 11:31:47 +02:00
Fredrik Oseberg
2a0acd3fb2 fix: remove console log 2021-04-13 09:10:01 +02:00
Ivar Conradi Østhus
e69ba78536 4.0.0-alpha.3 2021-04-12 20:22:08 +02:00
Ivar Conradi Østhus
36f01e0668 chore: update changelog 2021-04-12 20:21:56 +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
Ivar Conradi Østhus
4e92e068ab 4.0.0-alpha.2 2021-04-09 13:39:49 +02:00
Ivar Conradi Østhus
684ca081d0 chore: update changelog 2021-04-09 13:39:40 +02:00
Ivar Conradi Østhus
41ce9105c6 fix: move all deps to devDependecies 2021-04-09 13:38:30 +02:00
Ivar Conradi Østhus
a64cbada1f chore: update readme 2021-04-09 13:29:39 +02:00
Ivar Conradi Østhus
5166198f07 Feat: admin users (#266)
* fix: make it work

* fix: cleanup add/update users a bit

* fix: fix

* fix: fine tune
2021-04-09 13:25:39 +02:00
Fredrik Oseberg
45bce4576d fix: remove editableStrategies from useEffect deps 2021-04-07 09:26:34 +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 Oseberg
30e3f468eb 4.0.0-alpha.1 2021-03-30 15:52:18 +02:00
Fredrik Oseberg
6403f68d20 chore: update changelog 2021-03-30 15:52:14 +02:00
Fredrik Strand Oseberg
b5917515d2 fix: delete strategy (#262) 2021-03-30 15:49:03 +02:00
Ivar Conradi Østhus
f2d8bc27f0 chore: update changelog 2021-03-30 15:15:26 +02:00