1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-11-06 19:07:34 +01:00
Commit Graph

10448 Commits

Author SHA1 Message Date
renovate[bot]
236c798380 chore(deps): update dependency @testing-library/react to v11.2.7 (#342)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-27 09:19:30 +02:00
renovate[bot]
2be267332e chore(deps): pin dependencies (#341)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-27 09:12:17 +02:00
renovate[bot]
dd75315c24
fix(deps): pin dependencies (#957)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-27 09:09:49 +02:00
renovate[bot]
bc336cc2a0 chore: Add renovate.json (#340)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-27 09:06:55 +02:00
renovate[bot]
bb93e33b25
chore: Add renovate.json (#956)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-27 09:06:03 +02:00
Ivar Conradi Østhus
94e237f71a
docs: minor adjustments. 2021-09-26 22:49:51 +02:00
Ivar Conradi Østhus
1845eb95e6 feat: Add project and environment scoping to API keys (#336)
Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>
2021-09-26 22:41:38 +02:00
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
Youssef Khedher
833ea32752
Fixed the react link apperance 2021-09-24 10:16:21 +01: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
Youssef Khedher
0e82ab28f8
removed the --save from npm command 2021-09-23 21:21:05 +01:00
Youssef Khedher
b766182c9a
removed the --save flag
removed the --save as it is used by default as of npm 5.0.0
2021-09-23 21:19:33 +01:00
Youssef Khedher
118ccf8449
docs: Readme update dashboard screenshot (#953) 2021-09-23 21:19:10 +02:00
Youssef Khedher
d7a44d01a2
docs: remove the conflict between docker steps and docker-compose (#952)
* remove the conflict between docker steps and docker-compose

* fixing a link name typo
2021-09-23 21:18:44 +02:00
dependabot[bot]
d08809ce97
chore(deps): bump prismjs from 1.24.1 to 1.25.0 in /websitev2 (#946)
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.24.1 to 1.25.0.
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PrismJS/prism/compare/v1.24.1...v1.25.0)

---
updated-dependencies:
- dependency-name: prismjs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-23 21:17:46 +02:00
dependabot[bot]
348312fefa
chore(deps): bump tmpl from 1.0.4 to 1.0.5 (#949)
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases)
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5)

---
updated-dependencies:
- dependency-name: tmpl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-23 21:17:31 +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
Youssef Khedher
7c1909a4a9
Merge pull request #948 from Unleash/documentation-update
update the docs with the new screenshots
2021-09-22 12:01:24 +01:00
Youssef Khedher
6a3736e866 update the advanced part 2021-09-22 11:29:58 +01:00
Youssef Khedher
d87528e7d4 update the docs with the new screenshots 2021-09-21 16:21:48 +01:00
Fredrik Strand Oseberg
34df8617d2 Fix/strategy permissions (#337)
* fix: only show actions if applicable to the current user

* fix: remove API access from admin settings

* fix: update snapshot
2021-09-20 16:59:04 +02:00
Ivar Conradi Østhus
c8ec1603ff
chore: set transtivie resolutions 2021-09-20 12:37:53 +02:00
Ivar Conradi Østhus
d239be2a2f
fix: upgrade connect-session-knex to version 2.1.0 2021-09-20 12:34:18 +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
Fredrik Oseberg
0baa7b22e9 fix: header zIndex 2021-09-15 11:25:02 +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
Fredrik Strand Oseberg
92f3f8af08 Feat/environment crud (#335)
* feat: add env

* fix: create environment form

* feat: create environment

* feat: add deletion protection

* fix: lift up state

* feat: add ability to update environment

* fix: remove env reset

* fix: remove link

* feat: add drag and drop sorting

* fix: remove unused imports

* feat: add methods to toggle env on/off

* feat: only make api call on drop

* fix: disabled text

* fix: add disabled indicator

* fix: add edit env payload

* fix: add E flag

* fix: cleanup

* fix: update snapshots

* fix: remove useFeature

* fix: change property to errorText

* fix: update tests

* fix: change menu

* fix: update snapshots

* feat: toggle view v2

* fix: handle error on sort order api call

* fix: remove unused import

* fix: useFeature

* fix: update tests

* fix: console logs

* fix: use try catch

* fix: update snapshots
2021-09-14 14:20:23 +02:00
Ivar Conradi Østhus
d3b9bcb7be
fix: convert feature-schema.test.js to typescript 2021-09-14 12:41:22 +02:00
Christopher Kolstad
751b7d5da3
4.1.4-0 2021-09-14 10:42:04 +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
Ivar Conradi Østhus
15102fe318
4.1.3-0 2021-09-10 12:29:23 +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