Commit Graph

67530 Commits

Author SHA1 Message Date
Niels Lyngsø
0f86cad8fa re-introduce service worker (#17574) 2024-11-19 09:51:49 +01:00
Mads Rasmussen
5718616bf3 Bugfix: Scoped Content Picker Search (#17481)
* add searchFrom to request args type

* add search from to picker search manager config

* pass startNode to config

* get default setting from config

* pass to server

* remove unused import
2024-11-19 09:18:53 +01:00
Mads Rasmussen
310ccdc011 Fix: Add "Not Found" empty state to detail workspaces (#17489)
Co-authored-by: Niels Lyngsø <nsl@umbraco.dk>
Co-authored-by: Niels Lyngsø <niels.lyngso@gmail.com>
2024-11-19 09:14:41 +01:00
kasparboelkjeldsen
7cc8f844f7 Support for SMTP OAuth authentication through easier IEmailSenderClient implementation (#17484)
* Implement IEmailSenderClient interface and implementation

In an effort to support oauth 2 and other schemes, we extract a emailsenderclient interface, allowing to replace default smtp client with one that fits the usecase, without having to implement all of Umbracos logic that builds the mimemessage

* fix test

* Documentation

* EmailMessageExtensions public, use EmailMessage in interface and impl.

* move mimemessage into implementation

* revert EmailMessageExtensions back to internal

* use StaticServiceProvider to avoid breaking change

* Fix test after changing constructor

* revert constructor change and add new constructor an obsoletes

* Moved a paranthesis so it will build in release-mode

(cherry picked from commit bff321e6f5)
2024-11-19 08:49:35 +01:00
Mads Rasmussen
2d69eb66ef Feature: Content Type Workspace Context Base (#17542)
* Create content-type-workspace-context-base.ts

* make detail model with entityType

* allow repository alias

* export base class

* fix type check

* add method to get unpersisted changes

* remove duplicate code

* remove duplicate code

* remove duplicate code

* wip porting code to the base class

* improve extendability

* clean up

* clean up

* move logic to base

* allow to preset the scaffold

* pass preset

* add public tag

* clean up

* simplify the number of places we store the entity type

* add js docs

* rename private method to clear

* remove debugger

* use flag instead of a data state

* set persisted data after create + update

* Update entity-detail-workspace-base.ts

* add js docs

* add protected tag

* call super

* make linter happy

* add comment

* type casting

* no need create observables for unique and entityType it is already handled

* add null check

---------

Co-authored-by: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com>
2024-11-18 15:03:15 +01:00
Nhu Dinh
66569f7fa8 V15 QA Fixed TODO tests (#17488)
* Fixed todo of content tests with image cropper

* Fixed TODO in partial view tests

* Fixed waits

* Fixed TODO in Media type design tab tests

* Fixed TODO tests for document type template tab

* Fixed TODO tests for document type setting tab

* Cleaned up

* Fixed Todo tests for document type design tab

* Removed skip tests

* Added comment

* Fixed flaky member group tests

* Removed skip tests

* Cleaned up

* Fixed TODO tests for media

* Fixed TODO tests for dictionary

* Fixed TODO tests for Content info tab

* Fixed TODO tests

* Bumped version

* Cleaned up

* Updated tests due to UI changes

* Fixed failing tests

* Bumped version

* Fixed failing tests for Content Picker, Block setting due to UI changes

* Bumped version
2024-11-18 05:59:11 +00:00
Bjarke Berg
c846633ff9 Fixes to templates: Do not allow deletion of masters and ensure file names are pascal case (#17539)
* Make template file names start with capical character

* https://github.com/umbraco/Umbraco-CMS/issues/16443

Also ensure master templates cannot be deleted

* Fix test

* Do not check breaking changes in integration tests

---------

Co-authored-by: nikolajlauridsen <nikolajlauridsen@protonmail.ch>
2024-11-16 20:30:43 +01:00
Jacob Overgaard
a8705bef78 chore: restore test setup from backoffice repo 2024-11-15 13:12:32 +01:00
Jacob Overgaard
a315aa9603 chore: remove unused import 2024-11-15 13:03:39 +01:00
Bjarke Berg
ba8092fac7 Fixes https://github.com/umbraco/Umbraco-CMS/issues/17506 (#17536)
Now the validation of ClientId has a max of 255 characters
2024-11-15 09:40:26 +01:00
Niels Lyngsø
5c8d460224 Feature: Block workspace modal size from block type (#17501)
* correct ctrl alias

* move types

* undefined as an overlay size option

* make modal size an observable

* change set size order

* remove log
2024-11-15 08:36:47 +01:00
Bjarke Berg
29bab94d4d Enable package validation 2024-11-14 19:49:34 +01:00
Sebastiaan Janssen
021c178257 Merge branch 'contrib' into v15/dev 2024-11-14 11:34:37 +01:00
Sebastiaan Janssen
9056851eed Revert "Making Culture Invariant When Validating Date to negate deferent formats (#17257)"
This reverts commit dabaeac262.

# Conflicts:
#	src/Umbraco.Core/PropertyEditors/Validators/DateTimeValidator.cs
#	tests/Umbraco.Tests.UnitTests/Umbraco.Core/PropertyEditors/Validators/DateTimeValidatorTests.cs
2024-11-14 11:29:50 +01:00
Zeegaan
b8b96f05d1 Merge branch 'release/15.0' into v15/dev
# Conflicts:
#	Directory.Build.props
#	version.json
2024-11-14 09:03:28 +01:00
Bjarke Berg
76ed170753 Revert "Update release yml"
This reverts commit a15e8aeeba.
2024-11-13 17:47:26 +01:00
Bjarke Berg
a15e8aeeba Update release yml 2024-11-13 17:39:24 +01:00
Niels Lyngsø
d13871e926 expose using the block variant id (#17525) 2024-11-13 17:27:19 +01:00
Jacob Overgaard
b4609e0388 docs: improve BUILD.md with new backoffice info 2024-11-13 16:37:56 +01:00
Jacob Overgaard
6b85584c02 fix vscode build tasks 2024-11-13 16:37:46 +01:00
Bjarke Berg
3613e32c1b Allow final build to have prereleases as dependencies 2024-11-13 15:00:00 +01:00
Niels Lyngsø
16d825a502 Feature: close content detail workspace when complete (#17498)
* make sure to close the modal when submit was completed

* rename to _closeModal

* remove comments
2024-11-13 14:58:47 +01:00
Bjarke Berg
4919db39a8 Allow final build to have prereleases as dependencies 2024-11-13 14:30:14 +01:00
Mads Rasmussen
e328249d31 Cleanup: remove unused alias (#17487)
* remove unused alias

* remove unused imports
2024-11-13 13:23:41 +00:00
Bjarke Berg
76d04d9d95 Bump version 2024-11-13 14:14:27 +01:00
Bjarke Berg
a342734117 Fix issue with when the last template was removed the template reference-object was not returned as null (#17516) 2024-11-13 13:13:40 +00:00
Nikolaj Geisle
a9636d5429 V15: Implement not-implemented methods for media cache (#17524)
* Implement not-implemented methods for media cache

* Fixed test

---------

Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2024-11-13 12:04:27 +01:00
Ronald Barendse
8c025ecc54 Use IIndexRebuilder when resuming indexers 2024-11-13 11:19:37 +01:00
Zeegaan
b9b7cb6d85 Rename extension methods back 2024-11-13 09:27:29 +01:00
Bjarke Berg
578f19dc78 Updated Swashbuckle.AspNetCore 2024-11-13 08:47:20 +01:00
Bjarke Berg
8d631e9dc1 Update NuGet packages 2024-11-12 + Final .NET 9 (#17511)
* Update nuget packages

* Update message pack

* Updated microsoft packages and .net to final .net 9

* Update more rcs to final
2024-11-12 21:09:51 +01:00
leekelleher
5032a78bf9 Tiptap: prevents pasted HTML fragments
containing images, being uploaded to the server.
2024-11-12 19:07:01 +01:00
Jacob Overgaard
ba684a8e55 ignore vite cache folder 2024-11-12 15:44:56 +01:00
Bjarke Berg
3cbf7fb32f Fixed warnings-as-errors issues 2024-11-12 13:55:23 +01:00
leekelleher
5963945fc2 Updated OpenApi.json and TypeScript client 2024-11-12 12:56:27 +01:00
Sebastiaan Janssen
7b51a0bb64 Merge branch 'contrib' into v15/dev 2024-11-12 12:36:29 +01:00
Sebastiaan Janssen
b00c84a36a Revert "sort the children of a parent content after either deleting or moving its child content (#17315)"
This reverts commit 6705de0329.
2024-11-12 12:23:53 +01:00
Bjarke Berg
c9fa2a57d7 Merge branch 'release/15.0' into v15/dev
# Conflicts:
#	src/Umbraco.Core/DependencyInjection/UmbracoBuilder.Configuration.cs
#	src/Umbraco.Core/Extensions/PublishedContentExtensions.cs
#	src/Umbraco.Web.UI.Client/src/packages/tiptap/components/input-tiptap/tiptap-toolbar.element.ts
#	tests/Umbraco.Tests.UnitTests/Umbraco.Core/Services/ContentNavigationServiceBaseTests.cs
2024-11-12 12:14:50 +01:00
Bjarke Berg
e38f6e8967 Fixes to redirect management (#17491)
* Fixed issue with redirects due to culture being empty string when null was expected.

Furtermore, using IPublishedUrlProvider instead of DocumentUrlService directly. to ensure you can use your own routing stuff

* Trim trailing slash when saving redirect

---------

Co-authored-by: nikolajlauridsen <nikolajlauridsen@protonmail.ch>
2024-11-12 11:52:07 +01:00
leekelleher
04a064a287 Removed unused actions from the Published Status dashboard 2024-11-12 11:17:43 +01:00
leekelleher
75624aacd6 Tiptap toolbar, disables buttons for unavailable extensions 2024-11-12 10:56:44 +01:00
leekelleher
9e5cbc3662 Tiptap UI tweaks 2024-11-12 10:56:44 +01:00
leekelleher
5ed6466d49 Adds support for migrating TinyMCE toolbar to Tiptap toolbar 2024-11-12 10:56:44 +01:00
leekelleher
46fa7a3393 Fixes Tiptap Toolbar loading value 2024-11-12 10:56:44 +01:00
Sebastiaan Janssen
178c5dcb83 Merge branch 'v15/dev' into contrib 2024-11-12 10:19:03 +01:00
Mads Rasmussen
9cb4a4213d only render media create and update date if they exist (#17499) 2024-11-12 10:11:45 +01:00
Mads Rasmussen
0961988baf use correct param for parent entity type (#17495) 2024-11-12 09:25:16 +01:00
leekelleher
f9162293d7 Fixes Document Workspace Info Link error
Ensures that `_unique` has value. This was previously throwing
an error, but given how `observeMultiple` works, it is expected that
`_unique` may be `undefined` when navigating away from the Info view.
2024-11-12 09:17:52 +01:00
Ronald Barendse
b002ac8600 Add UDI support for relation, user and user-group entity types (#17490)
* Add GetUdi() extension methods for IUser and IUserGroup

* Add GetUdi() extension methods for IRelation

* Move GetUdi() extension methods for Script and Stylesheet to interface types

* Register relation, user and user-group as known UDI types

* Obsolete UdiParserServiceConnectors

* Use IScript and IStylesheet types in tests

* Fix UdiTests after obsoleting UdiParserServiceConnectors
2024-11-12 08:45:58 +01:00
Sven Geusens
b927f03723 Fix invalid culture on delivery api request (#17486)
* Fix invalid culture on delivery api request

* Revert Fix and apply it a layer higher to reduce unknown sideffects

---------

Co-authored-by: Mole <nikolajlauridsen@protonmail.ch>
2024-11-11 19:54:42 +01:00