Commit Graph

491 Commits

Author SHA1 Message Date
Niels Lyngsø
05dbda7aef Merge pull request #748 from umbraco/feature/api-update-20230601 2023-06-01 11:51:23 +02:00
Lone Iversen
59d4bfd5f4 dont export manifests 2023-06-01 11:30:55 +02:00
Lone Iversen
77a9e4ccc6 user exports 2023-06-01 11:12:54 +02:00
Niels Lyngsø
0236776abc generate api 2023-06-01 10:14:02 +02:00
Niels Lyngsø
1c7b02d0e4 lastest api models 2023-05-31 19:42:44 +02:00
Jacob Overgaard
998aafae95 do not build jsonschema on npm run build but let workflows build it manually 2023-05-31 14:37:42 +02:00
Niels Lyngsø
2c04468267 updated package.json 2023-05-30 15:29:54 +02:00
Jacob Overgaard
3ba738f1ad change prepublish to prepublishOnly 2023-05-30 11:41:09 +02:00
Jacob Overgaard
1fbe5b75a0 add prepublish script 2023-05-26 16:31:53 +02:00
Jacob Overgaard
0e3a8b902d generate json schema and copy over 2023-05-26 16:10:25 +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
e5635aea7d move and merge package.json + readme.md for libs package 2023-05-26 14:47:21 +02:00
Jacob Overgaard
f0f9444677 update paths to new src 2023-05-26 10:22:59 +02:00
Mads Rasmussen
bdabc23723 remove libs from linting 2023-05-25 14:13:39 +02:00
Niels Lyngsø
59431facd2 install UUI RC-1 2023-05-25 10:36:47 +02:00
Mads Rasmussen
5a16fa9c2a add temp simplified copy to cms script 2023-05-25 09:36:21 +02:00
Mads Rasmussen
35ad47601a add combined build:for:cms script 2023-05-24 21:14:52 +02:00
Mads Rasmussen
f9bcc9a7c2 move rollup 2023-05-24 19:51:40 +02:00
Mads Rasmussen
f5d165c6a9 add build script 2023-05-24 16:37:30 +02:00
Mads Rasmussen
841ad5b0bb add script to build external packages 2023-05-24 12:38:11 +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
Mads Rasmussen
3db8f5e165 update scripts 2023-05-17 16:15:06 +02:00
Mads Rasmussen
07ce196e66 setup poc build scripts 2023-05-17 11:41:39 +02:00
Niels Lyngsø
da51fd4611 adding new router build 2023-05-17 10:17:04 +02:00
Niels Lyngsø
227456f9cf Merge remote-tracking branch 'origin/main' into feature/document-type-workspace-take-5
# Conflicts:
#	libs/modal/modal-handler.ts
#	package-lock.json
#	src/backoffice/core/components/input-multi-url-picker/input-multi-url-picker.element.ts
#	src/backoffice/core/components/input-multi-url/input-multi-url.element.ts
#	src/packages/core/components/input-multi-url-picker/input-multi-url-picker.element.ts
#	src/packages/core/components/input-multi-url-picker/input-multi-url-picker.stories.ts
#	src/packages/core/modals/property-settings/property-settings-modal.element.ts
#	src/packages/documents/document-types/workspace/views/design/document-type-workspace-view-design.element.ts
#	src/packages/documents/document-types/workspace/views/design/document-type-workspace-view-design.stories.ts
#	src/shared/router/encode-folder-name.function.ts
2023-05-17 09:34:51 +02:00
Niels Lyngsø
d91959bcca working with router-slot fix 2023-05-16 22:09:26 +02:00
Mads Rasmussen
2723a2c701 Merge branch 'main' into poc/package-modules-v2 2023-05-16 20:56:20 +02:00
Mads Rasmussen
9f2166e60d Merge branch 'main' into poc/package-modules-v2 2023-05-16 14:26:53 +02:00
Mads Rasmussen
49f91b3b60 fix paths 2023-05-16 13:46:29 +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
Mads Rasmussen
59773e7319 poc build script to build core packages as modules 2023-05-04 09:40:42 +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
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
12cd6b9a95 make sure all prereqs are present in build:libs 2023-04-20 15:02:00 +02:00
Jacob Overgaard
9f36ebedd7 move libs as last step 2023-04-20 14:41:33 +02:00
Jacob Overgaard
0480885de5 dump wca files directly in dist/libs 2023-04-20 14:24:22 +02:00
Jacob Overgaard
4506171566 build cms prereqs on each build 2023-04-20 13:51:55 +02:00
Jacob Overgaard
a390d97161 dump package json schema in dist folder to be included in libs on npm 2023-04-20 13:51:45 +02:00
Jacob Overgaard
3fa5453832 Merge branch 'main' into manual-json-schema 2023-04-20 13:44:59 +02:00