1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +02:00
Commit Graph

6320 Commits

Author SHA1 Message Date
Ivar Conradi Østhus
5dc7d8dfac
Create codeql-analysis.yml 2022-05-23 12:22:31 +02:00
Tymoteusz Czech
0f272680ee
fix: project environments order (#1599) 2022-05-23 08:52:50 +00:00
Renovate Bot
d65ceeacc8 chore(deps): update dependency msw to v0.41.0 2022-05-22 04:49:14 +00:00
Renovate Bot
f306622580 chore(deps): update dependency ts-node to v10.8.0 2022-05-21 22:38:08 +00:00
Renovate Bot
caff12b6d6 chore(deps): update dependency vitest to v0.12.9 2022-05-21 22:00:27 +00:00
Renovate Bot
f15cc528bd chore(deps): update dependency eslint to v8.16.0 2022-05-21 04:25:33 +00:00
Renovate Bot
959fcf3ff3 chore(deps): update dependency sass to v1.52.1 2022-05-21 01:59:12 +00:00
Renovate Bot
16a2e74041 chore(deps): update storybook monorepo to v6.5.3 2022-05-20 23:39:01 +00:00
renovate[bot]
4cf5415957
fix(deps): update dependency unleash-frontend to v4.11.0 (#1597)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-20 22:32:00 +02:00
Renovate Bot
e2384a4434 chore(deps): update dependency msw to v0.40.2 2022-05-20 19:21:44 +00:00
Ivar Conradi Østhus
5460245a67
fix: do not produce report.json in coverage action for now 2022-05-20 19:29:14 +02:00
Ivar Conradi Østhus
3c91acca4c
fix: coverage action 2022-05-20 16:48:13 +02:00
Ivar Conradi Østhus
51c1c790b4
fix: inline coverage action script commands 2022-05-20 16:41:43 +02:00
Ivar Conradi Østhus
e2442f5a2c
chore: test 2022-05-20 16:36:06 +02:00
Ivar Conradi Østhus
477779069d
fix: switch gh token for coverage action 2022-05-20 16:23:42 +02:00
olav
b53912aef9
refactor: add regression test for long parameter values (#1617)
* refactor: add regression test for long parameter values

* refactor: format file
2022-05-20 15:44:41 +02:00
Thomas Heartman
312b5d42e8
meta: add external PRs to project board
The `pull_request` hook runs in the context of the proposed changes. That means that for forks, this action won't have access to the required secrets for it to complete. As such, PRs from outside contributors won't work correctly.

The `pull_request_target` hook, however, runs in the context of the target branch, and thus has all the permissions it needs. The [github docs for this hook](https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target) also indicate that this is the way to go:

> This event allows your workflow to do things like label or comment on pull requests from forks. Avoid using this event if you need to build or run code from the pull request.

## Interesting note for PRs

It seems that when this change is proposed as a PR, the expected action (_add new item to project board_) does not run. However, this does not affect other new PRs. Also, after merging it works as expected, for both external and internal contributors.
2022-05-20 15:21:54 +02:00
Ivar Conradi Østhus
7b7f0b84e8
fix: coverage action need username 2022-05-20 12:53:55 +02:00
renovate[bot]
090d7155e0
chore(deps): update dependency ts-jest to v27.1.5 (#1606)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-20 12:43:33 +02:00
Ivar Conradi Østhus
4eaec6e1d3
fix: add gh creds to coverage action 2022-05-20 12:25:17 +02:00
renovate[bot]
f954de0ecf
chore(deps): update dependency @babel/core to v7.18.0 (#1612)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-20 12:20:44 +02:00
Ivar Conradi Østhus
f681f83706
fix: coverage action 2022-05-20 12:19:08 +02:00
Ivar Conradi Østhus
b25435052b
fix: coverage build for main should be a seperate workflow 2022-05-20 12:09:16 +02:00
Ivar Conradi Østhus
c928b20666
chore: update coverage reports 2022-05-20 12:03:31 +02:00
Ivar Conradi Østhus
b16e842849
fix: auto-push coverage 2022-05-20 12:00:30 +02:00
Ivar Conradi Østhus
083fd0dfa3
chore: update coverage 2022-05-20 11:49:56 +02:00
Ivar Conradi Østhus
3934509d4c
fix: failing test 2022-05-20 11:48:08 +02:00
Ivar Conradi Østhus
3d6cfb6582
fix: do not ignore coverage/report.json 2022-05-20 11:44:53 +02:00
Ivar Conradi Østhus
7ddb9f70eb
fix: more debugigng to jest coverage action (POC) 2022-05-20 11:38:54 +02:00
Ivar Conradi Østhus
4869ee8266
fix: more debug 2022-05-20 11:37:43 +02:00
olav
05808745a7
fix: remove parametersSchema maxLength requirement (#1616) 2022-05-20 11:31:34 +02:00
Nuno Góis
40c920f184
docs: use named export instead of default (#1615) 2022-05-20 10:31:05 +01:00
Ivar Conradi Østhus
efb69e6474
fix: add debug step 2022-05-20 11:30:20 +02:00
Ivar Conradi Østhus
590fa50edc
chore: fix coverage badge 2022-05-20 11:26:32 +02:00
Nuno Góis
46c253b964
docs: use named export instead of default (#1614) 2022-05-20 11:22:14 +02:00
Ivar Conradi Østhus
34c4f5bd84
fix: only specify base-cov-file for jest action (poc) 2022-05-20 11:20:09 +02:00
Ivar Conradi Østhus
d6f0d83a97
fix: specify coverage files to use for jest pr action (poc) 2022-05-20 11:16:44 +02:00
Ivar Conradi Østhus
fbb6a42d0b
fix: include jest coverage files (POC) 2022-05-20 11:14:41 +02:00
olav
a8d34d6268
fix: the replaceGroupId field should be optional (#1608) 2022-05-20 11:07:30 +02:00
Tymoteusz Czech
6d130f61f6 feat: new contexts table (#998)
* feat: new contexts table

* improve context list actions

* refactor: disabled icon colors

* fix: update snapshots

* fix: icons

* fix: context fields typo
2022-05-20 08:29:23 +00:00
Fredrik Strand Oseberg
c28cdab6e8 fix: add after element to column headers (#1000)
* fix: add after element to column headers

* fix: add overflow hidden
2022-05-20 09:58:26 +02:00
Nuno Góis
16860c1469
docs: update import to use named export instead of default (#1609)
See: https://github.com/Unleash/proxy-client-react/pull/58
2022-05-20 07:48:01 +01:00
Thomas Heartman
a6753d9af3
docs: switch all slack links to slack.unleash.run (#1613) 2022-05-20 08:17:36 +02:00
Renovate Bot
a8b46a664f chore(deps): update dependency sass to v1.52.0 2022-05-20 06:02:24 +00:00
Renovate Bot
4cc9824441 chore(deps): update dependency msw to v0.40.1 2022-05-20 00:27:13 +00:00
Andreas Fauske
70f58b3a84
Update dot_net.md (#1598)
Fixed a typo.
2022-05-19 14:59:36 +02:00
Fredrik Strand Oseberg
1caf9a924c fix: user search pagination (#997) 2022-05-19 14:27:19 +02:00
olav
2e367b3a04 feat: add trial expiration warning banner (#985)
* refactor: simplify useApiGetter cache keys

* refactor: simplify basePath helpers

* refactor: add UNLEASH_BASE_PATH frontend env var

* refactor: make sure AnnouncerElement does not affect the layout

* refactor: draw texture image above footer

* refactor: extract domain check helpers

* refactor: fix a few ts-expect-errors

* feat: add trial expiration warning banner

* refactor: fix IInstanceStatus interface prefix

* refactor: use ConditionallyRender in InstanceStatus

* refactor: simplify env helper functions

* refactor: use FC in InstanceStatus

* refactor: warn about expired trials

* refactor: fix eslint warnings

* refactor: disable banner outside of localhost

* refactor: use new instance state field name
2022-05-19 14:06:18 +02:00
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