Thomas Heartman
1a5749ca08
Refactor: move openapi utils into /util directory ( #1777 )
...
* Refactor: move openapi utils into /util directory
* Refactor: move utils test into `util` directory
* Refactor: don't expose standard responses tied to status codes
* Feat: update empty response description + make it const
* Chore: update snapshot with new response descriptions
2022-07-01 08:06:33 +02:00
renovate[bot]
16dc677340
chore(deps): update dependency eslint-plugin-prettier to v4.2.1
2022-07-01 02:48:58 +00:00
renovate[bot]
c7847dd191
chore(deps): update dependency nock to v13.2.8
2022-06-30 23:59:28 +00:00
renovate[bot]
a30159a170
chore(deps): update dependency dpage/pgadmin4 to v6.11
2022-06-30 21:55:13 +00:00
sellinjaanus
01a8273bd0
Fix failing segment test ( #1781 )
...
* Fix segment test
* Fix failing test
2022-06-30 15:57:07 +00:00
NicolaeUnleash
7c275917f3
docs: Update api_access_navigation.png ( #1784 )
2022-06-30 15:58:13 +03:00
olav
98c7b915c9
refactor: fix empty response usage ( #1783 )
...
* refactor: fix empty response usage
* refactor: move emptyResponse into standard-responses.ts
2022-06-30 14:48:39 +02:00
Tymoteusz Czech
2729999bed
Feat: OpenAPI controller - Bootstrap UI ( #1773 )
...
* rename bootstrap ui controller
* sort openapi schema imports
* add bootstrap ui json schema
* test bootstrap ui schema
* openapi bootstrap ui route
* fix: bootstrap ui schema type
* bootstrap ui e2e test
* simplify bootstrap-ui testing mock
* fix: update after review
2022-06-30 12:21:40 +00:00
andreas-unleash
a607dea284
OAS for client-api metrics.ts ( #1753 )
...
* OAS for client-api metrics.ts
* Fix PR comments
* Fix PR comments
* Fix test
* Renamed and synced with proxy
* Renamed and synced with proxy
* Renamed and synced with proxy
* add tests
* Update python.md
Revert doc
* added 400 response, more tests
* PR comment
* PR comment
2022-06-30 13:27:12 +03:00
andreas-unleash
e875e67d24
open api implementation - client features controller ( #1745 )
...
* open api implementation - client features controller
* open api implementation - client features controller
* bug fix
* test fix
* PR comments
* OAS for client-api metrics.ts
* Refactoring
* Refactoring
* bug fix
* fix PR comments
* PR comment
* PR comment
2022-06-30 12:54:14 +03:00
olav
b67aca8fbf
fix: rename duplicate operation IDs ( #1778 )
2022-06-30 10:51:26 +02:00
Thomas Heartman
4dec126199
feat: add OpenAPI spec to events controller. ( #1754 )
...
* Feat: add initial event schema
* Feat: add events-schema plus tests
* Feat(broken): add openapi validation to getEvents endpoint
* Add schema to basic events endpoint
* Feat: Add openapi for feature events
* Fix: fix recursive schema inclusion
* Feat: add test for recursive function
* Fix: make nullable fields nullable
* Fix: remove `ADMIN` permission for toggle events.
* fix: add new schemas to the snapshot
* Fix: remove recursive schema inclusion
* Feat: test feature events schema
* Fix: add correct permissions for feature events endpoint.
* Refactor: rename "name" to "featureName" for clearer docs
* Fix: Add missing "version" field to feature events
* Feat: add descriptions and extra responses to events endpoints.
* Fix: update openapi snapshot
* Simplify standard responses function
* Refactor: move endpoint descriptions into own file.
* Refactor: simplify type signature.
* Feat: specify type of data and preData properties to object
* Fix: update snapshot
* Refactor: move standard-responses into /util/ directory.
2022-06-30 08:12:34 +00:00
Thomas Heartman
7816d8a1f9
Docs: add segments explainer video + fix formatting ( #1775 )
2022-06-30 08:00:47 +00:00
Nuno Góis
5ba5edcaca
docs: add svelte and vue front-end SDKs ( #1760 )
...
* docs: add svelte and vue front-end SDKs
* docs: add solid and react native SDKs as Community SDKs
* fix: reorder community SDKs so that they are sorted alphabetically
* fix: note and table
* fix: note scope, reorder community SDKs alphabetically by tech
* fix: make some text consistent across SDKs
* fix: svelte docs
* Update website/docs/sdks/proxy-svelte.md
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
* fix: headings
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2022-06-29 12:04:21 +01:00
olav
b2b0958573
fix: ensure that param values from /api/admin/features are strings ( #1761 )
...
* refactor: improve parameter value string casting
* fix: ensure that param values from /api/admin/features are strings
2022-06-29 10:11:34 +02:00
renovate[bot]
390ae8df2b
chore(deps): update docker/metadata-action action to v4 ( #1768 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-29 09:36:09 +02:00
renovate[bot]
fbbd037d35
chore(deps): update docker/login-action action to v2 ( #1767 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-29 09:24:47 +02:00
renovate[bot]
855e33990e
chore(deps): update dependency enhanced-resolve to v5.10.0
2022-06-28 23:12:53 +00:00
renovate[bot]
14392ee975
fix(deps): update dependency passport to ^0.6.0
2022-06-28 20:16:55 +00:00
olav
88dc83ed6f
refactor: log event type when an event can't be saved ( #1763 )
...
* refactor: log event type when an event can't be saved
* Update src/lib/db/event-store.ts
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2022-06-28 16:13:25 +02:00
Gard Rimestad
5d5fc37dfd
Feat/docker container on main builds ( #1762 )
...
* feat: build docker containers when pushing to main
The intent here is to publish a docker container for every build of
main. This will make it easier to run the tip of main.
2022-06-28 16:13:00 +02:00
Christopher Kolstad
48747d70a6
4.14.0-beta.0
2022-06-28 14:37:36 +02:00
Christopher Kolstad
e9896a86f6
chore: bump unleash-frontend to 4.14.0-beta.0
2022-06-28 14:35:24 +02:00
Nuno Góis
b49654c3f0
fix: copy feature variants ( #1750 )
...
* fix: copy feature variants
* add e2e test for cloning with variants
2022-06-28 07:54:09 +01:00
Tymoteusz Czech
f96b4525a5
fix: tag validation duplicate message ( #1756 )
2022-06-28 08:04:43 +02:00
renovate[bot]
e0557a6e5d
chore(deps): update dependency @babel/core to v7.18.6
2022-06-28 00:40:16 +00:00
renovate[bot]
4d85cd3c56
chore(deps): update typescript-eslint monorepo to v5.30.0
2022-06-27 21:11:15 +00:00
renovate[bot]
ad014b5a1e
chore(deps): update dependency eslint-plugin-prettier to v4.1.0
2022-06-27 17:58:53 +00:00
Christopher Kolstad
54d28471f7
fix: openapi spec should only include base path once ( #1755 )
...
* fix: openapi spec should only include base path once
2022-06-27 15:39:08 +02:00
renovate[bot]
f2257eb45b
chore(deps): update dependency superagent to v8 ( #1747 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-27 12:58:39 +02:00
Thomas Heartman
611ef41703
docs: update python docs: fallback function / default values ( #1752 )
2022-06-27 11:16:46 +02:00
andreas-unleash
64082440d4
OAS for client-metrics controller ( #1739 )
...
* OAS for client-metrics controller
* bug and tests
* update snapshot
* update snapshot
* update snapshot
* bug fix
* fix PR comments
* refactoring re PR comments
* re order routes
* remove grouped-client-metrics-schema.ts
* remove grouped-client-metrics-schema.ts
* updated response
* updated snapshot
* PR comments
* PR comments
* Added tests
* Added tests
* fix
* fix
* fix
2022-06-27 11:17:44 +03:00
renovate[bot]
4c3ac89f7b
chore(deps): update dependency lint-staged to v13.0.3
2022-06-24 19:29:36 +00:00
olav
5fff523670
refactor: add schemas to client application registration ( #1746 )
2022-06-24 15:29:27 +02:00
olav
286b016b04
refactor: remove response data from schema validation logging ( #1748 )
...
* refactor: remove response data from schema validation logging
* refactor: update validation error snapshots
* refactor: add missing segments field to featureStrategySchema
2022-06-24 13:44:16 +02:00
renovate[bot]
de4ba0970f
fix(deps): update dependency unleash-frontend to v4.13.0-beta.5 ( #1741 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-23 15:14:20 +02:00
Ivar Conradi Østhus
ab323f253f
fix: add docs for session options ( #1660 )
...
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2022-06-23 14:40:51 +02:00
Nuno Góis
a792594e98
refactor: add OpenAPI schema to simple-password-provider controller ( #1734 )
...
* refactor: add OpenAPI schema to simple-password-provider controller
* finish implementation after merge
* refactor: address PR comments
2022-06-23 08:40:25 +01:00
Thomas Heartman
89d25c8634
docs: add proxy deployment diagrams ( #1743 )
...
* docs: remove empty table row
* docs: add placeholder proxy hosting article
* docs: add images, describe first one
* docs: describe the customer-hosted proxy solution
* docs: describe the self-hosted single-region setup.
* docs: describe enterprise multi-region setup.
* docs: minor changes
* docs: update lists; restructure
* docs: more minor changes
* docs: add alt text to diagrams
* docs: update proxy hosting doc
* docs: some prettier formatting
* docs: add link to proxy hosting doc
* docs: format proxy config table
* docs: prettier formatting
2022-06-23 08:28:01 +02:00
olav
ac3f076a31
refactor: add schemas to strategy controller ( #1744 )
...
* refactor: avoid duplicate feature strategy operationIds
* refactor: fix flaky feature tests
* refactor: remove duplicate controller error handling
* refactor: unify feature strategy schemas
* refactor: add schemas to strategy controller
2022-06-23 08:10:20 +02:00
olav
e013a72ddd
refactor: add missing tokenUserSchema fields ( #1742 )
2022-06-22 15:37:26 +02:00
olav
ab75d4085e
refactor: add schemas to user admin controller ( #1692 )
...
* refactor: add schemas to user admin controller
* refactor: remove unused SessionService
* refactor: fix search query type confusion
* refactor: add schemas to user controller (#1693 )
* refactor: add schemas to user controller
* refactor: fix getAllUserSplashes method name
* refactor: name and email should not be required on create
* refactor: only some user fields may be updated
* refactor: should not require any fields on user update (#1730 )
* refactor: send 400 instead of 500 on missing username and email
* refactor: should not require any fields for user update
* refactor: note that earlier versions required name or email
* refactor: merge roleDescriptionSchema and roleSchema
2022-06-22 14:55:43 +02:00
sellinjaanus
cecca59f65
Task/open api reset password ( #1740 )
...
* task: add openapi for reset password
* fix: add respondWithValidation and remove email from tests
* fix: change tags to other
2022-06-22 14:31:41 +03:00
andreas-unleash
66452e2860
open-api addon controller ( #1721 )
...
* open-api addon controller
* bug fixes
* bug fixes
* resolve merge conflict
* bug fix
* bug fix
* bug fix
* PR comments
* PR comments
* Resolve merge conflics
* Resolve merge conflics
* bug and tests
2022-06-22 13:49:18 +03:00
Thomas Heartman
b3320bf74b
docs: update segments availability notices ( #1729 )
...
* docs: change segment availability notice
* docs: update availability note + add some prettier changes
* docs: format imports with prettier
2022-06-22 10:53:24 +02:00
Christopher Kolstad
18c720f4e9
Task/open api state ( #1738 )
...
* task: add open api to import/export
2022-06-22 09:09:49 +02:00
olav
5bae11a3fb
fix: avoid 400s for unknown request body fields ( #1737 )
2022-06-21 10:33:03 +02:00
olav
7ee8892704
fix: add missing environments field to uiConfigSchema ( #1736 )
...
* fix: add missing environment field to uiConfigSchema
* refactor: avoid throwing when unleash-server is a dependency in dev mode
2022-06-21 09:34:07 +02:00
Christopher Kolstad
32399291e0
task: add OpenApi spec to metrics route ( #1725 )
...
* task: add OpenApi spec to metrics route
2022-06-21 09:12:40 +02:00
renovate[bot]
28251af39e
chore(deps): pin dependency @types/make-fetch-happen to 9.0.2 ( #1723 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-21 09:09:40 +02:00