Commit Graph
100 Commits
Author SHA1 Message Date
Sebastien Ros 6ba6892e39 Better data migration scaffolding and some unit tests for it
--HG--
branch : dev
2010-07-15 17:46:25 -07:00
Sebastien Ros 24bc2c6a54 Merge
--HG--
branch : dev
2010-07-15 13:54:13 -07:00
Sebastien Ros c32418a2c3 Azure to handle SqlCe
--HG--
branch : dev
2010-07-15 13:53:53 -07:00
Sebastien Ros 5d11debc61 Corrected indexing bugs with SqlCe
--HG--
branch : dev
2010-07-15 11:56:24 -07:00
Sebastien Ros 5a9cb277a5 Updated Azure build script
- Removed Sqlite dependencies

--HG--
branch : dev
2010-07-15 11:47:16 -07:00
Sebastien Ros fd1f654b66 Merge
--HG--
branch : dev
2010-07-14 17:01:53 -07:00
Sebastien Ros 0a1e12d600 Merge
--HG--
branch : dev
2010-07-14 16:09:41 -07:00
Sebastien Ros e6d13e9961 Corrected indexing with SqlCe
--HG--
branch : dev
2010-07-14 16:09:15 -07:00
Sebastien Ros 236b743a04 Invalidate mapping configuration when a shell is rebuilt
--HG--
branch : dev
2010-07-14 16:05:05 -07:00
Sebastien Ros d3a0dca89d Merge
--HG--
branch : dev
2010-07-14 13:40:10 -07:00
Sebastien Ros 876f748e19 Cache generated mapping file
- Created a modified version of FluentNHibernate, including [Serializable] on GenericEnumWrapper class for it

--HG--
branch : dev
2010-07-14 13:23:47 -07:00
Sebastien Ros a59a9c4628 Force data migrations to occur before other Install event handlers
- Some handler require the tables to be created before

--HG--
branch : dev
2010-07-13 16:34:55 -07:00
Sebastien Ros 2e805824d1 Corrected Localization bug in Commands
--HG--
branch : dev
2010-07-13 15:24:01 -07:00
Sebastien Ros c631254fb7 Cleaned web.config files
--HG--
branch : dev
2010-07-13 14:01:40 -07:00
Sebastien Ros 05266bdf9c Removed bad field in Data Migration
--HG--
branch : dev
2010-07-13 14:01:11 -07:00
Sebastien Ros 0ad0c86a20 Corrected Azure packaging
--HG--
branch : dev
2010-07-13 14:00:45 -07:00
Sebastien Ros a9dc5abd50 Reports module
- Stores service management reports
- Use IReportsCoordinator to write message to the same report through multiple components
- Views to display reports

--HG--
branch : dev
2010-07-09 17:56:58 -07:00
Sebastien Ros b86d3e20ed Removed cache from data migration notifier
--HG--
branch : dev
2010-07-09 13:33:03 -07:00
Sebastien Ros b3b48fa3df Split Indexing in two disctint modules
- Added new Lucene module with Lucene.NET reference
- Banner message is displayed if no index service is enabled when Orchard.Indexing is active
- Added new MetadataExtensions for settings
- Blogs, Page and Sandbox aredefined as indexed during setup

--HG--
branch : dev
2010-07-09 13:16:02 -07:00
Sebastien Ros d978346283 Implemented an Admin banner notification system
- INotificationProvider class to enlist steady messages in the Admin pages
- DataMigrationNotificationProvider displays a message when upgrades are needed

--HG--
branch : dev
2010-07-09 12:14:26 -07:00
Sebastien Ros 8ad3a5982f Removed culture filter (temporarily)
--HG--
branch : dev
2010-07-08 16:47:43 -07:00
Sebastien Ros 69f938aa2d Merge
--HG--
branch : dev
2010-07-08 15:19:58 -07:00
Sebastien Ros bf196393fd Merge
--HG--
branch : dev
2010-07-08 15:18:34 -07:00
Sebastien Ros 7abd8ac71c Refactored data migration to correct SQL Server bugs
- Added explicit Identity column specification
- Defined string lengths explicitly on needed columns

--HG--
branch : dev
2010-07-08 15:18:13 -07:00
Sebastien Ros 199c462d4d Renamed Data migration column name for SQL Server compatibility
--HG--
branch : dev
2010-07-08 11:35:34 -07:00
Sebastien Ros 2df8e36a86 Small typo in code comments
--HG--
branch : dev
2010-07-08 11:35:02 -07:00
Sebastien Ros 2ceac582a9 Corrected html for module's homepage
--HG--
branch : dev
2010-07-08 10:45:22 -07:00
Sebastien Ros db85727d0a Table name should not include the prefix: Orchard_Blogs_BlogArchiveRecord during Data Migration scaffolding
--HG--
branch : dev
2010-07-07 17:29:06 -07:00
Sebastien Ros 0cf950bc83 Id columns should not include WithLength() on Data Migration scaffoldin
--HG--
branch : dev
2010-07-07 17:11:26 -07:00
Sebastien Ros cfbea89449 Scaffold create datamigration should add the file to the .csproj
--HG--
branch : dev
2010-07-07 16:59:49 -07:00
Sebastien Ros 7639a18dd4 Corrected tests with previous changes
--HG--
branch : dev
2010-07-07 16:59:07 -07:00
Sebastien Ros d1a4edd349 Implement ContentPartRecord and ContentPartVersionRecord for migration classes, to get rid of the explicit IDs
--HG--
branch : dev
2010-07-07 16:29:58 -07:00
Sebastien Ros 322125a33f Search results are no more filtered by culture by default
--HG--
branch : dev
2010-07-07 15:51:03 -07:00
Sebastien Ros b13c42557a Corrected Search command
--HG--
branch : dev
2010-07-07 15:02:45 -07:00
Sebastien Ros ef02c6d66d Corrected Azure project
- Removes automatically teh system.extensions tags which prevents MVC from working on Azure
- Updated web.config with Orchard.Web's one
- Added a machineKey for server farm scenarios

--HG--
branch : dev
2010-07-07 15:01:51 -07:00
Sebastien Ros e9a0e09732 Hide the Manage Content admin menu item
--HG--
branch : dev
2010-07-06 13:55:20 -07:00
Sebastien Ros 8b9a8e14ea Features list display link to update schema if available
--HG--
branch : dev
2010-07-06 12:51:26 -07:00
Sebastien Ros 4ed7964cbf Added menu item for developer tools
--HG--
branch : dev
2010-07-06 11:39:26 -07:00
Sebastien Ros 48c00c30a4 Added better UI for Data migration developer tools
--HG--
branch : dev
2010-07-06 11:35:38 -07:00
Sebastien Ros fb87fb9dd4 Code clean up
--HG--
branch : dev
2010-07-05 14:41:56 -07:00
Sebastien Ros d428ebc2f8 Data migration for developers
- NHibernate auto-update is explicitly run by the user (dev) through a DevTool Controller Action or Command
- Generate the create method from the nhib schema

--HG--
branch : dev
2010-07-05 13:35:50 -07:00
Sebastien Ros 9fb7ccaa11 Clean up some code
--HG--
branch : dev
2010-07-02 10:38:46 -07:00
Sebastien Ros 8fe40209ad Corrected bug #16269 (Confirm admin password during setup)
--HG--
branch : dev
2010-06-30 15:05:23 -07:00
Sebastien Ros 7a2e0543b4 Updated Azure configuration files
--HG--
branch : dev
2010-06-30 15:04:33 -07:00
Sebastien Ros 4582fcb9e7 Merge
--HG--
branch : dev
2010-06-30 11:26:27 -07:00
Sebastien Ros 04f732701a Updated Azure projects
--HG--
branch : dev
2010-06-30 11:25:50 -07:00
Sebastien Ros 8c1b8ff285 Corrected merge change
--HG--
branch : dev
2010-06-29 16:27:23 -07:00
Sebastien Ros 6b781efccd Merge
--HG--
branch : dev
2010-06-29 16:20:23 -07:00
Sebastien Ros b72575748b Merge
--HG--
branch : dev
2010-06-29 16:20:04 -07:00
Sebastien Ros d91e488cb7 Use DataMigration API to create database tables for each feature
--HG--
branch : dev
2010-06-29 16:17:08 -07:00
Sebastien Ros a7c0664984 Prevent the search index to have two documents for the same content item
--HG--
branch : dev
2010-06-29 12:24:09 -07:00
Sebastien Ros ca0de6aa49 Use DataMigration API to create tables by default
Created DataMigration class for the Settings module

--HG--
branch : dev
2010-06-29 11:28:21 -07:00
Sebastien Ros a09536a44a Updated code to reflect new DataServicesProvider changes
--HG--
branch : dev
2010-06-25 17:06:02 -07:00
Sebastien Ros 8372db9457 Merge
--HG--
branch : dev
2010-06-25 16:52:14 -07:00
Sebastien Ros 092fcc869a Work on automatic schema creation
--HG--
branch : dev
2010-06-25 15:35:52 -07:00
Sebastien Ros 185c7d125b Skeleton for an Uninstall() method
--HG--
branch : dev
2010-06-24 17:41:51 -07:00
Sebastien Ros a116d805e3 Added index management to data migration API
--HG--
branch : dev
2010-06-24 17:03:07 -07:00
Sebastien Ros 0d30307fce Data migration schema API
--HG--
branch : dev
2010-06-24 16:05:08 -07:00
Sebastien Ros 325d00d1dd Implemented GetFeaturesThatNeedUpdate() method
Returns all features that could be updated

--HG--
branch : dev
2010-06-23 10:56:14 -07:00
Sebastien Ros 01e5a97139 Data migration fluent API
Inject a SchemaBuilder instance configured with DataTablePrefix in Data Migration classes inheriting from DataMigrationImpl

--HG--
branch : dev
2010-06-22 17:07:06 -07:00
Sebastien Ros 2a8c51128e Added upgrade database command
--HG--
branch : dev
2010-06-21 13:44:43 -07:00
Sebastien Ros fcb6797c56 Data migration management class and automatic discovery mecanism
--HG--
branch : dev
2010-06-21 13:36:18 -07:00
Sebastien Ros 91aa6468cd Added IContentManager.Search() method
Replaced usages with new declaration
Created a NullSearchBuilder for default behavior when Indexing module is not activated

--HG--
branch : dev
2010-06-18 12:38:22 -07:00
Sebastien Ros 1b485c8082 Removed unused indexing methods from the search module
--HG--
branch : dev
2010-06-18 12:24:15 -07:00
Sebastien Ros 27c65e211a Added search fields administration
--HG--
branch : dev
2010-06-18 12:22:06 -07:00
Sebastien Ros 85f3219d37 Corrected typo
--HG--
branch : dev
2010-06-17 17:01:39 -07:00
Sebastien Ros 5fa45bb21f Added a dependency to Search on Indexing
--HG--
branch : dev
2010-06-17 17:01:31 -07:00
Sebastien Ros e86e749459 Made filter on culture default to true
--HG--
branch : dev
2010-06-17 17:01:11 -07:00
Sebastien Ros ae82ccc865 Make the culture filter on search results an option.
Add checkbox in admin.

--HG--
branch : dev
2010-06-17 16:41:10 -07:00
Sebastien Ros 40769d6f2a Complete refactoring on Indexing module
Changed Parse() to use lucene syntax
Moved everything to Orchard.Indexing
New filters for search

--HG--
branch : dev
2010-06-17 16:21:29 -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
Sebastien Ros 71fe2efca2 Merge
--HG--
branch : dev
2010-06-16 11:12:36 -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
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
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
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
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
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
Sebastien Ros 8adc118803 Added defaultField in Parse() method
--HG--
branch : dev
2010-06-07 12:33:19 -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
Sebastien Ros a17e5a625c Adding more index commands at content item level (refresh, delete)
--HG--
branch : dev
2010-06-07 11:18:08 -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
Sebastien Ros 727647a043 Added Blog commands (Create, Import)
--HG--
branch : dev
2010-06-03 17:41:04 -07:00
Sebastien Ros cac40c37a6 Modified DefaultContentManager to trigger Publishing handlers when Create() is called with Version.Publish argument
--HG--
branch : dev
2010-06-03 17:40:33 -07:00
Sebastien Ros 5084d2b4dd Corrected blog post handler for background tasks
--HG--
branch : dev
2010-06-03 14:54:35 -07:00
Sebastien Ros bf665f71c4 Background indexing tasks can now delete existing indexes
Added new column to store the action type (update, delete)
Added new overloads to handle multiple indexing actions in the same transaction

--HG--
branch : dev
2010-06-03 13:12:07 -07:00
Sebastien Ros 54c57ac99d Excluded html tags from indexed body content
--HG--
branch : dev
2010-06-02 17:41:56 -07:00
Sebastien Ros 923621bbbf Corrected syntax error
--HG--
branch : dev
2010-06-02 17:19:15 -07:00
Sebastien Ros 8ce241434b Configured tokenization and storage for current indexed fields
Properties like dates, and slug should not be tokenized. Body is not stored.

--HG--
branch : dev
2010-06-02 17:17:40 -07:00
Sebastien Ros cb3ab26859 Populate search index snapshots from main handlers (common, body and routable)
--HG--
branch : dev
2010-06-02 16:52:52 -07:00
Sebastien Ros e5d57d2bc2 Added missing binaries
--HG--
branch : dev
2010-06-02 16:08:43 -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
Sebastien Ros c4a4d18303 Corrected compilation error
--HG--
branch : dev
2010-05-19 12:11:09 -07:00
Sebastien Ros 19396e4f0c New view engines cache implementation for tenant compatibility with themes
--HG--
branch : dev
2010-05-19 11:33:43 -07:00