Commit Graph

2973 Commits

Author SHA1 Message Date
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
Shannon
d3365bc751 starts updating sqlexpressions to include sql params 2014-09-23 18:38:42 +10: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
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
Shannon
102b97fa82 streamline repo's get by paged results to have a zero based index for page index/number. Refactors member repo to use the same queries as content/media (U4-5469) this should save a lot of perf 2014-09-16 23:21:27 +10:00
Shannon
7a1d62967a Ensures the list view prop and tab are created when the check box is selected and removed when unselected. 2014-09-16 10:41:18 +10:00
Shannon
b38acdd654 List view config complete: U4-4972 Make list view configurable, 2014-09-15 19:01:28 +10:00
Shannon
96d570e760 Gets most of the configurable list view working, need to add some validation to the pre-value editor, some styling for the sorting of a field, add another system field for 'published date' (if possible), fix up the localized text for return to list view, fix up the persisting of the last page viewed in a list view 2014-09-15 13:53:33 +10:00
Shannon
ac29542f8e Revert "Fixes PetaPoco to support Medium trust." - I'm reverting this fix so that we are back using the baseline logic of PetaPoco since we don't need med trust support and this known logic that has been working for many years. 2014-09-15 10:47:34 +10:00
Shannon
74a113646d typeo and fixes a return value 2014-09-12 12:52:32 +10:00
Shannon
6ab2f8300c Fixes: U4-5473 Image cropper data type is not installed by default, ensures the List View data type is created on install, creates a new migration to ensure it exists when upgrading, fixes an old migration with improper use of a transaction. 2014-09-12 12:51:41 +10:00
Shannon
7ff0e6bafb Fixes typo: Updator -> Updater 2014-09-12 11:53:09 +10:00
Shannon
9bb5869cde reverting all things to do with additional list view column in db which is no longer necessary and removing additions to ui changes in the content tyep editor which are also no longer necessary 2014-09-12 11:50:56 +10:00
Shannon
1844b048be Adds new method to IContentTypeService to return all user defined property type aliases, updates the default pre-values for the list view to underscore system aliases, 2014-09-12 11:35:20 +10:00
Shannon
eb9e7d0e31 removes migration, this will not be necessary 2014-09-12 11:32:52 +10:00
Shannon
d3bfb5e94d Updates the versionable repo (content, members, media) to far more efficiently load in property and pre-value data, in fact the performance tests have show that this improves performance even more! The real underlying reason for these changes is so that we don't end up with a giant SQL 'IN' clause for these queries, and that these queries are far faster than IN clause queries. 2014-09-11 16:04:16 +10:00
Shannon
5195822435 Fixes queryable extensions to ignore case for props when sorting 2014-09-11 16:02:23 +10:00
Shannon
e3bf5d3487 Renames ContentAndMediaTypeBaseController, adds migration to add new db column for list view config 2014-09-10 15:47:01 +10:00
Shannon
7422238087 Merge branch 'AndyButland-u4-4972' into 7.2.0
Conflicts:
	src/Umbraco.Web/Editors/MediaTypeController.cs
2014-09-10 15:35:57 +10:00
Shannon
6afead5207 Merge branch 'u4-4972' of https://github.com/AndyButland/Umbraco-CMS into AndyButland-u4-4972
Conflicts:
	src/Umbraco.Web.UI.Client/src/views/propertyeditors/listview/listview.html
2014-09-10 15:35:05 +10:00
Shannon
5bc00e3e48 Fixes: U4-4989 Media with image cropper doesn’t get removed from disk after delete. 2014-09-10 15:07:20 +10:00
Stephan
322c3e0664 U4-5301 - fix AppendDocumentXml + nodes sorting 2014-09-08 12:03:13 +02:00
Shannon
549f0555ab don't cache too much when using get all 2014-09-08 19:16:30 +10:00
Shannon
8fcd2200d0 Fixes the calls to the member service paged queries to do a normal GetAll without parameters if the int.max value is used. Ensures that if too many id params are sent to GetAll an exception is raised 2014-09-08 19:04:28 +10:00
Stephan
185e5d9b7f Create missing ITemplate TemplateMapper 2014-09-08 08:52:09 +02:00
Shannon
66e5843ef7 Creates new attribute: WebformsPageTreeAuthorizeAttribute for auto-authorizing webforms editors for a specific tree and thus for a specific application. 2014-09-05 15:47:45 +10:00
Shannon
bb4dd9c418 Merge branch '7.1.5-perf' into 7.2.0 2014-09-05 15:20:46 +10:00
Shannon Deminick
50b49f9ee2 Merge pull request #465 from mattbrailsford/7.1.6-movable-dictionary-tree
Fix U4-5413 Makes the dictionary tree moveable
2014-09-05 15:15:24 +10:00
benjamin.howarth
8aa5a64883 Made ICultureDictionary, CultureDictionaryFactoryResolver and UmbracoCultureDictionary public instead of internal (cause they're useful to query, and obsoleted umbraco.MacroEngines.ICultureDictionary was/is public) 2014-09-03 09:40:34 +01:00