Commit Graph

38 Commits

Author SHA1 Message Date
Shannon Deminick
33c5c41a31 Added better support for clearing the db schema for test. Added more support for different db behaviors for tests, now to update
the behaviors where necessary as this will speed things up quite a lot.
2013-03-14 02:43:17 +04:00
Shannon Deminick
8d3c798c6c Changed tests to clear out the current database instead of trying to delete/re-create it. Fixes up
other test inconsistencies and more error checking on the ApplicationContext.Dispose.
2013-03-14 01:07:54 +04:00
Sebastiaan Janssen
b7dc052cb2 Additional fixes for U4-1845 to maintain compatibility for people using the
wrong connection string
2013-03-06 14:09:01 -01:00
Stephan
e333ad2b23 Tests.Routing - fix tests 2013-02-20 14:38:28 -01:00
Sebastiaan Janssen
1304a9d791 Fixed U4-1495 Include Umbraco assemblies' XML files to make use of comments 2013-01-18 08:44:39 -01:00
Sebastiaan Janssen
173d5552c0 U4-1376 Remove internal dependencies on GlobalSettings.DbDsn 2012-12-31 13:57:29 -01:00
Shannon Deminick
b73efd16dc Fixes ServiceContext to ensure the repo's are lazy instantiated because their ctor's rely on the
RepositoryResolver.Current being initialized which normally doesn't occur until after the ServiceContext
is constructed. Adds instance level caching for the GetRecursiveValue method in case this is called more than
one time for a property in one view. Reverts PetaPocoUnitOfWork to allow more than one call to Commit().. this
isn't 'best practices' per se but it is more for performance reasons because otherwise we'd have to create a new
repo object + uow for any bulk saving operations... The end result is the same, bulk operations in the Services
cannot be processed in one transaction. Fixing up the ContentServiceTests by ensuring that the shared and always open sqlce
connection with the legacy SqlCeContextGuardian is closed on TearDown.
2012-12-15 10:33:29 +05:00
Sebastiaan Janssen
2cc8ac74d6 Fix SQL regressions (I expected them) 2012-11-29 17:07:38 -01:00
Sebastiaan Janssen
c3f9a2ae12 Reimplement the changed DB schema and adjust the code to work with it 2012-11-29 15:38:04 -01:00
Sebastiaan Janssen
9d5b1e178a Move all the lib files to NuGet/MyGet and remove legacy folders 2012-11-26 17:11:13 -01:00
Morten Christensen
78b05eb44c Correcting SolutionInfo and AssemblyInfo, so assembly version is correct for all shipped assemblies 2012-11-26 07:46:29 -01:00
AnthonyCogworks@Anthony-PC
7af10e3b67 Issue : http://issues.umbraco.org/issue/U4-858
Fixed media thumbnails for SQL CE
2012-10-25 14:00:33 -01:00
Sebastiaan Janssen
258d19df22 Remove Container DocTypes for now 2012-10-23 10:40:22 -02:00
Sebastiaan Janssen
c2f420be7a Fix issue where installer would not create properties on the media types because
it was trying to put information in the tabId column that's no longer there
2012-10-21 11:07:48 -02:00
Shannon Deminick
a1da12f033 Fixed SQL and CE installer to have the proper version spec queries... only by pure fluke did it ever work for 4.8! Argh!
Modified the CE one so that it is consistent with the Sql one, we should be relying on the same scripts here (or at least the same logic)
the one for CE will not work because even if the db is not installed it would have still returned 0 which would pass and the installer would have
thought it was installed.
2012-10-13 07:05:11 +05:00
Shannon Deminick
ea406d2d7c Fixed SqlServer and CE installers to flag their latest available install version as 4.9, looks like MySQL hasn't been done yet
so have left it's installer flagged as 4.8 (just means that the intall will just hang... not sure why we have this flag anyways??
shouldn't we always support the latest version for all dbs??)
2012-10-13 06:43:24 +05:00
Sebastiaan Janssen
f01a195369 Updated total.sql for SQL CE - Installs with CE from scratch work again
Upgrade detection from 4.9 > 4.10 added
UNTESTED: Upgrades from 4.9 > 4.10 should perform the database upgrade now
2012-10-12 10:13:50 -02:00
Shannon Deminick
56c93891a8 Fixes the ClearDatabase call in SqlCEHelper... pretty flukey that unit tests were even working with this bug for so long.
Fixes the RenderRouteHandlerTests.
2012-10-02 02:33:19 +05:00
tg@umbraco.com
25721afcf4 Also makes sure tinyMCE embed plugin is enabled by default on SQLCE 2012-09-04 10:34:35 -02:00
leekelleher
bf5c3bf5ae Fixes U4-688 - 4.8.1 can't upgrade using SQLCE
(Also preparation for resolving U4-677 - SQLCE Medium Trust)
2012-08-24 13:56:39 -01:00
Matt@MBP13-PC
7a93c108fb Merge with 4.8.1 (2nd) 2012-08-06 07:20:46 -01:00
Matt@MBP13-PC
29ec45d9e2 Updated version check code to use direct SQL statements for more flexibility. In doing so, also fixed work item 30972. 2012-08-03 08:40:00 -01:00
Matt@MBP13-PC
c5adb6a2e1 Updated field value check to surround value with quotes 2012-08-02 14:58:39 -01:00
Matt@MBP13-PC
2a55868846 Changed the DB Installer scripts to check a different constraint (the one that causes the main problems) 2012-08-02 14:38:48 -01:00
Matt@MBP13-PC
f6beeab813 Added fixed SQL CE Upgrade script 2012-08-02 13:55:45 -01:00
Matt@MBP13-PC
3fe9a63957 Added fix to database installers to make sure they run the upgrade scripts. 2012-08-02 09:51:06 -01:00
shannon@ShandemVaio
25bd7b8ad7 Merge with 4.8.0 2012-07-19 01:02:16 +06:00
shannon@ShandemVaio
ddbde6e15f Got ApplicationTests working with new unit test project.
Had to fix the ApplicationTree and Application classes to lazily call the Cache method
(which is no renamed to EnsureCache) so that we could set the config location in the unit tests.
This should also improve performance a teeny bit and allow for better error handling if required.
2012-07-17 03:14:22 +06:00
shannon@ShandemVaio
bd2017c9a1 Fixes assembly info for SqlCE4Umbraco 2012-07-17 01:38:56 +06:00
shannon@ShandemVaio
21203b8070 Renamed umbraco.Test to Umbraco.LegacyTests
Updated InternalsVisibleTo declarations.
Updated the ApplicationTest test to use a new base class as a test to install a local sqlce database
for testing against.
Added Umbraco.Core project.
Added Umbraco.Web project.
Created new sln folder Legacy
2012-07-17 01:32:46 +06:00
shannon@ShandemVaio
85aafbdb85 Updated sln to reference sqlce by default so its alwasy shipped with it and always works
locally when debugging. Updated build script to not have to manually build the umbracosqlce project
since its now referenced.
Updated ignore file.
Removed Umbraco.sdf as being referenced in the repository.
Fixed SqlCEInstaller to automatically create the sqlce database if it doesn't exist, we now don't ship the empty database
and this is much nicer for working in the core.
2012-07-17 00:52:08 +06:00
Matt@MBP-PC.Home
67e5f3435c Fixes workitem 30887. Changed default file icon to mediaFile instead of mediaMulti as the music icon could be confusing. (NB I've also created a feature request to support dynamic icons based on file extension http://issues.umbraco.org/issue/U4-107) 2012-07-10 09:29:24 -01:00
Matt@MBP-PC.Home
51301d5aa6 Fixed broken build due to missing using statement 2012-07-05 13:10:02 -01:00
Matt@MBP-PC.Home
96603529f1 Added upgrade scripts to resource files 2012-07-05 13:05:53 -01:00
Matt@MBP-PC.Home
cc6cb53ebc Updated SQL so as not to add keys on app trees / apps as they are now stored in xml
Removed insert statements for trees / apps as data is now in config files
2012-07-05 12:41:03 -01:00
Matt@MBP-PC.Home
2078873fbb Undone previous "Show Label" fix and applied at the database layer (Un-tested) 2012-07-03 18:04:56 -01:00
shannon@ShandemVaio.home
ef7b0c8e65 Changes 'dlls' to 'lib' 2012-06-22 22:23:05 +04:00
shannon@ShandemVaio.home
580cb340ac Cleaning up folder structure (U4-56) 2012-06-22 20:39:48 +04:00