Stephan
bf2232258e
U4-9588 - filesystems manager tlc
2017-03-08 11:02:30 +01:00
Shannon
f6a7b25e87
Updates CacheRefresherEventHandler to have consistent events, adds logic to find the event based on definitions, adds tests to test them all
2017-02-06 17:26:06 +11:00
Shannon
5579563105
Creates a test (which fails) so that stephen can have a look
2017-02-03 14:56:08 +11:00
Shannon
ac54affa57
Refactor IPublishingStrategy, create IPublishingStrategy2 as a work around, adds EventMessages to IScopeUnitOfWork, ensures all events raised with IPublishingStrategy are done with uow
2017-01-25 16:49:44 +11:00
Shannon
ac4de99f30
Initial commit of changing all IsRaisedEventCancelled to use the event manager and inside of a uow
2017-01-23 20:48:51 +11:00
Stephan
79c2400d27
U4-9322 - scope
2017-01-12 18:28:25 +01:00
Shannon
8a11b0f7a8
publisizes a constant (moves it to where it should be), publicizes another required class for deploy, bumps version
2017-01-12 17:33:30 +11:00
Shannon
d99a691bdc
Changes magic strings to constants for database provider types.
2016-08-09 15:36:02 +02:00
Sebastiaan Janssen
85c7b102b9
Revert C#6 notation
2016-07-07 16:22:55 +02:00
Sebastiaan Janssen
05cb2050e7
Revert C#6 notation
2016-07-07 16:17:01 +02:00
Stephan
4531bf6c30
U4-8682 - manage cache in tests
2016-07-06 18:01:59 +02:00
Lars-Erik Aabech
1d428045b6
Don't remove virtual on SetupApplicationContext. Might be many external inheritors.
2016-04-18 15:35:09 +02:00
Lars-Erik Aabech
ae913ede6f
Virtualized creating of application context
...
Closed setting up of application context
Opens up a whole bunch of doors. :)
2016-04-10 00:07:03 +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
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
Shannon
44c3140b20
Updates CoreBootManager to be provided a logger which decouples it a little bit, updates CoreBootManagerTests to ensure resolution is reset on teardown, updates the ApplicationEventsResolver inner resolver to not use obsolete ctor's
2015-07-22 12:44:29 +02:00
Shannon
0efeba3744
Fixing unit tests, decouples more singleton accessors
2015-07-15 16:28:50 +02:00
Shannon
a5c1b0b2f2
Fixes tests, decouples the UrlSegmentProviderResolver a little bit
2015-01-27 14:52:24 +11: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
1cb0cd296c
Decoupling more things, mostly to do with the PluginManager and logging which now requires an IServiceProvider so have created a simple instance of that.
2015-01-16 15:47:44 +11:00
Shannon
8f100a7e9f
decouples more of LogHelper and DisposableTimer
2015-01-16 12:29:27 +11:00
Shannon
cc396c8b96
Removes more unecessary singletons and simplifies/refactors some internal parts like the ctors for the ServiceContext, DatabaseContext. No more RepositoryResolver or SqlSyntaxProvidersResolver these are entirely uncessary and complicate things.
2015-01-13 18:19:52 +11:00
Shannon
5bef3593dd
More dependency cleanup, less singleton usages, better testing implementations
2015-01-09 15:27:47 +11:00
Shannon
3f233ad4a4
test fixed
2015-01-09 13:38:43 +11:00
Shannon
defc9d3bc2
Updated all repo's to have their correct ctor's with their correct dependencies. Updated them all to accept ILogger updated all other dependencies with the same without breaking anything since all is internal, or obsoleted other public methods. Updates lots of the tests with mock instances instead, now more tests have less singleton dependencies, easier to test, much clearer and more IoC driven. Updated unit tests to supply the ILogger for required objects, tests should run faster now since most things are just mocked.
2015-01-09 10:51:15 +11:00
Shannon
0e40971178
Fixes remaining tests
2014-03-18 13:08:24 +11:00
Shannon
09ea82b37f
fixes last unit tests
2014-03-18 11:57:53 +11:00
Shannon
760dd42c43
Optimizes integration test performance and fixes failing unit tests.
2014-03-18 11:40:20 +11:00
Shannon
b9df55ef98
fixing more tests
2013-12-12 18:09:48 +11:00
Shannon
1e2688b14d
fixes some more unit tests
2013-11-19 17:41:48 +11:00
Shannon
830d6d914f
puts the test init code back in that shouldn't need to be there but the server is failing now for some reason.
2013-11-15 18:21:55 +11:00
Shannon
9774744991
should knock off a few minutes for running tests.
2013-11-15 16:00:48 +11:00
Shannon
4a6103ba94
Fixes some merge issues, tries to speed up unit tests a little.
2013-11-15 15:10:02 +11:00
Shannon
fd91340e75
Updates DefaultShortStringHelperTests to ensure that umb config is mocked.
2013-11-13 12:41:02 +11:00
Shannon
86a5d16e25
Added moq (need to replace all rhino mock later) allowing us to nicely mock umbraco settings, fixing up more unit tests.
2013-09-17 00:14:15 +10:00
Shannon
48db556d1b
Updated SettingsForTest to return mockable umbraco settings so we can set whatever we want. Fixing up unit tests. Removes calls to CleanUmbracoSettingsConfig and EnsureUmbracoSettingsConfig since we should be dealing with the mockable settings.
2013-09-16 19:33:21 +10:00
Shannon
b043ee577f
Renamed config interfaces properly with Section suffix, re-implemented the For<T> UmbracoConfiguration method to retreive specific settings... might use this entirely instead of the nested access as it might make it easier to mock.
2013-09-16 17:39:45 +10:00
Shannon
09b68a75be
Simplifies the IContentSection so that there's no nesting of interface classes and updates some unit tests
2013-09-16 15:52:59 +10:00
Shannon
719b921e0b
Created the maps for all core property editors to map from legacy GUID to new alias with unit tests.
2013-09-09 15:57:22 +10:00
Shannon
d257835cb5
Merge remote-tracking branch 'origin/6.2.0' into 7.0.0
...
Conflicts:
src/Umbraco.Core/Umbraco.Core.csproj
src/Umbraco.Tests/Models/ContentTests.cs
src/Umbraco.Web.UI/Umbraco.Web.UI.csproj
src/Umbraco.Web/Umbraco.Web.csproj
src/Umbraco.Web/umbraco.presentation/umbraco/create/PartialViewTasks.cs
src/Umbraco.Web/umbraco.presentation/umbraco/webservices/legacyAjaxCalls.asmx.cs
2013-08-28 11:08:23 +10:00
Sebastiaan Janssen
cc45bbeca6
Fix unit tests that failed because UmbracoSettings.config was being cleaned up
2013-08-23 16:22:26 +02:00
Shannon
01510ce126
Fixes up the tests with changes to cache helper
2013-08-09 11:42:20 +10:00
Shannon
0a26eccd2d
Merge remote-tracking branch 'origin/6.1.4' into 7.0.0
...
Conflicts:
.gitignore
src/Umbraco.Core/Models/PropertyExtensions.cs
src/Umbraco.Core/Models/PropertyTypeExtensions.cs
src/Umbraco.Core/Security/AuthenticationExtensions.cs
src/Umbraco.Core/Security/UmbracoBackOfficeIdentity.cs
src/Umbraco.Core/Security/UserData.cs
src/Umbraco.Core/Umbraco.Core.csproj
src/Umbraco.Tests/TestHelpers/BaseDatabaseFactoryTest.cs
src/Umbraco.Tests/TestHelpers/BaseUmbracoApplicationTest.cs
src/Umbraco.Tests/Umbraco.Tests.csproj
src/Umbraco.Web/Security/WebSecurity.cs
src/Umbraco.Web/UmbracoModule.cs
src/umbraco.businesslogic/BasePages/BasePage.cs
src/umbraco.cms/businesslogic/datatype/DefaultData.cs
src/umbraco.sln
2013-08-07 10:29:34 +10:00
Shannon
d78a03a610
Massively improves performance for the packaging service (converting docs to XML) which is used in republishing the tree.
2013-08-05 13:11:47 +10:00
Shannon
4b8fed9f06
Started converting content model mapping over to use AutoMapper to fix the composite tabs/properties. New unit tests for the mapping as well.
2013-07-25 15:31:26 +10:00
Shannon
71bff2d1d7
Merge remote-tracking branch 'origin/6.1.3' into 7.0.0
...
Conflicts:
src/Umbraco.Core/Models/Membership/IUser.cs
src/Umbraco.Core/Models/Membership/UserProfile.cs
src/Umbraco.Core/Models/PropertyExtensions.cs
src/Umbraco.Core/Models/PropertyTypeExtensions.cs
src/Umbraco.Core/Persistence/Repositories/Interfaces/IUserRepository.cs
src/Umbraco.Core/Persistence/Repositories/UserRepository.cs
src/Umbraco.Core/Services/UserService.cs
src/Umbraco.Tests/Persistence/Repositories/UserRepositoryTest.cs
src/Umbraco.Tests/TestHelpers/BaseUmbracoApplicationTest.cs
src/Umbraco.Tests/TestHelpers/Entities/MockedUser.cs
src/Umbraco.Tests/Umbraco.Tests.csproj
2013-07-03 20:24:02 +10:00
Shannon
d3b69e04e1
Updated IUserService and added more unit tests for new methods. Fixed unit tests that were failing due to incorrectly set settings... not sure how this is working on the server but oh well.
2013-07-03 19:01:37 +10:00
Shannon
3779e79367
Changes over SectionCollection to SectionService, ApplicationTreeCollection to ApplicationTreeService. Starts implementing UserSectionRepository for use with SectionService. Streamlines BaseMapper implementations.
2013-07-02 17:47:20 +10:00
Shannon
a06821ffc0
missing files
2013-07-01 14:24:28 +10:00
Shannon Deminick
160811e190
added new tests for model mapping and serialization of the content display models. Started integrating trees. Committed the compiled
...
angular controllers, directives, services, resources since I'll be modifying them to work with the real data services. Then we'll have
to merge back to the belle repo with the changes.
2013-05-30 21:21:52 -10:00