Commit Graph

1653 Commits

Author SHA1 Message Date
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
Renaud Paquay
4e9ebd1755 Merge
--HG--
branch : dev
2010-06-10 16:08:30 -07:00
Suha Can
3aa7683e3a - Adding fields list to part, has/get/weld methods for ContentPart.
- ContentPartDefinition.Field.

--HG--
branch : dev
2010-06-10 14:58:49 -07:00
Nathan Heskew
1b97fa04d0 Adding a breadcrumb on the site culture management page
--HG--
branch : dev
2010-06-10 13:58:12 -07:00
Suha Can
1429574665 - Infrastructure work towards ContentFields.
- Saving/Saved events
- Some work on the content field definition, driver, driver handlers...

--HG--
branch : dev
2010-06-10 13:38:17 -07:00
Nathan Heskew
e250b036fd A couple of minor tweaks to the site culter management UI
--HG--
branch : dev
2010-06-10 13:21:28 -07:00
Nathan Heskew
39c62e142f Localized (and properly pluralized) a couple of HtmlHelper extensions (around friendly published datetimes)
--HG--
branch : dev
2010-06-10 11:36:44 -07:00
Renaud Paquay
27680af618 Merge
--HG--
branch : dev
2010-06-10 10:29:24 -07:00
Phil Haack
7a53eb488e Fixed issues caught when pre-compiling views. Note that I temporarily added an implicit conversion from LocalizedString to String. This may go away with Louis's pending changes.
--HG--
branch : dev
2010-06-10 01:09:13 -07:00
Phil Haack
4bd6fbb866 Updated UnorderedList to return IHtmlString and changed the relevant <%= blocks to <%:
--HG--
branch : dev
2010-06-10 00:07:26 -07:00
Phil Haack
65772415fd LinkOrDefault now returns IHtmlString. Replaced calls to <%= with <%: where relevant to this change.
--HG--
branch : dev
2010-06-09 23:39:02 -07:00
Phil Haack
013638aca8 Converted Html.Link to return MvcHtmlString. Replaced unnecessary calls to <%= with <%: as a result of this change.
Added some unit tests for Html.Link.

--HG--
branch : dev
2010-06-09 23:06:36 -07:00
Louis DeJardin
ec61ae3060 Merge
--HG--
branch : dev
2010-06-09 22:23:14 -07:00
Phil Haack
fa3c6a2854 Merge dev tip
--HG--
branch : dev
2010-06-09 21:34:22 -07:00
Phil Haack
278cc6e0fa Removed calls to _Encoded() that are no longer needed
--HG--
branch : dev
2010-06-09 21:21:01 -07:00
Renaud Paquay
7f1b47e7c4 Merge
--HG--
branch : dev
2010-06-09 19:00:48 -07:00
Renaud Paquay
4becc488c8 Couple of fixed with dynamic extension loader
Perf: Use the cache manager to keep the list of dependency descriptors in
      memory, with invalidation when "dependencies.xml" changes on disk

When loading an assembly from the list of references assemblies, notify
the dependencies folder component, so it removes the entry.

--HG--
branch : dev
2010-06-09 18:55:35 -07:00
Bertrand Le Roy
998b875a48 Merge
--HG--
branch : dev
2010-06-09 17:02:38 -07:00
Bertrand Le Roy
aa69044b99 Fixing typos and lorem ipsum.
--HG--
branch : dev
2010-06-09 17:01:50 -07:00
Bertrand Le Roy
2efcb8d6da Updated credits.txt with new dependencies.
--HG--
branch : dev
2010-06-09 16:53:40 -07:00
Nathan Heskew
4eb3477942 Initial culture management UI (could still use a few tweaks in appearance)
--HG--
branch : dev
2010-06-09 16:14:47 -07:00
Louis DeJardin
85a0f45c5d Using T.Plural in code
--HG--
branch : dev
2010-06-09 15:39:35 -07:00
Louis DeJardin
a190d9bc64 Integrating some localizer support for encoding and pluralization
Formatter internally encodes information passed as object[] args as appropriate
Resulting LocalizedString marked as html-encoded to prevent double-encoding
Extension method for <%:T.Plural("1 thing", "{0} things", n, ...)%>

--HG--
branch : dev
2010-06-09 15:21:50 -07:00