Shannon
92606e7122
Fixes up dirty tracking of cultures and published cultures the same way we handle that with other entities which uses observable collection events. This simplifies the dirty tracking logic and means we dont require lookup the original object, but now we need to figure out the fixme stuff
2019-02-06 16:10:20 +11:00
Stephan
bc987a825a
Cleanup
2019-02-04 10:09:32 +01:00
Shannon
80165c3c0f
Fixes allocations of property selectors, with nameof we save a bunch of both memory and initial reflection lookups
2019-02-04 19:52:04 +11:00
Shannon
42f0d2b356
Fixes dirty tracking with resetting properties
2018-10-25 15:47:25 +11:00
Stephan
7a615133ff
Renormalize
2018-06-29 19:52:40 +02:00
Shannon
459479a7b8
Refactors how macros are stored in the DB
2018-05-01 12:12:26 +10:00
Shannon
310a31b03e
More xslt removal and other file cleanup
2018-05-01 01:01:24 +10:00
Shannon
6db5ebf6f9
More xslt removal
2018-05-01 00:15:05 +10:00
Stephan
d23933a5b1
DataType refactoring preparation - Entity refactoring
2018-01-15 13:28:35 +01:00
Stephan
b5856803e1
DataType refactoring preparation - Entity refactoring
2018-01-10 12:48:51 +01:00
Stephan
09f499d5d6
More content refactoring (WIP, barely builds)
2017-11-08 08:39:36 +01:00
Stephan
c76403077f
Normalize cr/lf/tab
2017-07-20 11:21:28 +02:00
Stephan
8561d85f7a
porting 7.6-rc1 into 8
2017-05-24 12:25:39 +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
7e798e18e8
Fixes: U4-6789 Core.Models.Macro is internal
2015-07-06 17:50:10 +02: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
Shannon
6457a1a2ca
Fixes: U4-6088 Publicize all partial view methods on IFileService & U4-6087 Fix Partial View macro repository usage so that when a macro is created from the FileService, the MacroService events are raised
...
Conflicts:
src/Umbraco.Core/Umbraco.Core.csproj
2015-01-09 19:15:01 +11:00
Shannon
cca27e064a
Fixes: U4-4855 Can't use macro parameters at all
2014-05-12 13:48:56 +10:00
Shannon
9d96a4411f
Fixes deep clone of macro object
2014-05-09 13:26:16 +10:00
Morten Christensen
509bcee540
Changing the name of the private field to be more inline with the Property
2014-01-17 15:28:53 +01:00
Per Ploug Krogslund
7440855c72
merge
2013-11-07 17:16:22 +01:00
Shannon
3ff4930e8a
Properly exposes the IRememberBeingDirty.ResetDirtyProperties required method
2013-10-10 19:03:59 +11:00
Shannon
661bc3149f
Fixes macro parameter id assignment at the repo level.
2013-09-20 13:40:32 +10:00
Shannon
c0a303b328
Gets macro editor working with new db changes and using new MacroService data layer
2013-09-19 17:34:57 +10:00
Shannon
89f2c0e38f
Finishes macro repository + tests.
2013-09-17 17:54:09 +10:00
Shannon
f2f8004599
Have the macro repository working, just need to write more unit tests regarding macro properties.
2013-09-17 17:18:54 +10:00
Morten Christensen
efbc461da9
Code cleanup - removing all internal code related to Macros, which was created for v6 but left out for backwards compatibility.
2013-04-07 17:47:10 -02: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
Morten Christensen
4d351ad8ae
Making all Macro related classes internal, as the new macro stuff won't be utilized in 6.0.
2012-11-26 07:06:18 -01:00
sitereactor
347bf3fabf
Implements a basic version of the MacroService for U4-940
...
Adding a static ServiceFactory class for easy access to the various services in a non-singleton way.
Adding a Resolver for MacroPropertyTypes.
Updating the CoreBootManager and PluginManager to include the MacroPropertyTypeResolver.
2012-10-30 09:25:28 -01:00
Morten@Thinkpad-X220
17d71a9011
Adds MacroRepository implementation U4-964
2012-10-08 10:09:28 -02:00
Morten@Thinkpad-X220
bd180fd6ba
Adds IMacro, IMacroProperty and IMacroPropertyType interfaces.
...
Adds Macro and MacroProperty implementations U4-928.
Adds enums used for MacroTypes and MacroPropertyTypeBaseTypes
2012-10-03 11:59:49 -02:00