Bjarke Berg
0c5a1fb648
Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB10074-fix-createmember-and-createcontent
...
# Conflicts:
# src/Umbraco.Infrastructure/Services/Implement/MemberService.cs
2021-02-25 08:14:42 +01:00
Mole
bf41c2eeaa
Netcore: Align namespaces ( #9801 )
...
* Rename Umbraco.Core namespace to Umbraco.Cms.Core
* Move extension methods in core project to Umbraco.Extensions
* Move extension methods in core project to Umbraco.Extensions
* Rename Umbraco.Examine namespace to Umbraco.Cms.Examine
* Move examine extensions to Umbraco.Extensions namespace
* Reflect changed namespaces in Builder and fix unit tests
* Adjust namespace in Umbraco.ModelsBuilder.Embedded
* Adjust namespace in Umbraco.Persistence.SqlCe
* Adjust namespace in Umbraco.PublishedCache.NuCache
* Align namespaces in Umbraco.Web.BackOffice
* Align namespaces in Umbraco.Web.Common
* Ensure that SqlCeSupport is still enabled after changing the namespace
* Align namespaces in Umbraco.Web.Website
* Align namespaces in Umbraco.Web.UI.NetCore
* Align namespaces in Umbraco.Tests.Common
* Align namespaces in Umbraco.Tests.UnitTests
* Align namespaces in Umbraco.Tests.Integration
* Fix errors caused by changed namespaces
* Fix integration tests
* Undo the Umbraco.Examine.Lucene namespace change
This breaks integration tests on linux, since the namespace wont exists there because it's only used on windows.
* Fix merge
* Fix Merge
2021-02-18 11:06:02 +01:00
Elitsa Marinovska
5cd28c8711
Fixing CreateMemember and CreateContent to raise events and logging only when we persist the objs not when we only create them
2021-02-01 16:07:42 +01:00
Shannon
4a3525ece3
Fixes a memory leak caused by deep cloning
...
There was a memory leak with PublicAccessEntry during even unassignment which was not clearing the correct handler.
This goes a step further and adds a new ClearCollectionChangedEvents method for all observable collections used in umbraco
which allows fully clearing ALL event handlers instead of having to track specific ones. This will ensure there are no
unintended memory leaks in case end-users have assigned event handlers to the collection changed event which would
not be unassigned during deep cloning.
2021-01-12 13:41:50 +11:00
Stephan
a9adc4eee5
Merge branch 'temp8' into temp8-contentAndType
2019-02-07 10:10:55 +01:00
Stephan
8329097974
Review PR, adjustments
2019-02-07 08:53:49 +01:00
Shannon
c04da30547
Merge branch 'temp8' into temp8-contentAndType
...
# Conflicts:
# src/Umbraco.Core/Models/Content.cs
# src/Umbraco.Core/Models/ContentBase.cs
# src/Umbraco.Tests/Models/ContentTests.cs
2019-02-07 11:41:06 +11:00
Shannon
34c65a94bf
dont allocate an empty object if the collection is empty
2019-02-07 00:07:43 +11:00
Shannon
e2c86a96fe
Ensures change collections are cleared on clone
2019-02-07 00:05:25 +11:00
Shannon
5b33416b7b
adds fixme notes
2019-02-06 23:02:28 +11:00
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
29f2f34f9b
Refactor IContent vs IContentType
2019-02-05 14:06:48 +01:00
Shannon
b65dac946f
Merge branch 'temp8-IContentService-SaveAndPublish-4324' into temp8-3640
...
# Conflicts:
# src/Umbraco.Core/Models/Content.cs
# src/Umbraco.Core/Models/ContentBase.cs
# src/Umbraco.Core/Models/IContent.cs
# src/Umbraco.Tests/Services/ContentServiceTests.cs
2019-02-05 16:14:46 +11:00
Shannon
f1b23ba0e9
Merge remote-tracking branch 'origin/temp8' into temp8-3640
...
# Conflicts:
# src/Umbraco.Core/Models/Content.cs
2019-02-05 14:27:40 +11:00
Shannon
9f612465cf
Cleans up IContent/IContentBase, no more internal methods or setters, moves manipulation used by the DocumentRepository to ext methods
2019-02-05 14:13:03 +11:00
Shannon
a5947356e7
Removes WasCulturePublished from IContent
2019-02-05 01:58:18 +11:00
Shannon
c20e597115
Merge remote-tracking branch 'origin/temp8' into temp8-IContentService-SaveAndPublish-4324
2019-02-05 01:13:43 +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
b51d3036e3
Adds overload of SaveAndPublish to accept multiple cultures, renames SavePublishing to CommitDocumentChanges, removes IContent.ChangeContentType
2019-02-04 16:55:35 +11:00
Stephan
132c3c0c8e
Cleanup PR, document and rename things
2019-02-01 17:19:12 +01:00
Stephan
3199aa6693
Support culture in content Saving and Publishing events
2019-01-31 15:06:24 +01:00
Bjarke Berg
0330be4e6b
Merge remote-tracking branch 'origin/temp8' into feature/IContentType-removale-from-IContent
...
# Conflicts:
# src/Umbraco.Core/ContentExtensions.cs
# src/Umbraco.Core/Models/Content.cs
# src/Umbraco.Tests/Models/ContentTests.cs
# src/Umbraco.Tests/Models/Mapping/ContentWebModelMappingTests.cs
# src/Umbraco.Tests/Models/VariationTests.cs
# src/Umbraco.Tests/Scoping/ScopedNuCacheTests.cs
# src/Umbraco.Tests/Services/ContentTypeServiceVariantsTests.cs
# src/Umbraco.Tests/Web/Controllers/ContentControllerTests.cs
# src/Umbraco.Web.UI/Umbraco/dialogs/ChangeDocType.aspx.cs
2019-01-11 08:29:29 +01:00
Stephan
ed7c8da81f
Merge branch 'temp8' of https://github.com/StefanoChiodino/Umbraco-CMS into temp8-pr3583
2019-01-10 16:29:36 +01:00
Bjarke Berg
eda46a16d0
Changed IContentType on IContent to a more simple class with lesser properties
2019-01-03 09:27:52 +01:00
Stephan
eb37e03ebc
Deal with fixme/review
2018-11-15 13:25:21 +01:00
Shannon
b515aea8dd
Fixes issue with *, fixes some of the logic in tests, adds another test, adds fixme notes
2018-11-15 16:25:08 +11:00
Stephan
0cd8f3787c
Clear fixmes
2018-11-13 16:42:31 +01:00
Stephan
5381eec6a4
fix+cleanup publishing with variants
2018-11-09 09:35:11 +01:00
Stefano Chiodino
4a4a897ab1
Find that DB schema isn't happy with TemplateId being zero, using nullable instead
2018-11-08 16:46:12 +00:00
Stefano Chiodino
993972fa62
#3544 : change template reference for its ID (WIP: it builds)
2018-11-08 13:24:34 +00:00
Shannon
df40a3d588
merge fixes
2018-11-07 20:12:07 +11:00
Shannon
92045c81bb
Merge remote-tracking branch 'origin/temp8' into temp8-224-db-updates-sched-publishing-with-variants
...
# Conflicts:
# src/Umbraco.Core/Models/Content.cs
# src/Umbraco.Tests/Services/ContentServiceTests.cs
2018-11-07 19:44:37 +11:00
Shannon
c57ac7752c
Merges UnpublishResult into PublishResult, fixes dirty tracking for unpublishing a culture and logs the correct info along with returning the correct status, fixes ContentService so that all publishing/unpublishing logic happens in one one place including all Audit/Logs, gets ContentService.PerformScheduledPublish in place
2018-11-07 19:42:49 +11:00
Shannon
9b1d9e02bf
Gets publishing validation working with scheduled cultures, cleans up some code, removes Status from IContent into an extension method
2018-11-06 21:33:24 +11:00
Shannon
24360a762c
Adds change tracking to the schedule collection, updates the DocumentRepository to add logic to fetch the schedule, adds/updates tests, all green
2018-11-05 17:20:26 +11:00
Shannon
f223024164
Got database and persistence models in place for scheduled publishing, now need to start writing tests, fixing tests and cleaning up fixme statements
2018-11-02 14:55:34 +11:00
Shannon
ca6fd56f09
Gets send to publish emails working for variants
2018-10-25 17:21:10 +11:00
Shannon
de313a5d19
Adds tests for verifying remember dirty properties on content
2018-10-25 16:09:58 +11:00
Shannon
42f0d2b356
Fixes dirty tracking with resetting properties
2018-10-25 15:47:25 +11:00
Stephan
9320c1a061
Cleanup variants dirty tracking
2018-10-23 15:38:47 +02:00
Shannon
abeb4e04e5
Enhance implementation of ObservableDictionary so we can re-use this in more places, changes CultureNameCollection to ObservableDictionary, fixes issue with dirty tracking changed property type collections ... this was working by pure fluke before! Fixes more tests.
2018-10-19 15:41:28 +11:00
Shannon
71fd47f452
Fixes issue of observable collections, event binding and deep cloning
2018-10-19 08:45:53 +11:00
Shannon
b30f55ea30
Fixes issue of observable collections, event binding and deep cloning
2018-10-19 08:26:17 +11:00
Shannon
a163f79526
Merge remote-tracking branch 'origin/temp8' into temp8-dirty-tracking-on-variants
...
# Conflicts:
# src/Umbraco.Core/Migrations/Upgrade/UmbracoPlan.cs
# src/Umbraco.Core/Models/Content.cs
2018-10-18 22:52:15 +11:00
Shannon
6cd9102fac
Gets publish names tracking changes, adds unit tests
2018-10-18 21:12:55 +11:00
Stephan
15968bc99b
Fix dates in document versions
2018-10-17 17:27:39 +02:00
Shannon
ba186144a0
Updates models to allow dirty tracking on variants
2018-10-17 18:09:52 +11:00
Stephan
c791050058
Denormalize variants for perfs
2018-09-25 16:55:00 +02:00
Stephan
eaacdc0514
Deal with fixmes in IContent IsCultureSomething
2018-08-28 15:11:13 +02:00