Commit Graph

2880 Commits

Author SHA1 Message Date
Mads Rasmussen
6faf4c4dbf Merge pull request #814 from umbraco/dev-v7-contenttypeeditor-validation
U4-7119 New Content Type editor requires server side validation wired up
2015-10-23 09:34:29 +02:00
Mads Rasmussen
9372b1df47 fix placeholder width on input auto resize in firefox 2015-10-22 14:02:18 +02:00
Shannon
73fb761c4d Fixes issue with umb-editor-sub-views so that each view is actually rendered out and not replaced otherwise when you switch sections all of the wired up validation gets removed. This will also enable us to highlight the menu header when validation errors exist on that section. We also now show a single validation error message even when there is client side validation errors. 2015-10-21 17:52:58 +02:00
Per Ploug
c455c1f930 Fixed: U4-7175 Discard changes overlay sometimes breaks the url 2015-10-19 08:44:21 +02:00
Shannon
8205048e4d Merge remote-tracking branch 'origin/dev-v7-contenttypeeditor' into dev-v7-contenttypeeditor-validation
Conflicts:
	src/Umbraco.Web.UI.Client/src/common/resources/membertype.resource.js
	src/Umbraco.Web.UI.Client/src/views/documenttypes/edit.controller.js
	src/Umbraco.Web/Editors/ContentTypeController.cs
2015-10-15 15:32:48 +02:00
Shannon
e1629932dc Wires up the correct saving logic + validation for the member type editor, moves the GetSafeAlias method to the EntityController 2015-10-15 15:29:14 +02:00
Shannon
33c206d820 Wires up the correct saving logic for media types + validation, refactors the logic so it can be reused everywhere. 2015-10-15 14:48:50 +02:00
Per Ploug
755853cc50 Sets up trees, menus and dialogs for content type moving
The actual service apis for moving is not implemented yet, but this is
the scaffold for using it.
2015-10-15 13:14:13 +02:00
Per Ploug
4d5ba9304f Adds modelbuilder ui intergration
As we load the doctype editor, we detect if the install has the models
builder dlls, if not found / error, we should the normal save button,
otherwise you get a button + generate models option.
web.configs + translated prepared as well, but nothing is active untill
the zbu dlls are dropped in bin
2015-10-15 13:14:06 +02:00
Per Ploug
205a6c2b4a Added folder delete to membertype delete dialog
Still needs serverside support
2015-10-15 13:13:56 +02:00
Per Ploug
03b1285e87 Missing controller file for mediatype delete dialog 2015-10-15 13:13:48 +02:00
Per Ploug
735831bd98 Added client-side parts to folder deletion for media types 2015-10-15 13:13:38 +02:00
Per Ploug
aedd7d3268 Update copy on delete dialogs for folders / non-folders 2015-10-15 13:13:27 +02:00
Per Ploug
1ff1f54769 Update member services to include delete method 2015-10-15 13:13:20 +02:00
Shannon
815d34f8a6 exposes api on valFormManager which can be used instead of subscribing to events, changes valTab to use this api instead of events, ensures locked field has a ng-form wrapper so the validation messages are displayed. 2015-10-14 17:51:00 +02:00
Shannon
85e46cbbe5 Fixes: U4-7251 When changing a data type name to be the same as another we suffix the duplication with a number - this needs to be reflected in the UI 2015-10-14 16:54:58 +02:00
Shannon Deminick
edfe91a8b2 Merge pull request #808 from umbraco/temp-U4-7241
Fixed: U4-7241 - Add more contrast to icons in umb-card-grid
2015-10-14 16:23:01 +02:00
Shannon Deminick
1e8f5ed29b Merge pull request #809 from umbraco/temp-U4-7242
Fixed: U4-7242 - call function on view model and not scope + clear item details on search
2015-10-14 16:21:55 +02:00
Shannon Deminick
6fdea4217a Merge pull request #807 from umbraco/temp-U4-7240
Fixed: U4-7240 Change add property color to blue
2015-10-14 16:14:15 +02:00
Claus
3ea7107198 Adding back these for iPhone/Android touch friendly keyboards.
https://github.com/umbraco/Umbraco-CMS/pull/800#issuecomment-147405345
2015-10-14 14:17:52 +02:00
Shannon
c0bd5f4d14 Merge remote-tracking branch 'origin/dev-v7-contenttypeeditor' into dev-v7-contenttypeeditor-validation 2015-10-14 12:54:10 +02:00
Shannon Deminick
03a79aa2f3 Merge pull request #812 from umbraco/temp-U4-7174
Fixes: U4-7174 - Move folder to bottom of list, make doc w and w/out …
2015-10-14 12:52:59 +02:00
Shannon
21a748af29 Merge remote-tracking branch 'origin/dev-v7-contenttypeeditor' into dev-v7-contenttypeeditor-validation
Conflicts:
	src/Umbraco.Web.UI.Client/src/common/directives/validation/valregex.directive.js
	src/Umbraco.Web.UI.Client/src/less/forms.less
2015-10-14 12:13:51 +02:00
Shannon
327a00aaf4 Fixes issue with migrations running with a Decimal column:
The logic would produce incorrect syntax.
Fixed the default string column for sql server, made them all consistent.
Moved ctor logic for shared sql syntax providers to the base class.
Created formatted Decimal column definitions so that a custom precision/scale works.
Set the migration to use the default precision/scale values.
Removes the pattern validators because they don't do anything... due to the fix-number directive which has it's own issues but we won't solve those now.
2015-10-14 12:07:50 +02:00
Mads Rasmussen
b9470c1bc1 Fixes: U4-7174 - Move folder to bottom of list, make doc w and w/out texts easier to differentiate + auto focus doc type with template 2015-10-14 10:01:53 +02:00
AndyButland
7efa0bed46 Added pattern to integer and decimal property editor views to support numeric keyboards on mobile 2015-10-14 09:59:12 +02:00
AndyButland
dda247fea5 Implemented decimal property editor 2015-10-14 09:59:09 +02:00
Mads Rasmussen
83deecc6d6 Fixed: U4-7242 - call function on view model and not scope + clear item details on search 2015-10-13 12:06:28 +02:00
Mads Rasmussen
0f5d04b2ed Fixed: U4-7241 - Add more contrast to icons in umb-card-grid 2015-10-13 11:10:13 +02:00
Mads Rasmussen
839526414f Fixed: U4-7240 Change add property color to blue 2015-10-13 10:45:44 +02:00
Mads Rasmussen
5709a41ee0 Fixed: U4-7172 When a locked field is unlock, focus and select value 2015-10-13 09:56:04 +02:00
Mads Rasmussen
9297b27536 fix paths on document types and member types views 2015-10-13 09:15:39 +02:00
Shannon
2922e962e0 Gets validation working with composition alias conflicts 2015-10-09 19:03:11 +02:00
Shannon
6017e9ddf9 Gets group and property level validation wired up to the fields, ensures things like duplicate field warnings are created with the correct indexed field names. Fixes a few old directives to correctly watch for attribute interpolation changes which is need for some of this validation to work since it's dynamically populating the field names. 2015-10-09 17:28:22 +02:00
Mads Rasmussen
e4a8804058 U4-7181: Add uploader to media list view 2015-10-09 14:43:54 +02:00
Mads Rasmussen
84e15249c7 U4-7182: clear folders and media items before pushing new data + add watcher for updated data. 2015-10-09 14:40:19 +02:00
Mads Rasmussen
fe5c5991d9 list view - clearfix header 2015-10-09 13:36:17 +02:00
Per Ploug
dee16b3b70 Fixed: U4-7176 Content copy should relate to original by default 2015-10-09 10:41:03 +02:00
Per Ploug
fc06bbf116 Rolls back a grunt file path issue 2015-10-09 08:56:11 +02:00
Per Ploug
67bdcfedf1 Membertype view path incorrect 2015-10-09 08:53:37 +02:00
Per Ploug
9e94f326aa Removes static text from doctype delete 2015-10-09 08:48:21 +02:00
Per Ploug
ffc52d0105 Fixes U4-7177 Tree dialogs disappear after opening 2015-10-09 08:47:14 +02:00
Mads Rasmussen
a199525d0f U4-7182: add flex box version of media image grid to list view 2015-10-08 21:36:08 +02:00
Mads Rasmussen
3405a97ed4 U4-7215 Shared pagination for all layouts 2015-10-08 21:26:34 +02:00
Shannon
c477f7a840 Gets more validation bits wired up. Server side validation is now working which is based on val-server-field since we can use this natively with the asp.net ModelState result instead of the val-server which is actually to be used with PropertyType (Property Editors). Next up is validation for the different tabs of the editor. 2015-10-08 17:13:38 +02:00
Mads Rasmussen
246244a774 U4-7205: set aliases to camelCase 2015-10-07 19:34:17 +02:00
Mads Rasmussen
8ae40751a9 U4-7204 The grid: The insert control overlay do not close on mouse out 2015-10-07 19:17:26 +02:00
Shannon
97c352030a Gets a little more validation working and creating using the new Save models 2015-10-07 17:16:42 +02:00
Mads Rasmussen
99a9af833e U4-7179: add layout selector to list view 2015-10-07 14:31:48 +02:00
Mads Rasmussen
86d05ccf95 add layouts prevalue editor to list view 2015-10-06 21:03:00 +02:00