Commit Graph

1746 Commits

Author SHA1 Message Date
Louis DeJardin
4fdecf04c5 Refactoring data builders into data service providers
IDataServicesProviderFactory used to build correct IDataServicesProvider instance
Components implementing IDataServiceProvider must also have public static ProviderName {get;} to be identified
The data service provider, for now, has the responsability of creating the ISessionFactory for a shell

--HG--
branch : dev
2010-06-25 14:41:19 -07:00
Louis DeJardin
c35369fabc Roughing in extensibility model for content type definition editor
IEventHandler method invocation will aggregate return values of type IEnumerable<T>
Added IContentDefinitionEditorEvents and ContentDefinitionEditorEventsBase to framework assembly
ContentTypes editor fires events to build and apply additional type and typepart TemplateViewModel classes
As an example, added some content type settings to devtools "ShowDebugLinks"
In content type definition builder moved DisplayedAs(name) into it's own method
Added Html.RenderTemplates helper to execute renderpartial with prefix directly to bypass (for some cases) Html.EditorXxx, Html.DisplayXxx

--HG--
branch : dev
2010-06-25 10:11:50 -07:00
Sebastien Ros
185c7d125b Skeleton for an Uninstall() method
--HG--
branch : dev
2010-06-24 17:41:51 -07:00
Sebastien Ros
a116d805e3 Added index management to data migration API
--HG--
branch : dev
2010-06-24 17:03:07 -07:00
Louis DeJardin
57566aaa6a Changing content type names to PascalCase
Became clear while editing metadata the names the only lowercase value and stick out pretty badly
especially when used as {id} in urls

--HG--
branch : dev
2010-06-24 16:34:10 -07:00
Louis DeJardin
61395c8ad8 Merge
--HG--
branch : dev
2010-06-24 16:11:45 -07:00
Louis DeJardin
c3b2d8e6f6 Shifting ContentType editing into dedicated module
Orchard.ContentTypes module added
Updating actionlink strings in views
Adjusting actionview names in contenttypes/admin controller EditType to Edit, and CreateType to Create

--HG--
branch : dev
2010-06-24 16:11:10 -07:00
Sebastien Ros
0d30307fce Data migration schema API
--HG--
branch : dev
2010-06-24 16:05:08 -07:00
Louis DeJardin
d25f862306 Merge
--HG--
branch : dev
2010-06-24 14:35:34 -07:00
Louis DeJardin
6540479d48 Point where basic infoset-based storage of fields is working
Moved some namespaces to reorganize some parts of code
Created a field storage api and default implementation
Added InfosetPart that's always welded as mechanism to reach versioned and non-versioned ad-hoc data

--HG--
branch : dev
2010-06-24 14:35:18 -07:00
Nathan Heskew
360332fbb9 Some progress on adding fields to parts through the UI
--HG--
branch : dev
2010-06-24 13:30:57 -07:00
Suha Can
c191c3ea63 - A command to generate controllers in modules in the scaffolding feature.
--HG--
branch : dev
2010-06-24 13:19:14 -07:00
Renaud Paquay
2e24980ba6 Merge
--HG--
branch : dev
2010-06-24 10:24:35 -07:00
Suha Can
c84e944cbf - Moving around some code in devtools.
--HG--
branch : dev
2010-06-23 18:42:53 -07:00
Suha Can
e4b8655129 Merge
--HG--
branch : dev
2010-06-23 18:15:59 -07:00
Suha Can
4c05a4c304 - Tooling: Scaffolding commands for creating Orchard modules via cmd.
--HG--
branch : dev
2010-06-23 18:15:36 -07:00
Renaud Paquay
6086c9c775 Merge
--HG--
branch : dev
2010-06-23 15:34:36 -07:00
Nathan Heskew
d74c9a13b2 Beginning of the "add field" UI for parts
--HG--
branch : dev
2010-06-23 14:53:41 -07:00
Louis DeJardin
f38620786e Incremental work towards infoset field storage
Thinning out ContentField model slightly
Reducing ContentFieldDriver's burden of locating storage strategies
Implementing non-versioned infoset field storage on ContentItemRecord Data property

--HG--
branch : dev
2010-06-23 14:38:21 -07:00
Suha Can
613cf2afaf - Using $$replacetext$$ in scaffolding templates.
--HG--
branch : dev
2010-06-23 13:38:50 -07:00
Suha Can
a7e86760ef - Scaffolding template files for module/controller generation.
--HG--
branch : dev
2010-06-23 13:36:09 -07:00
Suha Can
1e8cbb7a6d - Featurizing DevTools, adding scaffolding and profiling features.
--HG--
branch : dev
2010-06-23 12:23:22 -07:00
Nathan Heskew
289ade85bf Displaying and editing content part fields (in edit type UI)
--HG--
branch : dev
2010-06-23 12:18:07 -07:00
Louis DeJardin
f7a135b97a Merge
--HG--
branch : dev
2010-06-23 11:13:17 -07:00
Louis DeJardin
b9c26d3422 Incremental work towards infoset field storage
--HG--
branch : dev
2010-06-23 11:13:03 -07:00
Nathan Heskew
3aad42eef4 More touchup of the parts management UI (when editing a content type) before moving on to fields
--HG--
branch : dev
2010-06-23 11:05:51 -07:00
Sebastien Ros
325d00d1dd Implemented GetFeaturesThatNeedUpdate() method
Returns all features that could be updated

--HG--
branch : dev
2010-06-23 10:56:14 -07:00
Sebastien Ros
01e5a97139 Data migration fluent API
Inject a SchemaBuilder instance configured with DataTablePrefix in Data Migration classes inheriting from DataMigrationImpl

--HG--
branch : dev
2010-06-22 17:07:06 -07:00
Nathan Heskew
85544d1059 A little cleanup of the parts management UI (when editing a content type)
--HG--
branch : dev
2010-06-22 16:06:05 -07:00
Nathan Heskew
99cd97e080 Getting some editing for fields hooked up
--HG--
branch : dev
2010-06-22 15:30:15 -07:00
Louis DeJardin
32d59676dc Moving around some handler/driver machinary
Relocating IContentHandler imlementations that power IContentXxxDriver interfaces
Giving them component role suffix Coordinator
Merging two handlers into one content part driver coordinator

--HG--
branch : dev
2010-06-22 14:34:10 -07:00
Suha Can
70e12c2ff8 Merge
--HG--
branch : dev
2010-06-22 13:01:22 -07:00
Suha Can
e8c5addc2d - Adding an item reference content field.
- Moving text content field editor from parts to fields folder.

--HG--
branch : dev
2010-06-22 13:00:42 -07:00
Nathan Heskew
416ed648b8 Same level of editing content parts as there is for types (minimal, rough and in progress)
--HG--
branch : dev
2010-06-22 12:56:14 -07:00
Renaud Paquay
7c19d01d3e Update LocalizedString to also store the textHint, scopy and args
This is so that OrchardException classes which expose a LocalizedString
can be examined for the language neutral text if needed.

--HG--
branch : dev
2010-06-22 12:17:39 -07:00
Renaud Paquay
5db91c1689 Rename OrchardSystemException to OrchardCoreException
--HG--
branch : dev
rename : src/Orchard/OrchardSystemException.cs => src/Orchard/OrchardCoreException.cs
2010-06-22 10:53:28 -07:00
Renaud Paquay
2fad0edb92 Merge
--HG--
branch : dev
2010-06-22 10:28:35 -07:00
Renaud Paquay
a9acdc1847 Refactor OrchardException classes
All constructors now take a"LocalizedString" as the error message.

--HG--
branch : dev
2010-06-22 10:25:57 -07:00
Renaud Paquay
1290ea7d6e Refactor OrchardException classes
All constructors now take a"LocalizedString" as the error message.

--HG--
branch : dev
2010-06-22 10:21:24 -07:00
Nathan Heskew
ab81cda4eb Getting some work towards being able to edit content types in to share the fun.
- includes changing settings from IDictionary<string, string> to SettingsDictionary : IDictionary<string, string> w/ GetModel<T>
- also cleaned up content type creation a little

--HG--
branch : dev
2010-06-22 03:36:04 -07:00
Nathan Heskew
d126bc9f3d Changed the Orchard.Indexing project to not fire up Cassini
--HG--
branch : dev
2010-06-22 01:03:15 -07:00
Suha Can
b6841043ce - Dynamic field metadata import/export and part definition storage/alteration.
--HG--
branch : dev
2010-06-21 18:23:41 -07:00
Renaud Paquay
3725b84b20 Refactoring a csproj file compiler/build provider
* Removed unused "ServiceLocator" class

* Added "OrchardHostContainerRegistry" class to enable Shim/HostContainer
  registration for DI

* Refactored the BuildProvider for .csproj file to use the new
  OrchardHostContainerRegistry class and enable proper DI for implementations.

--HG--
branch : dev
2010-06-21 16:40:13 -07:00
Sebastien Ros
2a8c51128e Added upgrade database command
--HG--
branch : dev
2010-06-21 13:44:43 -07:00
Sebastien Ros
fcb6797c56 Data migration management class and automatic discovery mecanism
--HG--
branch : dev
2010-06-21 13:36:18 -07:00
Renaud Paquay
7e23f3a30b Tweaking amount of logging done in extension loaders
--HG--
branch : dev
2010-06-18 19:54:08 -07:00
Renaud Paquay
a2da9c0f97 Merge
--HG--
branch : dev
2010-06-18 18:41:14 -07:00
Renaud Paquay
499dda8993 Added workaround for nhibernate limitation
From the comment:

/// <summary>
/// We should be able to support reloading multiple version of a compiled module from
/// a ".csproj" file in the same AppDomain. However, we are currently running into a
/// limitation with NHibernate getting confused when a type name is present in
/// multiple assemblies loaded in an AppDomain.  So, until a solution is found, any change
/// to a ".csproj" file of an active module requires an AppDomain restart.
/// The purpose of this class is to keep track of all .csproj files monitored until
/// an AppDomain restart.
/// </summary>

--HG--
branch : dev
2010-06-18 18:36:19 -07:00
Renaud Paquay
253126957d Removed unused parameter
--HG--
branch : dev
2010-06-18 18:35:19 -07:00
Renaud Paquay
a7841bd919 Slightly refactor ExtensionLoader.Load method implementations
--HG--
branch : dev
2010-06-18 14:27:04 -07:00