Commit Graph

269 Commits

Author SHA1 Message Date
Shannon
94a67d12ef Got content/media thumbnails rendering properly even with old legacy ones (file based). 2013-08-06 14:15:35 +10:00
Shannon
801e2dea7b Removes tree icon filters and just ensures the data is formatted on retrieval, this is much better for performance and just makes a lot more sense. 2013-08-06 13:24:49 +10:00
Per Ploug Krogslund
319da4816a replaces scriptLoader references with assetsService 2013-08-05 14:16:04 +02:00
Per Ploug Krogslund
31aa7a4ff9 Re-adds event bubble to tree, renames scriptLoader to assetsService
adds docs for assetsService.loadcss and .loadjs
2013-08-05 14:16:04 +02:00
Shannon
603e698621 Fixes issue with ensuring the correct section is assigned to each menu item 2013-08-05 18:48:01 +10:00
Shannon
4b996ac693 Got the legacy refresh action working (should work for all trees) 2013-08-05 18:27:05 +10:00
Shannon
8aa547123f Fixes deleting, ensures it is moved to the recycle bin when necessary or deleted permanently if already in there and fixes finding a node even if the Ids are of a different clr type 2013-08-05 16:13:27 +10:00
Shannon
62aafc6606 Lots of work on trees and menus. Got delete and empty recycle bin working as well as refresh (first menu action). 2013-08-01 18:35:55 +10:00
Shannon
2ebf6d09c6 Gets delete and empty recycle bin working, adds unit tests for tree service, ensures that the recycle bin shows children whenever something is deleted (though, i now realize i need to refresh the recycle bin node and expand it when something is deleted). Renames some namespaces for content/media/etc... controllers and makes the file names more readable. 2013-08-01 14:51:35 +10:00
Shannon
f63988639f Updates content tree class heirarchy, updates all IActions to have the correct icon in c# and udpates the icon mapping 2013-08-01 12:20:28 +10:00
Shannon
60b40b09ff fixes tree item option showing 2013-07-31 19:25:06 +10:00
Shannon
5987d6fa13 Implemented logout functionality in the mocks proj 2013-07-31 11:01:02 +10:00
Shannon
6b9bf8d952 Updates login screen with validation and messaging 2013-07-30 21:46:07 +10:00
Shannon
217bcaf625 Added the permissions checks in the new content tree including start node rendering 2013-07-30 15:30:04 +10:00
Shannon
2bbc610550 Merge remote-tracking branch 'origin/7.0.0' into 7.0.0 2013-07-30 13:29:21 +10:00
Shannon
b3b2b5b9ee Implemented much more of the new tree api structure. Have converted most of the content tree over to use it. 2013-07-30 13:29:05 +10:00
Per Ploug Krogslund
9592c44849 Fixed what the merge before broke 2013-07-28 01:05:56 +02:00
Per Ploug Krogslund
f9f54b3ee7 Merge branch '7.0.0' of https://github.com/umbraco/Umbraco-CMS into 7.0.0
Conflicts:
	src/Umbraco.Web.UI.Client/src/common/services/util.service.js
	src/Umbraco.Web.UI.Client/src/routes.js
2013-07-28 01:01:50 +02:00
Per Ploug Krogslund
0877a69a3e Removed trailing space from ngdoc declaration 2013-07-28 00:41:28 +02:00
Per Ploug Krogslund
82a756dbb5 Added directives, filters and resources to doc generation 2013-07-28 00:39:13 +02:00
Per Ploug Krogslund
a21a6c440a Adds manual tabs to the header tab collection 2013-07-27 23:21:32 +02: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
53891a69af Fixed up the media uploader property editor so that it doesn't store any json, this leaves it as fully backwards compatible with 6.x < but also still allows us to upload multiple images if we want. 2013-07-23 16:43:08 +10:00
Shannon
dadb98176d starts fixing up upload prop editor to be the same as the 6.x < one so that it is 100% compatible 2013-07-23 14:01:41 +10:00
Shannon
d657f2c3cb Gets the back office routing to /umbraco again. 2013-07-23 13:33:37 +10:00
Shannon
b565a3468b Moves larger util classes to their own files, fixes up the notification service to ensure notifications go away properly. 2013-07-22 18:40:02 +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
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
Per Ploug Krogslund
9421ae054f Removes security.service
Merges into user.service, moves the umbraco.security module into
umbraco.services, instead of in the root module, we could consider
doing that for umbraco.resources as well.
2013-07-21 22:14:05 +02:00
Shannon
d58b1ac107 Changed serverValidationService to be called serverValidationManager and added a bunch of unit tests for it. 2013-07-18 19:18:53 +10:00
Shannon
d5c9d278df Merge branch '7.0.0' of https://github.com/umbraco/Umbraco-CMS into 7.0.0 2013-07-18 17:06:07 +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
4cd0489540 Fixed up creating content so that after creation it re-routes back in to edit mode so we don't just keep the 'create' flag. This caused some issues with validation because after creation the edit page needs to re-bind the entity from the server and previous to now that means that the server validation collection would have been cleared. We now persist the collection and it's up to the controller to re-bind if necessary. 2013-07-18 11:45:45 +10:00
Per Ploug Krogslund
8df39ddeab Docs update 2013-07-17 22:46:00 +02:00
Shannon
6f4a7f06a5 Changed naming conventions of spec files so they are human readable. Fixed up the route handling when clicking on nodes to ensure the query/search is cleared (so there's no overlap with creating nodes). Moved much of the data handling functionality of the content edit controller to a new service called contentEditingHelper which I've now written unit tests for. 2013-07-17 17:04:52 +10:00
Shannon
16574c2de3 Fixes tree re-loading when it doesn't need to based on navigating to the same section that was just accessed, improves performance a lot. 2013-07-17 14:58:15 +10:00
Shannon
428cb89ade updated getting started docs 2013-07-17 14:28:55 +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
c7b4cfd375 Creates umb-content-name to share amongst editors so we have less html duplication. 2013-07-16 12:58:57 +10:00
Shannon
c4d2c7d31a Fixes issue with 'headline' when there is no content. Added client side validation to the content name. 2013-07-16 12:25:54 +10:00
Shannon
6251b86a0a Fixes content type icons and removes reference to tagsResource since it doesn't actually exist (Think Per hasn't checked it in yet) 2013-07-16 11:58:45 +10:00
Shannon
66dd37b911 Fixes del animations when collapsing child nodes. 2013-07-15 23:41:27 +10:00
Shannon
5c9dabeeb6 Fixes delete animation issue with collapsing nodes. 2013-07-15 23:21:35 +10:00
Shannon
82cce853da Cleans up the navigationController to not have to duplicate all props of the nav service, we just make 'nav' a property of the scope that equals the nav service. 2013-07-15 23:08:23 +10:00
Shannon
10a0c33a99 Fixed up del animations to be dynamically set so they dont animate when switching sections. Added the loading bar for when the node is being deleted from the server to indicate activity. Updated the navigationService.currentTree to be currentSection since that is actually what it is. 2013-07-15 22:31:01 +10:00
Shannon
b624f95e2a got deleting working properly with the node animation and color changes. 2013-07-15 20:11:56 +10:00
Shannon
5738b5a4b8 Updated media/content type services to allow us to now create content/media at the root. 2013-07-15 18:05:58 +10:00