Ivar Conradi Østhus
635d50e1a8
fix: addon-service should only trigger enabled addons
...
fixes : #932
2021-09-02 12:46:29 +02:00
Ivar Conradi Østhus
9b521de34e
fix: correct data format for FEATURE_CREATED event
2021-08-27 19:30:51 +02:00
Ivar Conradi Østhus
cecdd96863
fix: only add strategies to addon texts when available
2021-08-27 10:15:56 +02:00
Ivar Conradi Østhus
14857b01c8
fix: import schema needs to understand :global: env
2021-08-26 22:42:06 +02:00
Ivar Conradi Østhus
56cd0d6912
fix: import should not drop built-in strategies
2021-08-26 22:41:51 +02:00
Ivar Conradi Østhus
d28df3e3fa
Fix/feature events ( #924 )
2021-08-26 13:59:11 +02:00
Fredrik Strand Oseberg
856c7a358b
Fix/switch project endpoint ( #923 )
2021-08-25 13:38:00 +02:00
Ivar Conradi Østhus
bb47c19d4d
fix: only update name if not undefined
2021-08-25 12:43:42 +02:00
Ivar Conradi Østhus
8cbf378286
feat: sync fields when logging in via SSO ( #916 )
2021-08-23 12:11:29 +02:00
Ivar Conradi Østhus
d3fbaa6587
fix: add member and toggle count to project list ( #918 )
2021-08-19 13:25:36 +02:00
Ivar Conradi Østhus
bb9ae03b27
Revert "fix: uri encode smtp connection string ( #901 )"
...
This reverts commit 8f1a5f5a64
.
2021-08-16 10:24:28 +02:00
Ivar Conradi Østhus
2bcdb5ec31
fix: Controller wraps handler with try/catch ( #909 )
...
By having the controller perform try/catch around the
handler function allows us to add extra safety to all
our controllers and safeguards that we will always catch
exceptions thrown by a controller method.
2021-08-13 10:36:19 +02:00
Ivar Conradi Østhus
5760d10e70
Revert "fix: upgrade js-yaml to 4.1.0"
...
This reverts commit 4852d67049
.
2021-08-12 23:00:47 +02:00
Ivar Conradi Østhus
4852d67049
fix: upgrade js-yaml to 4.1.0
2021-08-12 22:47:44 +02:00
James Renaud
8f1a5f5a64
fix: uri encode smtp connection string ( #901 )
...
Signed-off-by: James Renaud <james.renaud@mitel.com>
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
2021-08-12 22:32:16 +02:00
Christopher Kolstad
ff7be7696c
fix: Stores as typescript and with interfaces. ( #902 )
...
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
2021-08-12 15:04:37 +02:00
Ivar Conradi Østhus
806b4a4a59
fix: failing tests
2021-08-10 13:50:59 +02:00
Christopher Kolstad
9646bcfebb
fix: only import feature_tags for imported features
2021-07-30 13:38:28 +02:00
Fredrik Oseberg
72993002a2
fix: always add global environment to new projects
2021-07-14 13:20:36 +02:00
Ivar Conradi Østhus
815a75a5b4
Wip/environments ( #880 )
...
Adds environment support
This PR adds environments as a first-class concept in Unleash.
It necessitated a full rewrite on how we connect feature <-> strategy, as well as a rethink on which levels environments makes sense.
This enables PUTs on strategy configurations for a feature, since all strategies now have ids.
This also updates export/import format. The importer handles both formats, but export is no longer possible in version 1 of the export format, only in version 2, with strategy configurations for a feature as a separate object.
Co-authored-by: Christopher Kolstad <chriswk@getunleash.ai>
Co-authored-by: Fredrik Oseberg <fredrik.no@gmail.com>
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
2021-07-07 10:46:50 +02:00
checketts
2f013bacbf
chore: Convert client metrics controller to typescript ( #831 )
...
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
2021-06-24 19:22:12 +02:00
Ivar Conradi Østhus
bef375e7bf
fix: userFeedback should not be allowed to throw
2021-06-08 20:21:14 +02:00
Ivar Conradi Østhus
8e3e973f22
fix: make sure routes/user handles api calls
2021-06-08 20:15:03 +02:00
Fredrik Strand Oseberg
9f33285b03
Feat/pnps feedback ( #862 )
...
* feat: setup user feedback service
* fix: map rows
* feat: add tests
* wrap service calls in try catch
* fix: add test for retrieving feedback on user
* feat: add fake user feedback store
* fix: check ffor feedback id in controller
* feat: add test for bad request
2021-06-07 11:11:42 +02:00
Christopher Kolstad
3a65847aa7
Migrate to jest ( #854 )
...
* Migrate to jest
* Use --force-exit until dns close handle issue https://github.com/facebook/jest/issues/9982
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
2021-05-28 11:10:24 +02:00
Ivar Conradi Østhus
f9ef945404
fix: projects needs at least one owner
2021-05-25 19:28:29 +02:00
Ivar Conradi Østhus
e095691c1e
fix: lint
2021-05-21 19:16:08 +02:00
Christopher Kolstad
171b5182a5
fix: misunderstanding node URL api
2021-05-11 14:43:41 +02:00
Christopher Kolstad
0086580130
fix: reset-token-service should use unleashUrl
2021-05-07 10:38:41 +02:00
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
Ivar Conradi Østhus
0bed8f605e
fix: regular users are not API users
2021-05-03 19:33:37 +02:00
Ivar Conradi Østhus
4b48c08e0e
fix: move permission to types
2021-05-02 20:58:02 +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
4c3a77bc31
fix: project store was wrongly typing its id field as number ( #822 )
2021-04-30 12:51:46 +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
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
5e53927991
fix: fix test data
2021-04-26 12:21:18 +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
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
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