Shannon
aee10348e5
Ensures not to add new indexes if they already exist
2014-03-12 18:37:22 +11:00
Shannon
3a92c26a7f
Adds ability to extract index details from databases using sql syntax provider.
2014-03-12 17:17:52 +11:00
Shannon
e0dcc3afbc
Streamlines how strings are escaped with the sql expression helpers and syntax providers. Fixes: U4-4232 Umbraco.Core.Persistence.Querying issue with backslashes
2014-02-17 21:38:13 +11:00
Shannon
4db6ce4b22
Fixes various issues relating to File Repositories and Services: U4-4014 FileRepositories offer no way to create folders, U4-4013 The models that the FileService produces causes security exceptions, U4-3993 Replace system.io calls in umbraco.scriptTasks legacy task
...
updates to latest CDF
2014-01-09 18:08:13 +11:00
Shannon
6fa0c627a5
working on #U4-3876
2014-01-08 20:19:08 +11:00
Shannon
2dd04799b2
WIP membership provider updates
2013-12-19 18:33:25 +11:00
Shannon
a21aa079ff
Adds ability to use the query builder with string matches based on an NText column
2013-12-18 17:22:00 +11:00
Shannon
4cb4ff0617
Fix MySQL migrations.
...
Conflicts:
src/Umbraco.Core/Persistence/Migrations/Upgrades/TargetVersionSeven/AlterTagRelationsTable.cs
2013-12-06 10:26:32 +11:00
Shannon
7e9cad34db
Creates an SQL Server version check for bulk sql imports.
2013-08-02 16:01:54 +10:00
Sebastiaan Janssen
a1037ce43c
Fixes U4-2187 - Enable support for MySQL on Linux
2013-07-23 15:38:26 +02:00
Shannon Deminick
1b66c42c9b
Fixes RePublishAll method to ensure it performs the same function as the legacy Document.RePublishAll - it just
...
re-generates the XML in the cmsContentXml table. Updates the Sql providers to support truncate table. Updates the RepublishAll
unit test. Adds a TruncateTable extension to PetaPoco. Adds locking to certain service methods that perform more than once function.
2013-03-19 23:46:13 +06:00
Morten Christensen
928d92fce4
Making the Sql Syntax Providers public and changing a few names and bits for consistency.
...
Adding resolver for the syntax providers and wiring it up in the boot manager.
2013-03-09 10:43:34 -01:00
Sebastiaan Janssen
560dcad90a
Updates for MySQL: Check for case-sensitivity
2013-02-25 14:42:07 -01:00
Sebastiaan Janssen
f3621aa743
MySQL: Check for case-sensitivity
2013-02-25 13:14:26 -01:00
Sebastiaan@SEBVIRTUAL.SSG5-Serial
5dc80c55b2
Fixed some issues with the mysql syntax provider
2013-01-29 12:55:55 -01:00
Morten Christensen
5d0aced9a7
Giving the install/upgrade a bit of TLC.
...
Fixes U4-1520
2013-01-28 14:01:38 -01:00
Morten Christensen
7aabf459ea
Adding schema validation to the DatabaseSchemaCreation class.
...
Helps determine if valid database exists and which version it corresponds to.
On startup the legacy connectionstring is used if one exists, so its not ignore but rather reconfigured.
Relates to U4-1520.
2013-01-25 15:05:42 -01:00
Morten Christensen
b5a140945a
Fixes U4-1479 by adding .ToList() to allowed templates, which ensures that the list is fetched from the database while the connection is still open.
...
Fixing typo in usage of LogHelper in PhysicalFileSystem.
Ensures connection is closed after using TableExists for MySql.
Adds logging to UmbracoDatabase.
2013-01-18 09:00:18 -01:00
Sebastiaan Janssen
55dbce3a93
Okay, really fixed the getdate() problem now. Maybe.. I should.. You know.. build my code first before I test it! D'oh.
2013-01-02 11:49:57 -01:00
Sebastiaan Janssen
01fa4bdc78
Fix badly formated "getdate()" default value (CE didn't like it)
2013-01-02 11:33:56 -01:00
Morten Christensen
e4e5982349
Removing sql server/ce specific brackets from repository queries as it was causing problems with MySql.
...
Fixes regression bug from removing brackets from PrimaryKey columns. Columns are now passed and syntax specific brackets are added.
Moving the MySql special case for updating User Id from one to zero.
2012-12-27 19:53:01 -01:00
Morten Christensen
64af0a610b
Refactoring migrations by adding an abstract class to all expressions that allow for processing prior to returning an sql statement.
...
Refactoring the current sql syntax providers to better work with sql ce, sql server and mysql.
Adding migrations for v4.8 and v6.0.
Adding test cases for upgrading from 4.7 to 6.0 for the 3 database providers - sql ce, sql server and mysql.
Adding product name to the MigrationAttribute, which adds more flexibility to the MigrationRunner.
Fixing schema creation for mysql, which broke during a previous refactor task.
2012-12-27 18:52:47 -01:00
Morten Christensen
dbce36b7a5
Adding migrations for v6 upgrades.
...
Updating and testing migrations.
2012-12-26 14:44:42 -01:00
Morten Christensen
c1695c2f7f
Updating expressions to output sql for use with the fluent migrations, so it can be used for db upgrades.
2012-12-20 11:36:20 -01:00
Morten Christensen
977326def1
Removing unused/old db model definitions.
2012-12-19 15:29:10 -01:00
Morten Christensen
2ea3fe624f
Refactoring SqlSyntaProvider to use the new common definitions.
2012-12-19 15:23:05 -01:00
Morten Christensen
736fbc6659
Moving database definition models, so they are shared and can be used in the sql syntax provider.
2012-12-07 13:48:38 -01:00
Sebastiaan Janssen
6a92b400b8
Open connection before checking if table exists
2012-12-05 14:43:37 -01:00
Morten Christensen
8210666d30
Refactoring identity inserts in db creation phase to support mysql
2012-12-05 14:18:08 -01:00
Morten Christensen
602e3260fa
Fixing foreignkey issues
2012-12-05 08:39:31 -01:00
Morten Christensen
213451e442
Implementing the MigrationRunner, which will be used for database upgrades.
...
Refactoring a few bits in the syntax of the migration models.
Adding an extension of the PluginManager to find migrations by Type and Attribute.
2012-11-30 18:48:20 -01:00
Morten Christensen
d05a8e0390
Creating DbTypeMap for formatting type in expression
2012-11-30 17:56:02 -01:00
Morten Christensen
f59f57fd6a
Initial work on fluent database migrations
2012-11-30 15:01:52 -01:00
sitereactor
137a54b193
Refactoring DTOs for Identity seed, which is used by Sql Ce.
...
Updating unit tests and Contexts to include the ServiceContext and DatabaseContext.
2012-10-30 15:03:58 -01:00
sitereactor
960ae22271
Adding convention to column naming for table creation.
...
Adding DatabaseContext hooked up to UmbracoContext and initialized through the CoreBootManager.
Adding constant for ConnectionString name in GlobalSettings.
2012-10-29 09:49:31 -01:00
sitereactor
ee96ced595
Adding missing code comments/documentation
2012-10-23 08:09:01 -02:00
sitereactor
2545de57e0
Refactoring usage of DatabaseType - more convention based.
...
Limiting the use of the DatabaseType, so its only used for NText and NChar.
Adding LengthAttribute for fixed sized columns.
2012-10-22 12:52:29 -02:00
sitereactor
b3d8b4c53c
Refactoring syntax providers for db creation.
...
Adding tests for sql, sql ce and mysql to ensure the creaion of tables and their dependencies/references.
2012-10-19 19:07:17 -02:00
sitereactor
c1909eccf5
Refactoring database creation, adding sql syntax provider to account for differences in syntax between sql, ce and mysql.
...
Adding MySql unit test.
2012-10-19 13:20:57 -02:00