Commit Graph

34092 Commits

Author SHA1 Message Date
Bjarke Berg
575e66b8eb Merge remote-tracking branch 'origin/v9/dev' into netcore/feature/get_rid_of_ICoreComposer
# Conflicts:
#	src/Umbraco.Examine.Lucene/ExamineLuceneComposer.cs
#	src/Umbraco.Examine.Lucene/ExamineLuceneConfigureIndexes.cs
#	src/Umbraco.Examine.Lucene/ExamineLuceneFinalComposer.cs
#	src/Umbraco.Examine.Lucene/ExamineLuceneStarting.cs
#	src/Umbraco.Infrastructure/Compose/NotificationsComposer.cs
#	src/Umbraco.PublishedCache.NuCache/Compose/NotificationsComposer.cs
#	src/Umbraco.Web.BackOffice/DependencyInjection/UmbracoBuilderExtensions.cs
#	src/Umbraco.Web.UI.Client/package-lock.json
2021-06-15 19:13:06 +02:00
Warren Buckley
067395b0ff Fix for #10401 to allow you to chaneg your own password if using user section & fixes notification errors to be displayed in the UI (#10422) 2021-06-15 13:57:14 +02:00
Elitsa Marinovska
0c3db013d5 Approve member when created with built-in macros (#10428)
* Allow members created with built-in macros to be approved

* Cleanup

* Newly created members are always approved like in v8.

Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2021-06-15 13:51:39 +02:00
Warren Buckley
c63b14a52e Merge pull request #10475 from umbraco/v9/bugfix/10438_missing_datacontract_on_FileExtensionConfigItem
V9 - Adds missing DataContract to FileExtensionConfigItem
2021-06-15 12:03:01 +01:00
Andy Butland
22de16a691 Added two further notifications to the boot process for custom functionality that may need to run at different stages. (#10471) 2021-06-15 12:43:03 +02:00
Bjarke Berg
6403d29b4e Merge remote-tracking branch 'origin/v9/dev' into v9/bugfix/10438_missing_datacontract_on_FileExtensionConfigItem 2021-06-15 12:08:01 +02:00
Bjarke Berg
0c34770695 https://github.com/umbraco/Umbraco-CMS/issues/10438 - Adds missing DataContract to FileExtensionConfigItem 2021-06-15 11:06:07 +02:00
Bjarke Berg
e0a9397d92 V9: Fix issue with recurring services that executes too often (#10473)
* Fix exception in ReportSiteTask.cs, when running multiple times..
Also fixes issue with how often the tasks are executed

* Fix timeout
2021-06-15 11:02:55 +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
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
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
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
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
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
Callum Whyte
b07f6519e7 Rename models builder modes (#10272)
* Renaming AppData Models Builder mode

* Renaming PureLive Models Builder mode to Runtime

* ModelsBuilderAssembly attribute flags if models are "Live" or not

* Updated ModelsMode names

* Only add tag if it is not a pull request. Apparently this is not allowed when it is from a fork.

* Revert "Only add tag if it is not a pull request. Apparently this is not allowed when it is from a fork."

This reverts commit 92b33f3c

Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2021-05-26 08:36:21 +02:00
Niels Lyngsø
630fa6a989 dont remove outline 2021-05-25 15:07:42 +02:00
Niels Lyngsø
a68a6b2ac2 added windowResizeListener 2021-05-25 15:06:58 +02:00
Niels Lyngsø
ecdc687e39 use label 2021-05-25 15:05:45 +02:00
Bjarke Berg
3b8f9d5e33 https://github.com/umbraco/Umbraco-CMS/issues/10295 - Use FileUploadConfigurationEditor in FileUploadPropertyEditor 2021-05-25 08:53:13 +02:00
Shannon
eba3c82a86 Changes startup logic, no more "Boot" method, the component just handles events 2021-05-24 12:51:40 -07:00
Shannon
be3bfe1b63 Removes Booting event, backports lazy changes for PublishedSnapshotService from v9. 2021-05-24 12:32:57 -07:00
Shannon
43ee6f288e fixes initialize flag 2021-05-24 11:25:03 -07:00