Stephan
d82cbfccc5
remove a ref to requestHandler, fix DefaultRoutesCache management
2012-09-28 09:04:49 -02:00
Stephan
3ed1b4c77d
remove unused setting option
2012-09-28 08:14:01 -02:00
Stephan
6c4869f931
merge
2012-09-28 07:08:37 -02:00
Stephan
b0e336e01f
routing, fix "no content" splash, fix "no template" handling, fix redirects
2012-09-28 07:04:33 -02:00
Shannon Deminick
05bdd42567
Fixes issue with UmbracoHelper in back office when there is not Document.
...
Adds another overload to BeginUmbracoForm.
2012-09-28 08:08:36 +07:00
Stephan
d8c2a71531
bugfix document.GetPropertyValue and object.TryConvertTo
2012-09-27 15:41:24 -02:00
Stephan
a469e3dbe3
fix base/rest service - cleanup + new config file
2012-09-27 15:37:21 -02:00
PerPloug
b8b951f094
Missing UmbracoSettings change in umbraco.core
...
IOHelper in umbraco.core
Both related to mvc views in template tree
2012-09-27 06:30:59 -02:00
PerPloug
c409cfa421
Create/Ui.xml file for templates
...
umbracoSettings.config file
2012-09-27 06:29:41 -02:00
PerPloug
9f7814591e
Adds Seperate View Editor for mvc templates
...
Changes the template tree to look for existing views
to override the .master
2012-09-27 06:24:04 -02:00
PerPloug
2c995f7fa7
Moves masterpage and view creation away from the template
...
class and into seperate helpers.
2012-09-27 06:23:09 -02:00
PerPloug
7e5db90b3b
Adds IO Helper overload for the views and masterpages
...
Adds UmbracoSettings to toggle mvc templating support
2012-09-27 06:21:59 -02:00
Shannon Deminick
f7f83bc057
Changed IPublishedContentStore and IPublishedMediaStore back to internal as we don't need to expose these yet. Instead have added
...
an UmbracoHelper property to the PluginController class which will expose any methods needed by devs to retreive media or content.
Have updated UmbracoHelper with loads of new helpful methods and moved the Wrap methods to HtmlHelper extensions because this is purely to
do with rendering html (have written unit tests for it too).
Updated some 'library' methods to proxy calls to UmbracoHelper so we only have to maintain one set of code.
Added a convenience property to UmbracoContext to return the current NiceUrlProvider so you don't have to go through the RoutingContext to get it.
2012-09-27 08:30:35 +07:00
Shannon Deminick
530e7ae44e
removed ref to missing template file
2012-09-27 07:06:14 +07:00
Stephan
126044cd48
bring back scheduled tasks - #U4-809
2012-09-26 12:51:27 -02:00
Sebastiaan Janssen
f76e90990f
Include packages.config anyway, just tell it to not output in the build
2012-09-26 11:58:52 -02:00
Sebastiaan Janssen
587542ace7
The build.bat file now won't exit when there's an error so you can inspect it, if there's no errors it will just exit
...
Excluded missing index.cshtml file from project (was giving build error)
2012-09-26 06:48:11 -02:00
Shannon Deminick
d3676b376d
Removed test route
2012-09-26 13:59:24 +07:00
Shannon Deminick
53a3ad24e6
comments out test surface controllers for now
2012-09-26 13:44:23 +07:00
Shannon Deminick
05add96294
Ensures web.config includes new namespace reference
2012-09-26 13:43:47 +07:00
Shannon Deminick
9b5fd3d67b
Merge
2012-09-26 13:42:44 +07:00
Shannon Deminick
5ece0b5af0
Surface controllers now auto-routing, both locally declared and plugin types (which require a [PluginController] attribute and an Area Name assigned).
...
BeginUmbracoForm working for both local and plugin SurfaceControllers. SurfaceController class now inherits from PluginController which exposes all things a dev would
need including making IPublishedContentStore and IPublishedMediaStore public which can be accessed simply by properties on the controller.
Updated web.config for views to include Umbraco.Web namespace for all of our helper methods.
BeginUmbracoForm now has many more overrides for which you can specify a type or a generic type (we no longer require GUIDs :)
2012-09-26 13:42:03 +07:00
Shannon Deminick
332b42aa49
Changed how surface controllers are routed: because we don't load plugins in via App_Plugins/[PackageName] like we did in v5 which meant that we can autoroute all plugin controllers with their own areas, in v4 we have to do something different.
...
Instead (because we still want areas), we have an attribute called PluginControllerAttribute which allows a dev to assign an area name as a string. A package developer should always ensure that all of their plugin controllers are assigned to the same
area. This also lets us get rid of the GUID id part of the plugin (hopefully we can leave it out, just need to run some tests). Since we have areas, package devs can then put their views into
their own folders and not clutter up the local devs ~/Views folder. Perhaps we use App_Plugins/[PackageName] for the views like we did in v5 but need to ask on the mail list. Otherwise it will be the standard MVC:
~/Areas/[AreaName]/Views which will still also clutter up the local devs view folder if they are using Areas.
2012-09-26 11:04:07 +07:00
Sebastiaan Janssen
97472c6ce6
Ignore file excluded the web.config file in the views folder, which is why the build failed, not because it wasn't included
2012-09-25 11:56:33 -02:00
Sebastiaan Janssen
48a3a920d2
Web.config file was not included, making the build fail
2012-09-25 11:53:27 -02:00
Shannon Deminick
7b7e3b82f1
Started adding tests for surface controller routing. They are working but not quite correctly yet.
2012-09-25 13:33:47 +07:00
Shannon Deminick
0b7f04ab37
Added all code to support auto-routing surface controllers and started implementing the code for
...
BeginUmbracoForm.
2012-09-25 13:09:59 +07:00
Shannon Deminick
083b18139a
Adds code to RenderViewEngine to ensure the /Views folder exists and also that the razor web.config file exists there too.
...
I've also added this web.config file to the sln so it should output in the build by default though it will still be created automatically if
its not there.
2012-09-25 11:20:05 +07:00
Shannon Deminick
1bc3943f33
Fixes: #U4-894 - moves the int Priority out of the IThumbnailProvider class as it is only metadata, moved
...
this into a new generic WeightedPluginAttribute which can be used for other resolves/objects that require a weight.
2012-09-25 11:06:32 +07:00
Hendy@Blueberry
449613de3e
updated check for uQuery.IGetProperty
...
added XPathCheckBoxList return obj for uQuery .GetProperty<T>("alias")
2012-09-24 20:54:26 -01:00
Stephan
7d8ec2678c
initialize Umbraco sooner in the request pipeline
2012-09-24 12:49:36 -02:00
Stephan
12c0ce258b
fixing routing + add Lookup tests
2012-09-24 12:10:25 -02:00
Stephan
42317ec207
merge
2012-09-24 11:37:55 -02:00
Stephan
343c14db48
fixing routing, 404, domains + add NiceUrl and UriUtility tests
2012-09-24 11:36:25 -02:00
Hendy@Blueberry
2fcb9d7b30
added uQuery.IGetProperty - allows GetProperty<T> extension methods to pass T hydration to a method in T
2012-09-23 10:34:39 -01:00
Sebastiaan Janssen
ccbcb991b1
Text for Alias is changed to Alternative link
...
#U4-891 Fixed
2012-09-22 12:14:42 -02:00
sebastiaan
33f4da875a
Additional fix for #U4-306 - click to the right of the node still collapsed the tree
2012-09-22 10:54:22 -02:00
sebastiaan
0549e39a00
The ClientDependency and ExamineIndexes folder are not needed in /App_Data any more
...
They are automatically generated in /App_Data/TEMP
2012-09-22 10:34:03 -02:00
Shannon Deminick
6fb0fc643b
Merge
2012-09-21 23:54:31 +07:00
Shannon Deminick
8824579dac
Made IThumbnailProvider public which fixes 4.10 loading them, plus now people can make their own :)
...
However, I'd like to move the Priority flag onto an attribute instead of part of the interface because it
is metadata and not functionality of the class itself. Will make a tracking issue for it.
2012-09-21 23:54:14 +07:00
Stephan
94b6a9df8d
fix base/rest service - loading assemblies & caching methods
2012-09-21 10:10:03 -02:00
Stephan
cb8a8b997f
bugfix TypeFinder.GetAllAssemblies duplicate App_Code
2012-09-21 10:01:51 -02:00
Casey Neehouse
fe99c22022
Merge
2012-09-21 01:56:19 +04:00
Casey Neehouse
0225047a52
Removes .ChildNode calls for .SelectNodes() with correct element selection. Allows comments in configuration.
...
Also updates some Macro Properties to work with new schema.
2012-09-21 01:53:43 +04:00
sebastiaan
d89a24d96b
Tree disappears if you click slightly below the root node
...
#U4-306 Fixed
2012-09-20 17:02:07 -02:00
sebastiaan
c5535ddbc2
Improved SafeFileName method to include all valid characters as listed by RFC 3986 section 2.2 Reserved Characters (January 2005) and character data chars that could be ambiguous
...
Now characters like Chinese characters are allowed in the filenames, which addresses the issue below
#U4-885 Fixed
2012-09-20 16:46:55 -02:00
Stephan
3a21d48dbc
merge
2012-09-20 14:38:08 -02:00
Stephan
ea8ff709c2
further refactor base/rest service into Umbraco.Web
2012-09-20 14:37:23 -02:00
sebastiaan
eb9937c33a
Packages.config should not be included in the project as it shouldn't be in the builds
2012-09-20 10:24:56 -02:00
sebastiaan
777c7dd683
Update to 4.10.0 for the nuspec files as well
2012-09-20 09:16:03 -02:00