Commit Graph

16 Commits

Author SHA1 Message Date
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
8b7bbed1b5 Implemented YSOD overlay when an unhandled server exception is thrown, this also ensures only when debug=true in the web.config which is injected into the server vars. 2013-07-22 15:18:10 +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
17eb3db336 Fixed validation problems when creating new content without the absolute mandatory values needed to create something (like name) 2013-07-18 12:28:01 +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
f0e4977d41 Created new base api controller for json only, started implementing the legacy controller for dealing with legacy delete, etc.. calls (based on the ui.xml) 2013-07-12 10:57:54 +10:00
Shannon
b50658121d Started integrating authorization services. 2013-06-17 01:06:31 +02:00
Shannon
d32ea915e1 publishing is working 2013-06-11 15:13:45 +02:00
Shannon
5dee0208f5 Fixed content title saving 2013-06-11 15:04:23 +02:00
Shannon
c055dedee9 GetByIds content method 2013-06-11 14:43:36 +02:00
Shannon
d4cfa57b2a Got media creation working and fixed updating node names. 2013-06-11 14:30:37 +02:00
Shannon
a39e57f4d9 added null check for prop editors, got the RTE media picker working properly with correct styles and using the server data. 2013-06-11 13:12:54 +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
47d70e858b Getting media picker working 2013-06-10 10:36:59 -02:00