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

2249 Commits

Author SHA1 Message Date
Ivar Conradi Østhus
65fad95c6f
fix: migrate only users without any role 2021-04-28 12:56:19 +02:00
R Ashwin
6c57aeb232
feat: Teams addon for messaging on Microsoft teams (#814) 2021-04-28 12:38:11 +02:00
Ivar Conradi Østhus
517f3e2170
fix: migration to create root roles for users with permissions (#816)
* fix: migration to create root roles for users with permissions

needed to migrate enterprise users to rbac.

* fix: callback
2021-04-28 11:48:21 +02:00
Ivar Conradi Østhus
8c4a6a1e18
fix: set default DATABASE_SSL to not rejectUnauthorized (#817) 2021-04-28 10:55:11 +02:00
Ivar Conradi Østhus
886e0bb008
feat: add user create/update/delete events (#807) 2021-04-27 20:47:11 +02:00
Christopher Kolstad
d0b17af770
fix: handle password being undefined when validating (#809) 2021-04-27 15:35:10 +02:00
Christopher Kolstad
578078e03f
fix: active sessions are now destroyed if auth/reset and auth/validate endpoints are used (#806) 2021-04-27 09:16:44 +02:00
Christopher Kolstad
0de4c98a58
fix: send email on process.nextTick (#805)
To avoid users having to wait while we wait for a response from the email provider, we now send the mail on nextTick
2021-04-27 09:05:46 +02:00
Ivar Conradi Østhus
33782d15d5
fix: add hosted auth option 2021-04-26 21:31:08 +02:00
Ivar Conradi Østhus
5e53927991
fix: fix test data 2021-04-26 12:21:18 +02:00
Ivar Conradi Østhus
bedb28d55a
fix: correct test data 2021-04-26 11:51:53 +02:00
Ivar Conradi Østhus
d12dc43b8f
fix: migration should call cb on down 2021-04-26 11:29:14 +02:00
Ivar Conradi Østhus
2874ae71b6
fix: change default admin password 2021-04-26 11:28:51 +02:00
Ivar Conradi Østhus
c216181f8e
fix: add types for node-fetch 2021-04-26 11:27:52 +02:00
Ivar Conradi Østhus
a9100046df
4.0.0-alpha.4 2021-04-23 15:33:53 +02:00
Ivar Conradi Østhus
ad0477d7ea
fix: update unleash-frontend 2021-04-23 15:32:10 +02:00
Ivar Conradi Østhus
5ed4e3d4a8
chore: cleanup changelog 2021-04-23 15:31:28 +02:00
Ivar Conradi Østhus
b4b524a11b
feat: add option for LOG_LEVEL (#803) 2021-04-23 15:31:12 +02:00
Christopher Kolstad
c729f514cf
fix: make users emails case-insensitive (#804) 2021-04-23 15:30:23 +02:00
Christopher Kolstad
97d77d84cc fix: emailservice now just returns if email was configured 2021-04-23 15:24:32 +02:00
Christopher Kolstad
7cb7e4a193 fix: simplify isConfigured check 2021-04-23 15:01:22 +02:00
Ivar Conradi Østhus
f261f546cc
fix: loading of emailtemplates 2021-04-23 14:53:56 +02:00
Ivar Conradi Østhus
86cbd58487
4.0.0-alpha.3 2021-04-23 13:43:49 +02:00
Ivar Conradi Østhus
28c7b3f190
chore: update changelog 2021-04-23 13:41:27 +02:00
Ivar Conradi Østhus
b406d3c7cf
fix: should allow revive toggles 2021-04-23 13:29:24 +02:00
Ivar Conradi Østhus
d021f4ebc5
fix: lint 2021-04-23 12:55:11 +02:00
Ivar Conradi Østhus
709d12a1dc
fix: hasPermission should not throw 2021-04-23 12:52:29 +02:00
Christopher Kolstad
8845c90f57 Added enterpriseVersion to root of IUnleashConfig/IUnleashOptions 2021-04-23 11:05:30 +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
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
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
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
Fredrik Oseberg
b824842a03 chore: update frontend 2021-04-20 16:29:20 +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
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