Commit Graph

41533 Commits

Author SHA1 Message Date
Bjarne Fyrstenborg
4238e2a4f3 Simplify code in UmbracoViewPage (#12528) 2022-06-02 15:47:47 +02:00
Matt Brailsford
d0a752248e Make ActionDelete.ActionAlias public again 2022-05-26 13:16:12 +02:00
Matt Brailsford
f3c4c677f3 Don't use default params for AddUnique extension methods (breaks v9) (#12485) 2022-05-26 08:25:02 +01:00
Jeavon
8609314314 Update template gitignore for static assets now in Razor Class Library (#12424)
* Update template gitignore

Remove the rules for umbraco static assets as these are now served from a Razor Class Libray

* Update .gitignore

Adjust path of appsettings-schema.json
2022-05-26 15:39:21 +10:00
Johan Runsten
83e555a8ed Fixed null check typo in CacheInstructionService. Fixes #12473. (#12474)
* Fixed null check typo. Fixes #12473.

* Removed unneccessary null forgiving operator

Co-authored-by: Johan Runsten <johan.runsten@toxic.se>
2022-05-25 10:13:25 +02:00
Wilmar de Hoogd
019385411a added option to disable automatic expand of single nc item (#12261)
* added option to disable automatic expand of single nc item

* remove max item conditional

remove max item 1 conditional to set current node

* changed description of slider property

removed description of first item conditional

* Update NestedContentConfiguration.cs

change copy to more accurately describe the feature

Co-authored-by: Wilmar <wilmar.de.hoogd@thevalley.nl>
2022-05-25 02:31:52 +02:00
Asbjørn Riis-Knudsen
d6b60cfc88 Fix #12454 by having Coalesce handle null values (#12456)
* Fix #12454 by having Coalesce handle null values

* Allow null values in Html.Coalesce #12454
2022-05-24 17:41:10 +02:00
Erik-Jan Westendorp
3b68703333 Translate 'Configure Two Factor' (Dutch) 2022-05-24 08:08:08 +10:00
Bjarne Fyrstenborg
71156fb59b Adjust Danish translation for 2FA (#12459)
* Adjust Danish translation for 2FA

* Remove break
2022-05-24 08:04:33 +10:00
Erik-Jan Westendorp
77dce77df4 Add Two Factor Auth translation (Dutch) 2022-05-23 18:10:12 +10:00
Bjarne Fyrstenborg
1db10f3ace Support custom SVG icon in property actions (#12062)
* Support SVG icon in umb-property-actions

* Update icons for existing property actions

* Make backwards compatible

* Update existing property actions to not use legacy icons as we now specify full icon name, but we need this for backward compatibility

* Change from named function to local function

* Add property actions to multi url picker

* Inject overlayService and set isDisabled in watch

* Add function to clear
2022-05-18 09:12:56 +10:00
Bjarne Fyrstenborg
9fce9e05c7 Menu action icons (#12418)
* Fix icon for export member

* Add missing start summary tag

* Formatting
2022-05-18 08:50:30 +10:00
Sebastiaan Janssen
1422aa196a Add new issues to a project board 2022-05-17 19:30:42 +02:00
Dennis Aaen
900a623e74 Updated the installer screen, and the no NoNodes.cshtml (#12399)
* Updated the installer screen, and the no NoNodes.cshtml with link to the new learning base for Umbraco

* Added ref to the link

Co-authored-by: Dennis Aaen <dennis@umbraco.com>
2022-05-17 14:39:03 +02:00
Sebastiaan Janssen
230d3e53ad Fix action name 2022-05-17 14:27:00 +02:00
Sebastiaan Janssen
082d853056 Add up-for-grabs workflow - improve log messages in pr-first-response 2022-05-17 14:24:07 +02:00
Sebastiaan Janssen
bbffac22b4 Update BUILD.md 2022-05-17 11:39:58 +02:00
Sebastiaan Janssen
4d41fd77c9 Update BUILD.md 2022-05-17 11:38:02 +02:00
Rasmus Østergård
9442e0f5ca Translate document type description (#12409) 2022-05-17 15:36:42 +10:00
Bjarne Fyrstenborg
d051f850eb Support SVG icon in action menu (#12403)
* Support custom SVG icon in menu item with legacy support

* Update menu icons

* Update action icons

* Adjust icons in menu actions with legacy fallback

* Don't use legacy icon

* Update comments
2022-05-17 07:50:19 +10:00
Sebastiaan Janssen
048193e3a5 Update BUILD.md 2022-05-16 13:12:08 +02:00
Sebastiaan Janssen
898c5cc397 Update BUILD.md 2022-05-16 13:08:33 +02:00
failureflawless
2c34751fd4 Updated docs and VSCode build task
as we discovered some changes we needed in the docs
2022-05-13 11:35:52 +02:00
Joe Glombek
953e6f2e34 Rework and update the contributing guide (#12165) 2022-05-12 12:19:44 +02:00
Bjarne Fyrstenborg
ebb1dc21a9 Show nicer overlay when clicking block card for deleted element type (#12140)
* Show nicer overlay when clicking block card for deleted element type

* Cleanup

* Remove stop-scrolling container

* Use flex-start instead on start

* Remove legacy flexbox fallback

* Remove unnecessary hack

* Use standard gap property instead

* Localization of message

* Fix translation

* End sentence with a dot
2022-05-11 08:51:37 +10:00
Elitsa Marinovska
9326cc5fc6 Use SnippetCollection to when working with snippets (#12355)
* Introducing a new Snippet type

* Adding a SnippetCollection and SnippetCollectionBuilder

* Using snippetCollection to get the snippets instead of fileService

* Fixed fetching the correct content

* Make ISnippet non-discoverable

* Split the SnippetCollection into PartialViewSnippetCollection and PartialViewMacroSnippetCollection

* Update CodeFileController to use the 2 snippet collections

* Display the names with Empty.cshtml on top

* Remove merging embedded snippets with custom snippets from ~\Umbraco.Web.UI\umbraco\PartialViewMacros\Templates folder for the Partial View Collection

* Fix naming

* Fix another naming

* Cleanup + Use base items

Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2022-05-09 11:42:10 +02:00
Bjarke Berg
22d11d23df Merge remote-tracking branch 'origin/v10/dev' into v10/contrib 2022-05-09 11:12:02 +02:00
Bjarke Berg
f5d7b5c2c7 Merge remote-tracking branch 'origin/v10/10.0' into v10/dev
# Conflicts:
#	src/Umbraco.Web.Common/Hosting/UmbracoHostBuilderDecorator.cs
2022-05-09 11:09:46 +02:00
Paul Johnson
4ab7f40ce5 Disable connection pooling for initial SQLite database create. 2022-05-09 09:52:16 +01:00
Nikolaj Geisle
c576bbea03 v10: Fix build warnings in Web.Common (#12349)
* Run code cleanup

* Run dotnet format

* Start manual cleanup in Web.Common

* Finish up manual cleanup

* Fix tests

* Fix up InMemoryModelFactory.cs

* Inject proper macroRenderer

* Update src/Umbraco.Web.Common/Filters/JsonDateTimeFormatAttribute.cs

Co-authored-by: Mole <nikolajlauridsen@protonmail.ch>

* Update src/Umbraco.Web.Common/Filters/ValidateUmbracoFormRouteStringAttribute.cs

Co-authored-by: Mole <nikolajlauridsen@protonmail.ch>

* Fix based on review

Co-authored-by: Nikolaj Geisle <niko737@edu.ucl.dk>
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch>
2022-05-09 09:39:46 +02:00
Andy Butland
02cd139770 Fixed issue with null reference when obtaining a lock using a detached scope. 2022-05-07 12:06:33 +02:00
Andy Butland
109d2f191e Further NRT updates for Deploy (#12375)
* Nullability modifications to grid cell values and connector.

* Nullable updates to IDataTypeConfigurationConnector.

* Apply suggestions from code review

Co-authored-by: Nikolaj Geisle <70372949+Zeegaan@users.noreply.github.com>

Co-authored-by: Nikolaj Geisle <70372949+Zeegaan@users.noreply.github.com>
2022-05-06 18:04:26 +02:00
Nikolaj Geisle
4f3d680f06 V10: Build warnings in Web.Website (#12332)
* add new rule to globalconfig

* Fix warnings in Web.Website

* Fix more warnings in Web.Website

* Fix more build warnings in Web.Website

* Fix more warnings in Web.Website

* Fix tests

* Fix proper constructor call

* Fix not being able to run project

* Fix Obsolete method

Co-authored-by: Nikolaj Geisle <niko737@edu.ucl.dk>
2022-05-06 15:06:39 +02:00
Bjarke Berg
b648177a40 Use static global id in pipelines (#12370) 2022-05-06 15:05:08 +02:00
Paul Johnson
e4ff14e17d Ensure correct instance returned from UmbracoHostBuilderDecorator (#12373) 2022-05-06 11:15:34 +01:00
Paul Johnson
e4ed87fb9a Ensure correct instance returned from UmbracoHostBuilderDecorator 2022-05-06 10:38:30 +01:00
Paul Johnson
e4450d650a Include default favicon for new projects
Bonus - ensures wwwroot exists for first boot.
2022-05-06 10:06:48 +01:00
Andy Butland
63b77b7743 Further NRT amends (#12363)
* Amended nullability of base Deploy classes.

* Ensured ContentItemDisplay.Variants is non-nullable.

* Set IArtifactSignature.Dependencies to be non-nullable.

* Update template collection retrieval to be non-nullable.

* IMediaService.GetRootMedia to be non-nullable.

* Non-nullable collection for IMemberService.GetMembersByMemberType.

* Non-nullable collection for member role retrieval.

* Non-nullable collection for root dictionary items.

* Non-nullable collection for child dictionary items.

* Applied suggestions from code review

Co-authored-by: Nikolaj Geisle <70372949+Zeegaan@users.noreply.github.com>

* Remove extra dot

Co-authored-by: Nikolaj Geisle <70372949+Zeegaan@users.noreply.github.com>
Co-authored-by: Nikolaj Geisle <niko737@edu.ucl.dk>
2022-05-06 10:13:58 +02:00
Paul Johnson
948992cc75 Include default favicon for new projects
Bonus - ensures wwwroot exists for first boot.
2022-05-06 08:36:05 +01:00
Henk Jan Pluim
7993d19c1b #fix 12254 return emptyresult 2022-05-05 15:16:45 +02:00
Andy Butland
5be156bb22 Ensured container collections retrieved from content type services return empty rather than nullable. (#12360)
* Ensured container collections retrieved from content type services return empty rather than nullable.

* Reverted change to ILocalLinkParser.

* Reverted change to ILocalLinkParser (2).

* Update GetByParentOrChildId in IRelationService to return non-nullable result.

* Added obsoleted constructor due to change in MemberTypeService.

* Updated nullability of Compare method parameters in IServiceConnector.

* Adjusted nullability of method on IValueConnector.

* Removed nullability of ArtifactDeployState.
2022-05-05 12:56:44 +02:00
Jacob Overgaard
e96c75dc85 update nouislider to 15.6.0 (#12353) 2022-05-05 09:51:57 +02:00
Andy Butland
735086a747 Further amends to NRT definitions (#12356)
* Ensured all GetContainers methods in IDataTypeService return non-nullable collections.

* Further amends to ensure services return non-nullable collections.

* Aligned nullability of IMediaService.GetMediaFileContentStream(string

* Removed return of nullable streams from IFileService.

* Fixed nullability mismatch.
2022-05-04 19:05:10 +02:00
Andy Butland
a42ff2c267 NRT amends necessary for Deploy (#12357)
* Allowed null item retrievel in IDeployContext.

* Allowed null item retrievel in IImageSourceParser.

* Allowed null item retrievel in IMacroParser.

* Set null syntax for other Deploy interfaces.
2022-05-04 19:01:54 +02:00
Bjarke Berg
a676322fee Merge remote-tracking branch 'origin/v10/10.0' into v10/contrib 2022-05-04 14:27:35 +02:00
Paul Johnson
09b210d5de Hack fix - SQLite deadlock issue for login after session timeout. 2022-05-04 10:13:27 +01:00
Bjarke Berg
6752f4b2c6 Fixed issue with missing auto complete 2022-05-04 10:10:14 +02:00
Bjarke Berg
5636d4baf7 Fixed namespace that was original an incorrect merge from v8 to v9 (#12347) 2022-05-04 08:10:27 +02:00
Ronald Barendse
14d3cd7163 v10: Fix LESS math (#12346)
* Fix LESS math parens-division

* Fix LESS math strict
2022-05-04 05:56:29 +02:00
Bjarke Berg
49cec5c66c Merge remote-tracking branch 'origin/v10/10.0' into v10/dev 2022-05-03 21:36:45 +02:00