Shannon
e10698532b
Merge branch 'dev-v8' into temp-U4-11127
...
# Conflicts:
# src/Umbraco.Web.UI.Client/src/views/dashboard/dashboard.tabs.controller.js
2018-04-06 13:56:07 +10:00
Shannon
8b88bb68ed
must always register install components
2018-04-06 13:54:42 +10:00
Shannon
c90d6be8ab
U4-8861 Extract GlobalSettings to an interface and expose on the standard UmbracoConfig.For settings singleton including a bunch of cleanup, getting the installer and steps to be DI
2018-04-06 13:51:54 +10:00
leekelleher
cf1069e0e1
NestedContentPropertyEditor - code tidy-up
...
A little tidy-up of these class method. I noticed we were calling `ToString()` twice in places,
and the `ConfigureForDisplay` prevalues are already available as a Dictionary, so there's no need for an additional `ToDictionary` allocation.
2018-04-05 17:16:34 +01:00
leekelleher
99ce88228c
U4-11184 - Nested Content PropertyValueEditor - return converted value, not update reference value
...
ConvertDbToString
We were updating the `property.Value` reference, which was having adverse effects on the editor value.
In the majority of cases this wasn't an issue, but it did mean that any prevalue-ID-based editors (e.g. dropdown list) had problems.
I've removed the call to the base method, we don't need it - here's what it does...
https://github.com/umbraco/Umbraco-CMS/blob/release-7.4.0/src/Umbraco.Core/PropertyEditors/PropertyValueEditor.cs#L367
It attempts to convert the value to an XML-safe string, which is ultimately `ToString()` (if not null):
https://github.com/umbraco/Umbraco-CMS/blob/release-7.4.0/src/Umbraco.Core/ObjectExtensions.cs#L544
ConvertDbToEditor
Same as ConvertDbToString, we were updating the `property.Value` reference when we shouldn't be.
We should be returning the converted value, not updating the original reference value itself.
I've removed the call to the base method, we don't need it - it attempts to deserialize the JSON string that we've literally just serialized...
https://github.com/umbraco/Umbraco-CMS/blob/release-7.4.0/src/Umbraco.Core/PropertyEditors/PropertyValueEditor.cs#L283
So we can pass the List<object> value back, as this will be handled by Umbraco and handed by Angular.
2018-04-05 17:14:15 +01:00
Shannon
7442c96be1
removes unused methods
2018-04-05 23:15:51 +10:00
Shannon
990ca51279
Merge branch 'dev-v8' of https://github.com/umbraco/Umbraco-CMS into dev-v8
2018-04-05 23:11:24 +10:00
Shannon
262c4afb16
Removes FormsAuthentication cookie format and replaces with standard aspnet identity format, removes a bunch of old obsolete and unused code, fixes the culture setting issue, simplifies the UmbracoBackOfficeIdentity since it no longer needs to be a FormsIdentity and just a straight forward ClaimsIdentity
2018-04-05 23:10:51 +10:00
Stephan
eb6a08af31
v7@11d4189c8d
2018-04-05 14:12:15 +02:00
Shannon
798236dc85
removes unused code, cleans up web.confgi
2018-04-05 18:13:50 +10:00
Shannon
9bfe9e6bbf
Ensures that the thread culture is set both in owin and in aspnet
2018-04-05 18:11:15 +10:00
Stephan
f7a14a03f2
Fix build, still some weird csc.exe versionning
2018-04-04 17:41:55 +02:00
Shannon
d618151e4f
Fixes the csproj, binding redirects and versions
2018-04-04 15:54:39 +10:00
Shannon
cdd50b899a
Merge remote-tracking branch 'origin/dev-v8' into temp-U4-11127
...
# Conflicts:
# src/Umbraco.Web/Models/Mapping/TabsAndPropertiesResolver.cs
2018-04-04 15:04:11 +10:00
Shannon
a673babfb7
Fixes Content List View installation, removes unecessary properties from the RecycleBinEventArgs, updates both the upload and image cropper property editors to properly remove all files including any associated with variants, updates several other places to deal with variants and Property.GetValue(langId), adds notes, ensures we are returning the corect IDictionary instead of Dictionary for some interfaces
2018-04-04 13:11:12 +10:00
Shannon
b1d309aa16
Some updates based on PR review notes
2018-04-04 10:50:18 +10:00
Shannon
7a73175aa0
Starts wiring up the back office to the c# bits, updates controllers, mappers, models, property editors to support getting and saving data by language. The content editor now "works" with multi-lingual properties
2018-04-04 01:59:51 +10:00
Stephan
d4bd4256f1
Fix models mapping
2018-04-03 16:20:19 +02:00
Stephan
553de2ea68
Cleanup ILogger
2018-04-03 16:15:59 +02:00
Stephan
e3c6205d0c
Fix
2018-04-03 15:32:46 +02:00
Stephan
75966dcfbd
Merge branch origin/dev-v8 into dev-v8
2018-04-03 14:57:55 +02:00
Stephan
cdd064ba08
Upgrade Dependencies
2018-04-03 14:54:01 +02:00
MADSRASMUSSB4A1\madsrasmussen
fca9279322
update languages icon to globe instead of flag
2018-04-03 11:25:59 +02:00
Shannon
e7bc4986a5
Start updating the model/controller for editing variants in the back office and wiring up the angular side of things
2018-04-03 19:25:43 +10:00
Shannon
1719d33a48
Fixes tests, updates examine, fixes how __Path is stored
2018-04-03 12:33:21 +10:00
Warren
ad14fbd1f8
Set the language to be mandatory too as well
2018-03-30 21:01:24 +01:00
Stephan
f89816111b
Wire NuCache and IdkMap
2018-03-30 14:00:44 +02:00
Stephan
62b6efc4da
Fix upgrading
2018-03-30 10:28:49 +02:00
Shannon
7f27862943
Gets correct validation working with languages, we can now create and update
2018-03-30 01:20:40 +11:00
Shannon
b9d0c63002
Starts wiring up the language editor with the controller, ensure that you cannot delete a language at the repo level and makes sure that we return and show validation messages when the user tries to delete the default or last language.
2018-03-29 23:48:54 +11:00
Shannon Deminick
3489e66d64
Merge pull request #2546 from umbraco/temp-U4-11124
...
U4-11124 - Prevents deleting a default language (API Controller & Service Layers)
2018-03-29 22:48:24 +11:00
Shannon
7fd9caf889
Merge branch 'dev-v8' of https://github.com/umbraco/Umbraco-CMS into dev-v8
...
# Conflicts:
# src/Umbraco.Web/PublishedContentQuery.cs
2018-03-29 22:35:46 +11:00
Shannon
8f01a2ab0a
fixes merge issues
2018-03-29 22:13:41 +11:00
Stephan
c72ce0b759
Fix Examine PR, fix migrations and upgrades
2018-03-29 11:31:33 +02:00
Shannon
881fbb7f76
Merge remote-tracking branch 'origin/dev-v7' into dev-v8
...
# Conflicts:
# build/Modules/Umbraco.Build/Umbraco.Build.psm1
# src/SolutionInfo.cs
# src/Umbraco.Core/Configuration/UmbracoVersion.cs
# src/Umbraco.Core/DatabaseContext.cs
# src/Umbraco.Core/IO/FileSystemProviderManager.cs
# src/Umbraco.Core/ObjectExtensions.cs
# src/Umbraco.Core/Persistence/Migrations/Upgrades/TargetVersionSevenSevenZero/AddUserGroupTables.cs
# src/Umbraco.Core/PropertyEditors/ValueConverters/IntegerValueConverter.cs
# src/Umbraco.Core/Services/IdkMap.cs
# src/Umbraco.Core/Services/UserService.cs
# src/Umbraco.Core/packages.config
# src/Umbraco.Tests.Benchmarks/app.config
# src/Umbraco.Tests/UI/LegacyDialogTests.cs
# src/Umbraco.Web/Cache/MediaCacheRefresher.cs
# src/Umbraco.Web/Cache/UnpublishedPageCacheRefresher.cs
# src/Umbraco.Web/Features/DisabledFeatures.cs
# src/Umbraco.Web/Mvc/RenderRouteHandler.cs
# src/Umbraco.Web/Mvc/UmbracoAuthorizeAttribute.cs
# src/Umbraco.Web/PublishedCache/ContextualPublishedCache.cs
# src/Umbraco.Web/PublishedCache/ContextualPublishedContentCache.cs
# src/Umbraco.Web/PublishedCache/ContextualPublishedMediaCache.cs
# src/Umbraco.Web/PublishedCache/XmlPublishedCache/PublishedContentCache.cs
# src/Umbraco.Web/PublishedCache/XmlPublishedCache/PublishedMediaCache.cs
# src/Umbraco.Web/PublishedContentQuery.cs
# src/Umbraco.Web/WebApi/Filters/FeatureAuthorizeAttribute.cs
# src/Umbraco.Web/packages.config
# src/Umbraco.Web/umbraco.presentation/umbraco/create/MemberGroupTasks.cs
2018-03-29 20:01:14 +11:00
Shannon
10dec4115d
Updates to latest examine and replaces IExamineIndexCollectionAccessor since we now have IExamineManager
2018-03-29 16:42:11 +11:00
Shannon
5010cbbf30
Gets the examine stuff re-merged and updated after the great merge
2018-03-29 15:39:48 +11:00
Shannon
5482b8f2f0
Merge remote-tracking branch 'origin/dev-v8' into temp-U4-11102
...
# Conflicts:
# src/NuGet.Config
# src/Umbraco.Web/Components/DatabaseServerRegistrarAndMessengerComponent.cs
# src/Umbraco.Web/IPublishedContentQuery.cs
# src/Umbraco.Web/PublishedContentQuery.cs
# src/Umbraco.Web/Search/ExamineComponent.cs
# src/Umbraco.Web/WebServices/ExamineManagementApiController.cs
2018-03-29 14:00:20 +11:00
Stephan
796d931f65
Fix tests & apps
2018-03-28 18:07:53 +02:00
Shannon
2c132fe15f
ignores search properties that should not be discovered
2018-03-28 23:00:03 +11:00
Shannon
4b32387aec
fixes bug with getting indexer properties in the mgmt controller
2018-03-28 22:50:31 +11:00
Shannon
3d42ce166f
fixes bug with getting indexer properties in the mgmt controller
2018-03-28 22:48:04 +11:00
Shannon
7d13704cf9
Updates to latest examine beta, cleans up more code, always reference a searcher by it's indexer
2018-03-28 22:23:17 +11:00
Stephan
14592a227b
Merge origin/dev-v8 into v7 temp merge
2018-03-28 12:58:39 +02:00
Stephan
0ecc333a90
Fix port, tests
2018-03-28 11:28:32 +02:00
Shannon
52aa02668f
Gets examine working with proper events, tests are working, etc...
2018-03-28 16:12:43 +11:00
Shannon
c2707f3806
updates to latest examine and fixes a test
2018-03-28 12:46:34 +11:00
Warren
e9380b048b
Throw a HTTP Bad Request if an API request in backoffice is made to try & delete the Default Language
2018-03-27 16:33:28 +01:00
Stephan
c2e1ba21b2
Port v7@2aa0dfb2c5 - WIP
2018-03-27 16:18:51 +02:00
Dave Woestenborghs
cf871196f2
U4-11155 changed namespace back to previous value so creating member groups works again
2018-03-27 16:11:07 +02:00