Sebastien Ros
e81ec58497
Added unit tests for big text
...
--HG--
branch : dev
2010-08-31 12:13:55 -07:00
Sebastien Ros
a767494f9f
Corrected foreign key management in data migrations
...
- Remove the SQLite specific overloads which had been converted to SqlCe by mistake
- Keep the SQLite class as an example implementation
- Updated the unit tests
--HG--
branch : dev
2010-08-19 12:37:41 -07:00
Sebastien Ros
b2fbce9c54
Removed the Ignore from corrected unit tests
...
--HG--
branch : dev
2010-08-04 13:33:21 -07:00
Sebastien Ros
1a9acedbfb
Corrected SessionFactoryBuilder tests
...
--HG--
branch : dev
2010-07-30 10:18:46 -07:00
Renaud Paquay
4fc28080db
Fix Unit Tests
...
--HG--
branch : dev
2010-07-29 20:57:55 -07:00
Nathan Heskew
221efe54ac
User -> UserPart
...
- updating part names to conform to a <name>Part convention
--HG--
branch : dev
rename : src/Orchard.Web/Modules/Orchard.Users/Drivers/UserDriver.cs => src/Orchard.Web/Modules/Orchard.Users/Drivers/UserPartDriver.cs
rename : src/Orchard.Web/Modules/Orchard.Users/Handlers/UserHandler.cs => src/Orchard.Web/Modules/Orchard.Users/Handlers/UserPartHandler.cs
rename : src/Orchard.Web/Modules/Orchard.Users/Models/User.cs => src/Orchard.Web/Modules/Orchard.Users/Models/UserPart.cs
rename : src/Orchard.Web/Modules/Orchard.Users/Models/UserRecord.cs => src/Orchard.Web/Modules/Orchard.Users/Models/UserPartRecord.cs
2010-07-22 23:56:17 -07:00
Louis DeJardin
84a564e329
Moving nested definition/builder classes to outer scope
...
--HG--
branch : dev
2010-07-22 11:55:08 -07:00
Renaud Paquay
1f35d57933
Fix bug in data migration: don't call "Repo.Update"
...
It's not needed, and it actually doesn't work as expected.
--HG--
branch : dev
2010-07-21 17:59:09 -07:00
Renaud Paquay
0d0411fa9e
Fix unit tests
...
--HG--
branch : dev
2010-07-20 19:52:03 -07:00
Sebastien Ros
158adb156a
Enhanced data migration scaffolding tool not to required the feature to be enabled
...
--HG--
branch : dev
2010-07-19 17:46:35 -07:00
Renaud Paquay
b4e7ab7679
Fix packaging bug
...
--HG--
branch : dev
2010-07-19 17:12:15 -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
9198be72ed
Create ToAppRelative wrapper in IVirtualPathProvider
...
--HG--
branch : dev
2010-07-18 15:09:10 -07:00
Renaud Paquay
0d2ad658a9
Remove unused method
...
--HG--
branch : dev
2010-07-18 13:39:46 -07:00
Renaud Paquay
8db3a546d2
Removed unused method
...
--HG--
branch : dev
2010-07-18 13:38:40 -07:00
Sebastien Ros
1bc19bdff0
Simplified syntax for clob fields
...
--HG--
branch : dev
2010-07-16 13:51:07 -07:00
Sebastien Ros
bd50d68644
Improved a unit test
...
--HG--
branch : dev
2010-07-16 13:42:07 -07:00
Sebastien Ros
97ad881995
Corrected 4000 chars clob limit in SqlCe with NHibernate
...
- Created a new class overriding the default type resolution for SqlCe, in the Provider class
- Added some unit tests for this bug
--HG--
branch : dev
2010-07-16 12:05:00 -07:00
Renaud Paquay
94a7311c4b
Merge
...
--HG--
branch : dev
2010-07-15 17:53:57 -07:00
Sebastien Ros
6ba6892e39
Better data migration scaffolding and some unit tests for it
...
--HG--
branch : dev
2010-07-15 17:46:25 -07:00
Renaud Paquay
baebaec05d
Dynamic compilation bug fix
...
Symptom: One the first modification to a source file starts a dynamic
compilation. After that, changes are ignored.
Fix: The problem was that we need to override the "FileHash" value returned
for csproj files to include the hash of all source files. This is so that
any changes to any source file will notify ASP.NET that the .csproj file
needs to be recompiled using a the corresponding build provider.
--HG--
branch : dev
2010-07-15 17:30:07 -07:00
Renaud Paquay
3982bbdb87
Simplify caching of NHibernate configuration
...
--HG--
branch : dev
2010-07-15 14:59:17 -07:00
Renaud Paquay
ea6d5849ec
Fix dynaic compilation
...
When a new set of assemblies is enabled, we need to invalidate the
nhibernate serialized configuration (since it contains not only types
names for records, but also assembly names)
--HG--
branch : dev
2010-07-15 13:43:11 -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
f01987327a
Fix Unit Tests
...
--HG--
branch : dev
2010-07-14 00:45:14 -07:00
Renaud Paquay
d6cb7fa0de
Fix unit tests
...
--HG--
branch : dev
2010-07-14 00:12:30 -07:00
Renaud Paquay
c602dab0b2
Fix a few data migration unit tests
...
--HG--
branch : dev
2010-07-13 23:39:27 -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
23b101a644
Starting to get some content localization hooked up.
...
- can create new translations and content items (in manage content) link to other localizations of the content
- still a bit buggy when creating a new translation to override an existing translation
- the ux is still, definately, a bid ol' wip
--HG--
branch : dev
2010-07-12 03:03:18 -07:00
Renaud Paquay
9413ef2984
Fix encoding issue
...
"<none>" should go through the "T()" localizer
--HG--
branch : dev
2010-07-11 12:55:01 -07:00
Renaud Paquay
0fbb1efdfd
Fix unit tests
...
--HG--
branch : dev
2010-07-09 10:56:54 -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
Louis DeJardin
f57a9ad2e3
Merge
...
--HG--
branch : dev
2010-07-08 11:29:07 -07:00
Renaud Paquay
3c0dc81d7d
Merge
...
--HG--
branch : dev
2010-07-07 17:48:37 -07:00
Sebastien Ros
7639a18dd4
Corrected tests with previous changes
...
--HG--
branch : dev
2010-07-07 16:59:07 -07:00
Renaud Paquay
293cfa91ce
Merge
...
--HG--
branch : dev
2010-07-07 09:00:08 -07:00
Louis DeJardin
387b20b7ad
Merge
...
--HG--
branch : dev
2010-07-06 18:58:21 -07:00
Renaud Paquay
81b93a6699
Small refactorings
...
--HG--
branch : dev
2010-07-06 11:25:39 -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
Louis DeJardin
7e9c238847
Incremental work prototyping packaging
...
Extends Orchard.Modules with Orchard.Modules.Packaging feature
IWebSiteFolder capabilities to test FileExists and pull binaries via CopyFileTo
Adds rough web-based mechanism for command execution
--HG--
branch : dev
2010-07-04 14:14:15 -07:00
Renaud Paquay
e7aa444a95
Create a stub for IVirtualPathProvider (Unit Tests)
...
--HG--
branch : dev
2010-07-02 21:08:13 -07:00
Sebastien Ros
9fb7ccaa11
Clean up some code
...
--HG--
branch : dev
2010-07-02 10:38:46 -07:00
Renaud Paquay
606d1869ab
Add support for dynamic extension dependencies
...
Suppose Module A is loaded through its pre-compiled version
Suppose Module B is loaded through its pre-compiled version
Suppose Module A depends on Module B
If the csproj of Module B is updated, Module B will be dynamically compiled.
We have to ensure Module A is also dynamically compiled, because Module A can't
reference the pre-compiled version of B anymore.
The way we enforce this is by asking every loader if they are compatible
with all module references of a module before picking it as the actual loader.
If a loader decides it's not compatible with the module references, the next
loader in order of priority will be considered.
--HG--
branch : dev
2010-06-30 23:41:44 -07:00
Renaud Paquay
65c3ff3cd7
Rename
...
--HG--
branch : dev
2010-06-30 20:57:40 -07:00