Shannon
05d84c6673
updates the operation status to return the event messages used when raising events
2015-08-04 14:52:34 +02:00
Shannon
6d8ffb903f
Ensures events for deleting, trashing and unpublishing are done using the event messages, updates UI to support showing these messages in the list view, Since we cannot change the
...
method results on a service, we've created a new temporary service that we will explicitly implement with an extension method to get it. This is temporary until v8 where we will just replace
the original methods on the service with these methods and then remove this class.
2015-07-29 15:12:12 +02:00
Shannon
51d14a7a01
Updates all calls to GetAll(params int[]) that potentially could have looked up all data un-intentionally - cause for U4-6869 contentService + domainService is slow outside Umbraco App Context
2015-07-24 18:36:07 +02:00
Shannon
8b86276011
Ensures event messages are passed to Saved events for content/media
2015-07-24 12:07:32 +02:00
Shannon
aa08a4ca37
Gets the messages being pumped out to the UI. Updates the ContentService and MediaServices to have a SaveWithStatus in order to determine the response, we'll need to update most of the methods to also have this OperationStatus. Now messages can be added to the UI for Saving & publishing for media and content services, we'll need to update more to support everything.
2015-07-24 11:44:09 +02:00
Shannon
a6a2b02cd8
working on U4-5927 - this extends the base event class to have EventMessages which event consumers can add to, the trick is that there is a factory for these EventMessages, in a web context, the factory is a request based factory so that during a request all instances of the EventMessages are the same instance. All services then accept an instance of IEventMessagesFactory which they can then use when raising events. We'll then use this to send messages to the UI. Not sure if i should make this a resolver yet or not. Still a WIP!!
2015-07-23 20:04:40 +02:00
Stephan
39a9d68f43
U4-6785 - crlf when serializing to xml
2015-07-06 15:32:06 +02:00
Shannon
c917fc37ae
Fixes: U4-6113 Cannot delete member with upload field
2015-07-02 17:20:27 +02:00
Shannon
f9babe1882
Converts paged results to use 'long' params instead of ints and obsoletes the old ones.
2015-05-04 11:58:00 +10:00
Shannon
2c918a2015
Merge branch 'dev-v7' into 7.3.0
...
Conflicts:
build/UmbracoVersion.txt
src/Umbraco.Core/Configuration/UmbracoVersion.cs
src/Umbraco.Web.UI/Umbraco.Web.UI.csproj
2015-03-24 15:10:45 +11:00
Robert Foster
c6b393f2e8
typo fix in pageIndex Mandate checks
2015-03-24 12:30:28 +11:00
Stephan
b7eb81dc76
Bugfix IContentService.GetPublishedVersion
2015-02-18 10:17:46 +01:00
Stephan
0c5acb7f32
Implement IContent.HasPublishedVersion
...
Conflicts:
src/Umbraco.Core/Persistence/Repositories/ContentRepository.cs
2015-02-10 15:39:12 +01:00
Shannon
afb0aa8099
Merge remote-tracking branch 'origin/dev-v7' into 7.3.0
2015-01-22 11:21:50 +11:00
Shannon
ae92c8219d
Gets legacy domain api wrapping new api, updates DomainService with required methods.
2015-01-21 18:35:08 +11:00
Shannon
512e59871e
Fixed issues relating to domain repository and added more tests, starts creating DomainService
2015-01-21 17:43:03 +11:00
Stephan
7b4a82eb8d
U4-6154 - bugfix
2015-01-20 19:58:57 +01:00
Stephan
12d51b292c
U4-6154 - fix unpublishing a document with changes
...
Conflicts:
src/Umbraco.Core/Services/ContentService.cs
2015-01-19 14:03:58 +01:00
Shannon
d4b718d615
Creates common base class for services, this streamlines all ctors and exposes correct services. Gets the TaskRepository working with a test, now to get it fully implemented.
2015-01-19 18:37:48 +11:00
Shannon
280826f3e8
Fixes: U4-6110 Cleanup the Audit trail code - this should be a service, remove all internal statics
2015-01-19 15:12:34 +11:00
Shannon
d5c8430cd2
Removes all IRepositoryCacheProvider's, we are just using a single cache construct to which is much easier to manage.
2015-01-13 13:33:39 +11:00
Shannon
e3acdbe85b
Fixes up dictionary and language repositories to have underlying simple get repositories since they support getting by id, unique id and string variations but we want to have native repository enabled caching for these items so these get methods now use private repositories based on these keys. Adds more tests, removes N+1 queries for languages and dictionary items. Removes RuntimeCacheProvider, we only want one type of cache, this simplifies things a lot.
2015-01-13 13:25:36 +11:00
Shannon
7212015127
obsoletes all of the service ctor's that don't specify all required dependencies, none of these are used in the core.
2015-01-09 18:53:08 +11:00
Shannon
519b06fe30
Moves logging interface to Logging namespace called ILogger, creates a resolver for it, updates the boot process to ensure it exists first and anything during the boot process that is logging ensures that if it is not resolved that it logs elsewhere. Wraps LogHelper to use the ILogger based on the resolver. Updates all services that used LogHelper to have an ILogger injected into them. This is really only the start, there's a ton of places that use LogHelper (508) other places so we'll need to start looking at changing those over. All base classes will need to expose an Ilogger so people can use that.
2015-01-07 17:23:24 +11:00
leekelleher
e8e6f5f807
Replaced the hardcoded integer values for -1 and -20 in ContentService with the Constants values.
...
I did this whilst working on PR #610 (U4-337), but separated out to its own branch so not to clutter the other PR.
2015-01-04 21:02:20 +00:00
AndyButland
dfdf85fc0b
Fixed filter that was returning all nodes for list view display of recycle bin
2014-11-16 22:12:21 +01:00
Shannon
44a39e7ca6
Fixes: U4-5055 Umbraco update fails with large set of media content due to timeout in RebuildXmlStructures. Adds RebuildXmlStructures to content, media, member services as public APIs (though people won't really use them), the underlying repositories now rebuild these structures using a single transactions but queried by pages of 5000 which should reduce memory overhead if there's a ton of media, etc... Added tests for this too. Added CountPublished to ContentService too.
2014-10-23 18:31:08 +10:00
Shannon
13ea17c225
Merge branch '7.1.8' into 7.2.0
...
Conflicts:
build/UmbracoVersion.txt
src/Umbraco.Core/Configuration/UmbracoVersion.cs
src/Umbraco.Web.UI/Umbraco.Web.UI.csproj
2014-10-08 18:04:47 +11:00
Shannon
b8ea50d644
Merge remote-tracking branch 'origin/6.2.4' into 7.1.8
...
Conflicts:
build/NuSpecs/build/UmbracoCms.targets
src/Umbraco.Core/Configuration/UmbracoVersion.cs
src/Umbraco.Core/Persistence/Factories/UmbracoEntityFactory.cs
src/Umbraco.Core/Persistence/Repositories/EntityRepository.cs
src/Umbraco.Tests/Services/EntityServiceTests.cs
src/Umbraco.Web.UI/Umbraco.Web.UI.csproj
2014-10-08 17:30:45 +11:00
Shannon
646e5f173d
Fixes descendant queries to ensure that the comma is suffixed to the path, otherwise strange things could happen when there are longer ids!
2014-10-08 17:23:14 +11:00
Shannon
55a7f7c23b
Updates GetProfile ext method to accept an IUserService so they can be mocked, this is now used by the entity serializer. Fixed examine unit tests that required this. Fixed: U4-5508 Remove cmsDocument.alias column from db, update the order in which tables are created since with the new foreign key, that order was incorrect.
2014-09-30 18:46:02 +10:00
Shannon
4c0f95a93a
Adds GetPagedDescendants to media/content services. Fixes PDF reader disposal. Updates the umb examine indexers to use the services layer, now reindexing is far more efficient. Fixes the examine mgmt dashboard with $timeout. Updates GetPagedResultsByQuery to be more readable. Fixes GetPagedResultsByQuery to use SQL parameters.
2014-09-30 15:13:10 +10:00
Shannon
6f7ec84f18
Backports fixes to SQL parameterization and PetaPoco mem updates
2014-09-29 16:46:37 +02:00
Shannon
ba52f9235e
Backports fixes to SQL parameterization and PetaPoco mem updates
2014-09-29 17:11:58 +10:00
Shannon
9d5f3089c8
Updates petapoco to have a sliding expiration for the delegates cache, updates the keys it uses to be short hashes, fixes some null checks in content/media services, adds new test for checking that peta poco caches aren't growing with the same queries.
2014-09-26 11:19:54 +10:00
Shannon
5bf9bf5175
Gets all content, media, members to get paged queries consistently, fixed up issues with the page sql created for SQL server, need to test mysql. Removes the non-needed readonly dtos for members, since we are retrieving property values consistenty between all repositories.
2014-09-18 00:51:30 +10:00
Shannon
102b97fa82
streamline repo's get by paged results to have a zero based index for page index/number. Refactors member repo to use the same queries as content/media (U4-5469) this should save a lot of perf
2014-09-16 23:21:27 +10:00
Shannon
5bc00e3e48
Fixes: U4-4989 Media with image cropper doesn’t get removed from disk after delete.
2014-09-10 15:07:20 +10:00
Shannon
ab092b8814
typo
2014-08-25 16:58:01 +10:00
AndyButland
274e2c18e1
Added checks to ensure if paged requests for content are made they have valid page parameter values
2014-08-24 23:37:10 +02:00
Sebastiaan Janssen
2d5e5e9b3c
Refactored initial relationtype creation as well and "Relate on copy" is now also using the relationservice so it fires events
2014-08-20 17:01:12 +02:00
AndyButland
817d5aab0d
Moved list view filter to repository, so can be applied with a database query
2014-08-13 20:02:51 +01:00
AndyButland
dc32138006
Set up database level paging for retrieving child content for list view
2014-08-12 08:15:43 +01:00
Shannon
7dfa633fb3
Merge remote-tracking branch 'origin/6.2.2' into 7.1.5
...
Conflicts:
src/Umbraco.Core/Sync/DefaultServerMessenger.cs
src/Umbraco.Tests/Services/ContentServiceTests.cs
2014-08-05 12:49:51 -06:00
Shannon
6ce303a918
Completes: U4-5264 Add Count methods to IContentService, IMediaService, etc...
2014-08-05 12:37:20 -06:00
Shannon
3f09453345
Fixes: U4-5198 Tags still appearing from items tagged in recycle bin
2014-07-10 13:40:22 +10:00
Shannon
4857107b5e
Fixes: U4-4852 ContentService can add new permissions but not remove them
2014-07-10 12:24:36 +10:00
Shannon
d987dfb5a2
Fixes: U4-4141 7.0.2 "Save and send for approval" fails for a writer user on a newly created unsaved content page
2014-05-28 12:40:43 +10:00
Shannon
fce8c9d3ec
Fixes: U4-4141 7.0.2 "Save and send for approval" fails for a writer user on a newly created unsaved content page
2014-05-28 12:38:11 +10:00
Shannon
a846ba64eb
Fixes: U4-4799 Ensure image logic found in the ContentService is duplicated for the new cropper
2014-05-06 15:27:53 +10:00