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

932 Commits

Author SHA1 Message Date
Fredrik Strand Oseberg
f585dcb2d7 fix: import correct component container (#296) 2021-05-12 12:30:54 +02:00
Ivar Conradi Østhus
a93e4f5374 4.0.0-beta.4 2021-05-11 15:03:29 +02:00
Ivar Conradi Østhus
64248938c9 chore: changelog 2021-05-11 15:03:04 +02:00
Ivar Conradi Østhus
a3199e2654 fix: footer 2021-05-11 15:02:07 +02:00
Ivar Conradi Østhus
84388fd812 v4.0.0-beta.3 2021-05-11 12:24:56 +02:00
Ivar Conradi Østhus
b3c2dadf51 chore: update changelog 2021-05-11 12:24:30 +02:00
Fredrik Strand Oseberg
0454046e4d fix: include invite link in email (#294) 2021-05-11 12:14:26 +02:00
Ivar Conradi Østhus
76f9cd0577 fix: add link to manage access to edit project 2021-05-11 12:04:57 +02:00
Ivar Conradi Østhus
e9d40ade85 fix: hosted auth should not need to load inital data 2021-05-10 21:30:52 +02:00
Ivar Conradi Østhus
c9cd70e05b 4.0.0-beta.2 2021-05-10 13:27:59 +02:00
Ivar Conradi Østhus
4c1d99d7dd chore: update changelog 2021-05-10 13:27:40 +02:00
Fredrik Strand Oseberg
2f1848f6fd Fix/feedback on create (#292)
* fix: copy feature toggle instead of setting newVariants on the reference

* fix: remove console log

* fix: update messages

* fix: give feedback on strategy actions

* fix: do not allow feature toggle to be created with empty name

* fix: disable delete if only one strategy is applied

* fix: archive view

* fix: set name field on add variant required

* fix: set required on feature toggle name
2021-05-10 13:22:22 +02:00
Ivar Conradi Østhus
06d7f9b609 fix: proper error handling for auth-settings being stored (#293)
Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>
2021-05-10 13:15:44 +02:00
Ivar Conradi Østhus
91860744f8 fix: api path for auth-config 2021-05-08 18:50:54 +02:00
Ivar Conradi Østhus
f744e67fce fix: improve password auth extra options 2021-05-08 18:46:05 +02:00
Fredrik Oseberg
48ed5f711f 4.0.0-beta.1 2021-05-07 11:26:05 +02:00
Fredrik Oseberg
c348d20501 chore: update changelog 2021-05-07 11:24:57 +02:00
Ivar Conradi Østhus
15ef4606b7 fix: support custom stickiness for flexible strategies 2021-05-07 09:36:15 +02:00
Ivar Conradi Østhus
37bd960133 fix: add members to project use correct uri 2021-05-07 09:14:32 +02:00
Fredrik Strand Oseberg
cc54fad3a4 Fix/console warn (#290)
* fix: resolve uncontrolled autocomplete

* fix: return if no strategy is present

* fix: change logic for retrieving context index

* fix: remove prop types from UserList

* fix: add default to api key name input

* fix: remove raised property from button
2021-05-07 08:42:51 +02:00
Fredrik Strand Oseberg
ad09c4039a Fix/strategy constraints (#289)
* fix: only update editable strategies if index is less than 0

* fix: add wdyr

* fix: set tracking to false as default

* chore: update readme
2021-05-07 08:31:25 +02:00
Christopher Kolstad
24cd9cb2c3 Set .nvmrc to 14 to reflect new requirement of node 2021-05-06 09:35:02 +02:00
Ivar Conradi Østhus
23e49f948a 4.0.0-beta.0 2021-05-05 22:23:44 +02:00
Ivar Conradi Østhus
cbf15ca44a chore: update changelog 2021-05-05 22:23:38 +02:00
Ivar Conradi Østhus
76cd54fd91 feat: upgrade to node.js v14 2021-05-05 22:18:35 +02:00
Ivar Conradi Østhus
6db15076e3 fix: tiny margin for feature toggle list item 2021-05-05 22:11:39 +02:00
Ivar Conradi Østhus
b7cea5e314 fix: should be allowed to create toggles without errors 2021-05-05 22:06:55 +02:00
Fredrik Strand Oseberg
8d525ac477 Fix: jumping screen (#288)
* fix: add overflow-y scroll to html

* fix: add tab exceptions to scroll to top

* fix: remove unused imports
2021-05-05 21:51:04 +02:00
Fredrik Strand Oseberg
7b27f68b8e Fix/minor changes (#285)
* fix: use query params on password auth

* fix: refactor redirect and isUnauthorized

* feat: add 404 page

* fix: setup 404 as redirect and standalone page
2021-05-05 14:58:22 +02:00
Fredrik Strand Oseberg
9b1a07c5ab Fix/v4 corrections (#287)
* fix: remove project display check

* fix: refetch bootstrap on user change

* fix: remove console log

* fix: update test

* fix: do not allow submit if errors exists

* fix: do not allow strategies to redirect home when name is taken
2021-05-05 14:17:25 +02:00
Martin Lehmann
549be832bf chore: fix releases URL in changelog (#286) 2021-05-05 13:57:27 +02:00
Ivar Conradi Østhus
3e2ed0b42c fix: use correct baseUriPath with localStorage 2021-05-05 10:57:07 +02:00
Ivar Conradi Østhus
5585645999 fix: link to docs for empty apps 2021-05-05 10:33:40 +02:00
Ivar Conradi Østhus
ec06e92ef7 4.0.0-alpha.14 2021-05-04 22:10:48 +02:00
Ivar Conradi Østhus
73696f1bd3 chore: updated changelog 2021-05-04 22:10:40 +02:00
Ivar Conradi Østhus
c0c69854e8 fix: all global event log requires admin 2021-05-04 22:06:47 +02:00
Ivar Conradi Østhus
3f5992902d fix: constraints array can be undefined 2021-05-04 21:50:06 +02:00
Ivar Conradi Østhus
48e15262a1 fix: tests 2021-05-04 21:40:38 +02:00
Ivar Conradi Østhus
dd64566719 4.0.0-alpha.13 2021-05-04 21:30:27 +02:00
Ivar Conradi Østhus
c9eb145c56 chore: update changelog 2021-05-04 21:29:49 +02:00
Fredrik Strand Oseberg
c4f44f7558 fix: allow permissions to be checked without project being defined (#282)
* fix: allow permissions to be checked without project being defined

* fix: change order

Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
2021-05-04 21:25:35 +02:00
Fredrik Strand Oseberg
e8de5bd816 Fix/strategy constraints (#283)
* feat: redesign strategy cards

* fix: add version check to constraints

* fix: use flags

* fix: update icon and add tooltips

* fix: remove console logs

Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
2021-05-04 21:25:06 +02:00
Ivar Conradi Østhus
367b5c8d85 fix: logout should only be called once 2021-05-04 21:24:25 +02:00
Ivar Conradi Østhus
217170c2e2 fix: handle generic errors better 2021-05-04 20:41:19 +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
c2e50bf16c 4.0.0-alpha.12 2021-05-02 20:46:40 +02:00
Ivar Conradi Østhus
58bd87c03d chore: update changelog 2021-05-02 20:46:02 +02:00
Ivar Conradi Østhus
90b6fce2c2 fix: build.. 2021-04-30 09:05:46 +02:00
Ivar Conradi Østhus
a8bb01f9f2 fix: add datadog logo for addons 2021-04-30 08:51:34 +02:00
Ivar Conradi Østhus
dad8d3de81 4.0.0-alpha.11 2021-04-29 22:00:58 +02:00
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