Commit Graph

67825 Commits

Author SHA1 Message Date
Andy Butland
ed72a692b6 Timing updates for rendering and preparation of user group granular permissions details to resolve intermittent error on race condition 2025-01-02 09:36:40 +00:00
Andreas Zerbst
a954051d98 V15 QA updated flaky E2E tests (#17845)
* Updated tests

* More cleanup

* Removed log

* Bumped version

* Update tests/Umbraco.Tests.AcceptanceTest/tests/DefaultConfig/Content/ContentWithMultiURLPicker.spec.ts

* Update tests/Umbraco.Tests.AcceptanceTest/tests/DefaultConfig/Settings/DocumentType/DocumentTypeDesignTab.spec.ts

* Update tests/Umbraco.Tests.AcceptanceTest/tests/DefaultConfig/Settings/DocumentType/DocumentTypeDesignTab.spec.ts

* Update tests/Umbraco.Tests.AcceptanceTest/tests/DefaultConfig/Users/Permissions/UserGroup/DefaultPermissionsInContent.spec.ts
2024-12-20 08:03:27 +01:00
Niels Lyngsø
a582732429 change route setup 2024-12-19 09:02:23 +01:00
Niels Lyngsø
a4017e6dce Feature: block 'draft' tag (#17640)
* not-yet-exposed

* add tag

* implement id for expose button

* implement tag for grid

* style

* use plus icon in rte blocks

* empty commit
2024-12-19 08:56:03 +01:00
Sven Geusens
0a56aaaf54 Fix mistakes in 15.0.0 migrations (#17814)
* Fix ConvertLocalLinks migration and add a new migration in case the old one has already run

* RebuildCache

* Clear cache means clear ALL caches

* Fix Block Markup recursion

* Fix Unittest mock constructor
2024-12-18 15:24:43 +01:00
Mads Rasmussen
e8c4fb96de Feature: Published Document Pending Changes (#17812)
* implement validation for media and prepare for member

* remove import

* port code from backoffice repo

* move repo into publishing module

* port get published methods

* cleanup

* wip render state

* align state UI

* post merge clean up

* move publish modal

* move schedule modal

* move unpublish modal

* move publish action and bulk action

* move unpublish action + bulk action

* lint fix

* Update document-workspace.context.ts

* wip move publishing methods to publishing context

* move publish with descendants

* fix more references

* Update document-publishing.workspace-context.ts

* export entity action

* add return type

* temp internal methods

* use repository response type

* expose methods for other contexts to use

* use public methods

* call publishing context methods

* fix import

* move manager into folder

* organise in folders

* add get method to get variants with changes

* preselect variants with pending changes

* observe data changes

* render pending changes client state

* observe unique

* Update document-publishing.server.data-source.ts

* use correct key

* clean up

* expose persisted data

* rename arg

* use persisted data instead of current

* add reload method

* reload data after publish

* remove headline

* handle all publish actions the same

* reset state as the first thing when creating + loading

* add method to get variants

* only load published if document has a published variant

* remove variants from observer

* add public method to get the changed variants

* align preselection with current logic

* add deprecation util

* add method deprecation warnings

* remove unused publish method

* move publishing workspace actions into publishing module

* use publishing context

* clean up

* add tests for published pending changes manager

* handle server the same way

* process pending changes when persisted data changes

* remove buggy updateDate

* remove unused

* lint fix

* add publish method back to avoid a breaking change

---------

Co-authored-by: Niels Lyngsø <niels.lyngso@gmail.com>
Co-authored-by: Niels Lyngsø <nsl@umbraco.dk>
2024-12-18 13:03:32 +00:00
Kenn Jacobsen
b6351f9f33 Make parallel block editor migration optional (#17827) 2024-12-18 13:41:07 +01:00
Mads Rasmussen
b0b4571686 Bugfix: missing links for invariant documents with hostnames (#17808)
* always render the links we get from the server

* render information about links with no url

* pass correct state value

* Update document-workspace-view-info-links.element.ts

* reuse empty link, culture markup

* remove state from urls

---------

Co-authored-by: Niels Lyngsø <nsl@umbraco.dk>
2024-12-18 13:11:13 +01:00
Nikolaj Geisle
545d64df25 V15: Handle empty permissions (#17801)
* Handle empty permissions

* Add tests

* Add a few more asserts to the tests

* Move dependency injection to test itself

---------

Co-authored-by: Kenn Jacobsen <kja@umbraco.dk>
2024-12-17 13:26:27 +01:00
Kenn Jacobsen
7a3862e926 Support segments from querystring in preview (#17819) 2024-12-17 12:37:49 +01:00
Jacob Overgaard
fe8f81bc23 docs: add instructions on how to use vs code 2024-12-16 10:46:54 +01:00
Jacob Overgaard
726412a655 Add launch tasks for VS Code (#17772)
* feat: add two launch tasks to start a vite server and attach to an existing vite server

* build(deps-dev): install and use cross-env for vite commands

* build: add mocked launch task

* build: add prompt to check if msw should be on or off

* build: defaults

* build: rename launch task

* build: add compound to start backend and frontend at the same time
2024-12-16 10:46:24 +01:00
Nikolaj Geisle
838294efe1 V13: Clear username cache (#17815)
* Clear member username cache on delete

* Also refresh cache on update
2024-12-16 10:36:26 +02:00
Mads Rasmussen
70272f1a1a Chore: Remove client tests that doesn't do anything but trouble (#17813)
* remove tests

* Delete upgrader-view.test.ts
2024-12-16 09:03:13 +01:00
Niels Lyngsø
419a8e1166 Feature: media server validation (#17591)
* implement validation for media and prepare for member

* remove import

* use repository response type

---------

Co-authored-by: Mads Rasmussen <madsr@hey.com>
2024-12-13 15:38:08 +01:00
Mads Rasmussen
e87d1fc2dc Revert "Delete upgrader-view.test.ts"
This reverts commit ab58499d92.
2024-12-13 13:48:40 +01:00
Mads Rasmussen
ab58499d92 Delete upgrader-view.test.ts 2024-12-13 13:47:27 +01:00
Niels Lyngsø
9b27184708 Merge pull request #17755 from umbraco/v15/feature/first-round-of-data-marks
Feature: Adding first round of data marks
2024-12-13 13:30:05 +01:00
Mads Rasmussen
a85f82fcf7 make msw quiet in tests (#17809) 2024-12-13 09:51:51 +01:00
Andreas Zerbst
e61bbe0dc3 Update src/Umbraco.Web.UI.Client/src/packages/core/section/section-sidebar/section-sidebar.element.ts
Co-authored-by: Nhu Dinh <150406148+nhudinh0309@users.noreply.github.com>
2024-12-13 08:38:26 +01:00
Bjarke Berg
0b9855c045 Merge pull request #17762 from umbraco/v15/task/media-picker-min-max-validation
V15 min/max validator for mediapicker
2024-12-13 08:28:27 +01:00
Sven Geusens
cd25c9a318 Merge branch 'release/15.1.1' into v15/dev
# Conflicts:
#	src/Umbraco.Core/Extensions/PublishedContentExtensions.cs
#	src/Umbraco.Web.UI.Client/package-lock.json
#	src/Umbraco.Web.UI.Client/package.json
#	version.json
2024-12-12 16:36:45 +01:00
Niels Lyngsø
4f3dd044f6 Merge pull request #17804 from umbraco/v15/hotfix/rte-blocks
V15: RTE blocks do not work in an empty RTE editor
2024-12-12 12:53:48 +01:00
Niels Lyngsø
2d428cc0fc Hotfix: ensure we export all extension types (#17787)
* export all Extension Manifest Types

* clean up

* lint fix
2024-12-12 12:36:33 +01:00
Bjarke Berg
09200198a0 Merge pull request #17794 from umbraco/v15/bugfix/corrupt-examine-index-dashboard
Make sure Examine dashboard still functions when an index is corrupt
2024-12-12 11:54:34 +01:00
Jacob Overgaard
5c54e033cc fix: duplicate logic from block list to accept blocks in an otherwise undefined value field 2024-12-12 11:45:27 +01:00
Sven Geusens
f833350218 Fix broken logger in tests 2024-12-12 11:06:43 +01:00
Kenn Jacobsen
c26b45db59 Don't overwrite ancestor configurations for public access (#17797)
* Don't overwrite ancestor configurations for public access (#17709)

* Fix spacings
2024-12-12 10:46:25 +01:00
Sven Geusens
2dbdaa1056 Fix breaking change 2024-12-12 10:03:04 +01:00
Nikolaj Geisle
64982a1afd Check if language has changed when updating domains (#17790) 2024-12-12 08:47:35 +01:00
Andreas Zerbst
fd08ed3032 Updated last data-marks 2024-12-12 08:29:35 +01:00
Bjarke Berg
4f6fda796f Merge pull request #17779 from umbraco/v15/hotfix/fix-friendly-content-extension-performance
* Refactor .Children to use PublishStatusQuery

* Fix descendants

* Fix ancestors

* Fix siblings

* Handle empty string in published status service

* Fix unit test

* Fixes issue found in tests

---------

Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2024-12-11 19:18:49 +01:00
Bjarke Berg
c22dc2f12e Fixes issue found in tests 2024-12-11 18:40:46 +01:00
Nikolaj Geisle
d6f493737a Fix unit test 2024-12-11 17:48:11 +01:00
Niels Lyngsø
968cb1a981 Hotfix: Browser navigation between Documents (#17783)
use `replaceState` over `pushState`
2024-12-11 16:32:38 +01:00
Niels Lyngsø
5f291bab22 no need to redirect when removing tab. router handles this fine 2024-12-11 16:16:14 +01:00
Niels Lyngsø
eec7b01f1c use push state 2024-12-11 16:14:57 +01:00
Niels Lyngsø
66c13e5dae Merge pull request #17781 from umbraco/v15/hotfix/tinymce-links
V15: TinyMce triggers navigation when clicking links
2024-12-11 15:59:43 +01:00
Bjarke Berg
721eee27c7 Handle empty string in published status service 2024-12-11 15:50:00 +01:00
Mads Rasmussen
89061f1486 V15: Chore: Fix msw in client test runner (#17777)
* remove unused

* Update index.ts

* add local files

* use fetch instead of import
2024-12-11 15:46:27 +01:00
Jacob Overgaard
ccd365104a fix: trigger only on a-tags inside our own block elements
Tinymce inserts links using the a-tag, which is triggering our navigation because we cannot control tinymce's rendering. We can however control which links we trigger on the for the 'click' event by using `composedPath()` and ensuring that we are inside one of the block entry elements.
2024-12-11 15:42:28 +01:00
Jacob Overgaard
5bf07bda9b chore: formatting 2024-12-11 15:41:22 +01:00
Andreas Zerbst
87e8a305b6 Switched to actions and colon 2024-12-11 15:16:56 +01:00
Zeegaan
0928379aeb Fix siblings 2024-12-11 15:12:09 +01:00
Zeegaan
c6a420579e Fix ancestors 2024-12-11 14:56:44 +01:00
Niels Lyngsø
5322e382f3 Merge pull request #17774 from umbraco/15.1/hotfix/block-editors-discard-changes-on-startup
* prevent the block list editor from setting an empty value on startup
* prevent block grid from setting and initial empty block object value
* fix import

---------

Co-authored-by: Niels Lyngsø <niels.lyngso@gmail.com>
Co-authored-by: Niels Lyngsø <nsl@umbraco.dk>
2024-12-11 14:53:54 +01:00
Niels Lyngsø
5cffe11651 Merge branch 'release/15.1' into 15.1/hotfix/block-editors-discard-changes-on-startup 2024-12-11 14:53:22 +01:00
Niels Lyngsø
ffd1d471d7 fix import 2024-12-11 14:51:00 +01:00
Sven Geusens
9b562018fb Bump versions 2024-12-11 14:09:38 +01:00
Zeegaan
b916490ef3 Fix descendants 2024-12-11 14:04:55 +01:00