Commit Graph

420 Commits

Author SHA1 Message Date
sitereactor
347bf3fabf Implements a basic version of the MacroService for U4-940
Adding a static ServiceFactory class for easy access to the various services in a non-singleton way.
Adding a Resolver for MacroPropertyTypes.
Updating the CoreBootManager and PluginManager to include the MacroPropertyTypeResolver.
2012-10-30 09:25:28 -01:00
sitereactor
81aedbd9dd Merge with 4.10.0 2012-10-29 14:40:02 -01:00
sitereactor
0c4c429b68 Implements U4-943 to the extent its currently possible.
Refactoring publishing methods in the ContentService.
Adding tests for the QueryBuilder.
2012-10-29 14:28:16 -01:00
Stephan
be3f95610b U4-1081 - treat missing template at 404 2012-10-29 12:35:39 -01:00
sitereactor
c20072c01d Merge with 4.10.0 2012-10-29 09:55:33 -01:00
sitereactor
960ae22271 Adding convention to column naming for table creation.
Adding DatabaseContext hooked up to UmbracoContext and initialized through the CoreBootManager.
Adding constant for ConnectionString name in GlobalSettings.
2012-10-29 09:49:31 -01:00
Stephan
f9aa4b28af U4-889 - cancelling publish via an event caused a JavaScript error 2012-10-29 07:48:45 -01:00
Stephan
232c2292cb U4-1093 - fail to publish a node w/new content type
the way we added the new content type to the schema just could not work
also, stop reloading the whole XML from DB because the schema changes
2012-10-28 19:35:19 -01:00
Stephan
80dca1e3f2 U4-1089 - non-ascii chars in urls cause 404 2012-10-28 11:58:48 -01:00
Stephan
47b6f7f4d5 fix U4-1087 : preview badge does not show 2012-10-28 10:58:56 -01:00
pgregorynz
9738227189 Making the CTOR for UmbracoHelper public so it can be newed up for other uses 2012-10-25 14:18:53 -10:00
Shannon Deminick
6bf3a7a74a Merge 2012-10-26 03:01:21 +05:00
Shannon Deminick
07f8f79620 Fixes: #U4-1077, found an bug with both our code and Microsoft's code in that if you RemapPath with an incorrect URL which contains
2 '?' the internals of ASP.net actually force a secondary internal request which causes BeginRequest to fire but doesn't follow the normal
chain of the module. It was a bug with our code having two query strings, however its pretty strange behavior on their part!
Have removed UmbracoContext.ClientUrl since it is not necessary to have. Have renamed UmbracoContext.UmbracoUrl = CleanedUmbracoUrl and UmbracoContext.RequextUrl = OriginalRequestUrl
Have moved the route processing logic to a static method on PublishedContentRequest which auto assigns the request back to the UmbracoContext, plus this is a cleaner
way to do the processing, including allowing us to unit test this one aspect.
Lastly, we are now rewriting the path back to the original URL in the RenderRouteHandler so that in MVC controllers the HttpContext.Request actually
reflects the URL that the client requested, not the rewritten URL (we do this in webforms too)
2012-10-26 02:55:57 +05:00
sitereactor
3e6c56a394 Merge with 4.10.0 2012-10-25 18:39:33 -02:00
sitereactor
9fd23a4bc3 Merge 2012-10-25 18:39:11 -02:00
sitereactor
07b5f6983f Refactoring the creation of database schema and base/default data creation.
Adding extension method to get all properties for interfaces in PetaPoco used for mapping.
Creating ServiceContext and adding it to the UmbracoContext to provide access to the various services.
Adding UmbracoContext to BaseDatabaseFactory test.
2012-10-25 18:38:23 -02:00
Hendy
51d08a353c U4-1084: media file links now updated after save 2012-10-25 14:33:50 -01:00
Hendy
982825dd56 Merge 2012-10-25 14:01:14 -01:00
NielsHartvig@UMBRACORATI.localdomain
c8c4e2437b Implements U4-1022: Request: Disable Canvas mode by default 2012-10-25 13:00:31 -02:00
Hendy
1970b20eb9 Merge 2012-10-25 14:00:10 -01:00
Hendy
a5499cff26 U4-1080 - updateDate value for media item pulled from it's xml fragment (as only verison in db for media is the created version) 2012-10-25 13:59:48 -01:00
Stephan
6ffc231be0 bugfix UriUtility when running in a virtual directory 2012-10-25 12:28:33 -02:00
Stephan
62a48df421 bugfix NiceUrlProvider when running in a virtual directory 2012-10-25 12:14:21 -02:00
NielsHartvig@UMBRACORATI.localdomain
946f905885 Fixes U4-1079, Installer database step gives no error on failure 2012-10-25 10:30:08 -02:00
Sebastiaan@SEBTHINK
55d4a7e367 Merge 2012-10-25 08:53:41 -02:00
NielsHartvig@UMBRACORATI.localdomain
33e73ab965 Fixes U4-802, MacroEngine should sort the built in engine first 2012-10-25 08:37:55 -02:00
niels.kuhnel
40c6b53b9e Merge 2012-10-25 08:23:58 -02:00
NielsHartvig@UMBRACORATI.localdomain
4cf2035039 Fixes U4-862, Hide Preview Button and "Link to Document" on content nodes that are not intended for display (e.g., those that have no templates) 2012-10-25 07:55:34 -02:00
Ismail Mayat
e4f3081da2 U4-998 Saving a User Type - speech bubble says "User Saved" 2012-10-25 08:21:47 -01:00
sitereactor
79488a43da Fixing some naming conflicts after merge 2012-10-24 12:41:37 -02:00
sitereactor
cf7e63ad04 Merge with 4.10.0 2012-10-24 12:39:56 -02:00
sitereactor
a9bc0addfb Implements ILocalizationService for U4-1075
Refactoring DictionaryItem, DictionaryTranslation and Language to use the same interface implementations as the rest of the db driven repos and services.
2012-10-24 12:22:52 -02:00
sitereactor
da0ab7b76a Implements IFileService for U4-939
Updates TemplateRepository to treat the passed in string as an alias for a template that could be a master or a view.
2012-10-24 11:29:51 -02:00
sitereactor
d82e9848da Implements IDataTypeService for U4-938
Refactoring base ContentType Repository and its implementations to allow for queries against PropertyType - still needs testing though.
Adding mappers for PropertyGroup and PropertyType models, so they are usable for queries.
2012-10-24 10:49:08 -02:00
sitereactor
ce6aeb2a21 Implements MediaService for U4-941
Minor update to the ContentType/MediaType repositories to insure that CT references are removed when deleting.
Updates Media- and ContentMappers to map ContentTypeId.
Updates Media to have internal Trash-method.
2012-10-24 08:36:45 -02:00
sitereactor
2185da597f Implements IContentTypeService U4-937
Adding an IService marker interface.
Adding extension methods to UmbracoContext to expose the services.
2012-10-24 07:25:37 -02:00
sitereactor
3ef0e302c3 Implements the Property method on the Stylesheet class, so it can be used from the backoffice.
Completes U4-934
2012-10-24 06:42:04 -02:00
Shannon Deminick
e3f9375fd2 changes template creator to use new UmbracoTemplatePage class instead of RenderViewPage 2012-10-24 11:10:27 +05:00
Shannon Deminick
cbd8085675 Merge 2012-10-24 11:06:31 +05:00
Shannon Deminick
a9d6c7872a Changed the PublishedContentRequestBuild to use the cached template lookup instead of going to the db each time,
added caching to the business logic template class's GetByAlias method. All of this will save db queries for each request meaning even
faster rendering. Fixed GetTemplateAlias extension method to use the correct Template class with caching.
2012-10-24 11:02:36 +05:00
Shannon Deminick
d4d4272b1b Moved RenderModel to Models namespace. Created new base UmbracoViewPage to use for umbraco partial views, etc... and renamed
RenderViewPage to UmbracoTemplatePage which now inherits from UmbracoViewPage. Added NiceUrl and NiceUrlWithDomain as extension
methods to IPublishedContent.
2012-10-24 09:59:23 +05:00
Sebastiaan Janssen
e9aef79747 Member search didn't work
#U4-643 Fixed
2012-10-23 18:38:27 -02:00
sitereactor
013513b439 Creating IContentTypeService interface as the foundation for U4-937 2012-10-23 12:49:48 -02:00
Sebastiaan Janssen
258d19df22 Remove Container DocTypes for now 2012-10-23 10:40:22 -02:00
Stephan
c434790b2f do not validate input when live editing to support RTE 2012-10-23 09:05:57 -02:00
Sebastiaan Janssen
7309c7c02f Templates that have a space in the alias will be created without spaces in the
file name, when determining if the template exists, remove spaces from the alias
2012-10-22 10:36:54 -02:00
Stephan
b0e083e8fc refactor nice urls in editContent (U4-1017 and other issues) 2012-10-19 08:50:49 -02:00
Morten@Thinkpad-X220
0c34b1a4ef Merge with 4.10.0 2012-10-18 11:54:32 -02:00
Sebastiaan Janssen
f654c67540 Fix skin configurator in Chrome not working after install. 2012-10-18 07:41:24 -02:00
Shannon Deminick
5aee883bd2 Added TypedSearch methods to UmbracoHelper and Search extension methods to the IPublishedContent.
Added GetTemplateAlias() extension method to IPublishedContent and to DynamicPublishedContent.
2012-10-18 08:00:07 +05:00