8759 Commits

Author SHA1 Message Date
Matthias Jentsch
42fb1a174b Do not crash when ldap_dn is defined in additional variables
refs #9950
2015-09-22 14:08:15 +02:00
Matthias Jentsch
46f2f71c57 Improve logging of membership queries
refs #9950
2015-09-22 13:02:08 +02:00
Matthias Jentsch
84554d245d Conform to coding guidelines
refs #9950
2015-09-22 12:51:00 +02:00
Matthias Jentsch
aebc48cb03 Merge pull request #43 from jorhett/master
refs #9950
2015-09-22 12:40:06 +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
Alexander A. Klimov
8bfc7b8805 Repair "Show More" links in the Alert Summary
fixes #9995
2015-09-21 13:26:42 +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
Jo Rhett
f3df1f228d Fix for support issue 9950, do lookups properly on posixGroup group classes 2015-09-18 13:37:04 -07: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
Alexander A. Klimov
dd0e924e8d Do not validate section names in forms
fixes #10151
2015-09-18 16:11:51 +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
Alexander A. Klimov
17e8f01d24 Use the DN to fetch group memberships from LDAP
fixes #9901
2015-09-18 15:34:12 +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
Matthias Jentsch
3b135c6b6f Fix PostgreSQL queries that use GROUP BY
Add missing instance_id to getGroup query functions to avoid query errors in PostgreSQL.

fixes #10160
2015-09-17 16:29:00 +02:00
Eric Lippmann
8cea292745 monitoring: Fix grouping of host and service status when filtering for group columns
refs #9956
2015-09-17 16:22:24 +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
Eric Lippmann
eff9249863 lib: Don't provide LDAP server-side sort request if the query has no order
refs #10147
2015-09-17 13:01:58 +02:00