Commit Graph

108 Commits

Author SHA1 Message Date
Shannon
fc19748fbf Fixes: U4-5304 7.1.4 Media Picker can't view images RangeError: Maximum call stack size exceeded 2014-08-06 11:20:24 -06:00
Shannon
f00950bfe4 adds unit test for image helper 2014-05-14 18:38:05 +10:00
per ploug
dbbe3fe5fb Removes remaining yepnop dependencies 2014-05-05 12:59:34 +02:00
perploug
29416320d2 Fixes failing macrospec tests
doooh, it referenced marcoParamsDictionary - instead of
macroParamsDictionary - whats up with that Marco guy?
2014-04-02 13:43:03 +02:00
perploug
c8877d0a2c Fixes failing dropdown prop editor tests 2014-04-02 11:35:23 +02:00
Shannon
e40cf3b8fc fixes js unit tests 2014-03-18 12:23:10 +11:00
perploug
0409192892 Fixes: U4-4449 Issue: Discard Changes popup inconsistency 2014-03-18 01:09:50 +01:00
perploug
9e332ca0a4 Fixes: media unit test merge issue 2014-03-06 22:54:23 +01:00
perploug
c2318349e5 merge 2014-03-06 20:11:37 +01:00
perploug
92f6b5564d Fixes failing js unit tests 2014-03-03 13:21:30 +01:00
Per Ploug Krogslund
de97d8849a Fixes broken unit tests 2014-02-26 15:51:09 +01:00
Per Ploug Krogslund
6f28a0a686 Updates NotificationService to support custom views
This allows us to inject small UI components as overlays ontop of
editors
2014-02-03 21:03:24 +01:00
Shannon
f0573fc68c Fixes: U4-4084 Macro's with non alphanumeric chars in their aliases cannot render in the rich text editor 2014-01-20 13:59:25 +11:00
Shannon
1621d01992 fixes some unit tests 2014-01-17 13:18:49 +11:00
Shannon
d223ee97cd Fixes: U4-3840 MediaPicker doesn't show images when there are also folders inside of the folder being viewed
and moves some of the util classes into their own files, adjusted media picker's icon sizes too to make it more readable.
2013-12-12 16:16:59 +11:00
Shannon
74a691ac3a Removes all the console.log calls 2013-12-12 14:09:03 +11:00
Shannon
f30740bd49 grid is working nicely now with a couple tests 2013-12-12 11:38:34 +11:00
perploug
cfe0b2f9e5 fixes failing eventsService tests 2013-12-05 11:30:08 +01:00
perploug
a265424b3f Replaces all rootScope.broadcast with eventsService
Broadcast is inefficient and eventsService gives us extra options for
funneling all app events through one pipeline.

For now it just replicates rootScope on/emit, but longer term we can get
this to handle async UI events
2013-12-02 13:51:03 +01:00
perploug
e076b687c6 added rte and assets service mocks 2013-11-28 12:32:02 +01:00
Shannon
54e826bc96 Fixes: U4-3696 Upload datatype only updates on first save 2013-11-26 13:13:43 +11:00
perploug
ca8b6cac7a updated testrunner config 2013-11-19 20:24:29 +01:00
Shannon
5bb68f32bf Fixes up editorState - ensures that it is set in all of the correct places (removes appState editingEntity and references), ensures that setting 'current' is not possible, ensures that editorState is reset on all route changes, adds unit tests for getting/setting editorState. 2013-11-19 10:39:18 +11:00
perploug
91bcb656ec adds basic media controller mocks and tests 2013-11-18 22:29:38 +01: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
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
c4bfeeb321 Changes the CreateTreeNode to ensure that a parentId is always passed in - now all tree node models have a parentId property based on the server side data. Changes the JS tree node model to not have a 'parent' property and instead changes this to a parent() method - this allows us to serialize the tree model because otherwise it has cyclical references. 2013-11-12 13:09:24 +11:00
Shannon
635ccc444d Adds another childrenOf option to clearing tree cache to clear a cached branch, this is used to fix U4-3465 Media tree not updating when creating folders and can be used elsewhere where modifying trees outside of it's context. 2013-11-12 12:01:16 +11:00
Shannon
6dcfbaee7f Adds a new filter arg to remove tree cache - we will use this in order to clear specific items from tree cache (like when we are creating folders for media in the media picker) 2013-11-12 11:09:30 +11:00
Per Ploug Krogslund
7440855c72 merge 2013-11-07 17:16:22 +01:00
perploug
937bda9c16 select on focus directive 2013-11-07 17:11:32 +01:00
perploug
eb3bd9f89c Fixes broken test loader 2013-11-05 01:11:37 +01:00
diachedelic
1c7609d5e0 Merge branch '7.0.0' of https://github.com/umbraco/Umbraco-CMS into 7.0.0 2013-11-02 14:14:03 +11:00
Shannon
c1ad4aa560 Starts fixing: U4-3294 When creating new content and there are validation errors we don't redirect to edit the content, instead validation errors are displayed and we create another item 2013-11-01 12:23:37 +11:00
Shannon
19a1ca64f6 Fixes tree cache - fixes the unit tests associated with the tree cache so they run properly, tree cache can now be cleared by section, by key, by both or all. There's no longer a default cache key since we don't want to cache things when not needed. ONLY the main trees are now cached, tree pickers and dialog trees should never be cached since tree structures change all of the time (i.e. by other users, changing node names, etc...). The tree-picker directive also had a cache which meant that anyone using that directive would end up with the same cache. 2013-11-01 11:35:48 +11:00
perploug
c75a7817cf re-adds the jquery-ui sorting
The other libraries werent mature enough so we'll have to stick with
this for now
2013-10-28 20:26:18 +01:00
diachedelic
75dfde3bc5 Added test for dictionaryToQueryString method in Belle 2013-10-28 16:35:48 +11:00
Shannon
be3288af44 Fixes tree cache: removes reference to "tree.clearCache" since that doesn't exist, tree's are not cached by tree alias so the logic was never going to work, further more the cache would not have been cleared because the tree cache is *not* an array but an object. Adds unit test for this. 2013-10-23 16:01:25 +11:00
Shannon
d28cdf3bdc Updates the formHelper and streamlines the way form submission is handled, updates the member and user controller to use the new change password functionality in the Security object which uses all of the correct logic to update a password based on the membership provider. Gets the user's change password form working correctly with server validation. now just need to get the user membership provider to actually work. 2013-10-17 11:28:21 +11:00
Shannon
c42e957c4c fixes unit tests 2013-10-09 20:36:12 +11:00
Shannon
b09a743beb Gets view paths to load in dynamically based on whether a core or plugin tree is rendering, this allows us to store view files based on conventions for packages. Completes: U4-2849 Ensure editor views, etc... can exist outside of the /umbraco folder for package devs 2013-10-03 11:25:26 +10:00
Shannon
e1cf3bc597 Implements: U4-2937 A tree item should be able to have a default action 2013-09-26 15:55:38 +10:00
Shannon
5fd25e26f5 Merge remote-tracking branch 'origin/7.0.0' into 7.0.0 2013-09-25 19:04:12 +10:00
Shannon
06400f8db5 Gets the modal content loading in the rte on editor load all in async, fixes an issue with valtogglemsg when used in a modal to ensure we unsubscribe from the events when the modal element is destroyed. 2013-09-25 14:29:59 +10:00
Shannon
f127d31928 Gets the rte macro contents rendering with macro parameter values. 2013-09-25 12:05:07 +10:00
perploug
9a1457fb6d Merge branch '7.0.0' of https://github.com/umbraco/Umbraco-CMS into 7.0.0 2013-09-24 12:15:52 +02:00
perploug
828965b902 umb photo folder directive 2013-09-24 12:15:15 +02:00
Shannon
d3a9087093 Got the macro dialog working with previously selected macros in the rte and pre-fills the data that was previously there. 2013-09-24 18:46:53 +10:00