Commit Graph

1675 Commits

Author SHA1 Message Date
Renaud Paquay
d3c393cc41 Add Unit Tests for AssemblyProbingFolder
--HG--
branch : dev
rename : src/Orchard/FileSystems/Dependencies/IAssenblyProbyFolder.cs => src/Orchard/FileSystems/Dependencies/IAssemblyProbingFolder.cs
2010-06-16 17:23:33 -07:00
Jonathan Wall
3d3a72b856 Updated the button CSS in the admin.
--HG--
branch : dev
2010-06-16 15:53:35 -07:00
Renaud Paquay
ff34e0a6b7 Merge
--HG--
branch : dev
2010-06-16 15:45:06 -07:00
Renaud Paquay
c4bc2a1375 Remove IAppDataFolder implementation for Azure
We don't need this. Azure supports writing tp ~/App_Data. There is no
guarantee that the content will persist, but that's exactly the assumption
of the IAppDataFolder abstraction: it's a local cache, which persists
for _some_ time accross app restarts.

--HG--
branch : dev
2010-06-16 15:44:53 -07:00
Bertrand Le Roy
bad9fa79a2 No more lorem ipsum in module descriptions.
--HG--
branch : dev
2010-06-16 14:41:46 -07:00
Renaud Paquay
ed410cba61 Move probing assembly folder behavior in separate class
The behavior of the "assembly load probing folder" is really
a separate concern from managing the list of loaded extesions.

--HG--
branch : dev
2010-06-16 14:35:13 -07:00
Sebastien Ros
a31111d331 Update ISearchBuilder to pass the string unprocessed to Lucene
--HG--
branch : dev
2010-06-16 14:00:08 -07:00
Renaud Paquay
2705aff234 Merge
--HG--
branch : dev
2010-06-16 11:52:18 -07:00
Renaud Paquay
f8fe5a8665 Update unit tests to use StubAppDataFolder
--HG--
branch : dev
2010-06-16 11:49:45 -07:00
Sebastien Ros
71fe2efca2 Merge
--HG--
branch : dev
2010-06-16 11:12:36 -07:00
Nathan Heskew
6e756f54ff Starting to get a UI around content type management
- added a DisplayName to the ContentTypeDefinition
- added a CreateRouteValues rvd to go along with the existing display and edit
- set default display, edit and create route values for ContentItemMetadata (* should get fallback route values in a different manner. probably not good to refer to an area, even by string, in core from the fwk)
- starting to shape up the content type list into a more consistent UI
- added create type action, view, etc. for creating new content types
 - supporting service has a few default parts hard-coded for now

--HG--
branch : dev
2010-06-16 04:22:51 -07:00
Renaud Paquay
ec0e452c3a Add more unit test for IDependenciesFolder
--HG--
branch : dev
2010-06-15 19:05:49 -07:00
Renaud Paquay
4ad1abc4c9 Add more unit test for IDependenciesFolder
--HG--
branch : dev
2010-06-15 18:56:37 -07:00
Sebastien Ros
c34812c78b Added HttpContextWeaver class
--HG--
branch : dev
2010-06-15 17:27:43 -07:00
Sebastien Ros
64a992cd43 Another patch to correct Azure compatibility
--HG--
branch : dev
2010-06-15 16:46:59 -07:00
Renaud Paquay
b45ccb6864 Add more unit tests
--HG--
branch : dev
2010-06-15 14:18:07 -07:00
Renaud Paquay
d258e12161 Merge
--HG--
branch : dev
2010-06-15 14:05:11 -07:00
Renaud Paquay
9444fc83f5 Add unit test for IDepdendenciesFolder
--HG--
branch : dev
rename : src/Orchard.Tests/Environment/Configuration/AppDataFolderTests.cs => src/Orchard.Tests/FileSystems/AppData/AppDataFolderTests.cs
2010-06-15 14:04:55 -07:00
Suha Can
57991424e5 - A text content field in the common module.
--HG--
branch : dev
2010-06-15 11:41:35 -07:00
Nathan Heskew
1403b2de67 Manage tags admin menu item, back in the admin menu
--HG--
branch : dev
2010-06-14 22:41:57 -07:00
Nathan Heskew
36c3e674f5 Un-localized the a Url.Action action string as controller action names aren't localized
--HG--
branch : dev
2010-06-14 22:15:40 -07:00
Nathan Heskew
81ac382a68 Localized pluralized search result summary strings
--HG--
branch : dev
2010-06-14 22:12:06 -07:00
Nathan Heskew
5791af931f Fixed up the Orchard.Search admin index to correctly break up strings for localization
--HG--
branch : dev
2010-06-14 22:02:00 -07:00
Renaud Paquay
df3a1a4044 Re-adding reference to MultiTenancy
--HG--
branch : dev
2010-06-14 21:03:12 -07:00
Renaud Paquay
141f8bc421 Refactor ASP.NET specific behavior into abstraction interface
--HG--
branch : dev
2010-06-14 20:49:20 -07:00
Renaud Paquay
4672c4487e Merge
--HG--
branch : dev
2010-06-14 16:05:25 -07:00
Renaud Paquay
c0cc66f0be Save "dependencies.xml" only if there are changes
--HG--
branch : dev
2010-06-14 16:01:23 -07:00
Suha Can
a5833533f9 - Handler for content fields.
- Relies on the Activated event to weld fields to parts.
- New event Initializing added to the content management lifecycle, old Activated event is now Initializing.
- Unifying part and field template result classes.
- Refactoring.

--HG--
branch : dev
2010-06-14 13:12:41 -07:00
Renaud Paquay
59dbbfb44e Merge
--HG--
branch : dev
2010-06-14 09:02:25 -07:00
Renaud Paquay
cd3a537396 work on extension loading
* Add a "ExtensionLoaderCoordinator" class
* Rework the way loaders are notified of extensions being loaded,
  (de)activated, etc.

--HG--
branch : dev
2010-06-14 09:01:31 -07:00
Nathan Heskew
e8766af95a Changed ContentFieldDriverHandler to work with IContentFieldDriver
--HG--
branch : dev
2010-06-13 21:58:47 -07:00
Nathan Heskew
36460acd2b Reworking the admin menu a bit (still a work in progress)
--HG--
branch : dev
2010-06-12 23:29:19 -07:00
Renaud Paquay
ad54ffdbb2 Remove implicit conversion from string to LocalizedString
In most cases, relying on the implicit conversion is a sign
of a missing call to "T".

--HG--
branch : dev
2010-06-12 13:33:35 -07:00
Renaud Paquay
ff5448ac31 Normalize usage of IAppDataFolder
--HG--
branch : dev
2010-06-12 12:42:04 -07:00
Renaud Paquay
695f001f0f Add ability for OrchardHost to reset its state when Extensions change
OrchardHost calls into all extension loaders to all extensions descriptor,
allowing each loader to add the set of resource to monitor for change.
OrchardHost resets its list of shells at the beginning of a request if
any monitored resources has changed.

--HG--
branch : dev
2010-06-12 12:38:49 -07:00
Renaud Paquay
767f19a4e3 Slightly refactor IAppDataFolder
Remove the "SetBasePath" method, introduce IAppDataFolderRoot as replacement.

--HG--
branch : dev
2010-06-12 12:18:08 -07:00
Renaud Paquay
c566e6599d Fix build error from previous merge
--HG--
branch : dev
2010-06-11 21:27:56 -07:00
Renaud Paquay
9f92ee275c Merge
--HG--
branch : dev
2010-06-11 21:23:42 -07:00
Renaud Paquay
4ea580b54e Update dependencies storage to store state of all loaded extensions
--HG--
branch : dev
2010-06-11 21:21:20 -07:00
Renaud Paquay
9b9efe02a2 Removing obsolete method
--HG--
branch : dev
2010-06-11 21:20:13 -07:00
Louis DeJardin
e2af46ed71 Changing folder paths to follow namespaces
--HG--
branch : dev
2010-06-11 17:28:46 -07:00
Louis DeJardin
4598e82a68 Changing term Topology to Blueprint
Verify consistent use of descriptor and blueprint
Update namespaces, but not folder paths, of same
Add small ISignal component for explicit app-triggered cache expiration tokens

--HG--
branch : dev
2010-06-11 17:17:00 -07:00
Renaud Paquay
75efa67b61 Make extension loading a 2 pass process
First pass is "probing": any loader who thinks it can load a
given extension returns a descriptor for it. The descriptor contains
information about how old the extension is.

The extension manager sorts the descriptor list return by probing all
loaders, and picks the most recent entry.

During the 2nd pass, each loader is called again, with the candidate extension
entry as argument. This allows each loader to be notified that, if they don't
load an extension, they might still need to cleanup some state related to
previous loading.

In essence, this is implementing a complete state machine of loaders and
extension "active/inactive" states/transitions.

--HG--
branch : dev
2010-06-11 17:12:27 -07:00
Renaud Paquay
e7615d6eb7 Merge
--HG--
branch : dev
2010-06-11 15:49:28 -07:00
Renaud Paquay
4b9c9da8fd Refactor IAppDataFolder and default implementation
Refactor IAppDataFolder so that it can be used for implementing
DefaultDependenciesFolder.

--HG--
branch : dev
rename : src/Orchard/Environment/Extensions/Loaders/WebFormsExtensionsVirtualFile.cs => src/Orchard/FileSystems/Dependencies/WebFormsExtensionsVirtualFile.cs
rename : src/Orchard/Environment/Extensions/Loaders/WebFormsExtensionsVirtualPathProvider.cs => src/Orchard/FileSystems/Dependencies/WebFormsExtensionsVirtualPathProvider.cs
rename : src/Orchard/Environment/IVirtualPathProvider.cs => src/Orchard/FileSystems/VirtualPath/DefaultVirtualPathProvider.cs
rename : src/Orchard/Environment/ICustomVirtualPathProvider.cs => src/Orchard/FileSystems/VirtualPath/ICustomVirtualPathProvider.cs
2010-06-11 15:48:40 -07:00
Sebastien Ros
8096a4234e Prepared Azure projects for .NET 4.0
Changed Azure references to SDK 1.2
Added a hack for the ASP.NET 4 bug in HttpEncoder
Converted projects to VS10

--HG--
branch : dev
2010-06-11 14:46:18 -07:00
Suha Can
e7c7ae79e0 - ContentPartDefinitionBuilder
--HG--
branch : dev
2010-06-11 11:51:17 -07:00
Suha Can
699987217f - Modifying Has and Get methods of the ContentPart, parts can contain multiple fields of the same type.
--HG--
branch : dev
2010-06-11 11:32:46 -07:00
Phil Haack
a48dd211a4 More <%= to <%: cleanup.
--HG--
branch : dev
2010-06-10 23:39:49 -07:00
Phil Haack
758cfd3825 Merge from dev
--HG--
branch : dev
2010-06-10 22:20:45 -07:00