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
Shannon
61654a370a
Got TinyMCE insert macro button/dialog inserting into the rich text editor - now need to ensure it is written out correctly and then parsed on the server properly so that it works!
2013-09-23 12:15:15 +10:00
Shannon
7396b01466
Got macro parameter editors inserting macros into the template editor for both webforms and mvc, created unit tests for macro syntax in macroservice. Removed the hard coded span8 for input elements for property editors - need to figure out a different way to set their width.
2013-09-20 14:24:39 +10:00
perploug
0037283c75
Adds a notifications test
2013-09-12 14:40:07 +02:00
Shannon
261828f7e5
Streamlined response messages and http codes for validation and authorization all relating to U4-2749 Fix auth filters to return 401 when not logged in and 403 when the user has no access
2013-09-10 15:37:44 +10:00
perploug
f6fbf1fa51
merge
2013-09-09 16:31:04 +02:00
perploug
6bc8713b7f
Remove vaue->value typo in all files
2013-09-09 15:26:22 +01:00
Per Ploug Krogslund
e69f0ae6a3
karma conf update
2013-09-09 14:38:02 +02:00
Per Ploug Krogslund
0da60087ae
Adds touch and swiping support to navigation and all modals
2013-09-09 14:37:42 +02:00
perploug
3ba7fbd0e7
Assets service spec for testing lib loading
2013-09-09 10:15:27 +01:00
perploug
623a28c158
delete fontawesome
2013-09-02 15:40:14 +02:00
Shannon
5b289a4971
Implemented much more for the new drop down property editors to ensure backwards compatibility, had to implement a new required method for property editors to format their data for cache storage. Changed how the drop down angular list is generated, now it uses a dictionary which is much more elegant with less code. Got drop down (normal) and drop down publishing keys working and saving the correct data types, nearly have drop down list multiple working but going to change the property editors to be able to post object (json) instead of just a string for values.
2013-08-26 17:24:08 +10:00
perploug
1b0bffbe04
Changing karma log back to info level
2013-08-23 15:51:10 +02:00
Per Ploug Krogslund
7763550a89
Renames umbImageHelper to imageHelper
2013-08-23 15:26:00 +02:00
perploug
66684bc6f5
Tried writing assets and keyboard tests, both failed :(
2013-08-23 08:31:47 +02:00