Commit Graph

431 Commits

Author SHA1 Message Date
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
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
Louis DeJardin
85a0f45c5d Using T.Plural in code
--HG--
branch : dev
2010-06-09 15:39:35 -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
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
Sebastien Ros
4fe81286db Corrected typo
--HG--
branch : dev
2010-06-08 13:13:24 -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
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
Louis DeJardin
3c4a2097cf Merge
--HG--
branch : dev
2010-06-07 16:08:51 -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
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
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
Suha Can
887439352d - Adding a module for content item localization.
--HG--
branch : dev
2010-06-07 11:22:40 -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
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
a249579191 Fix localization issue from previous merge
--HG--
branch : dev
2010-06-04 19:58:23 -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
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
Louis DeJardin
9ffb410c3d Merge
--HG--
branch : dev
2010-06-04 13:40:09 -07:00
Louis DeJardin
83f1de1fc9 Adding fields to metadata definitions
Refactoring some component and record names
Made content definition model immutable, with builder pattern for creation and alteration
Moving records and storage out of base framework assembly
Splitting into separate ContentTypeRecord and ContentTypeDefinitionRecord
Changing MetaData module's MetaDataController to AdminController
Introduced a ContentHandlerBase : IContentHandler to provide virtual no-op implementation of fairly large interface

--HG--
branch : dev
2010-06-04 13:37:34 -07:00
Nathan Heskew
784f9dfc09 Gave search a friendly URL (/search)
- and changed the property on the view model from Term to Query (sounds better and goes with the 'q' param)

--HG--
branch : dev
2010-06-04 08:35:24 -07:00
Sebastien Ros
727647a043 Added Blog commands (Create, Import)
--HG--
branch : dev
2010-06-03 17:41:04 -07:00
Nathan Heskew
dcc51f28c6 A search box for anyone.
- pulled the search box out into its own partial
- added a search filter that sticks the search form partial into the search zone
- added the search zone to the top of the classic theme's sidebar

--HG--
branch : dev
2010-06-03 16:17:31 -07:00
Suha Can
43f1031054 - Adding localizers to admin menu providers.
- A few missing localized strings and french translations were added. Need native french speakers to fully translate Orchard in french.

--HG--
branch : dev
2010-06-03 15:47:35 -07:00
Nathan Heskew
4f711f1e23 Utilizing the IIndexManager in the SearchService instead of directly hitting the provider (since there might not be one)
--HG--
branch : dev
2010-06-03 14:36:38 -07:00
Nathan Heskew
4ea06dd16d Changed query param name for search to 'q' from 'Term'
- also flipped ValidateInput for the controller off and tweaked the action for easier reading

--HG--
branch : dev
2010-06-03 14:23:45 -07:00
Nathan Heskew
b4eade4d4d Start of the search UI
- includes a single search/results page (URL needs to change, currently @ /Search/Search when the feature is enabled)

--HG--
branch : dev
2010-06-03 14:04:50 -07:00
Jonathan Wall
0fb6ece9a9 Added drop shadows to manage features page.
--HG--
branch : dev
2010-06-03 10:20:40 -07:00
Nathan Heskew
747f149042 Merge
--HG--
branch : dev
2010-06-03 09:33:27 -07:00
Suha Can
521ba68b61 - fr-FR po file and culture addition.
--HG--
branch : dev
2010-06-02 18:31:57 -07:00
Nathan Heskew
b2112a79f6 A bit of CSS cleanup and reorg
--HG--
branch : dev
2010-06-02 16:23:03 -07:00
Sebastien Ros
015a0503bb Created indexing/search default implementation with Lucene
IIndexManager to handle the available IIndexProvider instances
ISearchBuilder created from the used IIndexProvider to create search queries
Indexing background task records
Background service to execute indexing tasks
Unit tests for indexing and searching

--HG--
branch : dev
2010-06-02 15:56:54 -07:00