8582 Commits

Author SHA1 Message Date
Johannes Meyer
939188be94 FilterMatch: Do not re-invent the parents implementation of matches()
refs #5600
2015-09-23 13:00:46 +02:00
Johannes Meyer
fcdf41a9b8 DashletForm: Provide a helpful hint how to input external urls
refs #5600
2015-09-22 16:24:09 +02:00
Johannes Meyer
f47c0475c9 NavigationItemForm: Provide a helpful hint how to input external urls
refs #5600
2015-09-22 16:18:55 +02:00
Johannes Meyer
5193fce1dd Url: Fix external url detection
refs #5600
2015-09-22 16:18:27 +02:00
Johannes Meyer
81e13109fc Revert "Url: Add support macros"
This reverts commit 33231d24dab942b31c924c4c8e352dd73f80939b.
There is no need for url macros, since we're handling absolute
urls correctly now.
2015-09-22 15:51:00 +02:00
Johannes Meyer
33231d24da Url: Add support macros
refs #5600
2015-09-22 14:15:04 +02:00
Johannes Meyer
7321d67b4f Url: Consider urls with a leading slash as absolute..
..and make it possible to have a url without a base.

refs #5600
2015-09-22 14:14:41 +02:00
Johannes Meyer
57e08e92d4 Do not mark relative urls as absolute
refs #5600
refs #10169
2015-09-22 14:12:08 +02:00
Johannes Meyer
8239ec8fb5 NavigationConfigForm: Show only an owner's parents to admins
refs #5600
2015-09-21 15:29:14 +02:00
Johannes Meyer
3f70351239 MenuItemForm: Only allow to select _blank and _main as url target
refs #5600
2015-09-21 15:26:56 +02:00
Johannes Meyer
3c7155f246 NavigationItemRenderer: Pass external urls through the iframe module
refs #5600
2015-09-21 14:13:10 +02:00
Johannes Meyer
7e460e7c03 Url: Remove redundant slash on urls without path 2015-09-21 14:04:36 +02:00
Johannes Meyer
776d06d6ca Url: Fix host check in fromPath()
refs #5600
2015-09-21 14:03:53 +02:00
Johannes Meyer
c8d3aa2517 Url: Support external urls in fromPath()
refs #5600
2015-09-21 13:10:35 +02:00
Johannes Meyer
3aaf726856 Update CSS style used for the navigation
refs #5600
2015-09-21 11:13:05 +02:00
Johannes Meyer
76cf01869e NavigationItem: Add property $target
refs #5600
2015-09-21 10:18:46 +02:00
Johannes Meyer
af3f80f873 NavigationConfigForm: Fix documentation of method delete()
refs #5600
2015-09-21 09:00:22 +02:00
Johannes Meyer
5a494b3088 NavigationController: Show module item types only if accessible by the user
refs #5600
2015-09-21 08:59:36 +02:00
Johannes Meyer
5f998eb56d NavigationConfigForm: Really remove the "old" section when renaming
refs #5600
2015-09-18 16:25:06 +02:00
Johannes Meyer
75d003a775 NavigationConfigForm: Automatically share a parent's entire children, #2
refs #5600
2015-09-18 16:17:54 +02:00
Johannes Meyer
9574f80160 NavigationConfigForm: Automatically share a parent's entire children
refs #5600
2015-09-18 16:08:58 +02:00
Johannes Meyer
c077dbd15a NavigationConfigForm: Update a parent's name on all childrens as well
refs #5600
2015-09-18 16:00:33 +02:00
Johannes Meyer
ed875b5297 NavigationConfigForm: Do not allow to delete parents
refs #5600
2015-09-18 15:58:20 +02:00
Johannes Meyer
518cdad1a8 NavigationConfigForm: Automatically unshare childrens in method unshare()
refs #5600
2015-09-18 15:57:45 +02:00
Johannes Meyer
f4978fcb5a NavigationConfigForm: Automatically unshare a child if its parent isn't shared
refs #5600
2015-09-18 15:56:00 +02:00
Johannes Meyer
f1c6b34d7a NavigationConfigForm: Automatically share childs if there parent is shared
refs #5600
2015-09-18 15:53:39 +02:00
Johannes Meyer
84dfbf0b08 user navigation overview: Provide "owner" as sort column
This is rather a quick&dirty solution than anything proper.. But it basically
works and the only drawback is that ASC or DESC is dependent from the
owner's name...

refs #5600
2015-09-18 15:51:00 +02:00
Johannes Meyer
bef5eeda93 NavigationController: Fix action unshare()
refs #5600
2015-09-18 13:24:44 +02:00
Johannes Meyer
19ebdcfb37 NavigationConfigForm: Fix method getFlattenedChildren()
refs #5600
2015-09-18 12:20:44 +02:00
Johannes Meyer
37c7952ec7 shared navigation overview: Do not allow to unshare childs individually
refs #5600
2015-09-18 11:34:00 +02:00
Johannes Meyer
5eb7267b43 user navigation overview: Display whether an item has been shared
refs #5600
2015-09-18 11:10:17 +02:00
Johannes Meyer
335ed8c74f NavigationConfigForm: Provide all available parents for non-shared items
refs #5600
2015-09-18 11:01:02 +02:00
Johannes Meyer
9477c53b43 NavigationConfigForm: Do not allow to choose a parent once a item is shared
refs #5600
2015-09-18 10:52:03 +02:00
Johannes Meyer
4b7fbdfa1f NavigationConfigForm: Provide proper parents when editing a shared item
refs #5600
2015-09-18 10:40:16 +02:00
Johannes Meyer
91601de398 NavigationConfigForm: Ask the item form whether a parent is required
refs #5600
2015-09-18 09:48:22 +02:00
Johannes Meyer
c657812b9c NavigationConfigForm: Require NavigationItemForm as base class
refs #5600
2015-09-18 09:43:40 +02:00
Johannes Meyer
b39eddf69d navigation overviews: Use "type" as default sort column instead of "name"
As long as we're not splitting the items by type in different views, this
sort column is probably more commonly used..

refs #5600
2015-09-18 08:58:57 +02:00
Johannes Meyer
2cf52df0a8 user navigation overview: Add sort control
refs #5600
2015-09-18 08:53:05 +02:00
Johannes Meyer
996224f54a NavigationConfigForm: Do not allow to configure circular parent child relations
refs #5600
2015-09-17 15:53:12 +02:00
Johannes Meyer
6e2d7dca9b shared navigation overview: Add sort control
refs #5600
2015-09-17 15:17:46 +02:00
Johannes Meyer
d4a9198310 Navigation: Only fail if there's really no chance to create the requested hierarchy
refs #5600
2015-09-17 14:42:02 +02:00
Johannes Meyer
7b5d414c7f Introduce form class MenuItemForm
refs #5600
2015-09-17 13:46:08 +02:00
Johannes Meyer
6d74373276 NavigationConfigForm: Add method listAvailableParents()
refs #5600
2015-09-17 13:45:47 +02:00
Johannes Meyer
f8d53c1d07 NavigationConfigForm: Sub-forms may require a parent being set
refs #5600
2015-09-17 13:42:25 +02:00
Johannes Meyer
b6fe6ffd6b Navigation: Relax type check in method fromConfig()
refs #5600
2015-09-17 13:41:28 +02:00
Johannes Meyer
bb4f4e9095 User: Properly load menu items
refs #5600
2015-09-17 13:40:58 +02:00
Johannes Meyer
0ec3610349 Web: Properly load shared menu items
refs #5600
2015-09-17 13:40:40 +02:00
Johannes Meyer
83bde3aa81 Form: Rename property $parent to $_parent
Zend.. I love you..
2015-09-17 11:23:47 +02:00
Johannes Meyer
4f5a5c83bc Navigation: Add method hasRenderableItems()
refs #5600
2015-09-17 11:01:06 +02:00
Johannes Meyer
bf4e492fa1 Action: Accept and apply option "filter"
refs #5600
2015-09-17 11:00:40 +02:00