Commit Graph

3452 Commits

Author SHA1 Message Date
Sebastiaan Janssen
8ef6ca73f6 Merge with 4.11.2 2012-12-28 09:02:45 -01:00
Sebastiaan Janssen
1e4361ed2f Merge with 6.0.0-LegacyApi-Refactor 2012-12-28 08:45:40 -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
0d4de7d585 Merge 2012-12-27 18:52:59 -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
Sebastiaan Janssen
bf78334290 Realized I was doing the added Save in the wrong place 2012-12-27 17:53:23 -01:00
Sebastiaan Janssen
c97085f9bb Fix errors and wrong display of subnodes under and unpublished node showing as
published. Also fixes error message where it says on the subnode:
This document is published but is not visible because the parent '???' is unpublished
2012-12-27 17:29:54 -01:00
Sebastiaan Janssen
e10cb56502 Previous fix didn't work if you don't Save() the document +don't publish copies. 2012-12-27 16:08:24 -01:00
Sebastiaan Janssen
140c1db66a Fixing umbEnsureUniqueName not being ran for a document copy 2012-12-27 15:39:37 -01:00
Sebastiaan Janssen
9b6677c7c7 Clean up this code a little bit 2012-12-27 14:42:49 -01:00
Sebastiaan Janssen
77f279eb53 Make move from recycle bin work again, pretty hacky 2012-12-27 13:42:31 -01:00
Shannon Deminick
116a87f5c5 Updated an error logging call in the Log class. Changed the redirected logging to use the lazy overload in case Info isn't enabled in the config. 2012-12-27 17:22:08 +03:00
Sebastiaan Janssen
c508a2e4a8 Clean up this ugly code a little bit 2012-12-27 12:14:08 -01:00
Sebastiaan Janssen
2f8ac81fab Fix a typo 2012-12-27 12:04:00 -01:00
Sebastiaan Janssen
ef32ed50c4 Fix sorting 2012-12-27 12:03:51 -01:00
Sebastiaan Janssen
5e4c4ae57c Fixes U4-1347 Can't enter backoffice of V6 with IE9 2012-12-27 11:21:38 -01:00
Sebastiaan Janssen
dbb03b79e4 Merge 2012-12-26 15:25:43 -01:00
Sebastiaan Janssen
c4103baaf8 Clean up Log class a bit 2012-12-26 15:22:28 -01:00
Sebastiaan Janssen
23c8348ab9 U-7 Only Audit Logs should go to UmbracoLog, the rest goes to LogHelper 2012-12-26 15:17:30 -01:00
Morten Christensen
5b1ce5fe67 Merge 2012-12-26 14:45:10 -01:00
Morten Christensen
dbce36b7a5 Adding migrations for v6 upgrades.
Updating and testing migrations.
2012-12-26 14:44:42 -01:00
Sebastiaan Janssen
fae949145e Remove more non-audit logtypes for U4-7 2012-12-26 14:39:27 -01:00
Sebastiaan Janssen
16289b8f2d U4-7 - Finish logging refactor 2012-12-26 11:59:51 -01:00
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
Morten Christensen
a8bbefc6f1 Merge with 6.0.0-Repository-Resolvers-refactor 2012-12-21 08:26:20 -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