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
Stephan
3be8f9f645
Variants - invariant segments, property values
2017-12-27 15:11:29 +01:00
Stephan
eb1b1f669c
Remove rollback service method
2017-12-02 14:51:01 +01:00
Stephan
eca51631b7
Refactor validation and publishing
2017-12-02 14:30:20 +01:00
Stephan
aa25990681
Integer version ID, cleanup
2017-12-01 20:00:33 +01:00
Stephan
9b9c7c8e3a
Refactor content service
2017-11-30 13:57:40 +01:00
Stephan
94127e9aa2
Implement content- and property-type variations
2017-11-27 19:17:50 +01:00
Stephan
62712cef3d
More segment-only values
2017-11-23 16:30:04 +01:00
Stephan
23c0687ae0
Minor variant fixes, support segment-only values
2017-11-22 18:48:43 +01:00
Stephan
c6514a6ee1
Troubleshooting variants, running the back-office
2017-11-22 08:39:54 +01:00
Stephan
228c8e7935
PropertyData evo.2 (tests)
2017-11-15 19:44:32 +01:00
Stephan
ef11fda272
More content refactoring (tests)
2017-11-15 08:53:20 +01:00
Stephan
fcf2b27953
More content refactoring (tests)
2017-11-10 11:27:12 +01:00
Stephan
09f499d5d6
More content refactoring (WIP, barely builds)
2017-11-08 08:39:36 +01:00
Stephan
934d03e63f
Port 7.7 - WIP
2017-08-24 21:24:14 +02:00
Stephan
c76403077f
Normalize cr/lf/tab
2017-07-20 11:21:28 +02:00
Stephan
d3133abcab
Get rid of Mandate
2017-05-31 10:10:47 +02:00
Stephan
8561d85f7a
porting 7.6-rc1 into 8
2017-05-24 12:25:39 +02:00
Stephan
3c7245f9ba
Merge origin/dev-v7 into dev-v8
2016-07-08 16:32:06 +02:00
Stephan
d4f2486b4f
Merge remote-tracking branch 'origin/dev-v7' into temp-U4-8410-2
2016-06-22 10:58:46 +02:00
Shannon
33ca761441
Updated all to use the ref parameter, tests are passing - now to see if they run any faster :)
2016-06-21 20:43:02 +02:00
Shannon
b5411a5402
Initial commit of refactor of better/more efficient in terms of mem and performance properpty selectors for our models, this also yields a much cleaner syntax. I have discovered one issue now which is that the PropertyChanged event now fires before the property value is actually set, this is why the lambda syntax existed before. Instead we can use a ref property for the SetPropertyValueAndDetectChanges methods which will work much nicer - and also potentially have less allocations.
2016-06-21 18:11:03 +02:00
Shannon
50f4bbdd1e
U4-8569 Saving a member type changes the UniqueId of custom properties
...
This fixes the member property type UniqueID SQL and mapping.
This ensures that the main repositories fully assert/compare all fetched properties.
2016-06-07 12:20:10 +02:00
Stephan
ddf38407d8
U4-4847 Refactor ContentService ( #1266 )
...
* U4-4748 - refactor Content-, Media- and MemberTypeRepository
* Cleanup Attempt
* Cleanup OperationStatus
* U4-4748 - refactor Content-, Media- and MemberTypeService
* U4-4748 - cleanup locking
* U4-4748 - refactor Content-, Media- and MemberRepository
* U4-4748 - refactor ContentService (in progress)
* U4-4748 - all unit of work must be completed
* U4-4748 - refactor locks, fix tests
* U4-4748 - deal with fixmes
* U4-4748 - lock table migration
* Update UmbracoVersion
* Fix AuthorizeUpgrade
* U4-4748 - cleanup+bugfix lock objects
* U4-4748 - bugfix
* updates a string interpolation
2016-05-18 10:55:19 +02:00
Stephan
02e94f9243
deploy-29 - Sanitize UniqueId
2016-01-13 12:32:30 +01:00
Shannon
edfe1e6d54
Fixes: U4-2793 There doesn't seem to be a way to un-assign a template from a content item with the new API. Fixes issue with content type cache clearing when templates are deleted. Fixes the legacy packager to use the new template service to delete templates which does it in a much more graceful way, otherwise we need to do a try catch.
2015-08-05 16:30:21 +02:00
Shannon
3be1cd8b0d
Merge branch 'dev-v7' into 7.3.0
...
Conflicts:
build/UmbracoVersion.txt
src/SolutionInfo.cs
src/Umbraco.Core/packages.config
src/Umbraco.Web.UI.Client/src/views/common/dialogs/user.controller.js
src/Umbraco.Web.UI/packages.config
src/Umbraco.Web/packages.config
2015-05-07 16:24:29 +10:00
Shannon
813f1a1f2d
Fixes: U4-6035 Properrty.WasDirty() always returns false
2015-05-07 11:43:53 +10:00
Shannon
d3eff734aa
Merge branch 'dev-v7' into 7.3.0
...
Conflicts:
build/UmbracoVersion.txt
src/Umbraco.Core/Configuration/UmbracoVersion.cs
src/Umbraco.Core/CoreBootManager.cs
src/Umbraco.Core/Models/Template.cs
src/Umbraco.Core/Persistence/Repositories/ContentTypeBaseRepository.cs
src/Umbraco.Core/PropertyEditors/ParameterEditorResolver.cs
src/Umbraco.Core/PropertyEditors/PropertyEditorResolver.cs
src/Umbraco.Core/Services/LocalizedTextService.cs
src/Umbraco.Core/Umbraco.Core.csproj
src/Umbraco.Tests/Plugins/TypeFinderTests.cs
src/Umbraco.Web.UI/Umbraco.Web.UI.csproj
src/Umbraco.Web/Editors/BackOfficeController.cs
src/Umbraco.Web/Models/ContentExtensions.cs
src/Umbraco.Web/PublishedContentExtensions.cs
src/Umbraco.Web/Routing/PublishedContentRequestEngine.cs
src/Umbraco.Web/Scheduling/Scheduler.cs
src/Umbraco.Web/Umbraco.Web.csproj
2015-03-19 17:37:00 +11:00
Shannon
8905878a87
Adds some methods to TracksChangesEntityBase to enable/disable change tracking and to reset the change tracking dictionaries, this is then used for DeepCloning so that change tracking is turned off for the cloning process.
2015-03-03 18:33:04 +11:00
Stephan
0c5acb7f32
Implement IContent.HasPublishedVersion
...
Conflicts:
src/Umbraco.Core/Persistence/Repositories/ContentRepository.cs
2015-02-10 15:39:12 +01:00
Shannon
7545c0c1da
Adds the DomainRepository with tests
2015-01-21 17:03:56 +11:00
Shannon
967030a9c4
Fixes up issues when tracking dirty changes on numerical or empty string values because json.net converts numerical to long and we were setting those values on the Property.Value which means that comparing long -> int will always return false and thus the property is flagged as dirty. Same goes with string and null when dealing with an object. This is all fixed up now and have added another method to see if we shold actually persist any changes for content when saving. This all relates to fixing: U4-5510 Previewing a content item saves that item
2014-10-21 13:12:31 +10:00
Shannon
d772336c0f
Fixes: U4-4695 Copy document type to new parent seems to lose some data, U4-4535 Create Copy method on the content type Service
2014-04-22 17:48:08 +10:00
Shannon
fee23fac0a
updates deep clone to have the false flag for resetting properties (we don't want to remember them when cloning)
...
Conflicts:
src/Umbraco.Core/Models/Member.cs
2014-04-17 18:54:55 +10:00
Shannon
1f2e46a195
Simplifies much of the deep cloning with the DeepCloneHelper and adds tests
2014-04-16 13:39:42 +10:00
Shannon
58758e7a41
More work on deep cloning, have test passing for IContent
2014-04-15 13:52:49 +10:00
Shannon
b7f7775b89
adds initial commit of entity cloning
2014-02-20 22:34:54 +11:00
Morten Christensen
20b4975cfb
Creating a new Member/IMember and MemberType/IMemberType class under the Umbraco.Core.Model namespace in order to move away from the weird structure that we initially ported over.
...
Refactoring the MemberTypeRepository to use the new MemberType class.
Starting the implementation of ReadOnly DTOs for MemberType.
Starting the implementation of the factory for the MemberTypeReadOnlyDto.
2013-08-31 19:13:36 +02:00
Shannon
0fbc32a87f
Fixes up logic for creating new versions (U4-2589 Save and Publish is not creating version of document)
2013-08-08 10:42:06 +10:00
Shannon
868edee5e6
Fixes: #U4-2161 - permissions inheritance. Fixes up how user permissions cache is invalidated and looked up (it is now lazy and not forced). User permissions are also cached as a low priority for now and only for 20 mins based on #U4-2474.
2013-07-09 11:47:46 +10:00
Shannon Deminick
7ea87638f7
Updates all Entity models to use SetPropertyValueAndDetectChanges for setting all simple properties so that
...
tracking changes works the way it is supposed to. Creates a TracksChangesEntityBase class for any other entity
that wants to implement IRememberBeingDirty (now Entity inherits from this). Upgraded a bunch of other entities that
were not tracking changes properly.
2013-03-21 00:05:56 +06:00
Shannon Deminick
75d218d2e3
Updated how mappers for persistence work with the MapperFor attribute and have made BaseMapper public but have
...
kept all properties, etc.. internal just so that they can be found so we don't have to register them.
Updates unit test to ensure the plugin manager is init'd properly with the 'false' override. Ensures that the base
db test also initializes the plugin manager properly.
2013-03-13 01:09:29 +04:00
Shannon Deminick
da331b7408
Changed how model mappers work for persistence objects so we don't have to statically associate the mapper.
2013-03-07 22:27:47 +06:00
Shannon Deminick
de13f7e361
WIP ... Fixes: #U4-1666, Updates documentService to not have to manually
...
refresh content cache (and fix the unpublishing too since that logic wasn't correct)
Adds DebuggerDisplay support to ContentBase and Entity for better debugging info.
Adds new internal publishing methods to support publishing all children or only children previously published. This also adds new support
for getting a published result back even with bulk publishing.
Updates the publish dialog with new code and to use the new API based on issue #U4-1669.
Adds UmbracoUser property to AuthenticatedUmbracoController, Adds all common properties to the abstract UmbracoController.
Changes the legacy Document to allow content cache to be automatically refreshed (based on events)
2013-02-09 04:05:01 +06:00
Morten Christensen
1e8b82f5df
Fixes U4-1576. Ensures that structure is kept when moving content and media to and from the recycle bin.
...
Path and Level are updated accordingly.
2013-01-29 10:26:18 -01:00
Morten Christensen
25f91cc0da
Fixes U4-1534 so documents containing the tag datatype is properly copied.
...
Copying a document with a Tags datatype on it would only work if a new TagRelationship is created.
2013-01-24 13:49:41 -01:00
Morten Christensen
ef9b0b6433
Fixes U4-1429 - A name is now required for creating Content and Media.
2013-01-15 10:12:23 -01:00
Morten Christensen
6a6a95f7dc
Correcting MediaService so it also moves any children to the recycle bin when trashing an item.
2013-01-11 10:38:32 -01:00
Morten Christensen
ca2942fdd9
Refactoring ChangePublishedState to use an enum instead of a boolean.
2013-01-10 14:07:07 -01:00