Commit Graph

1638 Commits

Author SHA1 Message Date
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
Louis DeJardin
75449c1abe Migrating some existing Routable aspect functionality to Core.Routable module
Exposing user interface for Title and Slug
Calculating Path based on Slug (and container's Path, if present)
Migrating some of the slugify action and jquery support to Core.Routable module
Making a driver for CommonAspect, adding rough placeholder textbox to input container id

--HG--
branch : dev
2010-06-09 15:18:12 -07:00
Suha Can
519fc0cceb - <%: %> continued.
--HG--
branch : dev
2010-06-09 13:29:01 -07:00
Suha Can
20eb19569f - Changes related to <%: %> changes.
--HG--
branch : dev
2010-06-09 13:16:19 -07:00
Suha Can
a1326e6e67 - More changes related to moving to <%: %>
--HG--
branch : dev
2010-06-09 12:02:40 -07:00
Suha Can
0971adbe5d Merge
--HG--
branch : dev
2010-06-09 11:49:16 -07:00
Nathan Heskew
26fe6c2161 Merge
--HG--
branch : dev
2010-06-09 09:55:50 -07:00
Phil Haack
afb6afe309 Changed multiple usages of <%= to <%: where appropriate
--HG--
branch : dev
2010-06-08 23:42:20 -07:00
Phil Haack
7108d92147 Replaced Html.Encode with the new <%: %> syntax for auto encoding
--HG--
branch : dev
2010-06-08 22:44:30 -07:00
Sebastien Ros
ecabd55428 Localized content is indexed and searched. During indexation, the culture of the content item is store within the index. If this is the master content item, then the Site's culture is used. When the search query is created, a filter is applied on the current request's culture.
--HG--
branch : dev
2010-06-08 17:17:50 -07:00
Suha Can
521b415f88 - Adding a method to the CultureManager to return the default site culture (as opposed to current culture)
--HG--
branch : dev
2010-06-08 16:56:02 -07:00
Nathan Heskew
ded153660d Added a little UI to set the default culture for the site (in /admin/settings)
--HG--
branch : dev
2010-06-08 16:26:08 -07:00
Suha Can
1f03a7120d - Changing where we alter type definitions in the setup service so the types can be initialized with the right parts.
--HG--
branch : dev
2010-06-08 16:25:56 -07:00
Suha Can
5c0a0cbe8a - Adding a base driver for the localized part on which UI work can be built.
--HG--
branch : dev
2010-06-08 13:54:50 -07:00
Sebastien Ros
290874c8dd Corrected handler invocation for Indexed event
--HG--
branch : dev
2010-06-08 13:32:26 -07:00
Sebastien Ros
4fe81286db Corrected typo
--HG--
branch : dev
2010-06-08 13:13:24 -07:00