Commit Graph

12111 Commits

Author SHA1 Message Date
Shannon
1b161c8dbe Removes more usages of legacy Access class to use new IPublicAccessService 2015-01-28 19:46:05 +11:00
Shannon
5a76e380de Adds some extension methods, updates the PCR to not use the legacy access class... this actually also reduces a db lookup, made it not depenent on singletons. 2015-01-28 19:27:08 +11:00
Shannon
6a4966136d more testing, got the protect page dialog all working now and ensuring the data is going to the right places 2015-01-28 18:24:12 +11:00
Shannon
0a0e34d806 Ensures that the cache is updated properly with cache refreshers, ensures that the GetAll method for public access repo doesn't make any db calls and uses a non validating cache since it gets called a ton. 2015-01-28 16:15:34 +11:00
Shannon
214db84f9d fixes up column names and error checks during upgrade 2015-01-28 13:51:07 +11:00
Shannon
61fd3fc505 Implements IPublicAccessService and wraps legacy Access class to use the new service, updates the public access data to use int's since using GUIDs atm is a little too complex, that will need to wait. 2015-01-28 13:16:50 +11:00
Shannon
70789e3676 Ensures that the public access xml migration is not run if there's already data in the db. 2015-01-27 20:34:30 +11:00
Shannon
a7de549e4f Got xml public access structure being migrated to db now - need to do a check it hasn't already been migrated now. 2015-01-27 20:32:45 +11:00
Shannon
efab275c99 Fixes: U4-6188 umbracoNode.uniqueId needs to be changed to not allow nulls, U4-6187 umbracoNode.uniqueID needs a Unique index - currently it is a non-unique index, Gets the public access repository built and started testing 2015-01-27 19:47:30 +11:00
Shannon
f8600725b2 Fixes service context ctor to allow IMacroService 2015-01-27 14:58:59 +11:00
Shannon
a5c1b0b2f2 Fixes tests, decouples the UrlSegmentProviderResolver a little bit 2015-01-27 14:52:24 +11:00
Shannon
bd5833ec5f adds tests 2015-01-23 16:40:17 +11:00
Shannon
070fc368b2 Adds new public access db tables, removes refs to languagelocale col, fixes the migration script to create a table with a PK 2015-01-23 16:34:57 +11:00
Shannon
50ed207211 error check during stylesheet upgrade 2015-01-23 14:32:09 +11:00
Shannon
4ea0fa0a19 Fixes: U4-6163 Remove LanguageLocale column from cmsContentVersion 2015-01-23 12:34:51 +11:00
Shannon
b5dd742257 fixes issue with task query 2015-01-23 12:19:09 +11:00
Shannon
0f4185b6a5 Gets legacy tasks apis wrapping new apis, added more tests and got the new tasks apis up to speed with all required methods. 2015-01-22 19:19:21 +11:00
Shannon
ccea64f0fa fixes: U4-3170 Proxy legacy relations API through the new RelationService 2015-01-22 17:43:43 +11:00
Shannon
b892f98834 Fixes up remaining routing tests, all tests passing (apart from arbitrary plugin mgr ones) 2015-01-22 15:42:29 +11:00
Shannon
2f86813a21 Migrating usages of old domain object to new IDomainService, this also involves updated quite a lot of unit tests. I've updated quite a few of the routing tests to be pure mocking tests which works much nicer than before so there's no db access, this also means they run a million times faster (need to clean them up further still though). Still more tests failing which need fixing. 2015-01-22 15:16:10 +11:00
Shannon
2cd92353ec Removes listening on legacy events for the CacheRefresherEventHandler 2015-01-22 12:17:36 +11:00
Shannon
42ad3af48b Updates legacy classes to be serialized with the EntityXmlSerializer 2015-01-22 11:48:13 +11:00
Shannon
afb0aa8099 Merge remote-tracking branch 'origin/dev-v7' into 7.3.0 2015-01-22 11:21:50 +11:00
Stephan
9695ccea0a Merge pull request #623 from zpqrtbnk/dev-v7-6154
U4-6154 - fix unpublishing a document with changes
2015-01-21 16:03:33 +01:00
Shannon
e13e86b25f Gets the legacy domain stuff wrapping the new apis, updates the DomainHelper to use the new apis without any statics and thus updates everything else referencing that, updates the pcr engine to have the propery ctor params with all required services instead of using statics. 2015-01-21 19:49:22 +11:00
Shannon
6b9930df6a removed commented out code 2015-01-21 18:36:57 +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
Shannon
7545c0c1da Adds the DomainRepository with tests 2015-01-21 17:03:56 +11:00
Shannon
3f8df66385 Merge branch 'dev-v7' into 7.3.0 2015-01-21 13:28:10 +11:00
Shannon
bbcca7f3e5 fixes test 2015-01-21 13:26:09 +11:00
Shannon
44257e361a Fixes refs to Microsoft.Net.Http 2015-01-21 10:41:01 +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
e94b6fa3a8 fixes tests 2015-01-19 19:10:26 +11:00
Shannon
3621c20f80 Adds Save method and another test 2015-01-19 19:03:28 +11:00
Shannon
ef4d28299a few more tests for TaskRepository 2015-01-19 18:50:17 +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 Deminick
e85ef38218 Merge pull request #621 from AndyButland/u4-6135
Fixes U4-6135 (node name disappears in certain situations when tree is synched
2015-01-19 18:20:47 +11:00
AndyButland
4775b638a4 Reverted previous commit and changed anchor removal to target the correct tag (the elipsis) 2015-01-19 08:05:32 +01: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
0a0d845173 Merge branch 'dev-v7' into 7.3.0 2015-01-19 13:26:30 +11:00
Shannon
db3b8a1acd Merge remote-tracking branch 'origin/dev-v6' into dev-v7
Conflicts:
	src/Umbraco.Tests/TreesAndSections/ApplicationTreeTest.cs
2015-01-19 12:53:54 +11:00
Shannon
a999fca349 finalizes stylesheet editor, all is working nicely now 2015-01-19 12:50:26 +11:00
AndyButland
17906b505d Removed code in tree synchronisation that removes anchor tag containing node name for certain nodes 2015-01-18 21:13:24 +01:00
Shannon
c853263894 Ensures that any instances created with the ManyObjectsResolverBase that have an HTTP lifetime are disposed of at the end of the request 2015-01-16 17:24:47 +11:00
Shannon
16f63b7fd9 Creates migration to remove stylesheet tables! and cleans up the singleton usage of sql syntax in the migrations. 2015-01-16 17:18:07 +11:00
Shannon
d41035cb2d fixes tests and DebugDiagnosticsLogger 2015-01-16 16:57:32 +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