Shannon
9a57f463ce
Updates LocalLinks to be UDI, this will support both INT and UDI as LocalLink but when a new LocalLink is picked, it will use the UDI so eventually the INT will be gone
2017-03-14 15:31:30 +11:00
Claus
4ad0c1bb89
cleaning usings.
2017-01-30 13:14:19 +01:00
Shannon
876f61ac27
U4-8788 ContentService.GetByIds() returns items in different order
...
U4-8937 ContentController.PostSort is not honouring the passed sorted ids.
2016-10-05 11:20:48 +02:00
Stephan
fce0a4b0eb
U4-8937 - cleanup
2016-09-05 12:20:05 +02:00
Matt Cheale
9b498b8471
U4-8937 ContentController.PostSort is not honouring the passed sorted ids.
...
* Updates media to content for comments and logging.
* Adds sorting of the retrieved content items to match the passed sort order before persisting.
2016-09-02 14:50:54 +01:00
Shannon
0e61eb79a8
U4-8416 Empty recycle bin does not refresh or gives feedback to user
2016-06-27 18:27:49 +02:00
Shannon
dac7b93209
fixes GetChildren non bool argument to work as a bool again.
2016-04-06 09:17:05 +02:00
André Ferreira
bd2a40d214
U4-6003 List View - Order By Custom Property Fix
...
Original work done on https://github.com/umbraco/Umbraco-CMS/pull/711 but ported to the latest version
Content below for reference
With the current implementation of the list view you can only sort by system columns (Name, SortOrder etc.) and not custom columns you have added to your document types. This PR allows that.
The crux of it is a sub-query added to the ORDER BY clause when we are ordering by a custom field. This looks up the field's value from the most recent content version.
Provided here and not in the previous pull request is:
MySQL support
Have done some performance testing. On a local laptop with 1000 nodes in a list view, it's sorting in around 220-250ms. It's a little slower that sorting on native properties like node name, but still perfectly usable - there's no significant delay you see in use.
Please note also:
GetPagedResultsByQuery() in VersionableRepositoryBase was previously doing an ORDER BY in SQL and then repeating this via LINQ to Objects. I couldn't see that this second ordering was necessary so removed it, but wanted to flag here in case I've missed something around why this was necessary.
The PR also includes small amends to fix or hide sorting on a couple of the default columns for the member amd media list views.
2016-04-01 11:28:51 +01:00
Shannon
372a768dca
U4-4700 List view doesn't respect user permissions - makes the buttons show/hide based on the selected items instead of the current item.
2016-03-08 15:53:22 +01:00
Shannon
04e1d8c2bd
U4-7936 Clicking the Recycle Bin shows "Session expired" login screen
2016-02-11 14:04:14 +01:00
Shannon
e8dfa056b0
U4-2670 Add event to modify the model before being sent to render
2016-01-27 13:20:13 +01:00
Shannon
dfa687e695
Merge remote-tracking branch 'origin/dev-v7' into 7.4.0
...
Conflicts:
src/Umbraco.Web.UI/web.Template.config
2016-01-13 17:18:30 +01:00
Shannon
4ce0e6bac3
Starts fixing up the doc type folders stuff, fixes permissions settings on the trees, adds error messaging for duplicating folders, removes the click handler for folder nodes
2015-11-12 18:59:38 +01:00
Shannon
a351f6cfc8
Fixes up the error handling with move/copy dialogs.
2015-11-09 17:58:43 +01:00
Jordan Lane
8e6bac534a
Fix a bug where PublishStatusType would fallback to FailedContentInvalid (and break) if it was expired or trashed and add error message for FailedHasExpired
...
TODO: Add error message to other languages
2015-10-29 15:23:40 +00:00
Shannon
6269e7b3f2
Merge remote-tracking branch 'origin/dev-v7-contenttypeeditor' into 7.4.0
2015-10-27 11:41:45 +01:00
Per Ploug
19759000f4
Media and content move return wrong error format
...
Changing both move methods to return the same error signature as
publish/delete/etc
2015-10-21 09:57:57 +02:00
Rasmus John Pedersen
78475b0686
Added recursive option to copy dialog
2015-10-09 20:25:51 +02:00
Shannon
685aea1728
Fixes: U4-6879 Validation issues when creating new content and cancelling save event.
2015-08-20 11:50:32 +02:00
Shannon
6d8ffb903f
Ensures events for deleting, trashing and unpublishing are done using the event messages, updates UI to support showing these messages in the list view, Since we cannot change the
...
method results on a service, we've created a new temporary service that we will explicitly implement with an extension method to get it. This is temporary until v8 where we will just replace
the original methods on the service with these methods and then remove this class.
2015-07-29 15:12:12 +02:00
Shannon
926ea54c39
Developers can cancel an event with the CancelOperation method of the event with a custom message which will be used in place of the normal default cancellation message
2015-07-27 18:04:20 +02:00
Shannon
293568228c
Merge branch 'dev-v7' of https://github.com/umbraco/Umbraco-CMS into dev-v7
2015-07-24 12:13:31 +02:00
Shannon
aa08a4ca37
Gets the messages being pumped out to the UI. Updates the ContentService and MediaServices to have a SaveWithStatus in order to determine the response, we'll need to update most of the methods to also have this OperationStatus. Now messages can be added to the UI for Saving & publishing for media and content services, we'll need to update more to support everything.
2015-07-24 11:44:09 +02:00
Sebastiaan Janssen
abf8777b0a
U4-6867 UmbracoLog wrongfully logs unPublish event with user ID 0
...
#U4-6867 Fixed Assignee: Unassigned
2015-07-24 11:02:13 +02:00
Shannon
08ff284121
adds test to ensure the service level can remove a scheduled publish date, obsoletes method: GetHasPermission
2015-06-18 09:44:16 +02:00
Shannon
425df19c5c
adds long overloads to interfaces
2015-05-04 14:36:46 +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
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
AndyButland
274e2c18e1
Added checks to ensure if paged requests for content are made they have valid page parameter values
2014-08-24 23:37:10 +02:00
AndyButland
817d5aab0d
Moved list view filter to repository, so can be applied with a database query
2014-08-13 20:02:51 +01:00
AndyButland
dc32138006
Set up database level paging for retrieving child content for list view
2014-08-12 08:15:43 +01:00
Shannon
2ede32fe70
minor change, using non obsolete user id
2014-05-28 12:39:12 +10:00
Shannon
49c8313c9e
Fixes: U4-3638 - U7 - Preview mode seems permanent and shows incorrect content on front of website, when using same browser as admin login
2013-12-12 17:30:27 +11:00
Shannon
38c1669e57
Gets content items that are children of listviews to query for their affiliated tree-node and display the action menu.
2013-12-12 13:27:33 +11:00
Shannon
9819318060
Fixes up the auth http post
2013-12-11 18:53:00 +11:00
perploug
da3269e970
Fixes: U4-3426 Can't delete any contentnode, media, document type or template from back end, Umbraco 7.0.0-RC
...
Replaces $http.delete with $http.post enables httppost on the
server-side, its not the best solution, but has way fewer unknowns then
adding extensive VERB and origin support in the web.config
2013-12-06 13:12:18 +01:00
Shannon
0d1cf872d3
Fixes WebApi issue with creating HttpResponseMessage manually - this shouldn't be done and we'll end up with very strange YSODs
2013-12-04 17:05:05 +11:00
Shannon
03a606432a
Fixes: U4-3695 Events does not fire
2013-11-26 13:34:51 +11:00
Shannon
6d1ba5a823
Fixes: U4-3625 List view filtering is not enabled on media and adds debounce
2013-11-21 15:52:40 +11:00
perploug
94bbcb98a6
adds filter to getChildren
2013-11-20 10:24:45 +01:00
Shannon
4545af0a21
Boom! container nodes work for both media and content, fixes:
...
U4-3540 When creating a Container type node - the list view shows all children of the item it's being created underneath
U4-3541 media tree is not catering for container types
2013-11-15 16:56:51 +11:00
Shannon
f1d837dfd1
fixes: U4-3539 Cannot set a scheduled publish at date/time gives a warning message
2013-11-15 12:46:55 +11:00
Shannon
b6dcbc83e4
Nearly got the whole nav.ui stuff taken care of, have most of the correct objects in appState, fixed up tree syncing with move dialog, fixed up state handling of the currently selected node, removed setting the navigationController's scope from within the navigationService (?), still some more stuff to clean up.
2013-11-14 18:50:31 +11:00
perploug
e671300dc0
Move and copy dialog treee sync
2013-11-01 09:28:26 +01:00
Shannon
acb2e58a5c
Completes: U4-3067 Send to publish not implemented
2013-10-31 18:28:02 +11:00
Shannon
523c48d4fd
Nearly have send to publish working, it's all wired up in the UI to the controller, just need to implement the logic.
2013-10-31 18:17:30 +11:00
Shannon
90c62bddd9
Fixes security check on content controller for the correct publish letter. Adds cache listeners to the MacroService. Ensures the status message is cleared when a form is reset.
2013-10-31 17:22:10 +11:00
Shannon
1ead3f9b6a
Updated the content display model to pass in a list of the allowed actions (using the letter of the permission). We then dynamically generate the action buttons on the content editor based on what the user is actually allowed to do and the current state of the content. Fixed up some content saving validation for Create + Publish at the same time, since we never allowed that behavior before we now have to check for both permissions during this one execution. Updated the Unpublish method to check for publish permissions - unpublish is an action but it is not permission assignable, you can only unpublish if you can publish. Fixes the user session timeout display timer.
2013-10-31 16:51:08 +11:00
perploug
00f8472cfc
Adds permission checks to contentResource
2013-10-30 22:12:13 +01:00
Shannon
2243452261
Completes: U4-3089 fix membership provider to be able to change email address
2013-10-22 11:24:56 +11:00