6560 Commits

Author SHA1 Message Date
Johannes Meyer
9163fb0f0f Drop Icinga\Protocol\Ldap\ConnectionTest
...located at *test*/php/library/Icinga/Protocol/Ldap/.
2015-05-04 13:40:54 +02:00
Johannes Meyer
100d475b58 Fix ldap ConnectionTest
If I ever have to look at this test again, I'll drop it.

refs #8826
2015-05-04 13:25:07 +02:00
Johannes Meyer
437090d2b1 AdminAccountPage: Backends do provide a unified interface now, use it
refs #8826
refs #7693
2015-05-04 12:21:17 +02:00
Johannes Meyer
c441117324 LdapUserBackend: Extend Repository and implement UserBackendInterface
refs #8826
2015-05-04 12:18:25 +02:00
Johannes Meyer
e74194c18e ExternalBackend: Implement UserBackendInterface
refs #8826
2015-05-04 12:15:50 +02:00
Johannes Meyer
99ac0b78ea DbUserBackend: Extend DbRepository and implement UserBackendInterface
refs #8826
2015-05-04 12:15:05 +02:00
Johannes Meyer
7b41fc020a AuthChain: Yield UserBackendInterface instead of UserBackend
refs #8826
2015-05-04 11:44:41 +02:00
Johannes Meyer
1824eb9c3b Make class UserBackend being just a factory for user backends
refs #8826
2015-05-04 11:43:53 +02:00
Johannes Meyer
68657c02ee Introduce interface Icinga\Authentication\User\UserBackendInterface
refs #8826
2015-05-04 11:40:17 +02:00
Johannes Meyer
870e75c99c Introduce class Icinga\Repository\DbRepository
refs #8826
2015-05-04 11:39:12 +02:00
Johannes Meyer
fa1906ee7d Introduce class Icinga\Repository\RepositoryQuery
refs #8826
2015-05-04 11:38:21 +02:00
Johannes Meyer
3b93b84ecf Introduce class Icinga\Repository\Repository
refs #8826
2015-05-04 11:37:48 +02:00
Johannes Meyer
7b7a7c9299 Ldap\Connection: Add proper order support
Will now utilize SimpleQuery::compare() to provide support for multiple
order columns.

refs #8826
refs #7693
2015-05-04 11:36:38 +02:00
Johannes Meyer
6612e4c1ae SimpleQuery: Make compare() alias aware
refs #8826
refs #7693
2015-05-04 11:34:39 +02:00
Johannes Meyer
664017573f Ldap\Connection: Add query alias support
refs #8826
2015-05-04 11:32:03 +02:00
Johannes Meyer
5baa0590b1 Ldap\Query: Extend SimpleQuery and add missing documentation
refs #8826
refs #8955
2015-05-04 11:26:27 +02:00
Johannes Meyer
99213432f5 Ldap\Connection: Rename fetchDN() to fetchDn()
We're using CamelCase names for methods.
2015-05-04 11:16:16 +02:00
Johannes Meyer
7178026b8b Ldap\Connection: Implement interface Selectable
refs #8826
2015-05-04 11:15:20 +02:00
Johannes Meyer
ecd059dec5 DbConnection: select() returns a DbQuery, not a Query 2015-05-04 11:13:38 +02:00
Johannes Meyer
e7789ed640 SimpleQuery: Rename unused property table' to target'
`target' is already in use, but was not declared. `table' was declared but not
used anywhere. So `table' is now `target'.
2015-05-04 11:12:43 +02:00
Johannes Meyer
ca5ef2da2b Merge Queryable into QueryInterface
A *Query*Interface describes an object as being queryable, now.

refs #8826
2015-05-04 11:07:50 +02:00
Alexander A. Klimov
ab0b478e4f Icinga\Web\Widget\Tabextension\DashboardAction::apply(): translate label "Add To Dashboard" 2015-04-30 17:49:42 +02:00
Alexander A. Klimov
ffe23a184f Don't display "Add To Dashboard" on the dashboard
resolves #9026
2015-04-30 17:47:23 +02:00
Alexander A. Klimov
d43f4729f1 Monitoring_ListController::filterQuery(): preserve parameter `_dev'
resolves #8453
2015-04-30 17:25:59 +02:00
Alexander Fuhr
32f657bc01 Merge branch 'master' of git.icinga.org:icingaweb2 2015-04-30 16:19:02 +02:00
Alexander Fuhr
15b86e5be7 Merge branch 'feature/menu-item-renderer-backend-4139'
resolves #4139
2015-04-30 16:15:33 +02:00
Alexander Fuhr
8484a27b56 Add a backend problem menu item renderer to system menu
refs #4139
2015-04-30 16:13:10 +02:00
Alexander Fuhr
880b1eb21a Add better styling for backend-not-running class
refs #4139
2015-04-30 16:12:36 +02:00
Alexander Fuhr
5075ccdf38 Add ProblemMenuItemRenderer to system menu as renderer
refs #4139
2015-04-30 16:10:44 +02:00
Alexander Fuhr
7f28c0a237 Implement ProblemMenuItemRenderer
refs # 4139
2015-04-30 16:06:05 +02:00
Johannes Meyer
d09ea2845d Merge branch 'master' into feature/user-and-group-management-8826 2015-04-30 15:20:40 +02:00
Johannes Meyer
034421d0cb Fix form tests utilizing Mockery's partial mock functionality
Since an update of Mockery, partial mocks do not call the constructor
of their mocked classes anymore without explicitly passing a non empty
array. This is a regression of the following bug:
https://github.com/padraic/mockery/issues/144
2015-04-30 15:20:19 +02:00
Johannes Meyer
3da144f199 Revert "Sort LDAP user list"
This reverts commit d4dc0177c0880ca3324b6854b219cef2d2ce9300.
2015-04-28 15:57:33 +02:00
Alexander A. Klimov
d27b94dcec Revert "Don't fetchAll() and loop afterwards in the alert summary report"
This reverts commit f3ca80ffced18497322a74b8b49e94e88bb31cdc.
2015-04-28 12:52:59 +02:00
Alexander A. Klimov
f3ca80ffce Don't fetchAll() and loop afterwards in the alert summary report
refs #8340
2015-04-27 14:44:19 +02:00
Alexander A. Klimov
9917e63e02 Remove exclamation mark from the notification "Authentication order updated!"'s translations 2015-04-27 14:13:26 +02:00
Alexander A. Klimov
c839cc0b08 Remove exclamation mark from the notification "Authentication order updated!"
resolves #8960
2015-04-27 13:16:54 +02:00
Alexander A. Klimov
6f0fd7d44d Remove right petrol border from plugin output in the host and service detail views
resolves #8967
2015-04-27 13:06:55 +02:00
Alexander A. Klimov
7c0be30def Handle and display multiline log messages correctly 2015-04-24 17:36:49 +02:00
Alexander A. Klimov
ec82b3bc09 Implement Icinga\Protocol\File\LogFileIterator 2015-04-24 17:36:48 +02:00
Alexander A. Klimov
3d53e6f9b5 Icinga\Protocol\File\FileReader::count(): call iterator_count() only once per instance and cache the returned value 2015-04-24 11:10:40 +02:00
Alexander A. Klimov
5ba539b7c1 SyslogWriter: replace \n w/ 4 spaces in multiline log messages 2015-04-24 10:28:45 +02:00
Alexander A. Klimov
a429617a95 Revert "Log each line of a multiline log message separatly"
This reverts commit 39042ab306c85af0b5320987e959c9f2b4135718.
2015-04-24 10:17:35 +02:00
Alexander A. Klimov
39042ab306 Log each line of a multiline log message separatly
resolves #9000
2015-04-23 17:44:00 +02:00
Alexander A. Klimov
a976d777b3 Show custom variables visually separated in the host and service detail views
resolves #8966
2015-04-23 13:31:02 +02:00
Alexander A. Klimov
e4a9843021 Show Icinga 2 boolean variables in the host and service detail views
resolves #8747
2015-04-23 12:38:29 +02:00
Alexander A. Klimov
6ba6cb7940 Improve layout of dictionaries in the host and service detail views
resolves #8474
2015-04-23 11:58:54 +02:00
Alexander A. Klimov
9cd7765d9e If session_save_path() returns '', use sys_get_temp_dir()
resolves #8994
2015-04-22 17:26:15 +02:00
Alexander A. Klimov
1daecbbca0 Don't use false === ...' when ! ...' is enough 2015-04-22 17:04:31 +02:00
Alexander A. Klimov
9393d11c0b Display an error message when enabled modules cannot be read because /etc/icingaweb2 is not readable
resolves #9141
2015-04-22 16:44:00 +02:00