Stephan
|
7a615133ff
|
Renormalize
|
2018-06-29 19:52:40 +02:00 |
|
Shannon
|
a1cd80a0f6
|
Removes GetLanguageByCultureCode since it is kind of useless and the name is also very misleading
|
2018-04-24 15:59:16 +10:00 |
|
Claus
|
a4c9d8f1bf
|
typos
|
2018-03-22 15:34:28 +01:00 |
|
Shannon
|
01b48a5aab
|
adds logic for repository and unit tests
|
2018-03-22 23:15:52 +11:00 |
|
Shannon
|
b3fb23a67a
|
Adds language entity changes and tests
|
2018-03-22 17:51:38 +11:00 |
|
Shannon
|
d852c43559
|
oops, didn't mean to commit new lang tests
|
2018-03-22 17:33:16 +11:00 |
|
Shannon
|
422fd8e274
|
Fixes many hard coded SQL table names with the proposed new prefix
|
2018-03-22 17:17:01 +11:00 |
|
Stephan
|
e4b375f72d
|
UnitOfWork RIP, build tests
|
2017-12-15 11:19:03 +01:00 |
|
Stephan
|
84f9242aa0
|
Persistence Shakeup
|
2017-12-07 16:45:25 +01:00 |
|
Stephan
|
ee1941b9bf
|
Refactor ISqlContext and SqlTemplates
|
2017-09-22 18:30:38 +02: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 |
|
Stephan
|
49d54f497d
|
Persistence reorg
|
2016-12-16 17:20:51 +01:00 |
|
Stephan
|
d17959d1a8
|
Tests reorg
|
2016-12-16 10:40:14 +01:00 |
|
Stephan
|
a49af20275
|
More persistence layer refactoring
|
2016-11-29 10:31:25 +01:00 |
|
Stephan
|
8e056aba66
|
Merge origin/dev-v7.6 into dev-v8-zbwip (builds, not tested)
|
2016-11-23 10:33:12 +01:00 |
|
Stephan
|
224986d56c
|
Trying to cleanup and refactor tests
|
2016-11-07 18:32:44 +01:00 |
|
Stephan
|
341e817fd5
|
Get tests to run, troubleshoot
|
2016-10-17 11:00:18 +02:00 |
|
Stephan
|
aa8b8c7736
|
Resvolution - MappingResolver
|
2016-09-19 16:30:40 +02:00 |
|
Stephan
|
4d852102e8
|
Refactor tests
|
2016-05-23 13:56:58 +02:00 |
|
Shannon
|
f9ba3fe76f
|
Merge branch 'dev-v8' into dev-v8-ExamineV2
# Conflicts:
# src/Umbraco.Core/Persistence/Repositories/VersionableRepositoryBase.cs
# src/Umbraco.Core/Plugins/PluginManager.cs
# src/Umbraco.Core/Services/ContentService.cs
# src/Umbraco.Core/Services/IContentService.cs
# src/Umbraco.Core/Umbraco.Core.csproj
# src/Umbraco.Tests/Persistence/Repositories/NotificationsRepositoryTest.cs
# src/Umbraco.Tests/Services/ContentServiceTests.cs
# src/Umbraco.Tests/Services/MediaServiceTests.cs
# src/Umbraco.Tests/Services/ThreadSafetyServiceTest.cs
# src/Umbraco.Web.UI/config/ClientDependency.config
# src/Umbraco.Web/Editors/ContentController.cs
# src/UmbracoExamine/UmbracoContentIndexer.cs
|
2016-05-19 16:32:22 +02:00 |
|
Shannon
|
8127731f72
|
Namespace and file cleanup - Profiling --> Logging, root cache stuff moved to Cache, XmlHelper --> Xml, TypeFinder, etc.. --> Plugins
|
2016-05-18 23:34:56 +02:00 |
|
Stephan
|
edda877fd6
|
Merge origin/dev-v8 into dev-v8-ExamineV2
|
2016-05-17 13:21:47 +02:00 |
|
Shannon
|
3c446cbf82
|
Adds IQueryFactory property to IDatabaseFactory, DatabaseContext.
Changes exposed Query<T> to correct IQuery<T>
Creates interface for QueryFactory: IQueryFactory
Updates all repositories with these changes
|
2016-05-02 15:38:45 +02:00 |
|
Stephan
|
dbaede43af
|
U4-6147 - GetUnitOfWork becomes CreateUnitOfWork
|
2016-05-02 12:24:13 +02:00 |
|
Stephan
|
be32448426
|
U4-6147 - cleanup persistence units of work (in progress)
|
2016-05-02 12:12:21 +02:00 |
|
Stephan
|
578cb6eafb
|
U4-6147 - repositories are not disposable (in progress)
|
2016-04-29 19:14:02 +02:00 |
|
Stephan
|
aceaf4b15d
|
Core.Persistence - massive cleanup
|
2016-04-13 17:33:09 +02:00 |
|
Stephan
|
365a01a476
|
From PetaPoco to NPoco (#1207)
* NPoco - 2.x (builds)
* NPoco - v3.1 (does not build)
* NPoco - builds
* NPoco - configure database factory (tests fail)
* Pick fix from 7.4
* NPoco - stock v3.1 - sort-of working
* NPoco - fix merge
* Fix Newtonsoft.Json in web.Template.Debug.config
* NPoco - fix SELECT *
* NPoco - fixing repositories
* NPoco - fix EntityRepository
* NPoco - fix EntityRepository
* NPoco - cosmetic
* NPoco - use 3.1.0-u001 from github/zpqrtbnk/NPoco
* Fixes build, NPoco needed to be referenced in the cms and UmbracoExamine projects
* Fixes lots of tests
* fixes more tests
* NPoco - bugfixing
* Bugfix CacheHelper in tests
* Bugfix connection mocking in tests
* NPoco - inject database in Sql.Select<>
* NPoco - discovery retry policy only once
* Enable C# 6 for Umbraco.Core
* NPoco - introduce UmbracoSql, cleanup
* NPoco - more cleanup and fixing
* NPoco - fix UserRepository
* Optimize InGroupsOf
* Implement UmbracoDatabase.FetchByGroups
* NPoco - fix Select
* NPoco - simplify GetPagedResultsByQuery
* Cherry-pick DisableBrowserCacheAttribute fix from 7.4
* Upgrade NPoco to use Sql<TContext>
* U4-8257 - cleanup relators
* 4-8257 - cleanup more relators
* Upgrade NPoco with more OOTB version
* fixes a couple tests, changes double check lock to Lazy<T>
|
2016-04-12 15:11:07 +02:00 |
|
Shannon
|
3e18c93cf5
|
More singleton reduction, created new IMappingResolver which is used by the Query<T> object instead of relying on a singleton, creates a new QueryFactory to create Query<T>, removes all standalone stuff (will create that again later). It builds, but most tests will still be failing.
|
2015-02-22 23:09:20 +01:00 |
|
Shannon
|
905e58e3b6
|
Completes: U4-6104 Remove SqlSyntaxContext - quite a large refactor and cleanup since the SqlSyntaxContext was used everywhere :( haven't run tests, etc... yet but the project builds now.
|
2015-02-22 21:36:02 +01:00 |
|
Shannon
|
7545c0c1da
|
Adds the DomainRepository with tests
|
2015-01-21 17:03:56 +11:00 |
|
Shannon
|
10aad7e048
|
More decoupling from the SqlSyntaxContext singleton, repositories now all use an injected SqlSyntaxProvider, the respository factory, service context, etc... is now much more streamlined with classes created with a propery dependency chain.
|
2015-01-13 19:38:23 +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
|
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
|
5bef3593dd
|
More dependency cleanup, less singleton usages, better testing implementations
|
2015-01-09 15:27:47 +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
|
c31ea7409f
|
Merge branch 'fix-u4-3839' of https://github.com/lars-erik/Umbraco-CMS into lars-erik-fix-u4-3839
|
2014-03-25 12:47:26 +11:00 |
|
Shannon
|
d19d1b3a18
|
Changes database behavior in integration tests to be opt-in, removes the db behavior to have a new schema per fixture, now we only deal in new files + schema per fixture/tests as it was taking longer to uninstall the db tables than just delete the file.
|
2014-03-17 19:38:29 +11:00 |
|
Lars-Erik Aabech
|
11a4a0436d
|
Proves LanguageRepository lines 37-38 to be useless, but probably intended
|
2014-01-07 15:55:49 +01:00 |
|
Shannon
|
8fe7c0da9e
|
Changed all repository tests to ensure they are not testing with cache enabled... now to fix the problems :(
|
2013-09-18 11:40:40 +10:00 |
|
Morten Christensen
|
439098e3d7
|
Adding unit tests for LanguageRepository
|
2012-11-08 12:21:40 -01:00 |
|
Morten Christensen
|
4afbd1c38e
|
Adding unit tests for DataTypeDefinitionRepository
|
2012-11-08 11:55:36 -01:00 |
|