1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00
Commit Graph

3507 Commits

Author SHA1 Message Date
andreas-unleash
1a27bffe4d
Complete open api schemas for project features controller (#1563)
* Completed OpenAPI Schemas for ProjectFeatures Controller
Completed OpenAPI Schemas for Feature Controller (tags)

* Completed OpenAPI Schemas for ProjectFeatures Controller
Completed OpenAPI Schemas for Feature Controller (tags)

* bug fix

* bug fix

* fix merge conflicts, some refactoring

* fix merge conflicts, some refactoring

* fix merge conflicts, some refactoring

* added emptyResponse, patch feature operation schemas and request

* added emptyResponse, patch feature operation schemas and request

* patch strategy

* patch strategy

* update strategy

* update strategy

* fix pr comment

* fix pr comments

* improvements

* added operationId to schema for better generation

* fix pr comment

* fix pr comment

* fix pr comment

* improvements to generated and dynamic types

* improvements to generated and dynamic types

* improvements to generated and dynamic types

* Update response types to use inferred types

* Update addTag response status to 201

* refactor: move schema ref destructuring into createSchemaObject

* made serialize date handle deep objects

* made serialize date handle deep objects

* add `name` to IFeatureStrategy nad fix tests

* fix pr comments

* fix pr comments

* Add types to IAuthRequest

* Sync StrategySchema for FE and BE - into the rabbit hole

* Sync model with OAS spec

* Completed OpenAPI Schemas for ProjectFeatures Controller
Completed OpenAPI Schemas for Feature Controller (tags)

* Completed OpenAPI Schemas for ProjectFeatures Controller
Completed OpenAPI Schemas for Feature Controller (tags)

* bug fix

* bug fix

* fix merge conflicts, some refactoring

* fix merge conflicts, some refactoring

* fix merge conflicts, some refactoring

* added emptyResponse, patch feature operation schemas and request

* added emptyResponse, patch feature operation schemas and request

* patch strategy

* patch strategy

* update strategy

* update strategy

* fix pr comment

* fix pr comments

* improvements

* added operationId to schema for better generation

* fix pr comment

* fix pr comment

* fix pr comment

* improvements to generated and dynamic types

* improvements to generated and dynamic types

* improvements to generated and dynamic types

* Update response types to use inferred types

* Update addTag response status to 201

* refactor: move schema ref destructuring into createSchemaObject

* made serialize date handle deep objects

* made serialize date handle deep objects

* add `name` to IFeatureStrategy nad fix tests

* fix pr comments

* fix pr comments

* Add types to IAuthRequest

* Sync StrategySchema for FE and BE - into the rabbit hole

* Sync model with OAS spec

* Completed OpenAPI Schemas for ProjectFeatures Controller
Completed OpenAPI Schemas for Feature Controller (tags)

* Completed OpenAPI Schemas for ProjectFeatures Controller
Completed OpenAPI Schemas for Feature Controller (tags)

* bug fix

* bug fix

* fix merge conflicts, some refactoring

* fix merge conflicts, some refactoring

* fix merge conflicts, some refactoring

* added emptyResponse, patch feature operation schemas and request

* added emptyResponse, patch feature operation schemas and request

* patch strategy

* patch strategy

* update strategy

* update strategy

* fix pr comment

* fix pr comments

* improvements

* added operationId to schema for better generation

* fix pr comment

* fix pr comment

* fix pr comment

* improvements to generated and dynamic types

* improvements to generated and dynamic types

* improvements to generated and dynamic types

* Update response types to use inferred types

* Update addTag response status to 201

* refactor: move schema ref destructuring into createSchemaObject

* made serialize date handle deep objects

* made serialize date handle deep objects

* add `name` to IFeatureStrategy nad fix tests

* fix pr comments

* fix pr comments

* Add types to IAuthRequest

* Sync StrategySchema for FE and BE - into the rabbit hole

* Sync model with OAS spec

* Completed OpenAPI Schemas for ProjectFeatures Controller
Completed OpenAPI Schemas for Feature Controller (tags)

* Completed OpenAPI Schemas for ProjectFeatures Controller
Completed OpenAPI Schemas for Feature Controller (tags)

* bug fix

* bug fix

* fix merge conflicts, some refactoring

* fix merge conflicts, some refactoring

* fix merge conflicts, some refactoring

* added emptyResponse, patch feature operation schemas and request

* added emptyResponse, patch feature operation schemas and request

* patch strategy

* patch strategy

* update strategy

* update strategy

* fix pr comment

* fix pr comments

* improvements

* added operationId to schema for better generation

* fix pr comment

* fix pr comment

* fix pr comment

* improvements to generated and dynamic types

* improvements to generated and dynamic types

* improvements to generated and dynamic types

* Update response types to use inferred types

* Update addTag response status to 201

* refactor: move schema ref destructuring into createSchemaObject

* made serialize date handle deep objects

* made serialize date handle deep objects

* add `name` to IFeatureStrategy nad fix tests

* fix pr comments

* fix pr comments

* Add types to IAuthRequest

* Sync StrategySchema for FE and BE - into the rabbit hole

* Sync model with OAS spec

* revert

* revert

* revert

* revert

* revert

* mapper

* revert

* revert

* revert

* remove serialize-dates.ts

* remove serialize-dates.ts

* remove serialize-dates.ts

* remove serialize-dates.ts

* remove serialize-dates.ts

* revert

* revert

* add mappers

* add mappers

* fix pr comments

* ignore report.json

* ignore report.json

* Route permission required

Co-authored-by: olav <mail@olav.io>
2022-05-18 16:17:09 +03:00
Thomas Heartman
7d1a5c2012
docs: add "how to run for development" to CONTRIBUTING.md (#1600)
* docs: add "how to run" to CONTRIBUTING.md

* docs: Refer to the how-to run section from getting started

* Update CONTRIBUTING.md

Co-authored-by: sighphyre <liquidwicked64@gmail.com>

Co-authored-by: sighphyre <liquidwicked64@gmail.com>
2022-05-18 10:16:04 +00:00
olav
8c1d4838b8
fix: require equal environments when moving toggles (#1595)
* fix: apply query from checkProjectsCompatibility

* fix: require equal environments when moving toggles

* refactor: clean up project service tests

* refactor: add test for project compatibility check

* refactor: improve arraysHaveSameItems name
2022-05-18 11:07:01 +02:00
Renovate Bot
00cc6c8258 chore(deps): update node.js to v14.19.3 2022-05-17 21:56:07 +00:00
Renovate Bot
da249a4c16 chore(deps): update typescript-eslint monorepo to v5.25.0 2022-05-17 19:53:31 +00:00
Renovate Bot
d68b304607 chore(deps): update dependency @babel/core to v7.17.12 2022-05-17 00:57:22 +00:00
Renovate Bot
ec47ff551e chore(deps): update typescript-eslint monorepo to v5.24.0 2022-05-16 21:30:08 +00:00
Thomas Heartman
d384a76a28
docs: fix python sdk syntax highlighting, header levels (#1596)
* docs: fix python sdk syntax highlighting, header levels
* docs(fix): remove invalid toggle names
2022-05-16 10:30:28 +02:00
Wilco Schoneveld
c30e92dc49
Added ability to set additional transport options to email service (#1589)
Co-authored-by: Wilco Schoneveld <wilco.schoneveld@politie.nl>
2022-05-13 09:06:10 +02:00
Ivar Conradi Østhus
6ffc492127
4.11.0-beta.2 2022-05-12 20:16:33 +02:00
Ivar Conradi Østhus
4cf0829c36
fix: bump unleash-frontend to v4.11.0-beta.2 2022-05-12 20:15:12 +02:00
Renovate Bot
6e401d9ebb chore(deps): update dependency @types/jest to v27.5.1 2022-05-12 03:21:22 +00:00
Ivar Conradi Østhus
7250a0574c
fix: correct patch for feature project id 2022-05-11 14:52:38 +02:00
sighphyre
37fa254ceb
fix: Repair feature strategies with broken project ids (#1593) 2022-05-11 13:41:35 +02:00
Thomas Heartman
119d958e7c fix: add version information for reusable workflow
without this, the workflow won't run
2022-05-11 11:38:39 +02:00
Thomas Heartman
c260f90094
chore: Add workflow file to auto-add items to project board (#1588)
This change adds a workflow file that references the reusable workflow
in the unleash/.github repo. It should (if all goes well),
automatically add new issues and prs to the project board.
2022-05-11 11:10:16 +02:00
Ivar Conradi Østhus
2399f9a301
4.11.0-beta.1 2022-05-10 16:21:36 +02:00
olav
3bea8a9931
refactor: use static as the asset dir name (#1586)
* refactor: use static as the asset dir name

* chore: update unleash-frontend

* refactor: use the real index.html in tests
2022-05-10 15:47:54 +02:00
olav
3b46bfb83a
refactor: fix CDN prefix rewrite (#1585)
* fix: change folder path

* refactor: revert cdnPrefix test config

* refactor: fix rewriteHTML test data

* refactor: add rewriteHTML cdnPrefix test

Co-authored-by: Fredrik Oseberg <fredrik.no@gmail.com>
2022-05-10 14:05:53 +02:00
Thomas Heartman
943af1e804
docs: Update the react client install instructions (#1584)
The install instructions didn't previously add the
`unleash-proxy-client` package (presuming it'd be implicitly installed
by `npm`). This doesn't seem to be the case, so we'll list it explicitly.
2022-05-10 13:26:52 +02:00
Ivar Conradi Østhus
86184d8a8b
4.11.0-beta.0 2022-05-10 10:23:06 +02:00
Ivar Conradi Østhus
af3c1aba1d
fix: release script use 2022-05-10 10:21:46 +02:00
Ivar Conradi Østhus
9915a19770
fix: upgrade unleash-frontend to v4.11.0-beta.0 2022-05-10 10:17:45 +02:00
Ivar Conradi Østhus
d711c4749d
fix: correct types used in addon.ts 2022-05-10 09:35:39 +02:00
Renovate Bot
7c9966d96b chore(deps): update dependency @typescript-eslint/eslint-plugin to v5.23.0 2022-05-09 20:45:33 +00:00
renovate[bot]
77874e845d
chore(deps): update dependency husky to v8 (#1576)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-09 19:40:51 +02:00
renovate[bot]
b129edc274
chore(deps): update dependency @typescript-eslint/parser to v5.23.0 (#1580)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-09 19:40:35 +02:00
sighphyre
5ef8dba7a7
fix: Upgrade knex to 2.0.0 and patch some stores to correctly order their count queries so they compile (#1579) 2022-05-09 15:20:12 +02:00
Christopher Kolstad
c0207bf3ff
docs: Add NODE_EXTRA_CA_CERTS documentation for webhook addons (#1578)
* docs: Add NODE_EXTRA_CA_CERTS documentation for webhook addons

Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2022-05-09 13:04:56 +02:00
Thomas Heartman
75e6df5b5b
docs: document Proxy openAPI integration (#1571)
* docs: document the new OpenAPI functionality

* docs: add availability note for openapi integration

* docs: rewrite openapi section
2022-05-09 09:24:48 +02:00
Renovate Bot
b81c056cdb chore(deps): update dependency eslint to v8.15.0 2022-05-07 01:37:41 +00:00
Renovate Bot
ecd6f53784 chore(deps): update dependency @types/memoizee to v0.4.8 2022-05-06 22:56:26 +00:00
Renovate Bot
beaa75f86b fix(deps): update dependency unleash-frontend to v4.10.1 2022-05-06 19:41:50 +00:00
Fredrik Strand Oseberg
e3c2d006db
fix: update spec (#1572) 2022-05-06 19:20:04 +02:00
Thomas Heartman
2113732f3b
docs: clarify that multiple overrides for a variant create unions (#1551)
* docs: clarify that multiple overrides for a variant create unions

* Update website/docs/advanced/feature-toggle-variants.md

Co-authored-by: sighphyre <liquidwicked64@gmail.com>
2022-05-06 14:00:08 +02:00
Thomas Heartman
3b545b7dcd
docs: add more details to variant creation API (#1548)
* docs: add more details to variants api PUT example

* docs(fix): correct header title for code sample
2022-05-06 11:46:37 +02:00
Thomas Heartman
68bad77a84
docs: Update Unleash architecture diagram (#1549)
* docs: Update Unleash architecture digram

* fix: typo an -> a

* docs(fix): fix img link in readme

* docs: update architecture graph
2022-05-06 11:17:35 +02:00
Connor Teague
e67c0d115b
1568 fix datadog type/value order in addon (#1569) 2022-05-06 09:07:19 +02:00
Nuno Góis
ce2714713a
refactor: use vite html in test (#1561) 2022-05-05 16:14:47 +01:00
Pfuenzle
0fd26e26bc
added db-schema to the docs page (#1567)
I added the "schema" option to the configuring unleash docs page

Co-authored-by: Pfluenze <pfuenzle@protonmail.com>
2022-05-05 11:52:02 +02:00
olav
ac90a3b1c7
fix: remove trailing slash from OpenAPI route (#1564) 2022-05-05 11:45:23 +02:00
Diego Susa
7187907d53
Added version to simplify tracking in Vanta & SOC2 2022-05-05 11:08:56 +02:00
Diego Susa
57c3b7d4fd
SOC2 updates
Changed the mailbox used on Enforcement section to a new dedicated one (coc@getunleash.io)
2022-05-05 10:52:01 +02:00
Renovate Bot
2f7ffd19ce chore(deps): update node.js to v14.19.2 2022-05-04 23:38:22 +00:00
olav
56615e91f0
fix: validate the type and length of parameter values (#1559)
* refactor: coerce primitive types in OpenAPI requests

* refactor: avoid broken array args to serializeDates

* refactor: avoid some spec refs to improve generated types

* refactor: remove debug logging

* refactor: fix IExpressOpenApi interface name prefix

* refactor: ensure that parameter values are strings

* refactor: test that parameter values are coerced to strings
2022-05-04 15:16:18 +02:00
Nuno Góis
61e9588bb0
fix: update open api snapshot (#1560) 2022-05-04 14:54:26 +02:00
Nuno Góis
7e938a21b4
feat: show archived toggles on a project level (#1555)
* feat: show archived toggles on a project level

* refactor: split behaviour in 2 separate routes and methods for clarity

* add e2e test
2022-05-04 07:45:29 +01:00
Thomas Heartman
188352cb7a
docs: remove duplicate sidebar item; sort sdks (#1558)
* fix: remove duplicate sidebar entry

* fix: sort sdk list
2022-05-03 10:21:14 +02:00
sebastian-unleash
67f9277b25
docs: Add link to kill switch best practices blog post. (#1554) 2022-05-03 10:16:02 +02:00
Renovate Bot
fe875d4fff chore(deps): update dependency @types/jest to v27.5.0 2022-05-03 02:55:39 +00:00