Commit Graph

45655 Commits

Author SHA1 Message Date
Kenn Jacobsen
ab32bac5d9 Property source level variation should only be applied when configured (#16270) 2024-05-13 15:44:07 +02:00
Jacob Overgaard
22c0c250e0 V14: The login page does not respect certain error codes (#16244)
* handle 403 and unknown error codes from the server

* resolve 2fa errors in repository

error handling was never being activated because this specific endpoint did not return api errors as it works exactly like the "authorize" endpoint, which is being called directly

* chore: add obsolete message to unused `SetupViewPath`

* chore: remove unused events

* add missing labels

* fix: send only 'error' back if the response is not ok

* chore: remove duplicate error handling for 500 errors

* fix: add hack to allow to submit the form on enter click
2024-05-13 12:39:38 +01:00
leekelleher
2cc5f496f3 update backoffice submodule 2024-05-13 12:31:33 +01:00
Bjarke Berg
39e9408a09 Allow FileUpload and Imagecropper to upload files in the same way (#16214)
* Allow FileUpload and Imagecropper to upload files in the same way

* Fixed issue with backward compatibility

* Exclude from converter

* Bugfix if editorvalue is not a string

* Fix file upload value editor + clean up + throw explicitly if editor value is invalid

* Revert changes to FileUploadPropertyEditor - the stored property data format remains the file path

* Actually revert all changes to FileUploadPropertyEditor

* Also revert JsonValueConverter

* Cleanup remove unused equality methods

---------

Co-authored-by: kjac <kja@umbraco.dk>
2024-05-13 12:29:31 +01:00
Kenn Jacobsen
079097427b Return all templates from GetAllAsync if no keys are passed (#16254) 2024-05-13 11:23:20 +02:00
Bjarke Berg
962bedac29 Ensure we do not expose any cultures we do not accept in languages. Futhermore, I moved it to a service to people can replace the logic (#16265) 2024-05-13 11:09:46 +02:00
Kenn Jacobsen
46864daf7a Use a fixed access token timeout for developer clients (#16255)
* Use a fixed access token timeout for developer clients

* Re-introduce auth persistence in Swagger UI
2024-05-13 09:41:13 +02:00
Bjarke Berg
87c7347900 V14: Reintroduce umbraco api controller as obsolete (#16263)
* Revert "v14: Remove mentions of UmbracoApiController (#15863)"

This reverts commit 30e2dea57a.

* Obsolete UmbracoApiController

* Added a few more obsoletion messages

* Removed some of the reintroduced stuff again

* Add obsoletion to FrontEndRoutes controller

---------

Co-authored-by: kjac <kja@umbraco.dk>
2024-05-13 08:28:42 +02:00
Bjarke Berg
b4b512dd53 Return 403 when missing permissions instead of 401 2024-05-10 14:36:25 +02:00
Bjarke Berg
e9074ea97a Return 403 when missing permissions instead of 401 2024-05-10 13:28:15 +02:00
Mole
18765465ae V13: Optimize custom MVC routing (#16218)
* Introduce EagerMatcherPolicy to conditionally bypass content routing

* Ensure that the candidate we disable dynamic routing for is valid

* Skip Umbraco endpoints

* Simplify logic a bit

* Move install logic to matcher

* Ensure that dynamic routing is still skipped when in upgrade state

* Fixup comments

* Reduce nesting a bit

* Don't show maintenance page when statically routed controllers are hít

* Remove excess check, since installer requests are statically routed

(cherry picked from commit ba9ddd11da)
2024-05-10 11:37:11 +02:00
Mole
ba9ddd11da V13: Optimize custom MVC routing (#16218)
* Introduce EagerMatcherPolicy to conditionally bypass content routing

* Ensure that the candidate we disable dynamic routing for is valid

* Skip Umbraco endpoints

* Simplify logic a bit

* Move install logic to matcher

* Ensure that dynamic routing is still skipped when in upgrade state

* Fixup comments

* Reduce nesting a bit

* Don't show maintenance page when statically routed controllers are hít

* Remove excess check, since installer requests are statically routed
2024-05-10 11:36:12 +02:00
Bjarke Berg
86d98eda8d Return 401 in case the signin was not successfully (#16258) 2024-05-10 11:27:34 +02:00
Ronald Barendse
c7328bcbbc v14: Return all data types from DataTypeService.GetAllAsync() (#16230)
* Return all data types from GetAllAsync

* Remove unnecessary async/awaits

* Ensure we don't accidentally fetch all data types when we mean to fetch none.

---------

Co-authored-by: kjac <kja@umbraco.dk>
2024-05-10 08:12:25 +02:00
Elitsa Marinovska
53654d3b28 V14: Return the unhealthy error message from Examine index (#16228)
* Use Attempt<string> result to display the unhealthy error message

* Update OpenApi.json

* Code readability improvements

* Add unittest covering the bug

---------

Co-authored-by: Sven Geusens <sge@umbraco.dk>
2024-05-08 08:41:18 +02:00
Jacob Overgaard
6577b56d23 V14: The dev server for the login app does not work (#16225)
* bump from es2020 to es2022 for better javascript support

* remove the hardcoded "paths" in tsconfig and replace with the backoffice package

* import uui-css to have styling on the dev server

* change endpoint mock url

* cleanup unused code
2024-05-07 13:54:26 +02:00
Jacob Overgaard
78d93a11d0 Merge branch 'refs/heads/v14/dev' into release/14.0 2024-05-07 10:27:38 +02:00
Jacob Overgaard
f65d465a8a update backoffice submodule 2024-05-07 10:27:23 +02:00
Bjarke Berg
2260da210d Management api should use datetimeoffset (#16196)
* Move audit log endpoints to their respective silos and clean up

* Fix failing integration tests

* Using DateTimeOffset in management api and new methods in service layer

---------

Co-authored-by: kjac <kja@umbraco.dk>
2024-05-07 08:07:20 +02:00
Nhu Dinh
f44fb59b34 V14 QA Added acceptance tests for Language (#15997)
* Fixed failing tests

* Updated tests to use the updated helpers

* Clean up tests

* Enabled our pipeline for E2E testing

* Updated the CMS URl for our E2E tests

* Bumped version of our testHelpers

* Did some fixing, still a bit more to do

* Updated auth tests to use LoginUiHelper

* Updated Telemetry tests to use TelemetryUiHelper

* Updated LogViewer tests to use LogViewerUiHelper

* Updated api tests to apply AAA pattern and fix failed tests

* Removed unused import

* Updated api tests for Language

* Added ui tests for Language

* Updated ui test of Language as test helper is changed

* Bumped version of test helper

* Updated create language tests

* Updated delete language test

* Added Language folder

* Fixed method name

* Bumped version of test helper

* Fix merge conflict

* Fixed typo

* Added more waits

* Fixed locator

* Updated locator

* Added timeout

* Fixed password

* Reversed file

* Bumped version

* Bumped version of test helper

* Added more waits

* Added skip for add language test

* Bumped version of test helper

* Added smoke tags

* Fix conflict

* Added @smoke tag to test all Language tests in the pipeline

* Fixed comment

* Removed smoke tag in describe

---------

Co-authored-by: Andreas Zerbst <andr317c@live.dk>
2024-05-07 11:59:59 +07:00
Jacob Overgaard
4035550dfa Merge branch 'refs/heads/v14/dev' into release/14.0 2024-05-06 18:15:32 +02:00
Jacob Overgaard
91d81063a3 V14: Login page throws validation errors (#16222)
* remove unused login-input.element.ts

* fix: use regular html inputs to prevent validation errors that arose when we removed the shadow dom
2024-05-06 18:14:49 +02:00
Jacob Overgaard
97dcc90601 Merge branch 'refs/heads/v14/dev' into release/14.0 2024-05-06 14:17:20 +02:00
Jacob Overgaard
70cc0a5a05 update backoffice submodule 2024-05-06 14:15:14 +02:00
Elitsa Marinovska
e352be14ea Change order of service converter check (#16182) 2024-05-06 13:39:44 +02:00
Elitsa Marinovska
4736683273 Change order of service converter check (#16182) 2024-05-06 13:38:29 +02:00
Rasmus John Pedersen
cfcdc9c98d Webhook log improvements (#16200)
* fix: include all headers in webhook log

* feat: return webhook log status from server

* feat: make webhook logs deep linkable

* feat: add webhook log pagination

* feat: improve webhook request/response body preview
2024-05-06 13:14:11 +02:00
Jacob Overgaard
b2d6bb20ba add release.yml to be able to categorise github release notes (#16219) 2024-05-06 11:28:48 +02:00
Jacob Overgaard
b0b2b59740 add release.yml to be able to categorise github release notes (#16219) 2024-05-06 11:22:54 +02:00
Kenn Jacobsen
b98a6aaa41 Use the correct editor UI for MNTP (#16217) 2024-05-06 11:22:28 +02:00
Jacob Overgaard
73646a88b1 Merge branch 'refs/heads/v14/dev' into release/14.0 2024-05-06 10:46:45 +02:00
Jacob Overgaard
09a8be12ec update backoffice submodule 2024-05-06 10:46:24 +02:00
Jacob Overgaard
ba06e859c3 Merge branch 'refs/heads/v14/dev' into release/14.0 2024-05-06 10:32:05 +02:00
Jacob Overgaard
6dbb7e286d update backoffice submodule 2024-05-06 10:31:45 +02:00
Jacob Overgaard
01ce93510e update backoffice submodule 2024-05-06 10:30:32 +02:00
Nikolaj Geisle
d13278af80 V14: Webhook endpoint fixes (#16215)
* Update to use presentation factory

* remove unused usings

* Update delete endpoint to work

* Remember to map key

* Map key for updating webhooks
2024-05-06 10:25:33 +02:00
Sebastiaan Janssen
23d0a6b9b2 Since v13 properties can sometimes be of type IRichTextEditorIntermediateValue - this was unexpected in the XPath navigator code (#16121) 2024-05-06 09:40:52 +02:00
Sven Geusens
f9c0235a35 [v14] Add missing alias and id to usergroup related api models (#16154)
* Added missing alias and Id to usergroup models

create/update/response/item

* Changed userGroup IsSystemGroup to more meaningfull fields

Also enforced the AliasCanBeChanged businessrule 🙈

---------

Co-authored-by: Sven Geusens <sge@umbraco.dk>
Co-authored-by: Mads Rasmussen <madsr@hey.com>
2024-05-03 10:24:09 +02:00
Bjarke Berg
fee222daff Bump version 2024-05-03 09:29:37 +02:00
Bjarke Berg
edb516f71a Bump version 2024-05-03 09:28:43 +02:00
Bjarke Berg
b6031dea1a bump version 2024-05-03 09:27:20 +02:00
Kenn Jacobsen
8ad6c36038 Amend user start node handling (#16094)
* Amend user start node handling

* Add "has root access" to current user endpoint

* Add document and media root access to user response model

* Update OpenApi.json

* Applied API suggestions

---------

Co-authored-by: Sven Geusens <sge@umbraco.dk>
2024-05-03 08:47:10 +02:00
Sebastiaan Janssen
8b878a7aa6 Merge branch 'v14/dev' into contrib 2024-05-02 15:33:32 +02:00
Jacob Overgaard
caebf37f51 Merge branch 'refs/heads/v14/dev' into release/14.0 2024-05-02 13:50:24 +02:00
Jacob Overgaard
f0dae526bf add the new oauth_complete path to the list of exemptions for the backoffice client (#16210) 2024-05-02 13:09:20 +02:00
Jacob Overgaard
8c8ebc0de1 update backoffice submodule 2024-05-02 12:59:30 +02:00
Jacob Overgaard
6eb8624291 update backoffice submodule 2024-05-02 12:50:11 +02:00
Jacob Overgaard
4a09e8dfd9 update backoffice submodule 2024-05-02 12:46:21 +02:00
Jacob Overgaard
7230091010 bump version.json 2024-05-02 12:04:47 +02:00
Jacob Overgaard
8db9913bdd Merge branch 'refs/heads/v14/dev' into release/14.0 2024-05-02 12:04:28 +02:00