Morten Christensen
db971bb0b9
Fixes U4-1418 caused by a size issue in PetaPoco when inserting a string larger then 4000 characters.
2013-01-09 11:44:30 -01:00
Morten Christensen
87017d75be
Adding sorting to other usages of PetaPoco relators.
...
Fixing Mapper test after having renamed a few properties yesterday.
2013-01-09 10:11:23 -01:00
Morten Christensen
ad2a82cc65
Possible fix for U4-1407 and related to the install problems for uBlogsy.
...
Ensures that PropertyGroups are sorted so they are properly mapped.
2013-01-09 09:57:01 -01:00
Sebastiaan Janssen
b8d5d67abd
Additional fix for U4-1394 - DocumentType "Allowed Templates" will not update
2013-01-09 05:51:01 -01:00
Sebastiaan Janssen
e0ba903974
Revert ordering of schema creation it only worked once by fluke and killed sqlce
2013-01-09 05:18:10 -01:00
Sebastiaan Janssen
daf5fb5dcf
Fixes U4-1415 v6 Installing on MySQL gives error
2013-01-08 17:52:03 -01:00
Sebastiaan Janssen
7b4ccf73c6
Merge
2013-01-08 11:48:04 -01:00
Sebastiaan Janssen
312288d459
Some properties may be corrupt, so ignore those
2013-01-08 11:42:23 -01:00
Sebastiaan Janssen
c9697a519e
The check for IsDefault can't be performed on contenttypes that do not live in
...
the contenttype table
2013-01-08 11:41:54 -01:00
Morten Christensen
afb251d5b7
Fixes U4-1394 so the DefaultTemplate is not completely removed from the list of allowed templates when changed.
2013-01-08 11:38:35 -01:00
Morten Christensen
dd61432d9f
More work on U4-1402 in order to clear cache in all the right places.
2013-01-08 10:58:06 -01:00
Sebastiaan Janssen
08c0da0226
MasterContentType column should not be in DTO, it gives errors querying
...
non-existing column in the database
2013-01-08 10:42:36 -01:00
Sebastiaan Janssen
a3be3d0060
Temporary workaround for TypeFinder not finding migrations. Rename FourEight to
...
FourNine because that's what it should be.
2013-01-08 10:42:02 -01:00
Sebastiaan Janssen
8935f5c678
Check if masterpage file exists before populating it (could've been deleted from disk)
2013-01-08 10:40:38 -01:00
Morten Christensen
c6feb2a27a
Correcting an issue in the ContentTypeBaseRepository where removing a PropertyType would cause an error if a Property was referencing that PropertyType.
...
Correcting an issue in the ContentRepository that would occur if a new PropertyType had been added after Content is being used.
Fixes U4-1402
2013-01-08 09:49:13 -01:00
Morten Christensen
7e060d665b
Renamed a few properties on the PropertyType object, as the original naming was confusing.
2013-01-08 07:38:54 -01:00
Shannon Deminick
e49bb2dd51
Adds a null check to set the label values, if the content item wasn't loaded then no properties were filled and thsu
...
no need to update the labels. Cleans up a tiny bit more code.
2013-01-08 00:58:22 +03:00
Shannon Deminick
147867a7a8
Fixes the requirement for LegacyUploadFieldWorkaround, cleans up some of the code in ContentControl and various other (legacy) places, improves performance slightly too.
2013-01-07 23:24:29 +03:00
Sebastiaan Janssen
af4fbba8e8
Database upgrade check was backwards &some more failsafes for upgrader/installer
2013-01-07 09:39:39 -01:00
Morten Christensen
ad36595b96
Refactoring remaining repositories using the standard sql builder to use stronly typed queries for generating sql.
...
This completes U4-1224
2013-01-04 11:01:20 -01:00
Morten Christensen
f534a671df
Refactoring MediaTypeRepository to use strongly typed query for generating sql.
2013-01-04 10:48:49 -01:00
Morten Christensen
46fb8fca81
Refactoring ContentTypeRepository, MediaRepository and DataTypeDefinitionRepository to use strongly typed queries for generating sql.
...
Adding a few unit tests to ensure the correctness of the generated sql.
2013-01-04 10:42:29 -01:00
Morten Christensen
73530b10ae
Refactoring ContentRepository to use strongly typed query for generating sql.
2013-01-04 09:23:20 -01:00
Morten Christensen
9520f2d570
Fixes how PropertyTypes are removed from a DocumentType or MediaType when using the backoffice.
2013-01-03 15:16:17 -01:00
Morten Christensen
78d6cac14a
Cleaning up how MasterContentTypes are used to load inherited propertytypes in the backoffice.
...
Fixing the loading of tabs on DocumentTypes in backoffice.
Adding check for saving boolean property values in the Integer db column.
2013-01-03 13:19:41 -01:00
Morten Christensen
f70f72f3e0
Merge
2013-01-03 10:13:40 -01:00
Morten Christensen
4639be974b
Fixes U4-1367 so media recycle bin shows trashed media and is actually able to empty it by permanantly deleting the items.
2013-01-03 09:59:26 -01:00
Sebastiaan Janssen
4166cd9f5d
Extra checks for empty strings and non-existing paths, use PhysicalFileSystem
2013-01-03 09:48:29 -01:00
Morten Christensen
c7e8143128
Adds IUmbracoEntity to the structure of interfaces for ContentBase, ContentTypeBase and DataTypeDefinition.
2013-01-03 08:30:38 -01:00
Shannon Deminick
e0550a9a57
Fixes: #U4-1381 - LogHelper is public. Obsoletes 'Custm' log type and ensures that they are written to the log4net log too (though
...
they will continue to write to the audit trail until it is removed)
2013-01-03 02:08:29 +03:00
Morten Christensen
84c564dbc5
Merge
2013-01-02 14:28:40 -01:00
Morten Christensen
169db0c15f
Fixes U4-1368 so the FileHandlerData doesn't handle setting properties for Document and Media.
...
Properties using the UploadField will have its value as well as related values updated in a BeforeSave event.
2013-01-02 14:28:15 -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
Sebastiaan Janssen
a47f566fb0
Move assemblyversion to UmbracoVersion, where it belongs
2013-01-02 08:57:40 -01:00
Sebastiaan Janssen
2e5ba0b1e4
Set the providername as well when updating the connection string
2013-01-02 07:21:08 -01:00
Sebastiaan Janssen
f251017c5d
U4-1376 fix the GlobalSettings.DbDsn setter for backwards compatibility
2012-12-31 12:28:38 -01:00
Sebastiaan Janssen
2b532f72c3
U4-1376 Remove redundant connectionstring
2012-12-31 12:15:46 -01:00
Morten Christensen
f4706fcfb7
Fixes U4-1370 for ContentTypes thats loading using new api meaning that the fix only applies to Content and Media, but currently not Members.
...
For Members there is still an issue with MasterContentTypes, as the full structure is not loaded. Need to make the sql lookup recursive-
2012-12-30 18:26:08 -01:00
Morten Christensen
f794730118
Merge
2012-12-30 07:17:48 -01:00
Morten Christensen
b3b23e736b
Restructering strategies in folders
2012-12-30 07:17:04 -01:00
Shannon Deminick
746c2b960b
Merge
2012-12-30 03:11:42 +03:00
Shannon Deminick
a7834b45da
Created UmbracoAuthorizeAttribute, UmbracoAuthorizedController for all base MVC controllers that required a back office user to be logged in.
...
Converted over the SaveTemplate and SavePartialView methods of the codeEditorSave legacy web service to use MVC services and marked them obsolete.
Created a generic route to route all controllers found in the namespace Umbraco.Web.WebServices. Added a 'Url' property on the BasePage webforms class
to expose a UrlHelper for use in views. Created UrlHelper extensions to easily get the base url path of the REST MVC web services.
Converted the EditView page and JavaScript to use the new REST services with jQuery instead of crappy MS ajax.
2012-12-30 03:11:21 +03:00
Shannon Deminick
dbe9c6a2a9
Fixes: #U4-1360 - full names of tree types in config.
...
Updates: #U4-1303 - basic UI support for partial view macros.
2012-12-30 00:59:25 +03:00
Morten Christensen
782c23588c
Adding a simplified implementation of PetaPoco's IMapper, which is used to correct an issue with inserting nullable dates in the db.
2012-12-29 18:53:13 -01:00
Morten Christensen
655964f11b
Fixing up a few path issues after having changed FullpathToRoot in GlobalSettings.
...
Corrected the path concat of path + web.config file.
2012-12-29 18:18:49 -01:00
Morten Christensen
bcccc37f93
Changing t.GetAllProperties back to original t.GetProperties to avoid the use of binding flags, which is no longer necessary after having refactored the querying.
2012-12-29 18:17:16 -01:00
Morten Christensen
8999db6362
Refactoring ExpressionHelpers and querying to seperate the mapping used for our Database DTOs and Public Model.
...
Adding a MediaTypeMapper similar to the ContentTypeMapper, but type specific.
The PetaPoco IMapper implementation is removed as its no longer needed.
Updating a few unit tests, as the Where clause is now correctly formatted.
Adding unit tests for the new ExpressionHelper and MappingResolver classes.
2012-12-29 17:34:42 -01:00
Morten Christensen
3955f78966
Removing the camel case enforcement on the Alias of ContentTypes and MediaTypes in the new api.
2012-12-29 11:12:29 -01:00
Morten Christensen
56e2a89199
Adding a few new test cases to verify that AllowedChildContentTypes are saved correctly on ContentTypes and MediaTypes.
2012-12-29 11:11:09 -01:00