Commit Graph

483 Commits

Author SHA1 Message Date
Jacob Overgaard
fe1d798793 remove storybook msw plugin 2023-06-09 14:35:57 +02:00
Jacob Overgaard
a172e3ebc7 Merge branch 'main' into dependabot/npm_and_yarn/typescript-5.1.3 2023-06-06 13:17:07 +02:00
Niels Lyngsø
4b6a42d459 Merge remote-tracking branch 'origin/main' into feature/data-type-infinite-editor 2023-06-05 15:25:41 +02:00
dependabot[bot]
eee3b0d2e9 Bump typescript from 5.0.4 to 5.1.3
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.0.4 to 5.1.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.0.4...v5.1.3)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-05 08:40:31 +00:00
Jacob Overgaard
b671551548 Merge pull request #755 from umbraco/dependabot/npm_and_yarn/prettier-2.8.8
Bump prettier from 2.8.4 to 2.8.8
2023-06-05 10:39:45 +02:00
Jacob Overgaard
aa640d6878 Merge pull request #756 from umbraco/dependabot/npm_and_yarn/vite-plugin-static-copy-0.15.0
Bump vite-plugin-static-copy from 0.14.0 to 0.15.0
2023-06-05 10:39:24 +02:00
Niels Lyngsø
2876f96c84 new router-slot version 2023-06-02 14:18:31 +02:00
Jacob Overgaard
bc3aa5d831 install webWorkerLoader 2023-06-02 09:41:39 +02:00
dependabot[bot]
e80511d023 Bump vite-plugin-static-copy from 0.14.0 to 0.15.0
Bumps [vite-plugin-static-copy](https://github.com/sapphi-red/vite-plugin-static-copy) from 0.14.0 to 0.15.0.
- [Commits](https://github.com/sapphi-red/vite-plugin-static-copy/compare/v0.14.0...v0.15.0)

---
updated-dependencies:
- dependency-name: vite-plugin-static-copy
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-01 18:57:47 +00:00
dependabot[bot]
840c6d9662 Bump prettier from 2.8.4 to 2.8.8
Bumps [prettier](https://github.com/prettier/prettier) from 2.8.4 to 2.8.8.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.8.4...2.8.8)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-01 18:57:35 +00:00
Jacob Overgaard
4c4f6024f7 pack monaco workers with rollup 2023-06-01 16:17:05 +02:00
Jacob Overgaard
a6ce2bd40a upgrade storybook to 7.0.18 2023-06-01 13:27:22 +02:00
Niels Lyngsø
2c04468267 updated package.json 2023-05-30 15:29:54 +02:00
Niels Lyngsø
9aeab71963 no ** redirects and re-render routes on updating a none-matching router-slot 2023-05-30 15:25:02 +02:00
Jacob Overgaard
dafbd78e37 update storybook 2023-05-26 16:03:49 +02:00
Jacob Overgaard
395ed82559 update lit 2023-05-26 15:43:05 +02:00
Jacob Overgaard
c530af8da8 update typescript json schema 2023-05-26 15:42:36 +02:00
Jacob Overgaard
4a2f301769 lockfile 2023-05-26 14:47:38 +02:00
Niels Lyngsø
59431facd2 install UUI RC-1 2023-05-25 10:36:47 +02:00
Mads Rasmussen
87923b3dac Merge branch 'main' into poc/package-modules-move-libs-test 2023-05-23 18:45:41 +02:00
Mads Rasmussen
71902baf5f install commonjs plugin 2023-05-19 14:31:36 +02:00
Niels Lyngsø
fc4f40237f package-lock 2023-05-17 10:17:58 +02:00
Jacob Overgaard
b441695642 Merge pull request #716 from umbraco/chore/storybook-7011
Storybook 7.0.11
2023-05-16 09:51:12 +02:00
Jacob Overgaard
c32fdafeed upgrade storybook to 7.0.11 2023-05-15 15:47:30 +02:00
Jacob Overgaard
ca084eff5f upgrade uui to 1.3.0 2023-05-15 14:29:57 +02:00
dependabot[bot]
8dd26a649c Bump @web/test-runner from 0.15.3 to 0.16.1 (#684)
Bumps [@web/test-runner](https://github.com/modernweb-dev/web/tree/HEAD/packages/test-runner) from 0.15.3 to 0.16.1.
- [Release notes](https://github.com/modernweb-dev/web/releases)
- [Changelog](https://github.com/modernweb-dev/web/blob/master/packages/test-runner/CHANGELOG.md)
- [Commits](https://github.com/modernweb-dev/web/commits/@web/test-runner@0.16.1/packages/test-runner)

---
updated-dependencies:
- dependency-name: "@web/test-runner"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mads Rasmussen <madsr@hey.com>
2023-05-02 18:28:21 +00:00
dependabot[bot]
948974acef Bump vite from 4.3.1 to 4.3.3 (#685)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.3.1 to 4.3.3.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v4.3.3/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-02 18:21:44 +00:00
dependabot[bot]
cab47e8c38 Bump @web/test-runner-playwright from 0.9.0 to 0.10.0 (#683)
Bumps [@web/test-runner-playwright](https://github.com/modernweb-dev/web/tree/HEAD/packages/test-runner-playwright) from 0.9.0 to 0.10.0.
- [Release notes](https://github.com/modernweb-dev/web/releases)
- [Changelog](https://github.com/modernweb-dev/web/blob/master/packages/test-runner-playwright/CHANGELOG.md)
- [Commits](https://github.com/modernweb-dev/web/commits/@web/test-runner-playwright@0.10.0/packages/test-runner-playwright)

---
updated-dependencies:
- dependency-name: "@web/test-runner-playwright"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-02 20:14:00 +02:00
dependabot[bot]
994ae8393c Bump @typescript-eslint/eslint-plugin from 5.59.1 to 5.59.2 (#682)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.59.1 to 5.59.2.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.59.2/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-02 20:13:11 +02:00
dependabot[bot]
c6b912fc0c Bump rollup from 3.21.0 to 3.21.2 (#686)
Bumps [rollup](https://github.com/rollup/rollup) from 3.21.0 to 3.21.2.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v3.21.0...v3.21.2)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-02 20:11:55 +02:00
Jesper Møller Jensen
e2187c1732 package lock and updated mock service worker 2023-04-25 18:44:14 +12:00
Jacob Overgaard
5ae631b223 Authentication using OpenID (#654)
* install app auth

* add service to handle auth

* add openid handling to general app

* move props to constructor

* update default api url to https

* add support for adjusting umbracoUrl from outside

* use origin url for redirect if empty from env

* merge origin/main

* merge origin/main

* add redirect uri support

* only check auth on firstUpdated

* merge origin/main

* fix redirect_uri

* listen for auth-success events before anything else

* save current route to restore after login

* set token function for all OpenAPI requests

* include credentials after login

* update openapi-typescript-codegen

* generate new models with bugfixes for CancelablePromise and request

* remove auth-success event

* wait with fetchServiceConfiguration until we actually need to query the server

* revert change where service configuration was delayed

* use LocalStorageBackend to save/restore token state

* improve documentation

* cleanup todos

* improve docs

* update documentation and set everything to private fields

* remove undefined

* add a token to provide server url

* add more docs

* provide the base url of the server through a token

* add more docs

* fix import

* allow to override the backoffice base url through a property

* use private modifier

* duplicate login image

* make generic error element to use as error page

* check for initialisation errors and show error page if necessary

* rename class to UmbAuthFlow

* control the notification manually with runtime status call

* add styling

* add stack to problemdetails

* forward all errors

* support problemdetails rendering

* allow passthrough without a token

* move error logic to function

* add support for BOOT_FAILED and default errors

* rename background img

* remove false character

* check for isMocking to simplify auth flow

* add support for generic ApiErrors

* make sure all errors from api controllers are ApiError or CancelError to be able to fine-tune the handling of them

* remove unused legacy method

* show notifications (for now) after session expiration

* break early on CancelErrors

* revert options argument

* remove login token after a 401 is detected

* catch api errors

* prefix class with Umb

* throw errors instead of using ProblemDetailsModel

* add TODO

* add TODO

---------

Co-authored-by: Mads Rasmussen <madsr@hey.com>
2023-04-24 12:27:25 +02:00
Jacob Overgaard
9e72e5edd5 Vite 4.3 (#660)
* update vite to 4.3.1

* re-export router-slot/model as types to avoid warning in vite

* add named type exports to avoid typescript + vite + esm funny business (warnings)

---------

Co-authored-by: Mads Rasmussen <madsr@hey.com>
2023-04-21 14:13:41 +02:00
Lone Iversen
983db143be update-uui-to-1.2.1 2023-04-20 16:09:32 +02:00
Jacob Overgaard
3fa5453832 Merge branch 'main' into manual-json-schema 2023-04-20 13:44:59 +02:00
Jacob Overgaard
72abe48dca update uui to 1.2.0-rc.3 2023-04-14 12:49:03 +02:00
Jacob Overgaard
e8fb2aa2c3 Merge remote-tracking branch 'origin/main' into manual-json-schema 2023-04-12 10:48:33 +02:00
Jacob Overgaard
630b727a02 upgrade router-slot to 2.0.0 2023-04-04 16:47:29 +02:00
Warren Buckley
972ebb3057 Upgrade to release of Storybook 7 2023-04-04 13:19:46 +02:00
dependabot[bot]
9ecc1ed015 Bump typescript from 4.9.5 to 5.0.3
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.9.5 to 5.0.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/commits)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-03 07:14:40 +00:00
dependabot[bot]
447c833bf8 Bump lit from 2.6.1 to 2.7.0
Bumps [lit](https://github.com/lit/lit/tree/HEAD/packages/lit) from 2.6.1 to 2.7.0.
- [Release notes](https://github.com/lit/lit/releases)
- [Changelog](https://github.com/lit/lit/blob/main/packages/lit/CHANGELOG.md)
- [Commits](https://github.com/lit/lit/commits/lit@2.7.0/packages/lit)

---
updated-dependencies:
- dependency-name: lit
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-03 09:12:57 +02:00
dependabot[bot]
cc050d137b Bump vite from 4.1.4 to 4.2.1
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.1.4 to 4.2.1.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v4.2.1/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-03 09:12:23 +02:00
Niels Lyngsø
a486b3a8f3 Merge branch 'main' into dependabot/npm_and_yarn/eslint-config-prettier-8.8.0 2023-04-03 09:11:28 +02:00
dependabot[bot]
df9dfc5d20 Bump @typescript-eslint/parser from 5.54.0 to 5.57.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.54.0 to 5.57.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.57.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-03 09:06:18 +02:00
dependabot[bot]
7096bad6f0 Bump eslint-config-prettier from 8.6.0 to 8.8.0
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 8.6.0 to 8.8.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v8.6.0...v8.8.0)

---
updated-dependencies:
- dependency-name: eslint-config-prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-01 19:00:43 +00:00
Jacob Overgaard
dab3a2b80f upgrade uui-css to 1.2.0-rc.2 2023-03-28 08:41:28 +02:00
Jesper Møller Jensen
e6683d3d73 use uui 1.2.0 rc 2 2023-03-28 14:04:27 +13:00
Jacob Overgaard
3be46dec83 Merge branch 'main' into feature/integrate-uui-modal 2023-03-27 16:21:10 +02:00
Jacob Overgaard
c29390d3f5 add plugin node-resolve to ensure build is not failing 2023-03-27 16:10:19 +02:00
Jacob Overgaard
ed0187f888 upgrade uui to 1.2.0-rc.1 2023-03-23 15:17:08 +01:00