8648 Commits

Author SHA1 Message Date
Johannes Meyer
fe9ee48d65 LdapUserGroupBackend: Fix incorrect table name initialization
refs #9950
2015-09-25 16:23:13 +02:00
Johannes Meyer
b19ecbfb43 LdapUserGroupBackend: Remove the remaining code duplicates
refs #9950
refs #9772
2015-09-25 16:21:33 +02:00
Aaron Collins
23631c8f39 changed order of posix check
refs #9950

Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
2015-09-25 14:35:08 +02:00
Aaron Collins
73715c94b1 Fixes for ldap group auth
The current LdapUserGroupBackend was incomplete and suffered from a little over zealous copy pasta.  It had over written certain functions that where unnecessary such as the constructor and a table validator.  This patch aims to clean those up.  Additionally it also makes this group auth work with posixGroup that use the username as the member identifier and not just inetGroups that use the full dn

refs #9950

Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
2015-09-25 14:34:33 +02:00
Johannes Meyer
d4c1ca9e18 Merge branch 'feature/custom-menu-items-5600'
resolves #5600
fixes #10169
fixes #10046
fixes #10082
2015-09-25 14:17:34 +02:00
Johannes Meyer
a55cced039 Merge branch 'master' into feature/custom-menu-items-5600
Conflicts:
	modules/monitoring/application/views/scripts/list/comments.phtml
	modules/monitoring/application/views/scripts/list/downtimes.phtml
2015-09-25 14:12:43 +02:00
Johannes Meyer
f17c185aed js: Improve logging when pushing history states 2015-09-25 14:08:10 +02:00
Johannes Meyer
67a28a4b47 js: Do not re-open the detail url if it's the origin of a redirect
refs #5600
2015-09-25 13:58:52 +02:00
Alexander A. Klimov
a9ec0eebef Merge branch 'bugfix/don-t-use-parse_ini_file-in-Config-10150'
fixes #10150
2015-09-25 12:19:38 +02:00
Alexander A. Klimov
812545c04b IniStore::load(): use IniParser::parseIniFile() instead of parse_ini_file()
refs #10150
2015-09-25 12:15:47 +02:00
Alexander A. Klimov
8dc9928cb3 IniParser::parseIniFile(): return a Config instance
refs #10150
2015-09-25 12:04:13 +02:00
Alexander A. Klimov
a090907373 Conform to coding guidelines 2015-09-25 11:37:06 +02:00
Johannes Meyer
086579b254 NavigationController: Rerender the layout when removing menu entries
refs #5600
2015-09-25 10:51:44 +02:00
Johannes Meyer
2952eaefcd NavigationController: Rerender the layout when unsharing menu entries
refs #5600
2015-09-25 10:51:16 +02:00
Johannes Meyer
e8f93e8ea1 NavigationConfigForm: Translate non-translated error messages
refs #5600
2015-09-24 15:50:40 +02:00
Johannes Meyer
3f22469c18 NavigationConfigForm: Fix name validation when adding or editing items
refs #5600
2015-09-24 15:50:19 +02:00
Johannes Meyer
cd1510d846 NavigationConfigForm: Set a "name" as default key column for nav configs
refs #5600
2015-09-24 15:49:04 +02:00
Johannes Meyer
b7ef951e57 NavigationController: Rerender the layout when editing a menu entry
refs #5600
2015-09-24 14:05:57 +02:00
Johannes Meyer
c4df7e05be NavigationController: Rerender the layout when adding a menu entry
refs #5600
2015-09-24 14:05:28 +02:00
Johannes Meyer
165dc00fad Url: Do not throw ProgrammingError if there is no relative url available
refs #5600
2015-09-24 14:03:15 +02:00
Johannes Meyer
338c0680e0 NavigationConfigForm: Consider a user's config and the share config as one
Actually, we need a more sophisticated solution for this, but I guess this is a
proper quickfix to avoid any conflicts when switching between shared and
non-shared.

refs #5600
2015-09-24 12:58:11 +02:00
Johannes Meyer
4d303e7121 NavigationController: Redirect to the shared overview if its the referrer..
..when editing a navigation item.

refs #5600
2015-09-23 14:21:04 +02:00
Johannes Meyer
6aecfe6959 Introduce base form class ActionForm
refs #5600
2015-09-23 13:45:33 +02:00
Johannes Meyer
40c2cb2d12 MonitoredObject: Support host- and servicegroup filters in method matches()
refs #5600
2015-09-23 13:03:41 +02:00
Johannes Meyer
e42548fc80 MonitoredObject: Allow to fetch servicegroups for host objects
refs #5600
2015-09-23 13:02:43 +02:00
Johannes Meyer
9042d55dd4 FilterExpression: Add support multi value columns in method matches()
refs #5600
2015-09-23 13:02:13 +02:00
Johannes Meyer
e4e560ab1a FilterMatchNot: Do not re-invent the parents implementation of matches()
refs #5600
2015-09-23 13:01:08 +02:00
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
Matthias Jentsch
b69311165c Conform to coding guidelines 2015-09-22 14:53:29 +02:00
Alexander A. Klimov
626c3494e4 Config::fromIni(): use IniParser::parseIniFile() instead of parse_ini_file()
refs #10150
2015-09-22 14:50:49 +02:00
Alexander A. Klimov
acb93ce1ae Implement Document::toArray()
refs #10150
2015-09-22 14:50:49 +02:00
Alexander A. Klimov
777c4d0baf Implement Section::toArray()
refs #10150
2015-09-22 14:50:49 +02:00
Alexander A. Klimov
b441156934 Implement IniParser::parseIniFile()
refs #10150
2015-09-22 14:50:49 +02:00
Matthias Jentsch
30fa554ad9 Merge branch 'bugfix/ldap-group-to-roles-assignment-not-working-9950'
fixes #9950
2015-09-22 14:25:35 +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
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