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
Morten Christensen
3e47d38a71
Adding missing directory seperator in FullpathToRoot.
...
Changing Umbraco.Core to use the SqlCe assemblies from the nuget package instead of those in the GAC, as that could cause problems for the build of the Umbraco.Core.dll.
2012-12-28 20:51:08 -01:00
Morten Christensen
c98d906f36
Correcting a few formatting issues after importing patch.
2012-12-28 19:08:01 -01:00
Morten Christensen
e198f76356
Committing changes from randy.mccluer's pull request
2012-12-28 19:03:15 -01:00
Morten Christensen
34c90e6e72
Removing redundent EventArgs class.
2012-12-28 17:55:00 -01:00
Shannon Deminick
6a84b6dc7a
Merge
2012-12-28 19:36:05 +03:00
Shannon Deminick
e9af1cb865
Fixes #U4-1048 - package installer cleanup, etc...
2012-12-28 19:34:57 +03:00
Morten Christensen
fe595093f0
Merge
2012-12-28 14:48:21 -01:00
Morten Christensen
5dbcfa57a8
Implements the new publish and unpublish events in the PublishingStrategy.
...
Making the PublishStrategy public, so that its possible to subscribe to the events.
Removing the old PublishingEventArgs, which is no longer used.
Correcting a few comments.
2012-12-28 14:47:09 -01:00
Shannon Deminick
6c325f565d
Merge
2012-12-28 18:32:26 +03:00
Shannon Deminick
020fa577f0
Fixes: #U4-1357 - more properties to expose context objects on SurfaceController and RenderMvcController base classes.
2012-12-28 18:31:10 +03:00
Morten Christensen
194d241b02
Adding Publish and UnPublish EventArgs
2012-12-28 14:15:12 -01:00
Morten Christensen
3ae5aa7195
Refactoring nodeSorter to utilize the changes made to the legacy/new api refactor.
...
Making a few of the public properties on CMSNode virtual, so we can override them in the Document and Media classes, which allow us to use the new api for saving changes to these properties instead of having them saved directly to the database.
2012-12-28 13:40:35 -01:00
Morten Christensen
8338102944
Reverting use of DateTime.UtcNow to DateTime.Now in the new api.
2012-12-28 10:43:34 -01:00
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