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

217 Commits

Author SHA1 Message Date
Ivar Conradi Østhus
b2f6b9e343
fix: envrionments should have type 2021-09-24 14:16:13 +02:00
Ivar Conradi Østhus
4b7e1f4a81
feat: rename :global: env to "default" (#947)
Our testing and internal validation has proven that
the :global: environment concept confuses people more
than the problems it solves. We have thus decided to
group all configuration that was created before the
environment concept was introduced in to the "default
environment. This would still make everything work
as before in addition to introducing the env concept.

Co-authored-by: Christopher Kolstad <chriswk@getunleash.ai>
2021-09-24 13:55:00 +02:00
Christopher Kolstad
0bca321219
fix: Enforce non-nullability of environment type (#950)
* fix: Enforce non-nullability of environment type
2021-09-24 09:11:36 +02:00
Christopher Kolstad
132e801836
Add UPDATE and DELETE TAG_TYPE permissions (#951) 2021-09-24 09:01:15 +02:00
Christopher Kolstad
e42e0f620a
fix: don't include archived feature strategies (#955) 2021-09-24 08:55:53 +02:00
Ivar Conradi Østhus
b08988075c
fix: correct test verifications 2021-09-23 21:14:43 +02:00
Christopher Kolstad
62b0bcbdc4
fix: Added displayName to feature environments 2021-09-23 16:25:24 +02:00
Christopher Kolstad
e7b948e9db
Add type to environments
- Now returns type as part of the environment object when requesting
  a feature
2021-09-23 16:16:31 +02:00
Christopher Kolstad
5af2633d6d
added tests and exports for 3.17, 4.0 and 4.1 (#944)
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
2021-09-20 12:29:16 +02:00
Christopher Kolstad
f85f66d4f5
feat: add project and environment columns to events (#942)
* feat: add project and environment columns to events

* Added events for feature_strategy update

* fix duplicate test key for dbInit

* Fix argument list for toggleService calls in tests
2021-09-20 12:13:38 +02:00
Christopher Kolstad
37d6c4886a
Respect sort order when displaying strategies (#943) 2021-09-17 15:11:17 +02:00
Ivar Conradi Østhus
c4b697b57d
Feat/api key scoping (#941)
Co-authored-by: Christopher Kolstad <chriswk@getunleash.ai>
2021-09-15 20:28:10 +02:00
Ivar Conradi Østhus
24b057ab6d
fix: lint error 2021-09-14 20:43:05 +02:00
Ivar Conradi Østhus
ab4744e79b
fix: convert schemas to typescript 2021-09-14 20:36:40 +02:00
Ivar Conradi Østhus
dedec5c7d1
fix: convert more tests to typescript 2021-09-14 20:30:37 +02:00
Ivar Conradi Østhus
80291dffcf
fix: convert api-def.js to tyoescript 2021-09-14 20:07:05 +02:00
Ivar Conradi Østhus
e2177da114
fix: convert xtract-user.js to typescript 2021-09-14 19:58:48 +02:00
Ivar Conradi Østhus
83bfcde934
fix: convert event-hook.test.js to typescript 2021-09-14 19:34:35 +02:00
Ivar Conradi Østhus
436f295dc5
fix: convert files to typescript 2021-09-14 19:30:11 +02:00
Ivar Conradi Østhus
d3b9bcb7be
fix: convert feature-schema.test.js to typescript 2021-09-14 12:41:22 +02:00
Fredrik Strand Oseberg
26c9d53b89
feat: Move environments to enterprise (#935)
- Adding, updating and renaming environments are meant to be
  enterprise only features, as such, this PR moves these operations out
  of this server

- We still keep sortOrder updating, toggling on/off and getting one,
  getting all, so we can still work with environments in the OSS version
  as well.

Co-authored-by: Christopher Kolstad <chriswk@getunleash.ai>

Co-authored-by: Christopher Kolstad <chriswk@getunleash.ai>
2021-09-13 15:57:38 +02:00
Ivar Conradi Østhus
1b1bb97715
fix: correct failing feature toggle test 2021-09-13 10:44:08 +02:00
Ivar Conradi Østhus
90962434d9
fix: Cleanup new features API with env support (#929) 2021-09-13 10:23:57 +02:00
Christopher Kolstad
561c3d22e9
fix: Added indices and primary key to feature_tag (#936)
* fix: Added indices and primary key as recommended by dbcritic
2021-09-10 12:27:20 +02:00
Ivar Conradi Østhus
5028bb6c60 fix: failing test 2021-09-10 12:25:12 +02:00
Ivar Conradi Østhus
dff86fcfff fix: add resetDb to migrator 2021-09-10 12:25:12 +02:00
Christopher Kolstad
559cad3c27 Set default SMTP port to 587 instead of 567
fixes: #937
2021-09-09 11:42:36 +02:00
Ivar Conradi Østhus
11640e882b fix: fine tune db-config based on experience 2021-09-03 12:57:25 +02:00
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
c518ddf84c fix: improve performance for fetching active api tokens 2021-09-02 12:46:29 +02:00
Ivar Conradi Østhus
e8486612b6
fix: set correct projects count in metrics 2021-08-31 23:29:23 +02:00
Ivar Conradi Østhus
172ab43ea5
fix: make sure exising projects get :global: env automatically 2021-08-30 13:47:01 +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
d0d49051ac
Revert "fix: oas being overriden"
This reverts commit e03bac9e64.
2021-08-27 12:08:26 +02:00
Ivar Conradi Østhus
e03bac9e64
fix: oas being overriden 2021-08-27 12:02:02 +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
aab4602029
fix: add user and project counters 2021-08-27 10:10:14 +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
Ivar Conradi Østhus
8cb147a81f
fix: getFeatureToggleAdmin should include project 2021-08-25 15:14:07 +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
Fredrik Strand Oseberg
cdc2e7daee
fix: add properties to legacy endpoints (#919)
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
2021-08-19 13:34:24 +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
9050dfb36b
fix: adjust logo in emails 2021-08-16 10:55:06 +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
721baa7657
fix: Clean up exported types even more 2021-08-13 19:22:15 +02:00
Ivar Conradi Østhus
aaa5e056e5
fix: exported types x2 2021-08-13 13:51:29 +02:00