Ivar Conradi Østhus
cb7555d048
fix: minor tuning on auth
2021-04-23 11:40:23 +02:00
Christopher Kolstad
8845c90f57
Added enterpriseVersion to root of IUnleashConfig/IUnleashOptions
2021-04-23 11:05:30 +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
Fredrik Strand Oseberg
c58612fc8f
Feat/add new user email ( #793 )
...
* feat: send email when adding a new user
* fix: rename method
* fix: create welcome email
* fix: update email templates
* fix: add name to templates
* refactor: reduce database calls to one
* fix: alter tests
* fix: remove console logs
2021-04-23 10:58:47 +02:00
Ivar Conradi Østhus
b0e6d8c363
fix: User should require a ID field set ( #799 )
2021-04-22 23:40:52 +02:00
Ivar Conradi Østhus
424d4e209e
fix: introduce settingService
2021-04-22 22:54:08 +02:00
Ivar Conradi Østhus
b33e8e23f0
fix: migration rollback use DROP for column
2021-04-22 22:30:08 +02:00
Ivar Conradi Østhus
15b1e5514f
fix: skipLocked when updating lastSeen for toggles
...
(second attempt)
see: #795 for deatils.
2021-04-22 22:02:42 +02:00
Ivar Conradi Østhus
b3d830617c
fix: skipLocked when updating lastSeen for toggles
2021-04-22 20:18:49 +02:00
Christopher Kolstad
18f66ef732
feat: Add change-password endpoint to user-controller ( #800 )
...
fixes : #801
Co-authored-by: Fredrik Oseberg <fredrik.no@gmail.com>
2021-04-22 16:05:59 +02:00
Ivar Conradi Østhus
185091174f
fix: convert AUTH_TYPE to uppercase ( #797 )
...
Make sure we support both `AUTH_TYPE=demo` and `AUTH_TYPE=DEMO`
Co-authored-by: Christopher Kolstad <chriswk@getunleash.ai>
2021-04-22 15:04:08 +02:00
Christopher Kolstad
7776f3c940
Fix/strategies sort order ( #798 )
...
* feat: add sort order field to strageies
* feat: update strategy display name and description
Co-authored-by: Fredrik Oseberg <fredrik.no@gmail.com>
2021-04-22 13:33:35 +02:00
Ivar Conradi Østhus
4b10356325
fix: only ADMIN can list all users
2021-04-22 12:13:41 +02:00
Ivar Conradi Østhus
05abb7e295
fix: enable demo-authentication ( #796 )
2021-04-22 10:53:47 +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
cc1b328b07
fix: default db SSL to undefined
2021-04-22 10:44:04 +02:00
Ivar Conradi Østhus
a6eb64e5da
fix: use db config with schema for db-migrate
2021-04-22 10:25:18 +02:00
Christopher Kolstad
240c6a77a1
Feat/options need types ( #794 )
...
feat: options are now typed
- This makes it easier to know what to send to unleash.start / unleash.create
- Using a Partial to instantiate the config, then melding it with defaults to get a config object with all fields set either to their defaults or to whatever is passed in.
Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
2021-04-22 10:07:10 +02:00
Ivar Conradi Østhus
c31e9b9392
feat: add support for demo-signin
2021-04-22 08:44:16 +02:00
Ivar Conradi Østhus
4dc2f69a08
chore: update yarn.lock
2021-04-21 09:44:33 +02:00
Ivar Conradi Østhus
fd5b040567
chore: update frontend version
2021-04-21 09:42:46 +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
Christopher Kolstad
4b65c44116
feat: add ui-bootstrap endpoint ( #790 )
...
* feat: add ui-bootstrap endpoint
- Reducing calls needed for frontend to 1 instead of the current 6
fixes : #789
2021-04-20 19:54:31 +02:00
Fredrik Oseberg
03df9f5199
chore: update frontend version
2021-04-20 19:24:33 +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 Oseberg
b824842a03
chore: update frontend
2021-04-20 16:29:20 +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
Christopher Kolstad
4246baee16
feat: add ui-bootstrap endpoint ( #790 )
...
* feat: add ui-bootstrap endpoint
- Reducing calls needed for frontend to 1 instead of the current 6
fixes : #789
2021-04-20 12:32:02 +02:00
Ivar Conradi Østhus
332f1c4544
feat: expose user permissions ( #791 )
2021-04-20 09:58: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
Christopher Kolstad
b55c85783b
Reset token ( #786 )
...
feat: Add Reset token functionality
This allows admin users to create a reset token for other users. Thus allowing resetting their password.
Co-authored-by: Fredrik Oseberg <fredrik.no@gmail.com>
fixes : #778
2021-04-16 15:29:23 +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
Ivar Conradi Østhus
23ea21babf
fix: rename rbac roles. ( #788 )
...
* fix: rename rbac roles.
Root-roles:
- Admin
- Editor
- Viewer
Project roles:
- Owner
- Member
* Update src/lib/services/access-service.ts
* Update src/migrations/20210415173116-rbac-rename-roles.js
Co-authored-by: Christopher Kolstad <chriswk@getunleash.ai>
2021-04-16 10:45:15 +02:00
Ivar Conradi Østhus
c45c19fedb
fix: remove unused import
2021-04-15 22:23:04 +02:00
Ivar Conradi Østhus
06a7bb323c
fix: fully remove enableLegacyRoutes option
2021-04-15 22:16:14 +02:00
Ivar Conradi Østhus
5214a7f88e
fix: failing tests
2021-04-15 11:35:45 +02:00
Ivar Conradi Østhus
9f3ca73075
fix: expose auth-type in ui-config
2021-04-15 11:29:53 +02:00
Ivar Conradi Østhus
781a300bf7
4.0.0-alpha.2
2021-04-13 13:56:26 +02:00
Ivar Conradi Østhus
85d08d75f8
chore: update changelog
2021-04-13 13:56:16 +02:00
Ivar Conradi Østhus
2c01fd088b
fix: should only do checkRbac if it exists
2021-04-13 11:41:22 +02:00
Ivar Conradi Østhus
b7d2cb06ae
fix: docs transitive dependencies
2021-04-13 09:24:17 +02:00
Ivar Conradi Østhus
0eb132c025
feat: unleash v4 will require node 14 or higher ( #784 )
2021-04-13 09:22:37 +02:00
Ivar Conradi Østhus
c86a29622d
chore: typos in migration-guide
2021-04-13 09:21:53 +02:00
Fredrik Oseberg
2a0acd3fb2
fix: remove console log
2021-04-13 09:10:01 +02:00