Commit Graph

4209 Commits

Author SHA1 Message Date
Suha Can
1d316b321c Fixing the remaining SpecFlow tests to work with the new setup.
--HG--
branch : recipe
2011-02-22 17:28:21 -08:00
Suha Can
4a606ae6f4 Adding a default recipe and making the recipe choice optional in setup.
--HG--
branch : recipe
2011-02-22 15:31:38 -08:00
Suha Can
5e457de1f6 Updating specflow test case.
--HG--
branch : recipe
2011-02-22 11:49:24 -08:00
Suha Can
882998b907 Little more cleanup, moving/removing things around module/theme step handlers.
--HG--
branch : recipe
2011-02-22 11:24:10 -08:00
Suha Can
68adf48809 Update recipe file.
--HG--
branch : recipe
2011-02-21 19:28:26 -08:00
Suha Can
45a8522469 Cleanup and refactor module/theme recipe step handler code.
--HG--
branch : recipe
2011-02-21 18:06:56 -08:00
Suha Can
241f0ba372 Download/install theme from the feed in recipes.
Enable/set current if specified.

--HG--
branch : recipe
2011-02-21 17:32:00 -08:00
Suha Can
9148ce1515 Module installation from a feed.
--HG--
branch : recipe
2011-02-21 16:25:29 -08:00
Suha Can
b7a54d8687 Fixing a bug in the journal by working around the fact that IStorageFile:OpenWrite() doesn't let you specify an opening mode for the underlying stream.
--HG--
branch : recipe
2011-02-21 14:53:30 -08:00
Suha Can
f694138f29 Custom Content Site recipe: A recipe providing an installation profile with the functionality needed to create content-based custom sites.
--HG--
branch : recipe
2011-02-21 14:29:45 -08:00
Suha Can
0db3f9777d Changing slug/title/description on the default blog created during execution of the blog recipe, adding a flag to the blog command handler for blog description.
Change CMS recipe's name to Custom Content Site.

--HG--
branch : recipe
2011-02-21 14:14:36 -08:00
Suha Can
993849778f Create a blog instead of a page in the Blog recipe.
Adding the gallery and feeds to it as well.

--HG--
branch : recipe
2011-02-21 13:37:18 -08:00
Suha Can
277a394fa5 Blog Recipe: A recipe providing an installation profile with the features you need for a personal blog.
--HG--
branch : recipe
2011-02-21 12:49:51 -08:00
Suha Can
08d0dd7e76 Removing TheThemeMachine from the Minimal recipe.
--HG--
branch : recipe
2011-02-21 12:02:23 -08:00
Suha Can
db7078f96a Remove Orchard.Widgets dependency from the Setup module, and Orchard.Widgets from the list of features enabled by default.
Update the Minimal and Blog recipes.

--HG--
branch : recipe
2011-02-21 11:43:07 -08:00
Suha Can
acde4bd519 Adding the Minimal recipe: A recipe providing the Orchard framework with limited end-user functionality that can be used during development.
--HG--
branch : recipe
2011-02-21 11:27:55 -08:00
Suha Can
9922d5e09a Adding commands for creating layers and widgets.
Update recipe files.
Remove layer/widget creation code from setup.

--HG--
branch : recipe
2011-02-19 13:59:59 -08:00
Suha Can
1c7e805031 Adding command to create a menu item.
Use the command in the default recipe files.
Remove hardcoded home menu item creation from setup.

--HG--
branch : recipe
2011-02-19 10:30:59 -08:00
Suha Can
a9bd76cb94 Adding friendly console message for the page create command.
Changing setup progress text to Cooking Orchard Recipe ...

--HG--
branch : recipe
2011-02-18 20:23:33 -08:00
Suha Can
5456a508a0 Adding command to create pages.
Adding page create calls to recipe files to create the initial homepage.
Remove hardcoded homepage creation code from setup.

--HG--
branch : recipe
2011-02-18 20:02:54 -08:00
Suha Can
002ac0a4a3 Making selection of a recipe non-optional in Setup.
--HG--
branch : recipe
2011-02-18 18:29:46 -08:00
Suha Can
3db66dfe62 Removing cleanup inactive step.
--HG--
branch : recipe
2011-02-18 18:03:47 -08:00
Suha Can
893833aa8e A recipe handler for theme installation: discover and find theme to install from orchard or custom feed.
Updating recipe file with a gallery theme.
Rename enabled attribute to enable in the recipe section for themes.

--HG--
branch : recipe
2011-02-18 13:48:56 -08:00
Suha Can
2afa3cd9bf Module installation handler for the recipes: discover and find module to install from orchard or custom feed.
Updating recipe with a gallery module.

--HG--
branch : recipe
2011-02-18 13:16:42 -08:00
Suha Can
148e1b988f Finishing implementation of Settings in recipes.
Moving some settings from setup into recipe files.
Updating recipe files.

--HG--
branch : recipe
2011-02-18 12:03:43 -08:00
Suha Can
3f327f1b3e Updating recipe files.
--HG--
branch : recipe
2011-02-17 19:20:47 -08:00
Suha Can
779fb27ce3 Moving hardcoded features from setup into a recipe file.
--HG--
branch : recipe
2011-02-17 19:15:28 -08:00
Suha Can
0e9d18598b Implementation of Settings handler for recipes. Can be used to set part settings.
(Dynamic parts can be created through the metadata handler).

--HG--
branch : recipe
2011-02-17 17:40:16 -08:00
Suha Can
f6579c7540 Implementation of feature handler for recipes: provides disabling/enabling of features.
--HG--
branch : recipe
2011-02-17 17:13:44 -08:00
Suha Can
06f5898d72 Modifying ISetupService::Setup to return an executionId.
--HG--
branch : recipe
2011-02-17 16:47:36 -08:00
Suha Can
1f69312ba9 Implementation of migration/update handler for recipes.
Updating blog.recipe.xml with some features/migrations.
Refactoring a recipe step queue utility method.

--HG--
branch : recipe
2011-02-17 14:35:25 -08:00
Suha Can
80bc0a9df8 Implementation of the command handler for recipes. Recipes now can execute commands.
--HG--
branch : recipe
2011-02-17 12:32:41 -08:00
Suha Can
36d37b859e Implementation of the metadata handler for recipes.
Removing calls to the ContentDefinitionManager::AlterTypeDefinition from Setup.
Updating recipe file.

--HG--
branch : recipe
2011-02-17 11:21:46 -08:00
Suha Can
ddf29e6c08 Adding a front-end controller for recipes that returns recipe execution status from the journal so we can poll it when finishing setup.
--HG--
branch : recipe
2011-02-16 17:48:28 -08:00
Suha Can
4218725a77 RecipeJournal implementation.
- IStorageProvider based journal implementation for the recipe pipeline.
- Was needed as the existing reporting capability was found insufficient.

--HG--
branch : recipe
2011-02-16 17:16:15 -08:00
Suha Can
8f699ea418 Finishing the implementation of recipe execution
StepQueue is now based off an IAppDataFolder

--HG--
branch : recipe
2011-02-16 14:41:10 -08:00
Suha Can
eb24ea67b0 Implementation for the recipe scheduler. It's a work item queue.
The recipe manager queues recipe steps as tasks and the scheduler component schedules/executes them in tasks.

--HG--
branch : recipe
2011-02-15 15:42:21 -08:00
Suha Can
d3e4c2ad68 Hooking up StepExecutor/StepQueue into the recipe manager.
--HG--
branch : recipe
2011-02-14 18:01:37 -08:00
Suha Can
8ddb5b55b6 Restyling the recipe dropdown
Roughing in some recipe execution concepts...

--HG--
branch : recipe
2011-02-14 16:30:14 -08:00
Suha Can
b66b738a24 More work for various recipe handlers.
--HG--
branch : recipe
2011-02-14 14:00:48 -08:00
Suha Can
2a13c106a3 Reach out to the RecipeManager in the tenant shell to execute context.Recipe
Fixing a comment.

--HG--
branch : recipe
2011-02-12 15:10:49 -08:00
Suha Can
e5c821dab3 Injecting RecipeHarvester impl into the safe mode shell
Setup to call the harvester for the recipes list
SetupContext now contains the recipe for the site, which will be executed
Updated minimal,blog and cms recipe files
Added recipe description to the setup view model to keep it between posts in case of errors

--HG--
branch : recipe
2011-02-12 14:57:11 -08:00
Suha Can
578c107da3 Breaking up IRecipeManager in two components: IRecipeHarvester (harvest and parse) and IRecipeManager (execute)
Renaming DiscoverRecipes to HarvestRecipes for consistency with other harvesters we have in Orchard.
Renaming MetaData to Metadata for the recipe step and its handler.
Moving recipe information elements in the recipe to under the Recipe element, renaming root element to Orchard and modifying the parser accordingly.
Using element.Name.LocalName in the parser.
Fixing whitespaces in a couple places, setting the Orchard.Recipes assembly copyright information and making the assembly securitytransparent.
Refactoring code and unit tests as a result of to above.

--HG--
branch : recipe
2011-02-12 13:42:33 -08:00
Suha Can
096e5e1d42 Fixing bug with NOP select option in setup ui for recipes
Calling T() on a couple strings

--HG--
branch : recipe
2011-02-11 16:49:40 -08:00
Suha Can
b24562ec6b Setting an attribute for a custom recipe handler in the test file.
--HG--
branch : recipe
2011-02-11 16:18:13 -08:00
Suha Can
194796c479 RecipeManager::Execute invokes RecipeHandlers
Added built-in recipehandlers
Unit test for handler invocation.

--HG--
branch : recipe
2011-02-11 16:15:00 -08:00
Suha Can
1acd0f0031 Setup UI for recipes
Choose a recipe is shown if there are recipes in the setup module
Added jquery to the setup view
Recipe description gets shown for selected option via jquery

--HG--
branch : recipe
2011-02-11 14:36:35 -08:00
Suha Can
fbc3bf0a0c Recipe parser and related unit tests.
Metadata for blog,cms and minimal recipes in Setup.

--HG--
branch : recipe
2011-02-11 12:14:03 -08:00
Suha Can
92bf091741 Recipe discovery for extensions
Setup calls RecipeManager::DiscoverRecipes
Setup/Recipe contains default recipe files
Unit tests for recipe discovery using embedded resources

--HG--
branch : recipe
2011-02-10 16:03:43 -08:00
Suha Can
be2a8161d2 Basic pieces for recipes infrastructure.
--HG--
branch : recipe
2011-02-10 13:55:29 -08:00