Commit Graph

38605 Commits

Author SHA1 Message Date
Warren Buckley
ceb4db4f45 Adds dotnetRunMessages flag to launch settings for Kestrel (#10472)
https://github.com/dotnet/sdk/issues/12227
https://github.com/dotnet/sdk/pull/12581
https://github.com/dotnet/aspnetcore/blob/v6.0.0-preview.5.21301.17/src/ProjectTemplates/Web.ProjectTemplates/content/StarterWeb-CSharp/Properties/launchSettings.json#L22
2021-06-15 09:54:46 +02:00
Warren Buckley
8d3434d7d8 dotnet new template - Escape JSON special characters for password & connection string (#10467)
* Fix sourceName to match UmbracoProject and use a generated symbol to replace the Umbraco.Cms.Web.UI.NetCore in Program and Startup files

* Update template.json

* Run `npm update caniuse-lite`

* Regex replacement for Password & Connection strings that gets placed into AppSettings.Development.json So escaping \ and " for JSON strings

* Escaping input and handle namespace replacing. + Updated to beta004

Co-authored-by: Elitsa Marinovska <elm@umbraco.dk>
Co-authored-by: Elitsa Marinovska <21998037+elit0451@users.noreply.github.com>
Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2021-06-15 09:42:52 +02:00
Shannon Deminick
6f3a83c507 Fix interface inheritance (#10470) 2021-06-15 07:12:39 +02:00
Sebastiaan Janssen
2b71951889 Merge branch 'v8/dev' into v9/dev
# Conflicts:
#	src/Umbraco.Web.UI.Client/package-lock.json
#	src/Umbraco.Web.UI.Client/package.json
2021-06-14 14:15:07 +02:00
Warren Buckley
e70c362851 Run npm update caniuse-lite 2021-06-14 14:06:34 +02:00
Jose Marcenaro
20f3b223c5 Use default( ) instead of null for model value (#10435) 2021-06-11 14:17:12 +02:00
Jason Elkin
0b3eeafb47 fixed a typo in the UmbracoProject template (#10432)
* fixed a typo in the UmbracoProject template

* Update build/templates/UmbracoProject/UmbracoProject.csproj

Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2021-06-11 14:09:41 +02:00
Bjarke Berg
cfdf11b195 Renamed build to buildTransitive 2021-06-10 12:18:10 +02:00
Warren Buckley
7d6defd443 Adds in missing overload for IsAllowedTemplate using only template alias which was available in V8 (#10425) 2021-06-09 15:17:54 +02:00
Shannon Deminick
eb70bc313a Implements Examine/Lucene index syncing for use on Azure (#10386)
* Updates to latest examine, ensures indexes are unlocked on startup, adds more info to the diagnostics and allows for the new sync directory factory to work.

* Gets index syncing working correct and fixes reindexing to not overprocess indexes

* fix duplicate package ref

* rebuilds empty indexes and fixes config with enum

* missing file
2021-06-07 14:58:49 +02:00
Warren Buckley
c23efec854 .NETCore & SQL Docker Image for Container Isolated Development & GitHub CodeSpaces (#9835)
* .NETCore & SQL Docker Image

https://github.com/microsoft/vscode-dev-containers/tree/master/containers/dotnet-mssql

* Set the C# extension aka Omnisharp to use the umbraco-netcore-only.sln

* A new script in the postCreate of the docker image to npm install client stuff and initial dotnet build of SLN to help just running straight away

* Remove bash script - doing npm install stuff & dotnet build was hard to see log output and taking longer for image to start

* Adds in port 9000 and friendly label

* Ensure user notified about auto port forward with notification

* Comment out image min of assets as causing problems and eating way too much time up atm - need to revisit

* Automated launch & tasks VSCode JSON files - updated to run client npm install and npm run build before running website

* Update .gitattributes for line ending help for codespaces

https://code.visualstudio.com/docs/remote/troubleshooting#_resolving-git-line-ending-issues-in-containers-resulting-in-many-modified-files

* Tidy up

* Remove npm install from the npm run build step - kinda annoying when you re-run it

* Rather everytime attaching the debugger doing a full npm install, gulp dev and dotnet build is overkill, just build the SLN before debugging

* Update gitignore with casing rules

* Revert "Update .gitattributes for line ending help for codespaces"

This reverts commit 28316d1ba8a552751eef2f211b68531484344153.

* Sets the global user for npm as root

https://stackoverflow.com/a/45505787

* File permission stuff for NPM & Gifsicle binary source compilation from gulp-imagemin

* Revert "Comment out image min of assets as causing problems and eating way too much time up atm - need to revisit"

This reverts commit be48db9653bc58a69422d131b65955985e115e29.

* Add chromium-browser to try & get JS tests to run happy in CodeSpaces

* Set DB connection string & unattended install config to true so we can skip installer flow

* Add in ENV variables to setup the unattended install user

* Try to add SMTP4Dev from Bjarke Recommendation

* Need to specify the port mappings for SMTP4Dev

* Lovely syntax error in docker compose file

* Update ENV variables to renamed settings now this feature merged into NETCore branch by Bjarke

* Needed to match the hostname that SMTP4Dev was listening on, had assumed it would be reachable via localhost

* Fix folder naminng to make UNIX happy running JS tests

Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2021-06-07 13:23:15 +02:00
Shannon Deminick
2825ec6693 Removes CallContext (#10398) 2021-06-07 13:10:50 +02:00
Shannon
3c3c9a6a47 Merge remote-tracking branch 'origin/v8/contrib' into v9/dev
# Conflicts:
#	src/Umbraco.Core/Sync/DatabaseServerMessenger.cs
#	src/Umbraco.Core/Sync/DatabaseServerMessengerOptions.cs
#	src/Umbraco.Core/Sync/ISyncBootStateAccessor.cs
#	src/Umbraco.Core/Sync/NonRuntimeLevelBootStateAccessor.cs
#	src/Umbraco.Core/Sync/SyncBootState.cs
#	src/Umbraco.Tests/PublishedContent/NuCacheChildrenTests.cs
#	src/Umbraco.Tests/PublishedContent/NuCacheTests.cs
#	src/Umbraco.Tests/Scoping/ScopedNuCacheTests.cs
#	src/Umbraco.Tests/Services/ContentTypeServiceVariantsTests.cs
#	src/Umbraco.Web.UI.Client/package.json
#	src/Umbraco.Web.UI/Umbraco/config/lang/da.xml
#	src/Umbraco.Web.UI/Umbraco/config/lang/de.xml
#	src/Umbraco.Web.UI/Umbraco/config/lang/en.xml
#	src/Umbraco.Web.UI/Umbraco/config/lang/en_us.xml
#	src/Umbraco.Web.UI/Umbraco/config/lang/es.xml
#	src/Umbraco.Web.UI/Umbraco/config/lang/fr.xml
#	src/Umbraco.Web.UI/Umbraco/config/lang/pl.xml
#	src/Umbraco.Web.UI/Umbraco/config/lang/ru.xml
#	src/Umbraco.Web/BatchedDatabaseServerMessenger.cs
#	src/Umbraco.Web/Compose/DatabaseServerRegistrarAndMessengerComponent.cs
#	src/Umbraco.Web/HealthCheck/Checks/Config/AbstractConfigCheck.cs
#	src/Umbraco.Web/HealthCheck/Checks/Config/NotificationEmailCheck.cs
#	src/Umbraco.Web/HealthCheck/HealthCheckAction.cs
#	src/Umbraco.Web/PublishedCache/NuCache/NuCacheComposer.cs
#	src/Umbraco.Web/PublishedCache/NuCache/PublishedSnapshotService.cs
#	src/Umbraco.Web/Search/ExamineFinalComponent.cs
2021-06-04 10:59:52 -07:00
Shannon Deminick
eb6b7cffad Merge pull request #10182 from umbraco/v8/bugfix/8893-examine-startup
Fix startup issues and timing with Examine and Nucache
2021-06-05 02:37:33 +10:00
Andy Butland
ec3bc95809 Fixed typo in AddUnattendedInstallInstallCreateUser(this method name. (#10388) 2021-06-04 12:48:43 +02:00
Bjarke Berg
213b48d159 V9: Fixed serialization issue Amount (min and max) isn't stored and working with Media picker 3 (#10370)
* https://github.com/umbraco/Umbraco-CMS/issues/10289
Fixed serialisation issue Amount (min and max) isn't stored and working with Media picker 3

* Fixed serialization issue Image Crops (label, alias, width and height) isn't stored and working with Media picker

Co-authored-by: Elitsa Marinovska <elm@umbraco.dk>
2021-06-04 12:41:47 +02:00
Bjarke Berg
bcd47db21a https://github.com/umbraco/Umbraco-CMS/issues/10382 - Fix for transitive packages 2021-06-03 14:33:03 +02:00
Matthew-Wise
c341a39306 Add a collection to allow adding CSS and JS to the back office via C# (#10310)
* Added Custom back office collection builder, to allow css / js to be added to the back office using c#

* Added call to the collection

* Added obselete attribute to PropertyEditorAssetAttribute
2021-06-02 12:28:14 +02:00
Andy Butland
cd53d7a294 Removed hard-coded email validation for healthcheck fix value. (#5557)
Made validation for healthchcls more flexible, supporting none, email and regex.

Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>
2021-06-02 12:54:11 +10:00
Bjarne Fyrstenborg
57f7776848 Add input id so click on property label set focus in input (#9477)
Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>
2021-06-02 11:20:56 +10:00
Bjarne Fyrstenborg
3c2e7759fb Support custom SVG icon in block list editor (#10365)
* Use custom SVG icon in block card

* Adjust icons in block list editor views
2021-06-02 11:00:01 +10:00
Bjarne Fyrstenborg
0990599c63 Support custom SVG icon in content app 2021-06-02 10:50:16 +10:00
Andy Butland
1f97ee8bcf Adds fields to unit test model builder for data editors. (#10363) 2021-06-01 08:15:59 +02:00
Mole
40c8bf62f7 Enable email sender to publish an event if smtp is not configured (#10352) 2021-06-01 06:41:56 +02:00
Shannon Deminick
6b6e16bdbb Updates benchmark proj to net5, adds TypeLoader benchmarks (#10338) 2021-05-31 21:13:45 +02:00
Bjarke Berg
8a0a6e62bf Merge remote-tracking branch 'origin/v8/dev' into v9/dev
# Conflicts:
#	src/SolutionInfo.cs
#	src/Umbraco.Core/Cache/DataTypeCacheRefresher.cs
#	src/Umbraco.Core/Extensions/PublishedContentExtensions.cs
#	src/Umbraco.Core/Extensions/PublishedPropertyExtension.cs
#	src/Umbraco.Core/Migrations/Install/DatabaseDataCreator.cs
#	src/Umbraco.Tests/TestHelpers/Entities/MockedContentTypes.cs
#	src/Umbraco.Web.UI.NetCore/umbraco/config/lang/da.xml
#	src/Umbraco.Web/PropertyEditors/MediaPickerPropertyEditor.cs
2021-05-31 15:10:49 +02:00
Sebastiaan Janssen
3fe52d9aed Merge branch 'v8/dev' into v8/contrib 2021-05-31 09:43:50 +02:00
Sebastiaan Janssen
704f15aa9d Merge branch 'v8/8.14' into v8/dev 2021-05-31 09:42:34 +02:00
Sebastiaan Janssen
d1130a43ab Merge branch 'v8/8.13' into v8/8.14 2021-05-31 09:42:15 +02:00
Sebastiaan Janssen
4f3ab4fd99 Merge branch 'v8/8.12' into v8/8.13
# Conflicts:
#	src/SolutionInfo.cs
2021-05-31 09:41:48 +02:00
Sebastiaan Janssen
0653dcb849 Merge branch 'v8/8.11' into v8/8.12
# Conflicts:
#	src/SolutionInfo.cs
2021-05-31 09:40:59 +02:00
Sebastiaan Janssen
042e296d8f Bump version to 8.12.3 2021-05-31 09:21:44 +02:00
Sebastiaan Janssen
fc417e8ed8 Bump version to 8.11.3 2021-05-31 09:18:12 +02:00
Vlael Layug
1c630e3c5f inject clearAddUserForm() to inviteUser condition 2021-05-28 09:35:49 +02:00
Bjarne Fyrstenborg
2697431de6 Fix issue with extend of object in keyboard service 2021-05-28 17:10:21 +10:00
Bjarne Fyrstenborg
7cccbb3fbf Replaced angular.extend with Utilities.extend (#10023)
* Replace angular.extend with Utilities.extend

* Replace more references of angular.extend with Utilities.extend

* Replace angular.extend

* Replace last reference of angular.extend except in Utilities itself

* Use spread operator

* Add spread operator

* Use existing format with empty destination object

* Configurate Babel to work with JS spread operator

* Use default for loose property which is "false"

* use alias for angular.extend - removes need for any other changes and makes multiple arguments easy

Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>
2021-05-28 09:25:56 +10:00
patrickdemooij9
3440cbbac9 Fixed 10144: Prevalue alias not set (#10163)
* Fixed 10144: Prevalue alias not set

* Remove console.log

Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>
2021-05-28 09:14:07 +10:00
Sebastiaan Janssen
7d25439b09 Merge branch 'v8/dev' into v8/contrib 2021-05-27 12:28:01 +02:00
Sebastiaan Janssen
a27c6a7404 Merge branch 'v8/8.14' into v8/dev 2021-05-27 12:27:40 +02:00
Sebastiaan Janssen
d81fac9753 Bump version to 8.14.0 2021-05-27 10:42:23 +02:00
Sebastiaan Janssen
a845d2bffd Shows a warning for people tempted to switch to the new media picker 2021-05-27 10:41:56 +02:00
Vlael Layug
38f5d8329d added cdata on sectionMandatoryDesc for other languages 2021-05-27 08:27:08 +10:00
Bjarke Berg
7a63e26785 Add missing IMigrationContext to RebuildPublishedSnapshot ctor 2021-05-26 18:31:03 +02:00
Warren Buckley
9ef806d4e9 Rename Media Picker 3 and make current Media Picker Obsolete (#10332) 2021-05-26 16:13:25 +02:00
Mads Rasmussen
008e76c08f fixes #10297 8.14-RC - A few areas where focus lock doesn't work properly 2021-05-26 14:32:59 +02:00
Sebastiaan Janssen
046cbfc230 Merge branch 'v8/8.13' into v8/8.14 2021-05-26 14:21:40 +02:00
Sebastiaan Janssen
15f9814322 Merge branch 'v8/8.12' into v8/8.13 2021-05-26 13:47:01 +02:00
Sebastiaan Janssen
e0958e3b6b Merge branch 'v8/8.11' into v8/8.12 2021-05-26 13:44:45 +02:00
Niels Lyngsø
1ac44542f6 Complex validation for RTE property editor (#10328)
Co-authored-by: Niels Lyngsø <nsl@umbraco.com>
(cherry picked from commit 0a9c1c7c8e)

# Conflicts:
#	src/Umbraco.Web.UI.Client/src/common/services/contenteditinghelper.service.js
2021-05-26 13:10:18 +02:00
Niels Lyngsø
0a9c1c7c8e Complex validation for RTE property editor (#10328)
Co-authored-by: Niels Lyngsø <nsl@umbraco.com>
2021-05-26 13:08:25 +02:00