Commit Graph

28629 Commits

Author SHA1 Message Date
Sebastiaan Janssen 30cf0e2040 Add some logging to PhysicalFileSystem 2012-12-26 06:49:54 -01:00
Sebastiaan Janssen 48d620cdb0 Cleanup RTE ImageHelper a little bit, still bad code but more readable now 2012-12-26 06:27:30 -01:00
Sebastiaan Janssen 3bd487d092 Fixed #U4-1323 Stripping umbraco path out of source is not needed any more 2012-12-26 05:54:34 -01:00
Sebastiaan Janssen 6c8c37256b Cleanup media uploader in RTE a little 2012-12-26 05:50:48 -01:00
Sebastiaan Janssen 37b1fcbaf0 Fix image uploader in RTE, when used in VDir it returns the right path now
no need for relative path hacks
2012-12-26 05:49:03 -01:00
Shannon Deminick e867f89ba2 Fixes PetaPoco to support Medium trust. 2012-12-26 04:16:49 +03:00
Sebastiaan Janssen dc111768e3 Slight MediaFactory refactors, mostly to fix issue U4-1344 where files wouldn't
upload if the "magic" umbraco props don't exist (witdth, height, bytes)
2012-12-23 11:46:04 -01:00
Shannon Deminick 4cdd454461 Merge 2012-12-22 01:43:30 +03:00
Shannon Deminick 3a622e6241 Fixes: #U4-1215, #U4-1287 2012-12-22 01:40:33 +03:00
leekelleher 6589d5d5d3 MNTP: Fixed an long-time CSS bug. Aligned the header with the right-panel. 2012-12-21 15:58:02 +00:00
Morten Christensen 39e2314102 Correcting merge issues.
Fixing reset of published state in ContentRepository.
Correcting Querying tests after spacing has changed a bit.
2012-12-21 09:45:34 -01:00
Morten Christensen d816ac1125 Merge with 6.0.0 2012-12-21 08:38:43 -01:00
Shannon Deminick 446ff0591b Adds Deleting/Deleted events to the EmptyRecycleBin methods of Content/Media services. 2012-12-21 07:42:37 +05:00
Shannon Deminick 2644c069ae Removed collection saving/deleting events from ContentTypeService in place of one standard saving/deleting events
handlers containing args with enumerables (like content and media services)
2012-12-21 07:24:12 +05:00
Shannon Deminick 9f9afe2ee6 Converted over SendToPublishEventArgs to new events. 2012-12-21 07:20:39 +05:00
Shannon Deminick d0769cef0f Removed SavedCollection/SavingCollection events and just changed the SaveEventArgs and DeleteEventArgs to have enumerables.
Changed the base CancellableObjectEventArgs to have a protected property so inheritors can just expose the 'T' object as their own
better name.
2012-12-21 07:17:27 +05:00
Shannon Deminick 9cf86d7677 Manually fixed merge with MediaService. 2012-12-21 06:59:30 +05:00
Shannon Deminick 91a8fd7369 Manually fixed merge with ContentService and new events. 2012-12-21 04:59:51 +05:00
Shannon Deminick 18814d8dc6 Merge with 6.0.0 2012-12-21 04:42:22 +05:00
Sebastiaan Janssen 2d68f3547a Merge 2012-12-20 16:24:10 -01:00
Sebastiaan Janssen 9334f55fa6 When trying to query the umbracoApp table, check if it exists first
In the package installer, after creating a docType, also save it (now required)
In DocumentType, use the whole contentType to new-up a docType and check if the
allowedtemplate isn't null
Properties can have empty strings as values, can't convert those to int/datetime
Seperator character in ExpressionHelper was string.Empty, got malformed queries
2012-12-20 16:20:56 -01:00
Morten Christensen 5fa03b7f52 Adding PersistDeletedItem overload to MediaRepository to ensure that files saved in the Upload control are deleted.
Adding missing Delete statement to MediaTypeRepository.
2012-12-20 14:38:22 -01:00
Morten Christensen 8b5a85d98f Removing comments and old code from DocumentType class. 2012-12-20 14:33:45 -01:00
Morten Christensen 9f2d41286c Fixing MasterContentType for DocumentTypes.
Adding ParentId "listener" to the repositories that uses ParentId, so we can ensure that the path is updated correctly.
Fixing how AllowedTemplates are saved upon creation of a new DocumentType.
Ensuring DocumentType.Save is called when creting a new DocumentType.
Fixing Publish/RePublish of Content with previously published children.
Removing UpdateDocumentCache in the save event of editContent.aspx.cs as its now handled in the new api.
Rewiring template methods on DocumentType class to use the new api.
2012-12-20 14:29:08 -01:00
Sebastiaan Janssen e6975a71d5 Additional fix for U4-1312 Cant publish child node, because parent not published
When you unpublish a node which it's descendants also get unpublished, but as
soon as you publish the parent node again, they don't end up in the XML cache
any more, leading to this error again. Now putting all previously published
documents back into the XML cache when the parent gets published
2012-12-20 14:05:28 -01:00
Sebastiaan Janssen 33b497e5f4 Additional fix for U4-1341 - nodes should appear dimmed when unpublished, but
they appeared as changed (and not dimmed, therefore looked published)
2012-12-20 13:42:30 -01:00
Sebastiaan Janssen 21667cb278 Merge 2012-12-20 11:57:50 -01:00
Morten Christensen 3fd1732cb0 Merge 2012-12-20 11:39:10 -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
Sebastiaan Janssen 6a05c4d968 Merge with 6.0.0 2012-12-20 09:49:39 -01:00
Sebastiaan Janssen ea35ac570e Merge with 4.11.2 2012-12-20 09:43:09 -01:00
Sebastiaan Janssen c5e7c81c19 Notification and tree refresh when unpublishing content 2012-12-20 09:25:50 -01:00
Morten Christensen 9d55fed6e7 Adding method to DataTypeService, which allows the retrievel of PreValues for a specific DataTypeDefinition.
Updaitng ContentExtension to use configured thumbnail sizes for Upload-DataTypes.
2012-12-20 09:06:08 -01:00
Morten Christensen b368debfb4 Adding extension to IContent and IMedia that allows you to set a HttpPostedFile, HttpPostedFileBase or HttpPostedFileWrapper as the value for a property. 2012-12-20 08:53:28 -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 1b465ca709 Merge with 6.0.0 2012-12-19 12:15:34 -01:00
Morten Christensen 9af1f5842c Updating ApplicationTreeRegistrar to check for table before looping through it.
Updating schema creation to not include the umbracoApp and umbracoAppTree tables.
2012-12-19 12:14:49 -01:00
Morten Christensen 271794ca40 Updates the Database step in the installer to not use the legacy sql install utility. 2012-12-19 10:35:01 -01:00
Sebastiaan Janssen 97f759b658 Forgot to add the new image file, oops! 2012-12-19 10:34:06 -01:00
Morten Christensen 2952990ad4 Refactoring the legacy base ContentType class to better allow the usage of both new and old api.
A few of the shared properties are now saved by the new api for DocumentType and MediaType, whereas the MemberType still uses the old style.
2012-12-19 10:13:56 -01:00
Sebastiaan Janssen 47d1fe7082 Fixed U4-703 - Updating or re-installing package causes duplicate trees 2012-12-19 09:05:23 -01:00
Morten Christensen 3742a0b731 Refactoring legacy MediaType class to use new public api.
Adding remove Template method to new ContenType class.
2012-12-19 08:50:35 -01:00
Morten Christensen 2535438978 Starting refactor of DocumentType, MediaType and the base ContentType class. 2012-12-18 14:50:26 -01:00
Morten Christensen d8da990080 Refactoring legacy Media to use new Public API. 2012-12-18 13:55:19 -01:00
Morten Christensen bae4352e77 Refactoring the saving of properties, so that its consistent for Content, Media and Member that all use the ContentControl.
Adding a clear cache call in the MediaType and DocumentType Save method to ensure the correct loading of properties/propertytypes.
Adding IsPublishable method to ContentService, so we have a way to check if a content can be published depending on the state of the ancestors.
2012-12-18 11:46:05 -01:00
Emil Christiansen a87304a55d Fixed so the css paths is relative 2012-12-17 18:11:08 -01:00
Morten Christensen 806c2a7ea4 Refactoring legacy Content, Property and propertytype though still a WIP. 2012-12-17 15:07:08 -01:00
Morten Christensen 9420a858c8 Merge with 6.0.0 2012-12-17 14:03:42 -01:00
Morten Christensen d9881a5530 Adding stubs for membership classes - keeping it internal for now as implementation will come at a later stage. 2012-12-17 14:01:29 -01:00