Commit Graph

74 Commits

Author SHA1 Message Date
Nathan Heskew
f3f04d6ea0 Allowing the '/' in slugs.
- Also moved the RoutableServiceTests to a more appropriate location

--HG--
branch : dev
2010-08-26 07:32:45 -07:00
Nathan Heskew
6c86c89414 A little more Routable path & slug bug fixing and cleanup
--HG--
branch : dev
2010-08-24 11:41:41 -07:00
Nathan Heskew
9c70163f67 Fixing up the (Orchard.Core's) Routable module so items can't be published with conflicting paths
--HG--
branch : dev
2010-08-23 16:14:10 -07:00
Sebastien Ros
49b06ff644 Orchard.ArchiveLater module
--HG--
branch : dev
2010-08-04 13:42:06 -07:00
Nathan Heskew
f482c738ec IsRoutable -> RoutePart
- updating part names to conform to a <name>Part convention

--HG--
branch : dev
rename : src/Orchard.Web/Core/Routable/Drivers/RoutableDriver.cs => src/Orchard.Web/Core/Routable/Drivers/RoutePartDriver.cs
rename : src/Orchard.Web/Core/Routable/Handlers/RoutableHandler.cs => src/Orchard.Web/Core/Routable/Handlers/RoutePartHandler.cs
rename : src/Orchard.Web/Core/Routable/Models/IsRoutable.cs => src/Orchard.Web/Core/Routable/Models/RoutePart.cs
rename : src/Orchard.Web/Core/Routable/Models/RoutableRecord.cs => src/Orchard.Web/Core/Routable/Models/RoutePartRecord.cs
rename : src/Orchard.Web/Core/Routable/Views/EditorTemplates/Parts/Routable.IsRoutable.ascx => src/Orchard.Web/Core/Routable/Views/EditorTemplates/Parts/Routable.RoutePart.ascx
2010-07-23 01:01:49 -07:00
Nathan Heskew
5b02277fee BodyAspect -> BodyPart; CommonAspect -> CommonPart
- updating part names to conform to a <name>Part convention

--HG--
branch : dev
rename : src/Orchard.Core.Tests/Common/Providers/CommonAspectProviderTests.cs => src/Orchard.Core.Tests/Common/Providers/CommonPartProviderTests.cs
rename : src/Orchard.Web/Core/Common/Drivers/BodyDriver.cs => src/Orchard.Web/Core/Common/Drivers/BodyPartDriver.cs
rename : src/Orchard.Web/Core/Common/Drivers/CommonDriver.cs => src/Orchard.Web/Core/Common/Drivers/CommonPartDriver.cs
rename : src/Orchard.Web/Core/Common/Handlers/BodyAspectHandler.cs => src/Orchard.Web/Core/Common/Handlers/BodyPartHandler.cs
rename : src/Orchard.Web/Core/Common/Handlers/CommonAspectHandler.cs => src/Orchard.Web/Core/Common/Handlers/CommonPartHandler.cs
rename : src/Orchard.Web/Core/Common/Models/BodyAspect.cs => src/Orchard.Web/Core/Common/Models/BodyPart.cs
rename : src/Orchard.Web/Core/Common/Models/BodyRecord.cs => src/Orchard.Web/Core/Common/Models/BodyPartRecord.cs
rename : src/Orchard.Web/Core/Common/Models/CommonAspect.cs => src/Orchard.Web/Core/Common/Models/CommonPart.cs
rename : src/Orchard.Web/Core/Common/Models/CommonRecord.cs => src/Orchard.Web/Core/Common/Models/CommonPartRecord.cs
rename : src/Orchard.Web/Core/Common/Models/CommonVersionRecord.cs => src/Orchard.Web/Core/Common/Models/CommonPartVersionRecord.cs
rename : src/Orchard/ContentManagement/Aspects/ICommonAspect.cs => src/Orchard/ContentManagement/Aspects/ICommonPart.cs
2010-07-22 12:52:16 -07:00
Renaud Paquay
4bd6abe055 Replacing all version# with 0.5.0
--HG--
branch : dev
2010-07-19 14:04:53 -07:00
Renaud Paquay
c6a3edc05c Fix or ignore remaining failing unit tests
We should now finally be back to a clean build!

--HG--
branch : dev
2010-07-15 10:57:21 -07:00
Renaud Paquay
379fca0a43 Fix Unit Tests
--HG--
branch : dev
2010-07-14 12:43:14 -07:00
Renaud Paquay
1a58dee719 Fix Unit Tests
--HG--
branch : dev
2010-07-14 12:33:00 -07:00
Renaud Paquay
511327f68e Fix unit tests
--HG--
branch : dev
2010-07-14 10:29:43 -07:00
Renaud Paquay
746a2d2169 Fix unit tests
--HG--
branch : dev
2010-07-14 10:24:40 -07:00
Renaud Paquay
2ce8a58cdc Cleanup build for SqlCe
No need to mark test assemblies as x86
No need to copy nunit to a temporary directory
Also remove unused file

--HG--
branch : dev
2010-07-13 22:04:02 -07:00
Renaud Paquay
d70f391d93 Fix AfterBuild task to work on TeamCity
--HG--
branch : dev
2010-07-13 20:25:36 -07:00
Renaud Paquay
62f900b5d8 Completely remove support from SQLite, use SqlCe instead
--HG--
branch : dev
rename : src/Orchard/Data/Migration/Interpreters/SqLiteCommandInterpreter.cs => src/Orchard/Data/Migration/Interpreters/SqlCeCommandInterpreter.cs
2010-07-13 19:49:42 -07:00
Nathan Heskew
501d72afab Swapped out Orchard.Core's Common Routable for the work in progress replacement, Orchard.Core's Routable (seperate core module now)
--HG--
branch : dev
2010-07-13 02:52:02 -07:00
Louis DeJardin
57566aaa6a Changing content type names to PascalCase
Became clear while editing metadata the names the only lowercase value and stick out pretty badly
especially when used as {id} in urls

--HG--
branch : dev
2010-06-24 16:34:10 -07:00
Nathan Heskew
ab81cda4eb Getting some work towards being able to edit content types in to share the fun.
- includes changing settings from IDictionary<string, string> to SettingsDictionary : IDictionary<string, string> w/ GetModel<T>
- also cleaned up content type creation a little

--HG--
branch : dev
2010-06-22 03:36:04 -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
Nathan Heskew
6e756f54ff Starting to get a UI around content type management
- added a DisplayName to the ContentTypeDefinition
- added a CreateRouteValues rvd to go along with the existing display and edit
- set default display, edit and create route values for ContentItemMetadata (* should get fallback route values in a different manner. probably not good to refer to an area, even by string, in core from the fwk)
- starting to shape up the content type list into a more consistent UI
- added create type action, view, etc. for creating new content types
 - supporting service has a few default parts hard-coded for now

--HG--
branch : dev
2010-06-16 04:22:51 -07:00
Renaud Paquay
9444fc83f5 Add unit test for IDepdendenciesFolder
--HG--
branch : dev
rename : src/Orchard.Tests/Environment/Configuration/AppDataFolderTests.cs => src/Orchard.Tests/FileSystems/AppData/AppDataFolderTests.cs
2010-06-15 14:04:55 -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
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
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
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
11c5ff1a42 Changed querying behavior to handle special characters (like C#)
--HG--
branch : dev
2010-06-07 12:26:32 -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
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
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
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
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
Louis DeJardin
596729a2ce Removing obsolete eventbus interface, firing shell activated/terminated events in isolated scope, fixing tests
--HG--
branch : dev
2010-05-28 16:24:57 -07:00
Renaud Paquay
459916ada6 Merge
--HG--
branch : net40
2010-05-21 21:53:00 -07:00
Renaud Paquay
d6dc292491 Fix unit tests
--HG--
branch : dev
2010-05-20 11:00:44 -07:00
Louis DeJardin
542e343e84 Fixing tests
--HG--
branch : dev
2010-05-16 23:34:08 -07:00
Suha Can
7ec0dc57ee - Making IEventHandler an IDependency and related changes to the event bus and the shell container factory.
- Refactoring ZoneManager to use IEventHandlers.
- Other related changes to event handler based components, removing unneeded looping through handlers in the component since the event bus does that.

--HG--
branch : dev
2010-05-12 19:07:03 -07:00
Nathan Heskew
3ff5264185 Test projects to target x86 to make the (R#5) test runner run like that
--HG--
branch : dev
2010-05-11 12:34:21 -07:00
Renaud Paquay
0f96552ecc Fix for SQLite bitness
Force unit test to be x86, since we are using SQLite 32-bit. This is temporary
until we find a better solution.

--HG--
branch : net40
2010-05-06 11:50:05 -07:00
Renaud Paquay
d84f4ee0db Merge
--HG--
branch : dev
2010-04-30 20:44:35 -07:00
Suha Can
28cc29c0ed - Removing some long ignored test cases.
--HG--
branch : dev
2010-04-22 15:49:56 -07:00
Sebastien Ros
3604a52d74 Corrected slugs validation and added unit tests 2010-04-21 10:01:57 -07:00
Sebastien Ros
2647c1f8d4 Added unit tests on slugs generation unicity among the sae content types 2010-04-20 17:59:09 -07:00
Sebastien Ros
1b214b3ac9 Added unit tests on CommonAspect.Owner validation 2010-04-19 16:35:05 -07:00
Renaud Paquay
6c74a37693 Merge
--HG--
branch : dev
rename : src/Orchard.Tests/Orchard.Tests.csproj => src/Orchard.Tests/Orchard.Framework.Tests.csproj
rename : src/Orchard/Orchard.csproj => src/Orchard/Orchard.Framework.csproj
2010-04-13 11:14:32 -07:00
Renaud Paquay
9647bb3f6b Rename "Orchard" to "Orchard.Framework"
--HG--
branch : dev
rename : src/Orchard.Tests/Orchard.Tests.csproj => src/Orchard.Tests/Orchard.Framework.Tests.csproj
rename : src/Orchard/Orchard.csproj => src/Orchard/Orchard.Framework.csproj
2010-04-07 14:48:11 -07:00
Anthony Steele
4b96ede0be Removed unneeded project references and using statements 2010-04-07 21:40:16 +01:00