Commit Graph

41 Commits

Author SHA1 Message Date
renovate[bot] 769e8693b3 chore(deps): update metcalfc/changelog-generator action to v3 (#1121)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-25 20:08:33 +01:00
Christopher Kolstad 6c6001619c Feat/variant api (#1119)
Add a new .../:feature/variants API

This adds
- `GET /api/admin/projects/:projectId/features/:featureName/variants` which returns 
```json
{ version: '1', variants: IVariant[] }
```
- `PATCH /api/admin/projects/:projectId/features/:featureName/variants` which accepts a json patch set and updates the feature's variants field and then returns 
```json
{ version: '1', variants: IVariant[] }
```
- `PUT /api/admin/projects/:projectId/features/:featureName/variants`
 which accepts a IVariant[] and overwrites the current variants list for the feature defined in :featureName and returns
```json
{ version: '1', variants: IVariant[] }

- This also makes sure the total weight of all variants is == 1000
- Validates that there is at least 1 'variable' variant if there are variants
- Validates that 'fix' variants total weight can't exceed 1000
- Adds tests for all these invariants.


Co-authored-by: Simon Hornby <simon@getunleash.ai>
2021-11-24 13:08:04 +01:00
Christopher Kolstad 1848d8d4eb task: add a workflow that validates docs for PRs (#1123) 2021-11-23 15:19:59 +01:00
renovate[bot] dc1df85dce chore(deps): update metcalfc/changelog-generator action to v2 (#1062)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-26 20:14:02 +02:00
Ivar Conradi Østhus ffec4f6342 fix: rename websitev2 to website 2021-10-26 11:25:19 +02:00
Renovate Bot 985f5cd007 chore(deps): update metcalfc/changelog-generator action to v1.0.1 2021-10-12 11:36:18 +00:00
Ivar Conradi Østhus 14e09fe6aa fix: modify actions for PRs 2021-10-06 22:16:58 +02:00
Ivar Conradi Østhus e76345e243 fix: custom test-script for yart coverage reporter action 2021-10-06 13:09:09 +02:00
Ivar Conradi Østhus fdffb03fb3 fix: adjust test-script for jest-coverage action 2021-10-06 12:41:50 +02:00
Aneesh Relan 7b034b631c chore: add jest coverage action for pr builds (#997)
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
2021-10-06 12:31:28 +02:00
renovate[bot] a85aba86ba chore(deps): update metcalfc/changelog-generator action to v1 (#982)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-28 12:09:46 +02:00
renovate[bot] 178c5aeaaa chore(deps): update actions/setup-node action to v2 (#977)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-27 19:21:13 +02:00
Youssef Khedher 118ccf8449 docs: Readme update dashboard screenshot (#953) 2021-09-23 21:19:10 +02:00
Ivar Conradi Østhus c9a2b3d549 fix: set DEPLOYMENT_BRANCH for docusaurus 2021-09-02 14:36:18 +02:00
Ivar Conradi Østhus c5b8b2f920 fix: add node v16 as build target
fixes: #871
2021-08-11 12:58:10 +02:00
Pankaj Patil b30bed524c chore: Added Deploy To Digital Ocean Button (#874)
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
2021-06-21 14:15:33 +02:00
Ivar Conradi Østhus 8c7b3f7441 docs: improve introduction section 2021-06-14 21:48:19 +02:00
Ivar Conradi Østhus a8c8046b9f chore: update readme 2021-06-13 23:26:20 +02:00
Ivar Conradi Østhus 88a51eed79 fix: styles to docs 2021-06-05 00:25:35 +02:00
Ivar Conradi Østhus c8eff31fbd fix: proper logo 2021-06-04 23:26:40 +02:00
Ivar Conradi Østhus 1063e356a6 fix: update README.md 2021-06-04 19:35:43 +02:00
Ivar Conradi Østhus 496d9d38a6 fix: update README.md 2021-06-04 19:31:28 +02:00
Christopher Kolstad a709af1d67 fix: don't build all of unleash just for doc updates 2021-06-04 15:33:47 +02:00
Christopher Kolstad 296804c147 fix: only generate docs if websitev2 subfolders are changed 2021-06-04 11:19:22 +02:00
Christopher Kolstad 406f0554cf Docusaurusv2 (#864)
feat: Upgraded to Docusaurus v2

closes: #771
2021-06-04 11:17:15 +02:00
Simen A. W. Olsen a11ef18638 Add unleash logo to README (#859)
* Improve README heading

* update logo name

* improve precision on logo
2021-05-27 23:36:59 +02:00
Ivar Conradi Østhus 0eb132c025 feat: unleash v4 will require node 14 or higher (#784) 2021-04-13 09:22:37 +02:00
Christopher Kolstad dde1974aa0 chore: Don't build prs from main build file 2021-03-04 18:48:08 +01:00
Christopher Kolstad a67b50296b chore: setup separate workflow for PRs 2021-03-04 14:27:43 +01:00
Christopher Kolstad 3bd3448edb chore: Make github workflow trigger on all pushes 2021-02-17 15:36:07 +01:00
Ivar Conradi Østhus 2bb38fe3e8 fix: Addons should support sensitive params 2021-02-05 15:20:00 +01:00
Christopher Kolstad 41c7f94132 Chore: add action for performing github release 2021-01-26 11:53:02 +01:00
Christopher Kolstad 9c170f269c Add pull_request and remove pull_request_target 2021-01-07 14:42:31 +01:00
Ivar Conradi Østhus f22233c3d7 fix: make github action use correct ref for pull-requests 2021-01-06 19:40:01 +01:00
Ivar Conradi Østhus 0c6eb9dd92 fix: run on all pull_requests regardless of branch 2021-01-06 18:06:56 +01:00
Ivar Conradi Østhus 82b0a579e3 fix: avoid github actions running twice on PRs 2020-12-21 15:58:07 +01:00
Ivar Conradi Østhus 9f7beb84c9 fix: run build also for external PRs 2020-12-11 14:50:38 +01:00
Ivar Conradi Østhus e3bfe2c6d0 fix: remove unused github action 2020-12-03 21:23:51 +01:00
gazconroy c7c2f17bd0 feat: First draft of admin Open API specification (OAS) (#652)
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
2020-12-03 21:09:16 +01:00
Ivar Conradi Østhus 9e48b5a2f4 fix: Replace travis with GitHub Actions
closes #656
2020-11-24 12:46:55 +01:00
Ivar Conradi Østhus a328f4df30 Create FUNDING.yml 2020-02-20 08:34:31 +01:00