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

6279 Commits

Author SHA1 Message Date
Ivar Conradi Østhus
5fd38d1644
fix: adjust the proxy docs 2022-08-29 23:07:48 +02:00
olav
5ba0f3b5f0
refactor: remove duplicate install/build step (#1994) 2022-08-29 15:26:17 +02:00
sjaanus
644fdc6709
Fix docker failing (#1993) 2022-08-29 13:00:04 +00:00
sjaanus
2d492c1b66 4.15.0-beta.9 2022-08-29 12:36:18 +00:00
sjaanus
ac957a096c
Fix changelog (#1991) 2022-08-29 12:32:06 +00:00
sjaanus
d0631f0d74
Move e2e tests from frontend to backend .github (#1975)
* Add e2e tests

* Remove cypress key

* Add project tag

* Add cypress to root

* Add cypress working directory and package.json in subfolder

* Remove record flag

* Add contains to url check

* Test segment e2e test

* Remove one of contains

* Test e2e tests

* Fix e2e

* Test new yml

* New yaml

* Test different echo

* Update workflows

* Fix deployment url

* Fix formatting
2022-08-29 12:25:11 +00:00
Gastón Fournier
4a3ec44a1f
4.15.0-beta.8 2022-08-29 12:03:09 +00:00
Gastón Fournier
47532dee7f
chore: upgrade @unleash/express-openapi (#1976) 2022-08-29 12:23:06 +02:00
olav
0510990503
refactor: remove old frontend dep (#1986) 2022-08-29 09:35:42 +02:00
olav
0af71c9a7d 4.15.0-beta.6 2022-08-26 15:31:10 +02:00
renovate[bot]
f76a68dac1
chore(deps): update material-ui monorepo (#1978)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-26 13:26:28 +00:00
Fredrik Strand Oseberg
85b45b9965
Feat/unleash flags embedded proxy (#1974)
* feat: use unleash flags for embedded proxy

* feat: add a separate flag for the proxy frontend

* fix: setup unleash in dev

* fix: check flagResolver on each request

* fix: remove unleash client setup

* refactor: update frontend routes snapshot

* refactor: make batchMetrics flag dynamic

* fix: always check dynamic CORS origins config

* fix: make conditionalMiddleware work with the OpenAPI schema generation

Co-authored-by: olav <mail@olav.io>
2022-08-26 15:16:29 +02:00
Nuno Góis
2d8dfafea9
chore: upgrade vite to v3 (#1977) 2022-08-26 13:49:44 +01:00
renovate[bot]
ad4393b8d7
chore(deps): update dependency @uiw/react-codemirror to v4.11.6 (#1972)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-26 10:31:58 +00:00
renovate[bot]
6b30967ae0
chore(deps): update dependency trim-newlines to v4 (#1969)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-26 12:21:47 +02:00
renovate[bot]
080802e369
chore(deps): update dependency @uiw/codemirror-theme-duotone to v4.11.6 (#1971)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-26 12:18:58 +02:00
renovate[bot]
b38f220a18
chore(deps): update dependency @types/jest to v28.1.8 (#1970)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-26 12:04:19 +02:00
sjaanus
04db9b6d46 4.15.0-beta.5 2022-08-26 09:52:02 +00:00
Fredrik Strand Oseberg
1821bb881a
fix: proxy api check (#1965)
* fix: proxy api check

* fix: add await

* fix: revert async setup for prehook

* fix: stricter endpoint checks
2022-08-26 11:44:12 +02:00
sjaanus
12cf71a7cb
Merge pull request #1968 from Unleash/merge-frontend-with-backend-2
Merge frontend with backend
2022-08-26 09:23:28 +00:00
sjaanus
709c142a87 Merge main 2022-08-26 09:09:18 +00:00
Ivar Conradi Østhus
2a2ed37541
4.15.0-beta.4 2022-08-26 10:43:47 +02:00
Ivar Conradi Østhus
9e23c4e969
fix: website dependencies 2022-08-26 10:27:30 +02:00
Ivar Conradi Østhus
42ee35a2b8
fix: upgrade unleash-frontend to v4.14.8 2022-08-26 10:21:37 +02:00
sjaanus
a1ce89bedc
Merge frontend with backend (#1962)
* fix: use the frontend dir from the backend

* Build is now working

* Fix workflows

* Fix workflows

* Fix build PRs

* Test coverage workflow

* Test coverage

* Test coverage run

* Fix jest report

* refactor: add missing frontend build

* refactor: ignore frontend dir for coverage

* refactor: run frontend build in PRs

* refactor: run backend tests in PRs

* Revert "refactor: run backend tests in PRs"

This reverts commit 22cabddfd1.

* refactor: remove unused frontend build file

* refactor: test workflows in PR

* refactor: use a prepare script for the frontend

* refactor: simplify yarn build scripts

* refactor: fix check-release script

* Revert "refactor: test workflows in PR"

This reverts commit 496ae19404.

* refactor: remove unused gitignore lines

* refactor: remove renovate config from the frontend repo

* refactor: remove frontend repo license

* refactor: remove frontend repo changelog

* refactor: update frontend repo readme

* refactor: add frontend node_modules to dockerignore

* refactor: update the docker yarn.lock snapshot

Co-authored-by: olav <mail@olav.io>
2022-08-26 07:25:31 +00:00
olav
42d64c8803
feat: add CORS instance settings (#1957)
* feat: add CORS instance settings

* refactor: disallow arbitrary asterisks in CORS origins
2022-08-26 09:09:48 +02:00
Ivar Conradi Østhus
f3e8f723a2
Feat/exp flag loader (#1961)
* fix: remove unused exp flag

* fix: remove unused flag

* fix: add support for external flag resolver

* fix: rename flagsresolver to flagresolver

* fix: disable external flag resolver

* fix: refactor a bit

* fix: stop using unleash in server-dev

* fix: remove userGroups flag

* fix: revert bumping frontend
2022-08-26 08:22:42 +02:00
renovate[bot]
b3949dc9f5
chore(deps): update dependency typescript to v4.8.2 (#1967)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-26 03:45:26 +00:00
renovate[bot]
b2663878f9
chore(deps): update typescript-eslint monorepo to v5.35.1 (#1963)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-25 21:12:36 +00:00
renovate[bot]
46ef3282d9
chore(deps): update dpage/pgadmin4 docker tag to v6.13 (#1966)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-25 19:41:52 +02:00
Christopher Kolstad
72b48bbe81
fix: enforce non-nullability for createdBy/modifiedBy arguments (#1959) 2022-08-25 08:39:28 +02:00
olav
5c129cf1fa Merge remote-tracking branch 'unleash-frontend-local/main' into merge-frontend-with-backend-2 2022-08-24 13:34:05 +02:00
Fredrik Oseberg
e5f0c39dbd fix: avatar padding 2022-08-24 10:48:46 +02:00
Fredrik Oseberg
0b5ccc1bfa 4.14.8 2022-08-24 10:40:14 +02:00
olav
c880e962ee fix: avoid validating boolean and undefined parameter values (#1244)
* fix: avoid validating boolean parameter values

* fix: avoid validating undefined parameter values
2022-08-24 10:38:08 +02:00
renovate[bot]
b16dfc9b95 chore(deps): update dependency msw to v0.45.0 (#1242)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-24 00:47:30 +00:00
renovate[bot]
5c4ff63702 chore(deps): pin dependency @uiw/codemirror-theme-duotone to 4.11.5 (#1241)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-23 21:37:59 +00:00
renovate[bot]
28dbb878e2 chore(deps): update dependency @uiw/react-codemirror to v4.11.5 (#1240)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-23 17:50:25 +00:00
Fredrik Strand Oseberg
6818a82cd1 Feat/dark mode exp (#1137)
* feat: add dark mode theme

* fix: feature metrics

* fix: add color

* styling

* fix: add switch

* fix: form sidebar

* fix: remove console log

* fix: add properties

* fix: strategy container

* feat: feature flag

* fix: tests

* fix: build

* fix: logo

* fix: icon

* fix: update snapshots

* fix: CES operator

* fix: typography

* fix: input styling

* fix: remove initial load

* fix: change flag name

* fix: refactor to custom hook

* fix: remove unused import

* fix: dialog headers

* fix: use uiConfig flags instead of flags
2022-08-23 14:20:02 +02:00
olav
e6b72ff4a0 feat: add CORS instance settings (#1239)
* feat: add CORS instance settings

* refactor: hide the CORS page when embedProxy is false
2022-08-23 14:04:09 +02:00
Gastón Fournier
2eff58bd71
docs: add 403 standard error (#1927) 2022-08-23 13:34:16 +02:00
renovate[bot]
337e7888d2 chore(deps): update dependency react-hooks-global-state to v2 (#1236)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-23 11:51:17 +02:00
renovate[bot]
20d1d25934
chore(deps): update typescript-eslint monorepo to v5.34.0 (#1955)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-23 05:19:10 +00:00
renovate[bot]
976226d27e
chore(deps): update dependency @babel/core to v7.18.13 (#1954)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-23 01:56:01 +00:00
Fredrik Oseberg
a8c0a84234 4.14.7 2022-08-22 16:52:46 +02:00
olav
0afb1eadcc fix: relax validation for required params (#1238)
* fix: relax validation for required params

* refactor: inline parameter type checkers
2022-08-22 16:35:51 +02:00
olav
c42bbe4919
refactor: test segments in embedded proxy (#1952) 2022-08-22 16:35:43 +02:00
sjaanus
b2bb60bec5 Update texts (#1226)
Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>
2022-08-22 13:05:55 +00:00
olav
634e188f73
fix: clean up proxy clients on API key deletion (#1950) 2022-08-22 15:02:39 +02:00
olav
655c0dea2c
fix: resolve correct environment for admin tokens (#1951) 2022-08-22 14:44:38 +02:00