Commit Graph

40385 Commits

Author SHA1 Message Date
Jaddie
2cf3be8c10 Migration steps are missed when migrating to V9 from V8.17 2021-10-21 16:24:54 +01:00
Nikolaj Geisle
6d3f407dac Changed behavior to match v8 (#11431)
Co-authored-by: Nikolaj Geisle <niko737@edu.ucl.dk>
2021-10-21 09:53:28 +02:00
Paul Johnson
c585f77533 Merge pull request #11211 from umbraco/v9/bugfix/fix-build-required-before-initial-publish
v9 Fix build required before initial publish
2021-10-21 08:33:27 +01:00
Paul Johnson
7a929765cd Fix build required before initial publish 2021-10-21 02:05:08 +01:00
Bjarke Berg
56595a7fc7 Merge v8/dev 20-10-2021 (#11426)
* Adjust icon in umb-checkbox and ensure icon is centered

* Missing nl translation for blockEditor_addBlock

* Implement icon parameter for doctype editor (#11008)

* fix: implement icon parameter for doctype editor

issue #10108

* fix: move color from icon to class attribute

* fix: removed defined colors, defaulting to the standard dark grey (ie "no color picked" in icon picker)

* cleaned up unused dependencies, double quotes to single, removed unused 'color' param from the create methods, and use shorthand object creation in createDocType (if the key has the same name as the variable passed as a prop, we only need to pass the key name)

* fix comment

Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>

* Align sortable handle vertically in multivalues prevalue editor

* 10341: Use different picker for content types (#10896)

* 10341: Use different picker for content types

* use es6 where possible (inc removing underscore for teeny tiny performance improvement)

Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>

* Falling back to contentTypeName when Block List label is empty (#10963)

* Falling back to contentTypeName when Block List label is empty

* Adding $contentTypeName variable for Block List labels

* Fix incorrect attribute

* Grid: Add button styling fix (#10978)

* Add missing focus styling

* Ensure add button is perfectly rounded and remove unused / uneeded CSS.

* Remove redundant border-color property

* Revert removal of unused css

Co-authored-by: BatJan <jaskov@gmail.com>
Co-authored-by: Jan Skovgaard Olsen <jso@co3.dk>

* Create content template localization (#10945)

* Don't use self-closing element for custom HTML elements

* Use button element for close/cancel in copy dialog

* Update localization of "createBlueprintFrom"

Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>

* Cleanup examine search results, and adds ability to toggle fields (#9141)

* Cleanup examine search results, and adds ability to toggle fields

* update table to use joinarray filter with one-time binding to avoid recalculating filter values, updated filter to not explode when array arg is null

* fix failing tests - improve filter to not fail on non-array params, update tests accordingly

Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>

* Add EntityController GetUrlsByUdis

Enables loading multiple URLs in a single request for Media & Documents

* Update content picker to use GetUrlsByUdis

* Allows replacing MainDom with alternate DB

There are some cases where there is a complex hosting strategy and folks want a readonly database and are hosting on Azure. In that case, it is not entirely possible to have a readonly Umbraco database because SqlMainDom is required and part of that requirement is to have read/write access to the umbraco key value table.
This PR allows for the default MainDom to be replaced and to allow for an SqlMainDomLock to use an alternate connection string so that a separate read/write database can be used.

* Remove inherited property group id/key when local properties are added (#11231)

* Remove inherited property group id/key when local properties are added

* Rebind saved content type values

* Remove inherited from save group

* Rename parameter for clarity

* Removes annoying wait text, which causes layout jank

* v8: Backoffice Welsh language translation updates (#11240)

* Updated the Welsh language file to include newly added keys (based on the en us language file)

* Updated the searchInputDescription key

* Updated the endTitle key

* Use medium sized overlay

* Use umb-icon component for icons in content type groups and tabs

* fixes wrong reference to enterSubmitFolder method in ng-keydown

* 11251: Don't add default dashboard to url

* Fix preview of SVG when height and width not are set

* If caching a published document, make sure you use the published Name… (#11313)

* If caching a published document, make sure you use the published Name. Closes #11074.

* Fix case of new node

Co-authored-by: Moore, Douglas S <Douglas.Moore@opm.gov>

* Added missing Italian translations (#11197)

* Resolve incorrect ContentSavedState for failed publish

Closes #11290 (for v8)

* add modelValue validation for server to correctly update validation errors

* 11048: Bugfix for groups and properties that get replaced (#11257)

(cherry picked from commit 1605dc10bd)

* Icon fallback to `icon-document` for existing document types (#11283)

* Align create buttons styling (#11352)

* Added button for cancelling dictionary create action

* Use hideMenu

* Align dictionary create with the other creates

* Align import documenttype

* Align for data type folder create

* Align document type create buttons

* Forgot small ng-show

* Align create media folder buttons

* Align create macro buttons

* Align create relation buttons

* Align create partial view macro folder buttons

* Align partial view folder create buttons

* Align create scripts folder buttons

* Align create scripts folder buttons

* Use primary instead of success

* V8: Duplicate MemberGroup names cause MemberGroup mixup (#11291)

* Prevented duplicate member group names

* Added English lang

* Updated 'Exist' typo

* add labels in FR and NL

* Adding property group aliases to ex.message

* Adding invalid prop group aliases as ModelState errors, so we don't introduce breaking changes

* Pointing the actual reason for invalidating composition

* Validate all content type dependencies and throw a single InvalidCompositionException

* Rename based on review comments

* Update composition validation error messages

* Update InvalidCompositionException message

* Allow switching property editor from numeric to slider (#11287)

* Make it possible to change from numeric/decimal property editor to slider without breaking editor

* Formatting

* Enables friendly pasting in multipletextbox

* UI API docs: Added reset rules for .close class

* UI API docs: Fixed incorrect method name

* 11331: Check property on instance if id is not set yet

* Fixed cypress tests

Co-authored-by: Bjarne Fyrstenborg <bjarne_fyrstenborg@hotmail.com>
Co-authored-by: Corné Strijkert <cornestrijkert@hotmail.com>
Co-authored-by: Søren Gregersen <soreng@gmail.com>
Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>
Co-authored-by: patrickdemooij9 <patrickdemooij98@hotmail.com>
Co-authored-by: Callum Whyte <hey@callumwhyte.com>
Co-authored-by: Jan Skovgaard <1932158+BatJan@users.noreply.github.com>
Co-authored-by: BatJan <jaskov@gmail.com>
Co-authored-by: Jan Skovgaard Olsen <jso@co3.dk>
Co-authored-by: Søren Kottal <sk@ecreo.dk>
Co-authored-by: Paul Johnson <pmj@umbraco.com>
Co-authored-by: Shannon <sdeminick@gmail.com>
Co-authored-by: Sebastiaan Janssen <sebastiaan@umbraco.com>
Co-authored-by: Ronald Barendse <ronald@barend.se>
Co-authored-by: Owain Jones <owain.jones@method4.co.uk>
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch>
Co-authored-by: Doug Moore <lordscarlet@idledreams.net>
Co-authored-by: Moore, Douglas S <Douglas.Moore@opm.gov>
Co-authored-by: Martino Gabrielli <39855999+ZioTino@users.noreply.github.com>
Co-authored-by: Nikolaj Geisle <70372949+Zeegaan@users.noreply.github.com>
Co-authored-by: Mads Rasmussen <madsr@hey.com>
Co-authored-by: Jamie Townsend <jamie.townsend@unitstack.co.uk>
Co-authored-by: Elitsa Marinovska <elm@umbraco.dk>
Co-authored-by: Anders Bjerner <abjerner@skybrud.dk>
2021-10-20 13:12:46 +02:00
Nikolaj Geisle
9494591ed4 Merge pull request #11403 from umbraco/v9/feature/improve_package_usage_of_integration_tests
Simplify usage of integration tests from nuget package
2021-10-20 10:32:39 +02:00
Shannon Deminick
c77dc5dc00 Migrating tests that depend on Published Cache from the old test project (#11242)
* starts cleaning up old test project, removing ones we'll never convert, moves new test to where it should be.

* Makes ContentNodeKit immutable properties, moves first nucache tests over

* Gets the Nucache unit tests working and refactors a bit to use builder pattern for models.

* Migrates first xml based cache test to use nucache.

* Migrates a bunch more

* Migrates remaining tests for PublishedContentTests

* Moves PublishedRouterTests

* Moves PublishedContentExtensionTests

* Moves more tests.

* committing wip

* committing wip

* Gets PublishedContentLanguageVariantTests converted and working.

* Fixes DataTable ext method and moves PublishedContentDataTableTests

* Moves PublishedMediaTests

* wip - moving EntityXmlSerializerTests

* Moves more tests

* moves more tests

* moves more tests

* Move another test

* Moves more tests

* Fix test

* move another test

* Moves more tests

* Moves more tests

* Moves more tests

* wip before merge

* More tests

* More tests

* More tests

* More tests

* More tests

* More tests

* Cleanup and moving classes.

* Remove unused code

* Fixed failing tests, due to new null checks, that did not exist in v8

* Avoid breaking changes

* Unbreak more things, even that it the old solution was crazy..

* Fixed bug where ordering of stream readings was changed..

* cleanup

Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2021-10-19 14:11:54 +02:00
Mads Rasmussen
49e1aec71c add modelValue validation for server to correctly update validation errors 2021-10-19 13:30:44 +02:00
Bjarke Berg
ca9dc94392 Fixed StyleCop issues in JsonSchema project 2021-10-19 13:11:02 +02:00
Bjarke Berg
edaf411b0d Merge remote-tracking branch 'origin/v9/dev' into v9/feature/improve_package_usage_of_integration_tests 2021-10-19 11:19:43 +02:00
Paul Johnson
7020793235 Restore BelleBuild target (for back-office assets) and use npm ci (#11364)
Co-authored-by: Ronald Barendse <ronald@barend.se>
2021-10-19 10:15:07 +01:00
Paul Johnson
37a429017e Drop ref to Web.UI from integration tests (#11413)
* Remove reference to Web.UI, Fix test server content root

* Cleanup test databases in parallel
2021-10-19 10:09:48 +01:00
Berg
a8889fcabb Uses TestExecutionContext to get the current test, instead of trying to find it using assembly scanning 2021-10-18 21:25:21 +02:00
Paul Johnson
00133e880d Move test projects from src/ to tests/ (#11357)
* Update gitignore

* Move csproj

* Update project references

* Update solutions

* Update build scripts

* Tests used to share editorconfig with projects in src

* Fix broken tests.

* Stop copying around .editorconfig

merged root one with linting

* csharp_style_expression_bodied -> suggestion

* Move StyleCop rulesets to matching directories and update shared build properties

* Remove legacy build files, update NuGet.cofig and solution files

* Restore myget source

* Clean up .gitignore

* Update .gitignore

* Move new test classes to tests after merge

* Gitignore + nuget config

* Move new test

Co-authored-by: Ronald Barendse <ronald@barend.se>
2021-10-18 08:14:04 +01:00
Nikolaj Geisle
c005673a96 Merge pull request #11394 from umbraco/v9/bugfix/support_localdb_15
Also detect localdb 15
2021-10-18 09:11:29 +02:00
Nikolaj Geisle
434ce0f7dc Merge pull request #11199 from umbraco/register-notification-extension
v9: Added Extension method to register all custom Notifications
2021-10-18 08:20:28 +02:00
Berg
05f5c8def8 Also detect localdb 15 2021-10-18 08:10:29 +02:00
Bjarke Berg
616b57774f Merge remote-tracking branch 'origin/v9/dev' into v9/dev 2021-10-18 06:44:13 +02:00
Bjarke Berg
c9d71ec0c7 Merge remote-tracking branch 'origin/v9/9.0' into v9/dev 2021-10-18 06:43:50 +02:00
Martin Humlund Clausen
58d980cc80 Update src/Umbraco.Core/Extensions/UmbracoBuilderExtensions.cs
Co-authored-by: Nikolaj Geisle <70372949+Zeegaan@users.noreply.github.com>
2021-10-17 14:13:51 +02:00
Martin Humlund Clausen
0d7c6e4128 Update src/Umbraco.Core/Extensions/UmbracoBuilderExtensions.cs
Co-authored-by: Nikolaj Geisle <70372949+Zeegaan@users.noreply.github.com>
2021-10-17 14:13:43 +02:00
Nikolaj Geisle
ee6abdeec3 Merge pull request #11328 from umbraco/v9/feature/add-notifcation-for-url-collision
Add notifcation when publishing varying culture without domains configured
2021-10-15 12:31:39 +02:00
Nikolaj Geisle
48003e0b70 Check ancestors for published culture
Fixed issue where if you were 3 levels deep and published only 1 culture, warning wouldn't fire
2021-10-15 11:48:15 +02:00
nikolajlauridsen
cc74e3f4fd Remove unused using 2021-10-15 08:42:17 +02:00
nikolajlauridsen
ebd0d95df0 Merge branch 'v9/feature/add-notifcation-for-url-collision' of https://github.com/umbraco/Umbraco-CMS into v9/feature/add-notifcation-for-url-collision 2021-10-15 08:40:41 +02:00
nikolajlauridsen
28c9b9bcca Add constants for ISO codes in ContentControllerTests 2021-10-15 08:36:24 +02:00
Mole
e0cac5e79e Apply suggestions from code review
Co-authored-by: Nikolaj Geisle <70372949+Zeegaan@users.noreply.github.com>
2021-10-15 08:26:23 +02:00
Nikolaj Geisle
563babd555 Removed logging from tests 2021-10-14 16:01:54 +02:00
Nikolaj Geisle
d184f82d63 Added removed language array back 2021-10-14 15:31:10 +02:00
Nikolaj Geisle
d992a6e71f Changed default language for Unit & Integration tests to en-US 2021-10-14 15:20:34 +02:00
Nikolaj Geisle
885281fc89 Added Assembly attributes 2021-10-14 15:16:49 +02:00
Nikolaj Geisle
6e540de408 Added additional logging 2021-10-14 14:36:58 +02:00
Nikolaj Geisle
76a8d4c474 Added logging in test 2021-10-14 14:07:31 +02:00
Nikolaj Geisle
7379387b2e Added logging 2021-10-14 13:30:22 +02:00
Nikolaj Geisle
4c616dc71d Merge branch 'v9/dev' into v9/feature/add-notifcation-for-url-collision 2021-10-14 13:02:11 +02:00
Nikolaj Geisle
e64d1ff4d1 Removed check for message 2021-10-14 11:26:33 +02:00
Nikolaj Geisle
ee22d262b3 Merge remote-tracking branch 'origin/v9/feature/add-notifcation-for-url-collision' into v9/feature/add-notifcation-for-url-collision 2021-10-12 14:09:25 +02:00
Nikolaj Geisle
ab0ac0f599 Ensure current thread culture 2021-10-12 14:09:04 +02:00
Nikolaj Geisle
6fcef7bc33 Ensure current thread culture 2021-10-12 14:05:45 +02:00
nikolajlauridsen
7c2f5c934c Add EN translations 2021-10-12 12:53:07 +02:00
Nikolaj Geisle
eb7e01f177 Merge pull request #11358 from umbraco/v9/bugfix/11290_fix_incorrect_publish_status
v9: Cherry picked fix from v8 and updated test for v9
2021-10-12 12:38:44 +02:00
Nikolaj Geisle
303976b5d7 Update src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Services/ContentServiceTests.cs 2021-10-12 11:30:49 +02:00
Paul Johnson
90aebde107 Cherry picked fix from v8 and updated test for v9 2021-10-12 11:27:35 +02:00
Berg
5fe30c746c Fixed breaking change! 2021-10-12 08:08:03 +02:00
Warren Buckley
243d0bba7b Implement IUserSessionStore<BackOfficeIdentityUser> to fix timeout bug #11350 (#11351) 2021-10-11 15:51:49 +02:00
nikolajlauridsen
161fc7d456 Use hashset instead of list for assigned domains
We don't care about dupes
2021-10-08 14:55:44 +02:00
nikolajlauridsen
597b6f4bd2 Add final integration test 2021-10-08 14:52:22 +02:00
nikolajlauridsen
8112e1a9af Add intergration test 2021-10-08 13:08:32 +02:00
nikolajlauridsen
5a82d8ee2e Also display warning when publishing with descendants 2021-10-08 11:35:56 +02:00
nikolajlauridsen
8e7fb897d1 Use proper notifications instead of event messages 2021-10-08 11:24:10 +02:00