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

124 Commits

Author SHA1 Message Date
Christopher Kolstad
5565dd8c4b
chore: expose an endpoint to really delete a toggle (#808)
* chore: expose an endpoint to really delete a toggle

- To provide a way to run end-to-end tests without cluttering
  our demo instance with way too many feature-toggles, making this
  endpoint available will allow end-to-end tests to clean up properly
  after themselves
2021-05-06 14:11:56 +02:00
Christopher Kolstad
b0845adee8
fix: rbac now checks permission for both projects (#838)
- When updating a toggle
   - If the project is updated, the user performing the operation
     will need UPDATE_FEATURE permission for both old and new project

fixes: #837
2021-05-05 22:32:25 +02:00
Christopher Kolstad
40a358ac78 fix: an hour is 3600000 seconds not 60000 seconds 2021-05-05 14:56:09 +02:00
Christopher Kolstad
447e44ee77 fix: readd support for DATABASE_URL_FILE 2021-05-05 11:36:22 +02:00
Ivar Conradi Østhus
37d701a121
fix: reload of admin/api page yields 404
fixes: #836
2021-05-05 09:01:39 +02:00
Ivar Conradi Østhus
01ab4e1604
feat: global events requires admin role 2021-05-04 22:11:30 +02:00
Fredrik Strand Oseberg
28b186150d
fix: remove toast info from bootstrap controller (#834)
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
2021-05-04 21:43:14 +02:00
Fredrik Strand Oseberg
48cad24bc7
feat: add migration (#832) 2021-05-04 21:42:58 +02:00
Fredrik Strand Oseberg
5091f287f2
fix: set name type to be min 1 character (#833) 2021-05-04 21:42:42 +02:00
Ivar Conradi Østhus
185aee70df
fix: /api/admin/user should not allow caching 2021-05-04 21:33:32 +02:00
Fredrik Strand Oseberg
2099bbea73
fix: match bootstrap uiConfig with expected data format (#830)
* fix: match bootstrap uiConfig with expected data format

* fix: default to empty object for ui and experimental properties on config

* fix: update text
2021-05-04 10:00:25 +02:00
R Ashwin
d61c7242d8
feat: Datadog integration (#820)
fixes: #815 

Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
2021-05-03 22:08:14 +02:00
Ivar Conradi Østhus
0bed8f605e
fix: regular users are not API users 2021-05-03 19:33:37 +02:00
Fredrik Strand Oseberg
85a544bbd6
Feat/format base path (#828)
* chore: update changelog

* feat: add formatBaseUri helper

* feat: call formatBaseUri on server options

* feat: call formatBaseUri on user options

* fix: update test

* fix: disable consistent return
2021-05-03 12:28:59 +02:00
Ivar Conradi Østhus
841e2a6e07
fix: more types 2021-05-02 21:11:17 +02:00
Ivar Conradi Østhus
4b48c08e0e
fix: move permission to types 2021-05-02 20:58:02 +02:00
Ivar Conradi Østhus
dfda721ddb
fix: catch all route only for baseUriPath (#825)
* fix: catch all route only for baseUriPath

* Update src/lib/app.ts

Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>

Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>
2021-04-30 20:16:20 +02:00
Fredrik Strand Oseberg
e22c7c8b37
Feat/serve frontend with baseuri (#824)
* chore: update changelog

* chore: update changelog

* feat: format asset paths and insert baseUri in html

* feat: add tests

* feat: pass dependencies to pre router hook

Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
2021-04-30 15:31:54 +02:00
Ivar Conradi Østhus
0efc238fdb
fix: define root role by setting the name of the role (#823) 2021-04-30 13:25:24 +02:00
Christopher Kolstad
dd8e9207ad
feat: automatically add all existing users as owners to all existing … (#818)
* feat: automatically add all existing users as owners to all existing projects
2021-04-30 13:04:25 +02:00
Christopher Kolstad
4c3a77bc31
fix: project store was wrongly typing its id field as number (#822) 2021-04-30 12:51:46 +02:00
Ivar Conradi Østhus
176d2e4dd3
fix: Autehntication required options is optional 2021-04-29 18:52:52 +02:00
Christopher Kolstad
bbb714bf5f
fix: default custom auth hook now denies all requests to api endpoints (#811)
* fix: default custom auth hook now denies all requests to api endpoints
* fix: add link to documentation in customAuth error message
2021-04-29 15:18:58 +02:00
Christopher Kolstad
7cbe6bfcc1
fix: deletes sessions for user when user is removed (#810) 2021-04-29 10:54:11 +02:00
Ivar Conradi Østhus
568998f20a
fix: import statements for type/events 2021-04-29 10:29:39 +02:00
Ivar Conradi Østhus
df2e23c282
fix: refactor event types 2021-04-29 10:21:29 +02:00
Ivar Conradi Østhus
88a56b8569
fix: move AuthenticationRequired to types 2021-04-29 09:57:45 +02:00
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
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
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