Christopher Kolstad
72092e4a1c
fix: make new variant api validate name uniqueness ( #1126 )
2021-11-24 14:22:28 +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
Thomas Heartman
3a785bdb0f
Merge pull request #1122 from Unleash/docs/more-feature-toggle-type-info
...
docs: Expand feature toggle type documentation, link from important concepts.
2021-11-24 08:59:48 +01:00
Thomas Heartman
ff4114e7d2
Merge branch 'master' into docs/more-feature-toggle-type-info
2021-11-24 08:47:16 +01:00
Thomas Heartman
df742279a5
Apply suggestions from code review
...
Co-authored-by: Christopher Kolstad <chriswk@getunleash.ai>
2021-11-24 08:33:31 +01:00
Youssef Khedher
67f7969b84
Merge pull request #1095 from Unleash/feat/splash
...
create splash migration store and service file
2021-11-23 20:26:42 +01:00
Fredrik Strand Oseberg
786fbb0034
Merge branch 'master' into feat/splash
2021-11-23 19:54:13 +01:00
Christopher Kolstad
1848d8d4eb
task: add a workflow that validates docs for PRs ( #1123 )
2021-11-23 15:19:59 +01:00
Thomas Heartman
7056d516b4
fix: image inclusion and alt text syntax was wrong.
...
Turns out the image description needed to be wrapped in an extra pair
of square brackets and that quotes must be escaped or removed.
2021-11-23 14:18:35 +01:00
Thomas Heartman
c7c4ad9963
docs: touch up the section on deprecating feature toggles.
2021-11-23 13:36:36 +01:00
renovate[bot]
99a2bae0f9
chore(deps): update dependency eslint-config-airbnb-typescript to v16 ( #1109 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-23 13:02:54 +01:00
Thomas Heartman
6962f39cc1
docs: link to feature-flag-types from important concepts.
2021-11-23 11:53:34 +01:00
Thomas Heartman
5fc02a10d3
docs: fix internal links.
2021-11-23 11:53:23 +01:00
Thomas Heartman
beedbd29a2
Merge pull request #1120 from Unleash/docs/add-notes-on-running-the-proxy-locally
...
docs: add initial (untested) steps on how to run the proxy locally.
2021-11-23 11:33:20 +01:00
Thomas Heartman
aef10d1d83
docs: first pass at updating the feature toggle types entry.
2021-11-23 11:15:20 +01:00
Fredrik Oseberg
a12250aa0a
docs: add always pull to getting started
2021-11-23 09:43:35 +01:00
Fredrik Oseberg
6f062e4d66
docs: add always pull to docker commands
2021-11-23 09:40:05 +01:00
Thomas Heartman
7fdb53f664
Docs: add a tip about docker names having to be unique.
2021-11-23 09:08:19 +01:00
Thomas Heartman
c1e225ea9b
docs: fix up docker commands to have consistent formatting.
...
Moved each option onto its own line, the last two options are always
`--network` and then `--name`.
2021-11-23 08:08:23 +01:00
Thomas Heartman
98cdc1674f
docs: add initial (untested) steps on how to run the proxy locally.
...
I haven't yet tested connecting to the `unleash:4242` address.
2021-11-22 16:16:38 +01:00
Youssef Khedher
a132330c35
Merge branch 'master' into feat/splash
2021-11-22 12:05:24 +01:00
Christopher Kolstad
52ae753466
docs: remove jira cloud plugin docs for now ( #1118 )
2021-11-22 11:43:06 +01:00
Renovate Bot
4c4c1de0fb
chore(deps): update dependency eslint to v8.3.0
2021-11-21 13:23:48 +00:00
Renovate Bot
3052eb53fc
chore(deps): update dependency @types/js-yaml to v4.0.5
2021-11-19 20:00:49 +00:00
Renovate Bot
01b2937a3d
chore(deps): update dependency @types/jest to v27.0.3
2021-11-19 14:55:55 +00:00
Renovate Bot
af3057f40d
chore(deps): update dependency source-map-support to v0.5.21
2021-11-19 14:04:23 +00:00
Renovate Bot
e395dedbf2
chore(deps): update dependency @types/uuid to v8.3.3
2021-11-18 02:11:43 +00:00
pjgrenyer
d991d90a62
chore: upped postgres version for Heroku. ( #1112 )
...
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
2021-11-17 22:53:55 +01:00
Renovate Bot
becec43c77
chore(deps): update dependency typescript to v4.5.2
2021-11-17 21:46:12 +00:00
jonkjenn
e4e8d12ca7
Docs: Update feature-toggles-api.md ( #1105 )
...
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
2021-11-15 22:36:25 +01:00
Renovate Bot
3df90596c0
chore(deps): update typescript-eslint monorepo to v5.4.0
2021-11-15 21:12:09 +00:00
Renovate Bot
5d88555be9
fix(deps): update dependency db-migrate to v0.11.13
2021-11-15 18:31:16 +00:00
sighphyre
035c5df8a8
Merge pull request #1103 from Unleash/docs/jiraServerPlugin
...
Docs/jira server plugin
2021-11-12 17:04:04 +02:00
Simmon Hornby
000cb3bb69
docs: Improve readability of jira server installation plugin slightly
2021-11-12 16:56:25 +02:00
sighphyre
152dac0a37
Update website/docs/integrations/jira-server-plugin-usage.md
...
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2021-11-12 16:54:03 +02:00
sighphyre
afca898924
Update website/docs/integrations/jira-server-plugin-usage.md
...
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2021-11-12 16:53:48 +02:00
sighphyre
7a72a7a4ce
Update website/docs/integrations/jira-server-plugin-installation.md
...
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2021-11-12 16:53:29 +02:00
sighphyre
43cf86ed6f
Update website/docs/integrations/jira-server-plugin-installation.md
...
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2021-11-12 16:53:06 +02:00
Christopher Kolstad
061fc560ab
docs: added screenshot successful install
2021-11-12 15:40:10 +01:00
Christopher Kolstad
fd421a677d
Merge branch 'master' into docs/jiraServerPlugin
2021-11-12 15:37:52 +01:00
Christopher Kolstad
614d71b464
docs: mark Jira Cloud plugin as not recommended
2021-11-12 14:12:03 +01:00
Christopher Kolstad
00558a28d4
docs: Add docs for Jira server plugin
2021-11-12 14:00:41 +01:00
Fredrik Strand Oseberg
c369b77b24
Merge branch 'master' into feat/splash
2021-11-12 13:19:36 +01:00
Ivar Conradi Østhus
f8c2188776
4.2.3
2021-11-12 13:19:10 +01:00
Youssef
2d03b8c61e
fix: return be object instead of array
2021-11-12 13:19:06 +01:00
Ivar Conradi Østhus
d8478dd928
feat: clean up events ( #1089 )
...
Co-authored-by: Christopher Kolstad <chriswk@getunleash.ai>
2021-11-12 13:15:51 +01:00
Ivar Conradi Østhus
5b748a3cfc
fix: upgrade unleash-frontend to v4.2.13
2021-11-12 13:14:54 +01:00
Youssef
16429fcf9a
fix: add cascade query inside create table for splash
2021-11-12 13:01:56 +01:00
Youssef
0199d1f211
fix: remove req.body from the splash object when update
2021-11-12 12:44:33 +01:00
Youssef Khedher
314c60393f
Merge branch 'master' into feat/splash
2021-11-12 11:30:08 +01:00