Callum Whyte
1654bea562
Casting tree controllers to TreeControllerBase to support manually registered trees without attributes
2020-11-09 19:45:16 +00:00
leekelleher
f4bd0cd1f5
Swapped all System.Root string conversions
...
to use the `System.RootString` constant.
This saves on integer parsing and reduces the number of
new strings being created.
Since the `System.Root` is `-1`, it didn't need the culture invariant
conversion.
2019-03-29 12:06:23 +00:00
Bjarke Berg
1770a0abec
Inject IUmbracoContextAccessor instead of UmbracoContext
2019-02-14 12:40:45 +01:00
Shannon
1a1222905b
reverts the formsInstaller alias, fixes the ApplicationTreeController to allow full screen sections without trees, removes the forms tree controller
2019-02-12 12:22:36 +11:00
Shannon
33bc979cfc
Fixes binding of FormDataCollection for GET requests which fixes the compatibility with the latest WebApi 5.2.7 version (cherry picked from https://github.com/umbraco/Umbraco-CMS/pull/3851 ), fixes a binding redirect
2019-02-06 17:03:23 +11:00
Shannon
7b55d2f1b2
New IMacroRenderer and ITemplateRenderer and hides underlying logic for these in internal classes. Massively cleans up the macro rendering logic (almost makes sense now), removes unused macro code, injects UmbracoHelper wherever it's needed (not creating manually), fixes UmbracoHelper to have it's services injected, no more empty services, allows setting the AssignedContentItem on the UmbracoHelper and ensures it's lifespan is Transient, updates all corresponding ctors. Fixes macro rendering, ensures the correct culture variation is assigned, and that we can render macros for any given IPublishedContent, not just the one assigned in the request.
2019-01-31 15:09:31 +11:00
Shannon
6c0321ce72
Fixing trees regression issue
2019-01-30 19:48:42 +11:00
Stephan
585abf2902
Cleanup trees
2019-01-25 09:49:55 +01:00
Stephan
4067ac7d93
Merge branch temp8 into tmp8-fixtree
2019-01-24 18:34:25 +01:00
Chris Houston
78319bae9e
Temp8 fix typos 2 ( #4130 )
2019-01-23 00:03:39 +01:00
Stephan
ad026e25d7
Cleanup trees
2019-01-22 13:55:31 +01:00
Niels Lyngsø
82d6af2013
Merge remote-tracking branch 'origin/temp8' into bugfix/temp8-media-could-not-be-moved-to-root
...
# Conflicts:
# src/Umbraco.Web/Trees/ApplicationTreeController.cs
2019-01-21 11:13:08 +01:00
Stephan
3982732b7d
Fix merge + cleanup
2019-01-18 15:05:20 +01:00
Shannon
1667e914cd
Allows the tree collection to be manipulated by devs on startup, renames some things
2019-01-17 18:38:55 +11:00
Shannon
356209e013
renames ApplicationTree to just Tree
2019-01-17 17:33:38 +11:00
Shannon
cfe1b17eec
Gets trees and sections loading now in a much more simplified way without any xml, now to cleanup
2019-01-17 16:40:11 +11:00
Shannon
355ac09d90
WIP - moved out the tree and section service from Core, these are web only things, removes their xml parsing, fixes base controller ctor params with UmbracoContext, need to implement tree/section collections taking into account controllers and not scanning so much
2019-01-17 13:20:19 +11:00
Bjarke Berg
00158b42e7
Merge remote-tracking branch 'origin/temp8' into bugfix/temp8-media-could-not-be-moved-to-root
...
# Conflicts:
# src/Umbraco.Web.UI.Client/src/views/content/move.html
# src/Umbraco.Web.UI.Client/src/views/media/restore.html
2019-01-16 11:47:13 +01:00
Claus
003d54cacd
cleanup usings
2019-01-07 12:59:38 +01:00
Warren Buckley
767cd93f08
Adds in some logic if we have no child trees for that application/section then we create a SingleTreeRoot
2018-12-11 14:09:44 +00:00
Bjarke Berg
e8818b36bd
Media could not be moved to the root (The root was not available as target)
2018-11-26 07:49:32 +01:00
Shannon
3d29c0381e
small refactor of trees for single page apps sections and some cleanup, puts the back button for dictionary back in with the correct route
2018-10-26 14:18:42 +11:00
Dave Woestenborghs
3a0981e02b
#3419 fix error in backend for sections with no tree (forms when not installed)
2018-10-25 09:06:53 +02:00
Dave Woestenborghs
25a90ffbf5
#3419 added extra parameter to createSingleRoot node method so it will always show a single tree. If a single tree doesn't have children it does not show
2018-10-25 08:54:17 +02:00
Dave Woestenborghs
d5cc658811
#3419 added check on tree items count back
2018-10-24 18:28:52 +02:00
Dave Woestenborghs
d23f5f8124
#3419 remove check on number of trees so dictoinary tree shows in the translation section and doesn't return a error when it's moved to the settings section
2018-10-24 15:31:45 +02:00
Shannon
9dadecdcc1
Fixes boolean conversion logic in ColorPickerConfigurationEditor, Fixes tree grouping logic and moves groups cache to the ApplicationTreeService, fix other merge issues
2018-10-23 18:28:55 +11:00
Shannon
a100d321f6
Fixes group node route
2018-10-16 18:08:57 +11:00
Shannon
10873c1dfc
Cleans up all old tree classes. woohoo!
2018-10-16 17:41:02 +11:00
Shannon
286f7b3279
Gets tree syncing working, updates the GetApplicationTrees to still return a single Root since we require this everywhere for JS, fixes full screen section and makes users a full screen section (and reduces unecessary code), removes code to avoid breaking changes from v7
2018-10-16 16:41:06 +11:00
Shannon
f996653a67
changes logic to Count
2018-10-11 10:35:23 +02:00
Warren Buckley
6dd9bf56be
Update logic for checking for groups to be more robust (as we could still have one named group)
2018-10-11 09:23:42 +01:00
Warren Buckley
9572d195b5
Fixes based on Shan's feedback of the PR
...
Only does fancy group logic if more than one group - means other sections can be grouped in the future
2018-10-11 09:16:44 +01:00
Warren Buckley
5b3db88df9
Fix logic - so that Content Blueprints tree is added to the list of trees (Finding by name/title was not working, so switched to the AdditionalData["treeAlias"] instead
2018-10-10 15:02:50 +01:00
Warren Buckley
f1b20ebbb2
Orders the grouped trees by name (which means the custom trees will be last now)
...
Displays custom third party group - only if we have items to show in that group
2018-10-10 12:25:19 +01:00
Warren Buckley
be42783616
Remove dupe code & order by descending (still need to specify own sort order)
2018-10-08 14:10:11 +01:00
Warren Buckley
6c7c510eb9
Initial WIP of grouping trees for settings section - needs tidying
2018-10-08 13:33:14 +01:00
Stephan
d9d51584ea
Fix merge
2018-09-06 14:10:26 +02:00
Stephan
612c38654d
Merge branch origin/dev-v7 into temp8
2018-09-06 13:07:09 +02:00
Ben Palmer
b09bf518c6
U4-9237 Validate application parameter when getting application trees ( #2315 )
2018-08-26 18:12:07 +02:00
Stephan
7a615133ff
Renormalize
2018-06-29 19:52:40 +02:00
Stephan
0a4878d2a3
Port v7@2aa0dfb2c5 - WIP
2018-03-27 10:04:07 +02:00
Shannon
88c20c7c5f
Allows for disabling of any umbraco based Controller on startup, this also takes into account disabled trees so if they are disabled, they will not be shown
2018-01-03 13:49:36 +11:00
Stephan
05cb03af11
Fix, now boots and runs
2017-09-27 10:26:37 +02:00
Stephan
9ed6576908
Port 7.7 - WIP
2017-09-19 15:51:47 +02:00
Stephan
4634eb28e7
Port 7.7 - WIP
2017-09-14 11:41:46 +02:00
Stephan
96c08f24ee
Port 7.7 - WIP
2017-09-12 16:22:16 +02:00
Claus
9169e64e39
cleanup and annoying line endings.
2017-08-17 11:22:05 +02:00
Shannon
72495b3eaf
U4-10227 Users section should start in the user tree
2017-08-10 17:25:16 +10:00
Stephan
b10d370b16
Merge branch dev-v7.7 into user-group-permissions
2017-07-28 12:54:13 +02:00