Shannon
4545af0a21
Boom! container nodes work for both media and content, fixes:
...
U4-3540 When creating a Container type node - the list view shows all children of the item it's being created underneath
U4-3541 media tree is not catering for container types
2013-11-15 16:56:51 +11:00
Shannon
0878de4a8b
Fixes tree service from showing that there is children when there isn't, fixes container node issues:
...
U4-3540 When creating a Container type node - the list view shows all children of the item it's being created underneath
U4-3541 media tree is not catering for container types
Adds container style
2013-11-15 16:19:46 +11:00
Shannon
c61fd1ec27
Fixes datetimepicker once and for all, fixes user model to return the culture not just the language, adds ability to localize the datetimepicker - will default to english but is easy to add other versions, currently the only custom one in there is brazilian (since it was already made).
...
fixes: U4-2863 Date picker-textbox jumps between 12 and 24 hours clock
U4-3537 Cannot clear date/time value, still have problems with it's null validation not clearing from the server
2013-11-15 12:26:29 +11:00
Shannon
5314afb51a
Changed editorContext to use appState instead for content/media/member editors - the appState saved is the basic entity, this means that if property editors resolve this value they do not have access to actually change the real content model which we don't want to allow (or changing other property's values).
...
Fixed up some inconsistencies between all of these editors and the content editor helper, fixed up tree syncing with the members editor.
2013-11-15 10:38:36 +11:00
Shannon
1c742db414
Cleans up a bit more code - no longer passing in nav controller scope, removes zany args.scope assignment back to the nav ctrl via the nav service, this is not necessary at all and doesn't make any sense.
2013-11-15 09:43:21 +11:00
perploug
a657e10545
Consolidates contextmenu action handling
...
Moves umbOptionsMenu and umbContext menu exection into navigationService
2013-11-14 14:13:39 +01:00
perploug
d6f9d23626
merge
2013-11-14 14:12:49 +01:00
perploug
7e0eefc18a
adds editor context value
2013-11-14 13:12:08 +01:00
perploug
9bcd276073
fixes sir trevor manifest
2013-11-14 13:11:58 +01:00
perploug
d0fd7523c2
fixes media move to root
2013-11-14 13:11:45 +01:00
perploug
0a6826c62a
adds manifest documentation
2013-11-14 13:11:20 +01:00
perploug
132b1f305a
moves context action execute to navigationService
2013-11-14 13:11:03 +01:00
Shannon
9eb9b8df92
Fixes: U4-3501 Error when selecting multiple items with the media picker in v7 - ensures the standard media picker cannot multi-select, hides the add button when multi select is disabled and there's a value.
2013-11-14 20:32:11 +11:00
Shannon
2f62c58055
Merge branch '7.0.0' of https://github.com/umbraco/Umbraco-CMS into 7.0.0
2013-11-14 19:35:13 +11:00
Shannon
47f7d0d8df
no more nav.ui. removes exposing the userDialog, moves enter/leave tree to the navigation controller since it doesn't belong on the service, cleans up more of the nav ctrl and we have no more globals :) now to look at changing the object that is passed to dialogs (i.e. not the navigation controller scope)
2013-11-14 19:34:47 +11:00
perploug
378fc2c655
fixes datatype editor buttons not snapping to buttom
2013-11-14 09:16:35 +01:00
perploug
202ae1eafe
removes overflown tabs collection
2013-11-14 09:16:05 +01:00
Shannon
77cb86f74b
fixes: U4-3429 After sorting the tree doesn't get refreshed (for content)
2013-11-14 19:14:52 +11:00
Shannon
4281610bc1
fixes tree sync with move media/content
2013-11-14 19:09:13 +11:00
perploug
f11aca53e4
added icon picker loader
2013-11-14 09:08:26 +01:00
perploug
87fc9c3ee7
removed filter that didnt work anyway
2013-11-14 09:08:13 +01:00
perploug
4f27fd6d40
better caching of icons for icon picker
2013-11-14 09:07:54 +01:00
perploug
85155175cb
fixes broken dialogs in firefox
2013-11-14 09:07:40 +01:00
perploug
6cddd55065
fixes issues with overflown tabs
2013-11-14 09:07:30 +01:00
Shannon
20f1a308a8
fixes tree sync on move
2013-11-14 19:01:41 +11:00
Shannon
b6dcbc83e4
Nearly got the whole nav.ui stuff taken care of, have most of the correct objects in appState, fixed up tree syncing with move dialog, fixed up state handling of the currently selected node, removed setting the navigationController's scope from within the navigationService (?), still some more stuff to clean up.
2013-11-14 18:50:31 +11:00
Shannon
6967027e41
remove sort controller's and views - when we put these back we can restore.
2013-11-14 17:05:14 +11:00
Shannon
87309a1ef3
fixes merge
2013-11-14 17:03:53 +11:00
Shannon
9027b41ded
made syncTree method on handler return a promise so we can do somethnig with it after (it still raises an event). Updates all editors to assign a currentNode to their scope when syncTree is complete, now that gets assigned to the umboptions which is now decoupled from nav.ui.
2013-11-14 16:59:08 +11:00
Shannon
43f001280e
slowly getting the tree node model decoupled from being passed in to menu actions, updated more of the appState and clarified a few things, created a new umboptionsmenu directive to be used for the options drop down on editors
2013-11-14 16:09:53 +11:00
Shannon
6474b2b045
Updates eventsService to actually be able to handle async callbacks with promises - though i'm really not sure when this will effectively be used. It no longer returns a promise - since that was a 'false promise' anyways . lol.
2013-11-14 13:27:53 +11:00
Shannon
0b1eb4b42c
Created events test and POC
2013-11-14 12:17:20 +11:00
perploug
b02b45c815
datepicker adds current user language
2013-11-13 13:46:04 +01:00
perploug
05cbccec5c
adds hotkeys to search, dialogs and help
2013-11-13 13:45:46 +01:00
perploug
238bc58234
Revert to old datepicker
2013-11-13 11:33:39 +01:00
Shannon
dd22377b9b
Removes the need for activeTree/currentTree on the nav ctrl, fixes the section animation on first load,
2013-11-13 20:35:53 +11:00
Shannon
01589f0a35
Cleans up some more tree code that is not used or required, moves the ui.treeEventHandler to a local var in the nav service since it doesn't need to be exposed, fixes main controller redirecting due to an undefined check.
2013-11-13 20:14:33 +11:00
Shannon
b9d22b2577
Fixes: U4-3506 Linkpicker in RTE doesn't expand tree to last selected link - missing GetPath parameter - which lead to lots of other cleanup, removes auth listening on the section and tree directives since that doesn't belong there, now the navigation controller determines what to render depending on authorization. Removes the path parameter on the umbTree and umbTreeItem since this didn't work and syncTree should be used instead. Fixed up some more tree sync logic as well.
2013-11-13 19:57:34 +11:00
Shannon
36c21ca322
refactors out ui.tablet into private variable - only navigationService needs to know about this, otherwise if everything does it needs to go into appState and the listener needs to go elsewhere (a directive)
2013-11-13 18:44:44 +11:00
Shannon
4fe6da9118
refactored out the dialogTitle, currentDialog, actions ui object to use appState, updated the context menu directive to not rely on globals, instead it gets passed the values it needs from the navigation controller.
2013-11-13 18:40:30 +11:00
Shannon
b4f8e6c93d
refactors out the usage of 'ui.stickyNavigation' to use appState
2013-11-13 16:43:40 +11:00
Shannon
886d146595
refactored out the usage of ui.showTray to use appState
2013-11-13 16:35:23 +11:00
Shannon
2aaf3d06fa
missing adding touchDevice to the local scope
2013-11-13 16:25:25 +11:00
Shannon
35315e0331
Removes touchDevice from rootScope and navigationService, now we detect this on app startup and add to the globalState which can be retrieved whenever.
2013-11-13 16:22:47 +11:00
Shannon
ba72991929
refactored out the usage of "ui.showContextMenu" with the usage of appState. Added a new init.js instead of having the startup scripts embedded in the routes file (we should make a 'startup' naming convention like we have for 'controllers' to combine into one file)
2013-11-13 16:16:11 +11:00
Shannon
ad7edf0d52
refactors out the usage of 'ui.showNavigation' and replaces with using appState. Adds unit tests for appState.
2013-11-13 15:51:59 +11:00
Shannon
ac15e84324
refactored out the global 'ui.currentSection' to use the appState service.
2013-11-13 15:20:13 +11:00
Shannon
5d49dfbe28
refactors showSearchResults to be part of appState
2013-11-13 14:25:07 +11:00
Shannon
5889140386
Created the new appState service - this will be used to control all of the tracked back office state and used used explicitly by getting/setting values by key - cannot be mutable without defining properties first, then other controllers/services can listen for changes to state and act accordingly. Theoretically the navigationService 'should' be the only thing setting any of the state. Have started refactoring out the easy wins to move away from the dreaded ui object.
2013-11-13 13:50:36 +11:00
perploug
9ad869d367
merge
2013-11-12 19:29:15 +01:00