Sébastien Sougnez
ff8ea3ec6b
Link to template from "document types" or "content" screen ( #2784 )
2018-07-25 08:36:09 +02:00
Claus
73d681d674
Merge remote-tracking branch 'origin/dev-v7' into dev-v7.8
...
# Conflicts:
# src/Umbraco.Web/Models/Mapping/ContentModelMapper.cs
2017-10-25 11:52:30 +02:00
Shannon
387faca71e
Simplifies the model mapping, uses strongly typed values
2017-09-28 14:54:18 +10:00
Robert
e740838ef7
Moved template and docType from properties tab to root node and linked the values back together in front-end
2017-09-26 15:44:41 +02:00
Robert
dec44b1288
Moved templateConfig to root node
2017-09-26 09:20:38 +02:00
Claus
73bc5c6ec9
changes needed for blueprints to differentiate them from content items.
2017-08-09 15:29:12 +02:00
Shannon
6e89202002
Fixes usages of IUserService.GetPermission since before it was doing a FirstOrDefault() since that's just how the old APIs worked, now we need to get all permissions based on groups. Also updated the usages of ToString for char for the permissions to be culture invariant everywhere.
2017-07-13 14:32:43 +10:00
Shannon
2c15db5950
U4-8530 Make it possbile to hide preview button by DocumentType or ContentItem
2016-08-04 18:34:20 +02:00
Wincent
944898d6e5
http://issues.umbraco.org/issue/U4-8530
...
Adds Preview property to ContentItemDisplay
2016-06-21 14:18:55 +02:00
Shannon
8785239964
Finalizes the implementation of getting the menu items rendering for child of listview items for both content and media.
2013-12-12 14:10:03 +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
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
Shannon
e7162d46ce
ignores some properties from being updated after saving otherwise we get duplicate tabs, etc...
2013-10-15 15:12:44 +11:00
perploug
ec4eeb5de6
tree syncing
2013-10-07 10:09:03 +02:00
Shannon
e463faa943
Got the template drop down working with the dropdown property editor which allows some config.
2013-08-22 15:48:32 +10:00
Shannon
3e675ff2cc
Converted over pre-value config to be a dictionary, not an array. To do that I needed to create a new PreValueCollection object which encapsulates support for legacy (array based) pre-vals which get converted to a dictionary and newer dictionary pre-vals... which we will now require because we'll support pre-value overrides eventually. Fixed up the mapper unit tests and added other unit tests.
2013-08-14 19:24:20 +10:00
Shannon
c3e773b598
Wires up release and expire dates to be persisted, template is wired up but need to get the picker rendering.
2013-08-12 16:45:00 +10:00
Shannon
8525468312
Get the generic property tab rendering properly with a url list as well.
2013-08-12 15:57:54 +10:00
Shannon
1e2af42ce6
Ensures internal generic properties are all wired up in c# and fixes up the boolean editor, adds templatepicker html file so that something is rendered and there are no js errors.
2013-08-12 14:16:45 +10:00
Shannon
5dc43e99fa
Got media controllers working just like content, have tried to share as much code as possible between them. Can probably do a bit better but there's minimal code replication.
2013-07-23 18:55:31 +10:00
Shannon
feb1892e9e
Gets notification msgs on the server side to be displayed. Fixes property existence checking... was checking on id before but that is incorrect, needs to be on alias since a new property id is gen'd on each save and we're not re-wiring them back up. Fixes YSOD messaging for content as well. Changes the ModelState to modelState to be consistent in js.
2013-07-22 18:16:50 +10:00
Shannon
b9d0bca1b6
Fixed up validation messages when we are not redirecting, fixed up how we re-bind the content values to make sure we only set the values if they have been changed by the server and added unit tests for that. Added more properties to our display model including a new INotificationModel to put localized notifications in.
2013-07-22 17:13:38 +10:00
Shannon
e2fa610358
Lots of work for validation. We have a different type of validation model in Umbraco where we still save content even if some things are invalid (we just don't publish) so we have to take all of this into account. We also have other rules where if it is new content but required fields like 'name' are empty we cannot continue to save. Also started working on dealing with server side validation errors for content fields (not just user defined fields).
2013-07-16 18:23:20 +10:00
Shannon
aea1a17a03
Last commit into mercurial!!! -- a bunch of model mapping mayhem
2013-06-10 20:24:54 -02:00
Shannon
877c0b85cd
Refactors content model mapper to be re-used for media, added new base model class
...
to deal with content similarities like media. Renamed some service methods to be consistent.
2013-06-10 16:43:42 -02:00
Shannon
df72297429
Got media picker working with real media items.
2013-06-10 11:15:33 -02:00
Shannon
47d70e858b
Getting media picker working
2013-06-10 10:36:59 -02:00
Shannon
1b59c1ba6e
Got content item creation working and rte property editor working/saving
2013-06-09 11:40:52 -02:00
Shannon Deminick
35ada35257
Updated content model mapper to re-use mappings as much as possible. Added most of the missing properties to content and inline with the expected format
...
in the UI project. Added basic user model and a mapper for that too. updated tree service in UI to automatically create the 'view' for each node based on
the section and id, the same way it updates the level for each node.
2013-06-03 23:50:20 -10:00
Shannon Deminick
bb1052c063
Started integrating the contentTypeResource with the real back office data.
2013-06-03 18:56:16 -10:00
Shannon Deminick
160811e190
added new tests for model mapping and serialization of the content display models. Started integrating trees. Committed the compiled
...
angular controllers, directives, services, resources since I'll be modifying them to work with the real data services. Then we'll have
to merge back to the belle repo with the changes.
2013-05-30 21:21:52 -10:00
Shannon Deminick
0f5d61bae8
Started importing classes and functionality from the Belle project so we can start wiring up data.
2013-05-23 22:15:52 -10:00