Shannon
9f710a957d
Merge remote-tracking branch 'refs/remotes/origin/dev-v7.6' into temp-u4-9322
...
# Conflicts:
# src/Umbraco.Core/Services/FileService.cs
2017-02-09 12:30:01 +11:00
Shannon
72910cb35e
Updates everything to .Net 4.6.2, had to update the semver reference too - no breaking changes though
2017-02-07 00:22:34 +11:00
Stephan
5446e4b0fc
U4-9322 - IScopeProviderInternal
2017-01-12 19:32:44 +01: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
Stephan
ef48baf7ae
deploy-157 - simplify tables creation in migrations
2016-12-23 10:31:14 +01:00
Stephan
38e8e1cf9c
U4-9250 - fix migration
2016-12-21 15:23:22 +01:00
Shannon
d99a691bdc
Changes magic strings to constants for database provider types.
2016-08-09 15:36:02 +02:00
Claus
59c3d6a206
cleaning up migrations. we're deleting the table so no need to do a bunch of migration stuff instead of just compiling it into one migration deleting and creating the table again.
2016-08-04 15:45:58 +02:00
Sebastiaan Janssen
91b8f4dcce
Merge pull request #1380 from umbraco/temp-U4-8522
...
U4-8522 cmsPropertyData needs unique constraint indexes and index refactoring
2016-07-15 09:22:31 +02:00
Sebastiaan Janssen
de0bb494a5
Improving Build.bat and appveyor build output
...
Moving all Console.Write* to Debug.Print
2016-07-14 14:11:05 +02:00
Shannon
bd306295c2
Ensures the correct index is installed by default, fixes a test that didn't take this index into account
2016-07-12 19:39:22 +02:00
Stephan
6f6c7ede0a
U4-8361 - fixing migrations
2016-07-07 16:56:52 +02:00
Shannon
ee27264a72
Ensures all instances of SqlCeEngine are in a using claus so native objects are disposed properly
2016-07-06 09:37:52 +02:00
Stephan
2c3c0eae12
U4-8370 - fix broken upgrade
2016-04-25 17:10:10 +02:00
Shannon
121d8c0279
Fixes reference to new member type tree alias "memberTypes" (breaking because of U4-7150)
2015-12-16 16:18:11 +01:00
Shannon
a2e64b3485
Fixes reference to new document type tree alias "documentTypes" (breaking because of U4-7150)
2015-12-16 16:16:21 +01:00
Shannon
ea86c8bcff
Fixes reference to new member group tree alias "memberGroups" (breaking because of U4-7150)
2015-12-16 16:07:56 +01:00
Damiaan
3b404a2f76
U4-7314 Change name of "Textbox Multiple" to "Large textbox" or "Textarea"
2015-10-29 13:54:16 +01:00
Shannon
65969e22a0
removes commented out code
2015-09-16 14:33:30 +02:00
Shannon
5d7ba5c842
fixes tests
2015-09-14 12:30:32 +02:00
Shannon
bee59e39a0
Streamlines migration classes and ctor dependencies... before there was issues because the current db provider was not set correctly so migrations couldn't actually rely onthe CurrentDatabaseProvider property!
2015-09-14 12:01:48 +02:00
Shannon
7beb21ad66
Fixes upgrade issues with MySql, along with a few other things:
...
* All usages of getdate() are changed to the system value
* All usages of newid() are chagned to the system value
* Removes the hacks associated with the above
* Fixes the fluent migrations for table creation for mysql to not double create a PK
* Removes other system field values that actually don't do anthing and shouldn't be used
2015-09-11 17:49:47 +02:00
Shannon
3a3917c1fc
Fixes: U4-4231 remove umbracoUserLogins table
2015-07-06 17:52:07 +02:00
Shannon
18b1857539
Changes versioning to SemVersion (via nuget package), now target migrations with the full SemVer and update the web.config with the correct sem ver. Creates migration to create the migration table.
2015-06-24 14:17:24 +02:00
Shannon
38953212a3
Fixes up some unit tests with changes to migration runner, creates unit tests for ApplicationContext.IsConfigured, updates DatabaseContext to be able to mock some methods.
2015-06-22 18:59:44 +02:00
Shannon
e2a821c257
Fixes and simplifies migration tests
2015-05-05 13:37:33 +10:00
Shannon
ed54301914
Fixes unit test and updates all migration classes to use the correct ctor that get's it's required services 'injected'
2015-05-05 13:22:36 +10:00
Shannon
a1c7352da1
Merge branch 'dev-v7' into 7.3.0
...
Conflicts:
src/Umbraco.Core/Umbraco.Core.csproj
src/Umbraco.Tests/Integration/GetCultureTests.cs
src/Umbraco.Tests/Models/ContentTests.cs
src/Umbraco.Tests/Models/ContentTypeTests.cs
src/Umbraco.Tests/Persistence/Repositories/ContentTypeRepositoryTest.cs
src/Umbraco.Tests/Routing/DomainsAndCulturesTests.cs
src/Umbraco.Tests/Scheduling/BackgroundTaskRunnerTests.cs
src/Umbraco.Tests/Services/ContentTypeServiceTests.cs
src/Umbraco.Web/Models/ContentExtensions.cs
src/Umbraco.Web/Mvc/SurfaceController.cs
2015-04-09 16:50:07 +10:00
Shannon
b35397b464
uses property type ctor overload to accept an alias which prob should have been there all along since in most cases you need an alias to create one (same prob goes for property groups, etc... but oh well). Adds a couple tests for case insensitive comparisons in PropertyCollection
2015-04-08 16:33:16 +10:00
Shannon
0c0802e964
updates the migrations to use the correct ctor (not empty), this is more for v8 but have created a crappy activator that passes in the right args.
2015-04-01 17:43:27 +11:00
Shannon
7545c0c1da
Adds the DomainRepository with tests
2015-01-21 17:03:56 +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
e88264d0f7
Decouples more LogHelper
2015-01-16 11:08:00 +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
fafe056db0
More refactoring with ILogger and reducing the dependencies on all of these singletons. Created new DatabaseSchemaHelper to be used instead of the extension methods that require singletons to be set.
2015-01-09 13:00:26 +11:00
Shannon
9f30a9b0fc
Removes more singletons and reliance on singletons/statics
2015-01-09 12:04:33 +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
202f582661
Renames TagsRepository to TagRepository, Fixes n+1 queries on entity repository, fixes n+1 queries on tag repository, updates umbraco member types to specify an entity type for IMember and IMemberType so the entity repository can use it.
2014-09-01 18:06:24 +10:00
Morten Christensen
9f28aea10d
This Can_Find_Targetted_Migrations test needed a valid database to pass. This update ensures that the database is created with the old version 4.8 db schema.
2014-06-27 13:23:54 +02:00
Shannon
3df2d03fc8
Merge remote-tracking branch 'origin/6.2.0' into 7.1.2
...
Conflicts:
build/Build.bat
build/NuSpecs/UmbracoCms.Core.nuspec
build/NuSpecs/build/UmbracoCms.targets
src/Umbraco.Core/Models/IPublishedContentProperty.cs
src/Umbraco.Core/Models/PublishedContent/IPublishedContentExtended.cs
src/Umbraco.Core/Models/PublishedContent/PublishedContentExtended.cs
src/Umbraco.Core/Models/PublishedContent/PublishedContentWrapped.cs
src/Umbraco.Core/Models/PublishedContent/PublishedPropertyBase.cs
src/Umbraco.Core/Models/PublishedContent/PublishedPropertyType.cs
src/Umbraco.Core/Models/Template.cs
src/Umbraco.Core/Persistence/Migrations/MigrationRunner.cs
src/Umbraco.Core/Persistence/Repositories/MemberGroupRepository.cs
src/Umbraco.Core/Persistence/Repositories/MemberRepository.cs
src/Umbraco.Core/Persistence/Repositories/MemberTypeRepository.cs
src/Umbraco.Core/Persistence/Repositories/RecycleBinRepository.cs
src/Umbraco.Core/Services/PackagingService.cs
src/Umbraco.Tests/PublishedContent/PublishedContentMoreTests.cs
src/Umbraco.Tests/PublishedContent/PublishedContentTestElements.cs
src/Umbraco.Web/PublishedCache/XmlPublishedCache/PublishedFragment.cs
src/Umbraco.Web/PublishedCache/XmlPublishedCache/PublishedMediaCache.cs
src/Umbraco.Web/PublishedCache/XmlPublishedCache/XmlPublishedContent.cs
src/Umbraco.Web/PublishedContentPropertyExtension.cs
src/Umbraco.Web/Search/ExamineEvents.cs
src/Umbraco.Web/UmbracoHelper.cs
src/Umbraco.Web/umbraco.presentation/CompatibilityHelper.cs
src/Umbraco.Web/umbraco.presentation/macro.cs
src/umbraco.cms/businesslogic/template/Template.cs
2014-05-05 12:49:06 +10:00
Shannon
cf2217cfe1
Fixes MySQL upgrades from < 6.0
2014-04-30 19:41:40 +10:00
Shannon
a0541b000e
Fixes: U4-4463 Upgrade 6.2.0 > 7.1.0 fails - due to incorrect formatting of foreign keys for sql servers
...
Conflicts:
src/Umbraco.Tests/Migrations/AlterMigrationTests.cs
src/Umbraco.Tests/Migrations/Stubs/AlterUserTableMigrationStub.cs
2014-03-19 10:33:37 +11:00
Shannon
1f6b139cde
Fixes: U4-4463 Upgrade 6.2.0 > 7.1.0 fails - due to incorrect formatting of foreign keys for sql servers
2014-03-19 10:31:19 +11:00
Shannon
760dd42c43
Optimizes integration test performance and fixes failing unit tests.
2014-03-18 11:40:20 +11:00
Shannon
2bd5e908db
Fixes merge issues
2014-03-17 14:01:42 +11:00