Commit Graph

1405 Commits

Author SHA1 Message Date
Shannon Deminick 153cfeefb7 Have obsoleted LogTypes that are not part of the audit trail 2012-12-10 03:49:53 +05:00
Shannon Deminick b1f0e00287 Adds performance benefits for PublishedContentBase 2012-12-10 03:40:50 +05:00
Shannon Deminick 0c29704d09 Fixes TypeFinder to not scan for types when the assembly IsDynamic (created using reflection Emit).
This fixes the RenderRouteHandlerTests which were failing due to a sequence of events when the new PetaPoco classes
were created using Reflection and then the TypeFinder tries to enumerate on them.
2012-12-09 04:13:09 +05:00
Shannon Deminick e251ccf456 Obsoletes the NiceUrl() and NiceUrlWithDomain() methods on IPublishedContent in favor of Url() and UrlWithDomain() 2012-12-09 03:53:16 +05:00
Shannon Deminick 6267e2e340 Adds support for NiceUrl() for media. 2012-12-09 03:51:02 +05:00
Shannon Deminick 43560a04d3 added some comments. 2012-12-09 03:45:55 +05:00
Shannon Deminick 1de43347d5 Added Url support for media when the IPublishedContent item inherits from PublishedContentBase 2012-12-09 03:27:19 +05:00
Shannon Deminick 44ccfc0262 Adds 'Url', 'ItemType' and the Indexed property alias to IPublishedContent.
Changes Properties to ICollection instead of Collection for IPublishedContent.
Creates PublishedContentBase object which handles the Url and Indexed property on IPublishedContent automatically so implementors should use this base
class instead. Moves GetPropertyValue extensions to the Umbraco.Web project instead of the
Umbraco.Core project because this method needs to parse internal links if the value is a string. We require the UmbracoContext
to do this so they must exist in the Web project.
2012-12-09 03:22:11 +05:00
Shannon Deminick 084e2ee37f Updated EditMacro to use CSS instead of hard coded styles throughout. 2012-12-09 01:22:53 +05:00
Shannon Deminick 2e5618b778 Merge 2012-12-09 00:51:09 +05:00
Shannon Deminick 5870452cc9 Updated assembly binding for MVC(4, and really any other MVC version that requires assembly binding if
old libraries are built against old MVC versions).
Fixes a check for the ScriptingFile in for Partial View macros.
2012-12-09 00:50:58 +05:00
Morten Christensen 9111f811be Implementing the new DefinitionFactory, which makes use of the newer database model definitions. This is done to streamline the usage of the database model definitions between db creation and migration. 2012-12-07 14:52:54 -01:00
Shannon Deminick 66fe539d1c Fixes class reference issues 2012-12-07 20:08:06 +05:00
Shannon Deminick 73414f4504 Merge with default 2012-12-07 19:56:40 +05: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
Morten Christensen f9403f2bc6 Implementing fluent Delete, Rename and Update syntax for migrations. 2012-12-07 13:46:11 -01:00
Morten Christensen 9935abd1a2 Implementing Insert-builder with fluent syntax 2012-12-07 12:23:03 -01:00
Morten Christensen 97509316ba Was missing initial wire up of the Create builder's fluent syntax 2012-12-07 12:02:56 -01:00
Morten Christensen e9d1747504 Adding Fluent Create-builders for Column, Table, Index and ForeignKey. 2012-12-07 11:55:41 -01:00
Shannon Deminick 2a90e93a6f Updated partial view macro engine to support storing the files in the App_Plugins/[packagename]/Views/MacroPartials
so they can be stored with a package and not pollute the main file system.
2012-12-07 07:04:11 +05:00
Shannon Deminick 0d94ddb96e Got macro parameters working with Partial View Macros, changed PartialViewMacroPage to inherit from
UmbracoViewPage<PartialViewMacroModel> so that UmbracoHelper, etc... are available.
2012-12-07 06:31:53 +05:00
Sebastiaan Janssen db2d73dc88 Alter the web.config template for mvc4 support 2012-12-06 14:27:41 -01:00
Sebastiaan Janssen cd2711957f Additional update for MVC4 support, nuget dependency updated, errors due to
web.config file in Views folder fixed
2012-12-06 11:33:17 -01:00
Sebastiaan Janssen 323af078ca Upgrade to MVC4 2012-12-06 10:31:54 -01:00
Sebastiaan Janssen 9da62aa965 Correct wrongly committed urlrewriting/xsltextensions configs 2012-12-06 10:30:52 -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 8a9cbd0524 Cleaning out old transaction commit code 2012-12-05 12:47:28 -01:00
Morten Christensen 628800c14a Committing configs with correct spacing 2012-12-05 12:37:21 -01:00
Morten Christensen 89bcbdb0f3 Moving db transaction up one level to improve installation, which failed for sql azure. 2012-12-05 12:37:00 -01:00
Morten Christensen 602e3260fa Fixing foreignkey issues 2012-12-05 08:39:31 -01:00
Morten Christensen fc43247a9e Adding clustered index to the UserLoginDto 2012-12-05 07:50:05 -01:00
Shannon Deminick c7645b55ba Partial View Macros now being rendered, now to implement the remaining parts with things like
parameters, etc...
2012-12-04 22:06:55 +05:00
Morten Christensen 28d9784c1b Reverting changes to DTOs to re-enable foreign key constraints.
Adding temporary condition to executing database schema creation code to skip foreign key constraints for sql ce.
2012-12-04 08:16:10 -01:00
Morten Christensen 952e4914c5 Merge 2012-12-04 07:37:10 -01:00
Morten Christensen 2c2177fcc7 Creating a new DefinitionFactory for refactoring the database definitions used by the syntax provider. 2012-12-04 07:36:51 -01:00
Shannon Deminick 208806c027 Updated more partial view macro engine and its rendering... nearly there. 2012-12-04 11:31:03 +05:00
Shannon Deminick 8024610364 Fixes up some logging API issues. Fixed up tracing in the macro class. Added support for Partial View macro rendering in the macro class. 2012-12-04 11:08:02 +05:00
Shannon Deminick 8e4644568b Updated loghelper to be able to Warn and also trace Warn with an exception. Updated the macro control to check for the
Partial View Macro, added Partial View macro to the enum.
2012-12-04 05:58:24 +05:00
Shannon Deminick e0a71830fa Updated macro editor to support Partial view macros. Improves the JS in the editor (no more c# based js) which auto clears
other fields and drop downs when other files are selected.
2012-12-04 05:42:15 +05:00
Shannon Deminick 5b0057c258 Added missing files. 2012-12-04 03:29:02 +05:00
Shannon Deminick fb61c55fa7 Started on PartialViewMacros 2012-12-04 03:26:04 +05:00
Sebastiaan Janssen f1f8759bde Change string parsing to VirtualPathUtility.ToAppRelative 2012-12-03 16:53:47 -01:00
Sebastiaan Janssen 71410f0f12 Merge changes from default into 6.0.0 2012-12-03 16:05:32 -01:00
Sebastiaan Janssen 97639040f0 New way of transforming web.config file that should work in both VS2010 and 2012
Moved transform responsibility to Umbraco.Web.UI (mainly because circular
dependency has been solved already a few months ago)
Managed to clean up build.proj significantly in the process
2012-12-03 15:53:06 -01:00
Sebastiaan Janssen b02ad9e698 Remove foreign keys that never used to be in 4.x.
Fix the datacreation of CmsTaskTypeData
2012-12-03 13:22:23 -01:00
Sebastiaan Janssen 4f373541ac Accidentally added TWO RequiredDbSetup properties 2012-12-03 11:57:28 -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 a7a030bad2 Adding a few known assembly types to the ignore list in the TypeFinder.
Changing Migration test to use the Type and Attribute resolver.
2012-11-30 17:47:48 -01:00