Commit Graph

1641 Commits

Author SHA1 Message Date
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
Suha Can
77a49e2000 - Patch from Aaron Rhoads concerning:
Non-Rooted Theme Images - Corporate and Contoso
  Non-Rooted Admin/MenuItems Add-New Form

--HG--
branch : dev
2010-06-08 12:37:33 -07:00
Sebastien Ros
26cd5cc669 Merge
--HG--
branch : dev
2010-06-08 12:08:02 -07:00
Sebastien Ros
eb0a61b087 Corrected a bug which could cause the last content item to be indexed two times
--HG--
branch : dev
2010-06-08 12:07:13 -07:00
Louis DeJardin
21b1baa31c Merge
--HG--
branch : dev
2010-06-08 12:06:47 -07:00
Louis DeJardin
57e830f19e Content manager assigning values to definition properties
DefaultContentManager now takes a dependency on IContentDefinitionManager
ContentItem.TypeDefinition assigned to ContentTypeDefinition instance when creating
ContentPart.TypePartDefinition assigned to ContentTypeDefinition.Part instance as added
Empty definition instances are created as code-only types and parts are created

--HG--
branch : dev
2010-06-08 12:05:29 -07:00
Louis DeJardin
1b39eb3bc0 Changing IRoutablePathConstraint from slug methods to path methods
--HG--
branch : dev
2010-06-08 12:01:00 -07:00
Sebastien Ros
598d39006f Prevents the index to be accessed when it is rebuilt
Also call UpdateIndex() to take the rebuilt index into account immediately

--HG--
branch : dev
2010-06-08 11:51:37 -07:00
Sebastien Ros
9574529898 Prevent empty content items to be indexed (menu item)
Added an IsDirty property to IIndexDocument
Once handlers have contributed to index information, if a document is not dirty, don't add it to the index

--HG--
branch : dev
2010-06-08 11:42:32 -07:00
Louis DeJardin
379e9a60e8 Updating use of routable path constraint
--HG--
branch : dev
2010-06-08 11:01:39 -07:00
Louis DeJardin
abf8357f1b Starting point of standard content/routable controllers
Contents/Item/Display/{Id} to show published
Contents/Item/Preview/{Id} to show latest (draft or published)
Contents/Item/Preview/{Id}?Version= to particular numbered version
{*Path} in Routable/ItemController.Display to show published where {Path}=RoutableRecord.Path

--HG--
branch : dev
2010-06-08 10:50:08 -07:00
Louis DeJardin
3c4a2097cf Merge
--HG--
branch : dev
2010-06-07 16:08:51 -07:00
Louis DeJardin
ccc86d164a Adding some .ToString() conversions where localized strings are being used
--HG--
branch : dev
2010-06-07 16:07:57 -07:00
Louis DeJardin
ec8e6795d2 Merge
--HG--
branch : dev
2010-06-07 16:03:18 -07:00
Louis DeJardin
6299ba764e Roughing out early support for common contents controller
Listing and creating any defined content type
Early stages - many features to be added - expect poor compatability with existing types and parts

--HG--
branch : dev
2010-06-07 16:02:54 -07:00
Suha Can
af30f68fb8 Merge
--HG--
branch : dev
2010-06-07 16:00:56 -07:00
Suha Can
e594abc463 - A handler for localized part.
- Finishing up the infrastructure support for content item localization.

--HG--
branch : dev
2010-06-07 16:00:22 -07:00
Nathan Heskew
cb7f025f12 Fixed up a few specflow tests
--HG--
branch : dev
2010-06-07 15:58:15 -07:00
Nathan Heskew
a273c13205 A bit of an improvement in paging
- generic collection and display but only used for search results at the moment and does nothing for other queries. in other words, build your own IPageOfItems

--HG--
branch : dev
2010-06-07 15:52:26 -07:00
Sebastien Ros
8adc118803 Added defaultField in Parse() method
--HG--
branch : dev
2010-06-07 12:33:19 -07:00
Suha Can
493f7d060d Merge
--HG--
branch : dev
2010-06-07 12:29:56 -07:00
Suha Can
83db8e0b42 - More work on the citem localization, still early stages (updates to services and models).
--HG--
branch : dev
2010-06-07 12:29:29 -07:00
Sebastien Ros
11c5ff1a42 Changed querying behavior to handle special characters (like C#)
--HG--
branch : dev
2010-06-07 12:26:32 -07:00
Suha Can
887439352d - Adding a module for content item localization.
--HG--
branch : dev
2010-06-07 11:22:40 -07:00
Sebastien Ros
a17e5a625c Adding more index commands at content item level (refresh, delete)
--HG--
branch : dev
2010-06-07 11:18:08 -07:00
Renaud Paquay
9c3f6bfc74 Tweak dynamic extension loader
* Add "Assembly Src" directive to WebForms files loaded from vpp
* Notify the OrchardHost when the .csproj file a a dynamic module is changed.
* Make the registration of custom virtual path provider a bit more extensible,
  so that the custom VPP can be instantiated using DI.

--HG--
branch : dev
2010-06-06 21:36:06 -07:00
Louis DeJardin
b63e5f2bcd Working towards definition import/export
Reader and writer mapping definition to infoset
Devtools placeholder providing way to see/alter metadata
Reader on builder over existing content definition provides merge capabilies on import

--HG--
branch : dev
2010-06-06 14:58:27 -07:00
Renaud Paquay
2c9d0caf0a Remove extra spaces
--HG--
branch : dev
2010-06-05 23:06:40 -07:00
Renaud Paquay
70f3f01b22 Fix braces formatting
--HG--
branch : dev
2010-06-05 23:04:56 -07:00
Renaud Paquay
196a24d572 Merge
--HG--
branch : dev
2010-06-05 15:40:12 -07:00
Nathan Heskew
faf696effe Pulling search result page selection back into the service and cleaning up a few other bits
--HG--
branch : dev
2010-06-05 14:44:11 -07:00
Nathan Heskew
3c0fa2268f Really fixing the search pager to note lose the last page
--HG--
branch : dev
2010-06-05 01:44:16 -07:00
Nathan Heskew
e8c8d5493e Updated the message for when there are no results for a search query
--HG--
branch : dev
2010-06-05 01:40:15 -07:00
Nathan Heskew
182801d1fa Fixing the search pager to not lose the last page
--HG--
branch : dev
2010-06-05 01:32:48 -07:00
Nathan Heskew
40f7b8bd8c Adding paging to search
--HG--
branch : dev
2010-06-05 01:26:14 -07:00
Renaud Paquay
1efde731fe Create a virtual path provider for WebForms files
This is so that we dynamically add the relevant <%@ Assembly Name="" %>
directive to WebForms files served from modules which have been dynamically
compiled and stored in the "~/App_Data/Dependencies" folder.

--HG--
branch : dev
2010-06-04 22:28:01 -07:00
Renaud Paquay
2be308bbf6 Fix couple of bugs in DependenciesFolder
We need to overwrite files when copying to App_Data/Dependencies folder.
We need to compare modification date, not creation date when deciding
to copy a file to the App_Data/Dependencies folder.

--HG--
branch : dev
2010-06-04 22:26:16 -07:00
Renaud Paquay
412d21b234 Tweak extension loading strategy:
Don't store compiled assemblies in "App_Data/Dependencies" if we
have a more recent one already stored.

--HG--
branch : dev
2010-06-04 19:59:20 -07:00
Renaud Paquay
a249579191 Fix localization issue from previous merge
--HG--
branch : dev
2010-06-04 19:58:23 -07:00
Renaud Paquay
7ea379596d Fix error from previous merge
--HG--
branch : dev
2010-06-04 19:23:52 -07:00
Renaud Paquay
30444e7696 Merge
--HG--
branch : dev
2010-06-04 19:16:11 -07:00
Renaud Paquay
a1be3efecb Module loading strategies
Make the precompiled and dynamic extension loaders work properly
and also refactor some code to introduce proper abstractions, such
as IVirtualPathProvider, IHostEnvironment, IBuildManager, etc.

--HG--
branch : dev
2010-06-04 19:13:57 -07:00
Sebastien Ros
76afbc9bae Added index commands (update, rebuild, search, stats)
--HG--
branch : dev
2010-06-04 18:41:02 -07:00
Sebastien Ros
9eebb483ae Implemented RebuildIndex plus UpdateIndex signal to backgroung tasks. Adapted UI.
--HG--
branch : dev
2010-06-04 17:42:20 -07:00
Sebastien Ros
d93c9274c8 Store index settings on local file system instead of db, for farm scenarios
--HG--
branch : dev
2010-06-04 16:29:50 -07:00
Nathan Heskew
91a63dddb8 Fixing a syntax error before too many people notice. Shhhh...
--HG--
branch : dev
2010-06-04 14:53:10 -07:00
Nathan Heskew
9ef73f84b0 Adding some admin UI for search index management. Not yet working end-to-end but it looks like it does *
* Waiting on some pieces of the index manager/provider are being added and/or reworked then we'll get it all hooked up.

--HG--
branch : dev
2010-06-04 14:45:18 -07:00
Nathan Heskew
69e32f3d6b Re-adding an extra div (it's significant other, the extra opening div, is in another template that R# doesn't care about)
--HG--
branch : dev
2010-06-04 14:05:18 -07:00