Morten Christensen
3907ea435a
Merge
2013-01-28 08:14:51 -01:00
Sebastiaan Janssen
a11d924736
Fixes U4-1553 - YSOD when umbracoUrlName value is null
2013-01-26 15:50:53 -01:00
Morten Christensen
d0c5357625
Adding initialize call to the legacy conn.string being reconfigured.
2013-01-25 15:17:05 -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
309f337461
Fixes U4-1549
2013-01-25 08:58:21 -01:00
Morten Christensen
086a0811cb
Refactoring GetCreator/WriterProfile extension methods to use the service rather then repository, as it seems to cause threading issues per our threading test.
2013-01-25 07:30:25 -01:00
Morten Christensen
82455136bb
Missing files
2013-01-24 14:59:03 -01:00
Morten Christensen
f6e354314b
Minor optimization to SaveAndPublish method in ContentService.
2013-01-24 14:47:44 -01:00
Morten Christensen
b7fedb664b
Refactoring DatabaseSchemaCreation to allow for schema validation.
2013-01-24 14:47:24 -01:00
Morten Christensen
25f91cc0da
Fixes U4-1534 so documents containing the tag datatype is properly copied.
...
Copying a document with a Tags datatype on it would only work if a new TagRelationship is created.
2013-01-24 13:49:41 -01:00
Morten Christensen
23141e1e8c
Fixing broken media tests after having added ToXml and saving of xml to ContentXml table in the MediaService
2013-01-24 12:25:48 -01:00
Morten Christensen
b17dcd2b56
Fixes U4-1516 by ensuring that referenced templates are deleted prior to deleting the actual template.
...
Removing uncommented code from the Media class as well as from the ContentExtension class.
Added saving of Media Xml to MediaService upon saving.
Removing referenced media test from csproj as cs file was missing.
2013-01-24 09:50:27 -01:00
Morten Christensen
e485c471cb
Merge
2013-01-24 08:36:08 -01:00
Morten Christensen
f00e8b4efc
Adding update statement to template repository, so templates can be properly removed.
2013-01-24 08:18:22 -01:00
Shannon Deminick
c8807c3798
Fixes: #U4-1530. Backports ContentExtension changes from 6.1 required for Examine and media. Added unit tests to support and enhanced old unit test for ToXml for content
...
to test for more values to ensure nothing is broken. Updates ExamineEvents to ensure that no event binding occurs until the application is configured and the
database is ready. Updates ExamineEvents to ensure that data is indexed using the new 6.0 APIs, though this is a temporary fix and a better one will be implemented
in 6.1 since UmbracoExamine is in the source.
2013-01-24 06:16:44 +03:00
Morten Christensen
a95c129116
Refactoring a few methods in the ContentService, so the omitCacheRefresh parameter isn't exposed in the new api, as its only relevant to the old api.
...
Correcting the calls from Document to the internal methods in the ContentService, which ensures that the cache isn't refreshed as its handled elsewhere.
Correcting broken unit test after having changed the GetDescendents method.
2013-01-22 11:23:33 -01:00
Morten Christensen
72ff03f142
Fixes U4-1512 by using the same safe alias method as in the legacy code base.
...
This should ensure that published content aliases has the same format as in v4.
2013-01-22 08:44:06 -01:00
Morten Christensen
00e316b5bd
Minor update to AssemblyInfo
2013-01-21 15:27:22 -01:00
Morten Christensen
9c8c1d405b
Merge
2013-01-21 14:52:27 -01:00
Morten Christensen
4bf9cf270d
Fixes Move when parent is unpublished.
2013-01-21 14:50:58 -01:00
Sebastiaan Janssen
801eb2c3d3
Change version to RC
2013-01-21 12:34:56 -01:00
Sebastiaan Janssen
84e4727ef5
Revert to explicit list of migrations. Migrations were enumerated multiple times
...
so added ToList() to them.
2013-01-21 10:01:14 -01:00
Shannon Deminick
3e28376ae7
Fixes: #U4-1472 - XmlHelper.
...
Fixes: #U4-1488 - partial view macro engine issues.
2013-01-19 06:38:02 +03:00
Morten Christensen
5cb865f4c4
Updating the MigrationContext to take the PetaPoco database via the ctor, so it can be used to fetch entries during migration.
...
Changing the MoveMasterContentTypeData migration to use the fluent Update statement with dynamic entries from the database.
Adding IfDatabase condition for Update.
Updating a few tests, which were using the MigrationContext.
2013-01-18 13:51:40 -01:00
Morten Christensen
1bd4cbdb99
Adds If-condition to Execute Sql migrations.
...
Updates MoveMasterContentTypeData migration to have a Sql Server specific sql statement.
2013-01-18 12:50:34 -01:00
Morten Christensen
f6ceb937a1
Changes the CoreBootManager to resolve migrations through the use of the PluginManager instead of having the migration types hardcoded.
2013-01-18 12:05:00 -01:00
Morten Christensen
62bd1ce4fa
Updates namespace for v6 migrations.
...
Adds update parentId migration for MasterContentType.
2013-01-18 12:00:29 -01:00
Morten Christensen
9ef07ed2eb
Fixes U4-1214 and U4-1484 for both Content and Media
2013-01-18 10:56:14 -01:00
NielsHartvig@UMBRACORATI.localdomain
53ddda9f59
Fixes U4-1480 ContentBase.SetPropertyValue has no override for long datatype
2013-01-18 09:03:58 -01:00
Morten Christensen
98b8db7e3d
Merge
2013-01-18 09:01:10 -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
1304a9d791
Fixed U4-1495 Include Umbraco assemblies' XML files to make use of comments
2013-01-18 08:44:39 -01:00
Sebastiaan Janssen
ad62cf0123
Fix merge issue, sorry
2013-01-17 14:53:55 -01:00
Morten Christensen
6293af2654
Fixes U4-1415 - MySql needs to update admin user's id to zero so the foreign keys can be added.
2013-01-15 14:30:02 -01:00
Morten Christensen
fc3681a930
Fixes U4-1476 so null values are handled before the overload is determined.
2013-01-15 11:56:25 -01:00
Morten Christensen
35052c626a
Reordering properties in the ContentBase constructor
2013-01-15 10:21:24 -01:00
Morten Christensen
ef9b0b6433
Fixes U4-1429 - A name is now required for creating Content and Media.
2013-01-15 10:12:23 -01:00
Shannon Deminick
04f351b287
Fixes: #U4-1156 - IFileSystem, etc... now public.
2013-01-15 01:19:51 +03:00
Shannon Deminick
d0cccb5be6
Adds some more error checking to PhysicalFileSystem ctor. Fixing issues with Script/Style repo tests.
2013-01-15 01:15:08 +03:00
Shannon Deminick
dfb6953792
Merge
2013-01-15 00:59:37 +03:00
pcw@pcw-PC.shout.local
a75fe0ed7a
Fixed issue where query string parameters were not being URL encoded correctly, causing problems if a dictionary value contains a = or & symbol
2013-01-14 21:08:57 +00:00
Morten Christensen
fb66d87ae8
Adds updating of SortOrder upon moving a media item.
...
Related to U4-1461
2013-01-14 14:07:32 -01:00
Morten Christensen
bc23495632
Adds updating of SortOrder upon moving a document.
...
Related to U4-1461
2013-01-14 14:04:40 -01:00
Morten Christensen
014bebd38f
Fixes U4-1465 by ensuring that a ContentType alias does not contain invalid characters nor spaces.
2013-01-14 13:27:40 -01:00
Morten Christensen
afc41b4e70
Merge
2013-01-14 13:20:25 -01:00
Morten Christensen
0466a8ce13
Fixes U4-1394
2013-01-14 13:13:23 -01:00
Morten Christensen
537a9c0ad2
Fixes U4-1460
2013-01-14 12:37:13 -01:00
Sebastiaan Janssen
ac0f304680
Merge
2013-01-14 12:18:11 -01:00
Sebastiaan Janssen
fa862e9a33
Improve build so that you can't forget to set the version number, the version in
...
UmbracoVersion.cs will be updated with the version configured in build.bat
2013-01-14 12:16:55 -01:00
Morten Christensen
03e3b37272
Changing use of .Query to .Fetch as it was unnecessary to use the Query method in these instances.
...
Related to U4-1389
2013-01-14 11:16:53 -01:00