Shannon
437f2dc588
Added more security checks to the content controller
2013-08-09 18:04:44 +10:00
Shannon
cbc841301b
Got more of the sorting stuff working, started implementing much of the back office security checks in the content controller, updates some of the c# unit tests and got a self-hosted test running (but commented out currently until we can mock things properly).
2013-08-07 19:28:32 +10:00
Shannon
66fc7e91dd
Got the GetChildren wired up to the back end, updated the sort and list view controls to use the new resource with promises, updated unit tests to support.
2013-08-06 18:42:36 +10:00
Shannon
94a67d12ef
Got content/media thumbnails rendering properly even with old legacy ones (file based).
2013-08-06 14:15:35 +10:00
Shannon
66c2157bea
Merge remote-tracking branch 'origin/6.1.4' into 7.0.0
...
Conflicts:
src/Umbraco.Core/UriExtensions.cs
src/Umbraco.Tests/TestHelpers/BaseDatabaseFactoryTest.cs
src/Umbraco.Tests/Umbraco.Tests.csproj
src/Umbraco.Web.UI/Umbraco.Web.UI.csproj
src/Umbraco.Web/Editors/MediaController.cs
src/Umbraco.Web/Install/UmbracoInstallAuthorizeAttribute.cs
src/Umbraco.Web/Mvc/UmbracoAuthorizeAttribute.cs
src/Umbraco.Web/Mvc/UmbracoAuthorizedController.cs
src/Umbraco.Web/Security/WebSecurity.cs
src/Umbraco.Web/Umbraco.Web.csproj
src/Umbraco.Web/UmbracoContext.cs
src/Umbraco.Web/UmbracoModule.cs
src/Umbraco.Web/WebApi/MemberAuthorizeAttribute.cs
src/Umbraco.Web/WebApi/UmbracoApiController.cs
src/Umbraco.Web/WebApi/UmbracoAuthorizeAttribute.cs
src/Umbraco.Web/WebApi/UmbracoAuthorizedApiController.cs
src/Umbraco.Web/umbraco.presentation/umbraco/developer/DataTypes/editDatatype.aspx.cs
2013-07-31 18:52:14 +10:00
Shannon
4b8fed9f06
Started converting content model mapping over to use AutoMapper to fix the composite tabs/properties. New unit tests for the mapping as well.
2013-07-25 15:31:26 +10:00
Shannon
118f9b02e2
Fixes: U4-1027 Media Sort Usability -> changed the sorting to use Web API instead of asmx web service.
2013-07-25 12:29:41 +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
ae2ed17050
missing files.
2013-07-22 17:13:56 +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
d3fe37a080
Adds RequiredForPersistenceAttribute to easily detect if any entity fails validation in a way that it cannot be persisted to the data store. Changes all tree events to not be jquery events and to not require a 'callback' jquery object, instead we just use angular events broadcast globally, much nicer.
2013-07-18 17:05:40 +10:00
Shannon
2212de3455
Got server side field validation wired up to non-user defined properties (such as name).
2013-07-16 18:52:58 +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
6652016faa
Makes the 'active' property on a tab a server side thing, updates more resources to use the resourcePromise.
2013-07-10 17:28:15 +10:00
Per Ploug
693c0cb2a5
working modals
2013-07-03 13:55:33 +02:00
Shannon
388f55d7fd
Moved application logic into Core which are now 'Sections'. Have proxied all calls from the legacy application to sections. Streamlined how automapper configs are registered (much better now). Updated some unit tests to use the new classes instead of the legacy ones. Created the sections controller to return the sections from the back office. Changed the TypeFinder to search all types not just public ones, changed the boot managers to not have to explicitly modify the resolvers with internal types because now internal types are automatically found.
2013-07-01 14:23:56 +10:00
Shannon
a077836936
Implemented the required/regex validation that is applied to PropertyType's on a Document type (this might be temporary if we get around to implementing pre-value overrides). Changed the name from ManifestValueValidator to just ValueValidator and allows for property editors to override the defaults if they need to change how the regex/required validation is processed against the property's value. Have streamlined all of the validation directives to require an FormController which we then listen to. Have removed valBubble as we don't actually need that functionality anymore and this simplfies input elements too.
2013-06-28 12:23:15 +10:00
Shannon
816edce620
Implemented auto-mapper for mapping and converted over the user mappings. Got the gravatar directive working now too. Removed all umbracoUseMediumTrust settings.
2013-06-18 17:22:01 +10:00
Shannon
b50658121d
Started integrating authorization services.
2013-06-17 01:06:31 +02: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
96fac60c3f
So close to having data saving but now we have issues with HttpContext.Current because we are running async processes... fail.
2013-06-05 14:37:19 -10:00
Shannon Deminick
6dd48262e1
Fixed up how tabs are loading to work with async data and am now displaying real data !
2013-06-04 22:30:49 -10: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
8bced15f56
updates icon output
2013-06-03 21:19:38 -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
c5ff9ddec9
Updated property editors deserialization method to accept more information and original values, updated the upload property editor to now save
...
files in accordance with exactly how we are saving them currently and it is all working... expcept the new uploader can do multiple files. It is
now persisting to the database as well.
2013-05-28 18:27:11 -10:00
Shannon Deminick
cf631974a8
Updated validator definitions, updated ToXml logic to take into account new Property Editors, added Serialization and Deserialization methods
...
for property editor's to override if necessary, updated the ContentItemBinder to bind the db and dto models so now that validator filter
just validates against the model and doesn't actually do any data lookups itself (much nicer). Now saves and retreives from the database !!
2013-05-27 21:32:37 -10:00
Shannon Deminick
7d7ca4530b
Getting server side integration working from ported over Belle POC including temporary custom property editors.
...
Many files committed will be temporary and will be removed once development between the Belle UI project and this project are merged
and working.
2013-05-27 18:21:07 -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