Shannon
08ea69caae
Fixes paging for MySQL (actually makes it a better query anyways), fixes null ref for member indexer, Fixes MNTP after upgrade from v6, fixes typo on migration downgrade.
2014-10-02 12:23:43 +10:00
Shannon
8a65ea7e97
Fixes: U4-5566 Quite a few hard coded queries with incorrect escape syntax for mysql
2014-10-01 15:40:48 +10:00
Shannon
e960f8dca9
Fixes query for mysql
2014-10-01 15:22:20 +10:00
Shannon
c5677233e3
Fixes install upgrade step to run during new install and upgrade - that is used when a db is found at the specified location but the version is empty, the upgrader still needs to run. Updates new upgrade steps to check if the changes are required so no errors occur when re-upgrading.
2014-10-01 14:58:30 +10:00
Shannon
f3df082695
fixes hard coded sql server bracket syntax
2014-10-01 14:56:54 +10:00
Shannon
bad341613f
Merge branch '7.2.0' of https://github.com/umbraco/Umbraco-CMS into 7.2.0
2014-10-01 10:19:04 +10:00
Shannon
863e8b5024
Changes PetaPoco UOW to use a Queue instead of trying to order by a date which even in ticks is sometimes the same. Changes some content ext to accept the service it needs instead of relying on the app ctx singleton and obsoletes others. Fixes ContentBase.ContentTypeId to check if the Id has been set on it's true ContentTypeBase which is required with the new foreign key to insert entities (this was actually a bug without the foreign key). Updates media/content services with paging to use parameters correctly. Fixes tests.
2014-10-01 10:18:51 +10:00
Brian Powell
be55c11554
Fix for U4-5564
2014-09-30 12:44:52 -04:00
Shannon
55a7f7c23b
Updates GetProfile ext method to accept an IUserService so they can be mocked, this is now used by the entity serializer. Fixed examine unit tests that required this. Fixed: U4-5508 Remove cmsDocument.alias column from db, update the order in which tables are created since with the new foreign key, that order was incorrect.
2014-09-30 18:46:02 +10:00
Shannon
54b11ea871
Fixes: U4-5503 cmsContent.contentType requires a foreign key
2014-09-30 17:05:18 +10:00
Shannon
ad1075a1ce
Fixes: U4-2120 cmsDataTypePreValues 'value' column should be nvarchar(MAX) or ntext instead of nvarchar(2500)
2014-09-30 15:34:49 +10:00
Shannon
4c0f95a93a
Adds GetPagedDescendants to media/content services. Fixes PDF reader disposal. Updates the umb examine indexers to use the services layer, now reindexing is far more efficient. Fixes the examine mgmt dashboard with $timeout. Updates GetPagedResultsByQuery to be more readable. Fixes GetPagedResultsByQuery to use SQL parameters.
2014-09-30 15:13:10 +10:00
Shannon
78141630b7
After a lot of benchmarking i found the bottleneck for building the prop collection. Even though this new bottleneck is leaps and bounds faster than it was before... with this new fix it is epically fast
2014-09-30 11:37:26 +10:00
Shannon
438e985d9e
Ensures the custom list view data type's PKs don't interfere with ones that might already exist.
2014-09-29 13:50:28 +10:00
Shannon
cfb2d3c974
Merge branch '7.2.0-sqlexpressions' into 7.2.0
2014-09-26 15:32:36 +10:00
Shannon
d402f762ae
adds another test to ensure the cache expiry is working
2014-09-26 15:31:37 +10:00
Shannon
62327a9b58
Updates more of the test to see why the query cache continues to expand... Unfortunatley there's nothing we can do about it at this point due to the 'IN' clause queries. Good thing we now have sliding expiration on each of these!
2014-09-26 13:55:25 +10:00
Shannon
9d5f3089c8
Updates petapoco to have a sliding expiration for the delegates cache, updates the keys it uses to be short hashes, fixes some null checks in content/media services, adds new test for checking that peta poco caches aren't growing with the same queries.
2014-09-26 11:19:54 +10:00
Shannon
4084ff8a24
Changes the key used for the PocoFactories to be a small hash
2014-09-26 08:35:13 +10:00
Shannon
88f79cfca5
Fixes remaining service tests and adds a couple more expression tests
2014-09-25 13:38:32 +10:00
Shannon
893855f8bd
More tests fixed
2014-09-24 20:20:27 +10:00
Shannon
0f3408c288
lots more tests fixed and few bits and pieces of the query stuff fixed.
2014-09-24 19:17:49 +10:00
Shannon
afacdc12ad
More work on parameterized queries, all tests for repos passing now.
2014-09-24 16:59:45 +10:00
Shannon
2c12b06bd7
Fixes the paging queries for media/content with sql params
2014-09-24 15:04:26 +10:00
Shannon
00f86ffef7
More work on sql parameterization with sql expressions, lots of tests passing but a few fixes still required. Streamlines IQuery to actually have the correct method implementations so we're not casting everywhere.
2014-09-24 13:51:16 +10:00
per ploug
ae0fa3bf14
Merge branch '7.2.0' of https://github.com/umbraco/Umbraco-CMS into 7.2.0
2014-09-23 16:32:50 +02:00
per ploug
0f32283601
Renames Grid to canvas
2014-09-23 16:30:27 +02:00
Stephan
ca8a819590
U4-5540 - property value converter for TextBoxMultiple
2014-09-23 14:54:49 +02:00
Shannon
d3365bc751
starts updating sqlexpressions to include sql params
2014-09-23 18:38:42 +10:00
per ploug
e1793ad95c
merge
2014-09-23 08:48:36 +02:00
Shannon
01649c509f
Fixes sqlserver column escaped strings
2014-09-23 11:53:49 +10:00
per ploug
872aff0c96
Merge branch '7.2.0' of https://github.com/umbraco/Umbraco-CMS into 7.2.0
...
Conflicts:
src/Umbraco.Web/Umbraco.Web.csproj
2014-09-22 21:06:15 +02:00
per ploug
375fda2007
Merge remote-tracking branch 'origin/7.2.0-WIPFormsInstallDashboard' into 7.2.0
...
Conflicts:
src/Umbraco.Web/Umbraco.Web.csproj
2014-09-22 21:03:09 +02:00
per ploug
5f5c8c7693
Forms section + dashboard
2014-09-22 20:07:35 +02:00
Sebastiaan Janssen
ef617fa5ed
Fixes #U4-5529 properly. Reverts changes to RepositoryBase and alters queries instead. The check for Mandate.That(contentTypeIds.Any() was wrong when trying to select all conent types.
...
Maybe there's a better fix than this, feel free to update.
2014-09-22 17:48:04 +02:00
Sebastiaan Janssen
b433d0a35c
#U4-5529 Fixed Due in version: 7.2.0
...
Performing actions on empty arrays will fail
2014-09-22 15:19:00 +02:00
Mads Krohn
dd0f510b5e
Fix for InitializeLegacyUrlReplaceCharacters
...
When using IsNullOrWhiteSpace the white space rule that will replace white spaces with dashes are ignored. This leads to unexpected behavior. Changed the code to use IsNullOrEmpty instead to match the behavior of the LegacyShortStringHelper.
2014-09-22 12:14:32 +02:00
Shannon
34d7a13e14
fixes ids
2014-09-22 19:06:25 +10:00
Shannon
bcfdeeda77
Ensures that there are nice defaults for the default member list view data type
2014-09-22 18:59:17 +10:00
Shannon
d87a426294
Implements the ability to have customized and configurable list views for specific content types
2014-09-22 18:18:09 +10:00
Shannon
e3284c8833
Fixes up the providerkey mapping with our normal members, fixes up some other mappings with custom membership providers.
2014-09-19 17:06:15 +10:00
Shannon
0264a72762
Ensures default list view data types are installed by default, includes these in the upgrade script. Now the default list views are used when rendering them per type (content, media, member). Updated the member tree to list nodes by member type and 'all members', each of these now renders a list view containing the members which is fully paged and searchable. Updates list view prop editor to deal with members appropriately.
2014-09-19 09:47:42 +10:00
Shannon
89ebc80bd5
Gets the installer to install default list views, updates list view tree to show them as 'system' items which are not deletable, upgrader installs default list views, now property resolver gets the correct system list view for the correct content type with it's pre-values that are defined.
2014-09-18 11:52:12 +10:00
Shannon
b2c260c42f
list views for media and content working nicely with correct sorting, now to get the defaults in there with default settings.
2014-09-18 10:29:07 +10:00
Shannon
fd07dcccb7
Reverts the 'special property' for list views as that is no longer required.
2014-09-18 09:48:08 +10:00
Shannon
3437d95eb4
updates migration and base data creation to create the 3 default list views
2014-09-18 01:12:23 +10:00
Shannon
5bf9bf5175
Gets all content, media, members to get paged queries consistently, fixed up issues with the page sql created for SQL server, need to test mysql. Removes the non-needed readonly dtos for members, since we are retrieving property values consistenty between all repositories.
2014-09-18 00:51:30 +10:00
Shannon
43f4f7f8f0
Fixes: U4-5505 Fix MemberService.FindMembersByDisplayName
2014-09-18 00:11:02 +10:00
Shannon
175f299253
Gets the content repo to use the base paging helper, fixes up the paging helper's inner query to use the paged SQL used to retrieve the node Ids
2014-09-17 20:42:17 +10:00
Shannon
4828869713
Improves the paging for member repository, no longer doing an IN clause and instead an inner join = far better. Created a helper method to do this on the base repository so i can share the logic with content and media repository.
2014-09-17 18:32:13 +10:00