Commit Graph

30 Commits

Author SHA1 Message Date
Mike Chambers
b783399c5c Update ModelsBuilderComposer.cs
issue #10186

typo in IsExternalModelsBuilderInstalled -> Umbraco.ModelsBuider
2021-04-28 18:05:40 +02:00
Callum Whyte
5ee0f310c9 Counting Umbraco.ModelsBuilder and ModelsBuilder.Umbraco namespaces as external providers 2021-03-15 07:46:58 +10:00
Matthew-Wise
d85b6694fe Make models builder properties virtual to allow mocking (#9335) 2021-02-21 17:19:48 +01:00
rbottema
e554ef0445 Fix some exceptions being logged the wrong way (#9693)
In these statements, the exception was passed as a log message parameter instead of as the exception. This meant the exception and including stack trace was not logged and thus lost.
2021-02-21 11:03:28 +01:00
Chad
0bd4dced0b Improve performance and reduce memory use and reduce array allocations by reusing char[] (#9166)
* Reduce array allocations by reusing char[]

* don't hide .Equals()

* Reduce memory use by reducing array allocations

* Revert "Reduce memory use by reducing array allocations"

This reverts commit faf6b60234167f5443435243eb52187ab07d514c.

* reuse char[] for string.split() to avoid params [] allocation
2021-01-22 12:02:25 +10:00
Arkadiusz Biel
f288a63342 make composers and components public 2020-10-13 16:40:52 +02:00
Kenn Jacobsen
e0eadf2cf5 Creating a "System" content type breaks Umbraco (#9005) 2020-10-12 16:10:22 +01:00
Ronald Barendse
2bfef74191 Fix casing of 'URL' (#9080) 2020-10-05 20:48:38 +02:00
Sebastiaan Janssen
d6275f34f7 Merge branch 'v8/8.6' into v8/dev
# Conflicts:
#	src/Umbraco.Web/Security/MembershipHelper.cs
2020-09-23 11:09:40 +02:00
Shannon
1ab77adc8a Ensure event handlers are unsubscribed in Core Components 2020-09-04 13:25:56 +10:00
Shannon
212dc7f0fa notes 2020-07-14 10:08:59 +10:00
Shannon
e62fef8faf Ensures entire nucache linked list is not rebuild on schema changes when disabled 2020-04-20 23:22:03 +10:00
Shannon
d9cb9f27f1 ModelsBuilder enabled flag not respected
When MB is disabled we were still rebuilding all of nucache models when schema changes are made which is a requirement of PureLive models but if MB is disabled then PureLive models don't matter. This was causing unnecessary performance and db overhead when modifying document types when mb is disabled.
2020-04-20 22:25:05 +10:00
Jason Elkin
bad1913e0e update Umbraco.ModelsBuilder.Embedded attributes to match assembly name 2020-03-09 10:19:26 +01:00
Bjarke Berg
7bdf97c431 https://github.com/umbraco/Umbraco-CMS/issues/7469 Unsealed class to allow override 2020-01-24 09:20:16 +01:00
Bjarke Berg
05fe604e22 https://github.com/umbraco/Umbraco-CMS/issues/7469 Renamed extension method to avoid ambiguous signature 2020-01-24 09:19:29 +01:00
Bjarke Berg
7fbe482919 Revert "https://github.com/umbraco/Umbraco-CMS/issues/7469 - Fixed Ambiguous extension method issue by renaming our extension method from Value to GetValue"
This reverts commit baef282b
2020-01-20 14:09:13 +01:00
Bjarke Berg
baef282b10 https://github.com/umbraco/Umbraco-CMS/issues/7469 - Fixed Ambiguous extension method issue by renaming our extension method from Value to GetValue 2020-01-17 13:53:03 +01:00
Bjarke Berg
6637bf520c https://github.com/umbraco/Umbraco-CMS/issues/7469 - Fixed Ambiguous extension method issue by renaming our extension method from Value to GetValue 2020-01-17 13:22:13 +01:00
Shannon
1b56922213 Fixes threadsafety for settings value 2020-01-17 13:31:22 +11:00
Bjarke Berg
b272a3b791 https://github.com/umbraco/Umbraco-CMS/issues/7466 - Fixes issue with external ModelsBuilder and Dll or LiveDll mode. The issue is because the Mode is determined in the contructor, and not lazy. 2020-01-16 19:39:17 +01:00
Bjarke Berg
ddb04964b5 https://github.com/umbraco/Umbraco-CMS/issues/7457 - We need to register the config no matter what which MB is used. The config is used to avoid execution of methods in the internal MB 2020-01-14 15:54:07 +01:00
Bjarke Berg
17e28b6840 AB3389 - Move the stuff from App_Plugins/ModelsBuilder into Umbraco.Web.UI.Client and handle dashboard as code. 2019-10-29 14:28:54 +01:00
Bjarke Berg
eb1a43b6a0 Merge remote-tracking branch 'origin/v8/feature/AB3348-MB-lite-cleanup' into v8/feature/AB3289-MB-allow-legacy
# Conflicts:
#	src/Umbraco.ModelsBuilder.Embedded/BackOffice/DashboardReport.cs
#	src/Umbraco.ModelsBuilder.Embedded/Building/Builder.cs
#	src/Umbraco.ModelsBuilder.Embedded/Building/ModelsGenerator.cs
#	src/Umbraco.ModelsBuilder.Embedded/Building/TextBuilder.cs
#	src/Umbraco.ModelsBuilder.Embedded/ModelsGenerationError.cs
#	src/Umbraco.ModelsBuilder.Embedded/OutOfDateModelsStatus.cs
#	src/Umbraco.ModelsBuilder.Embedded/PureLiveModelFactory.cs
#	src/Umbraco.ModelsBuilder.Embedded/UmbracoServices.cs
2019-10-29 11:15:45 +01:00
Shannon
df2a65424e notes 2019-10-29 12:16:56 +11:00
Shannon
33cd7f6a98 oops, added the internal visible to attribute to the wrong file 2019-10-29 11:55:16 +11:00
Shannon
0aa8711988 Ensures that the MB version is added to the models hash to ensure that if the MB version changes, the purelive models are regenerated 2019-10-29 11:38:06 +11:00
Shannon
2c9939e516 restores the MB enable flag 2019-10-29 11:02:18 +11:00
Shannon
cd89308711 Ensures embedded MB is enabled on the UI proj, disables embedded MB if the legacy MB is detected 2019-10-29 01:14:10 +11:00
Shannon
3b6abbb936 Renames project: Umbraco.ModelsBuilder.Embedded and namespaces since we need a different assembly, updates nuspec, changes file path of MB app_plugins 2019-10-29 00:25:03 +11:00