Johannes Meyer
223ecab991
DbUserGroupBackend: Make it possible to handle memberships
...
refs #8826
2015-05-13 10:34:39 +02:00
Johannes Meyer
47dfcf5e1d
DbUserGroupBackend: Do not use the repository abstraction internally
...
That's overhead which is not necessary.
refs #8826
2015-05-13 10:34:00 +02:00
Johannes Meyer
7d982068a5
DbRepository: Ensure that we'll work with a instance of DbConnection
...
refs #8826
2015-05-13 09:52:29 +02:00
Johannes Meyer
d5d0c67d2c
IniRepository: Do not handle $target as a section's name
...
That's bullshit.
refs #8826
2015-05-13 09:48:46 +02:00
Johannes Meyer
104c1c6bba
DbUserBackend: Utilize Zend_Db_Select when fetching the password hash
2015-05-13 09:16:24 +02:00
Johannes Meyer
7d08dd2765
DbConnection: Adjust insert and update to support custom type definitions
...
This strips the custom insert and update implementataions in
DbUserBackend down so that it does not need to do such low level stuff...
refs #8826
2015-05-13 09:15:18 +02:00
Johannes Meyer
aa466ae721
Merge branch 'master' into feature/user-and-group-management-8826
2015-05-13 08:11:59 +02:00
Alexander A. Klimov
9e3d65e4e9
Display performance data metrics with value 0
...
fixes #8744
2015-05-12 17:44:53 +02:00
Alexander A. Klimov
9e4c00506d
Revert "Display performance data metrics with value 0"
...
This reverts commit 3c73f28157
.
2015-05-12 17:22:25 +02:00
Alexander A. Klimov
3c73f28157
Display performance data metrics with value 0
...
fixes #8744
2015-05-12 17:19:20 +02:00
Alexander A. Klimov
d43513dcac
Controller: use Icinga\Data\Sortable
2015-05-12 16:38:31 +02:00
Alexander A. Klimov
7353c0d287
IdoQuery::initializeForPostgres(): cast only valid IP addresses to inet
...
fixes #7165
2015-05-12 16:35:14 +02:00
Johannes Meyer
a9f0fd0708
UserController: Ensure that the sort and dir parameters are being applied
...
refs #8826
2015-05-12 15:49:45 +02:00
Johannes Meyer
2e0a444f13
GroupController: Ensure that the sort and dir parameters are being applied
...
refs #8826
2015-05-12 15:49:24 +02:00
Johannes Meyer
c91d3e52ac
Merge branch 'master' into feature/user-and-group-management-8826
2015-05-12 15:39:02 +02:00
Johannes Meyer
053c9cdcb3
Repository: Check whether a column is queried from the correct table
...
refs #8826
2015-05-12 15:38:29 +02:00
Alexander A. Klimov
4bda1cf6d6
Merge branch 'bugfix/Centralize-submission-and-apply-handling-of-sort-rules-9220'
...
fixes #9220
2015-05-12 10:32:24 +02:00
Alexander A. Klimov
afa0dc0956
SortBox::handleRequest(): check whether $this->query !== null
...
refs #9220
2015-05-12 10:29:50 +02:00
Alexander A. Klimov
dd58f1466c
Don't apply sort rules in Monitoring_ListController::filterQuery()
...
refs #9220
2015-05-12 10:17:38 +02:00
Alexander A. Klimov
e1c3d23d12
Icinga\Web\Controller::setupSortControl(): set query on the newly created SortBox (if given)
...
refs #9220
2015-05-11 16:28:23 +02:00
Alexander A. Klimov
32659647b9
Implement Icinga\Web\Widget\SortBox::handleRequest()
...
refs #9220
2015-05-11 16:09:20 +02:00
Johannes Meyer
399bbf0795
AuthenticationStep: Adjust usage of a DbUserBackend's insert capability
...
refs #8826
2015-05-11 16:01:20 +02:00
Johannes Meyer
44bbd93cbc
DbUserBackend: Provide a custom insert and update implementation
...
As we're transmitting password hashes which may contain special chars
and the like, we need to utilize prepared statements with explicit types.
refs #8826
2015-05-11 16:00:24 +02:00
Alexander A. Klimov
17ebe07e57
Implement Icinga\Web\Widget\SortBox::setQuery()
...
refs #9220
2015-05-11 15:37:00 +02:00
Alexander A. Klimov
295254d1d5
Rename Icinga\Web\Widget\SortBox::applyRequest() to ...::setRequest()
...
refs #9220
2015-05-11 14:07:57 +02:00
Alexander A. Klimov
152c6a8f7f
Merge Monitoring_ListController::hasBetterUrl() into Icinga\Web\Controller::init()
...
refs #9220
2015-05-11 13:36:58 +02:00
Johannes Meyer
b3957c556b
DbUserGroupBackend: Properly utilize the insert and update capability
...
refs #8826
2015-05-11 13:28:01 +02:00
Johannes Meyer
ca166b0175
DbRepository: Add insert, update and delete capabilities
...
refs #8826
2015-05-11 13:26:41 +02:00
Johannes Meyer
3aaa6d39a1
DbConnection: Make it possible to insert, update and delete table rows
...
refs #8826
2015-05-11 13:25:50 +02:00
Johannes Meyer
30bc1db6ee
IniRepository: There is no need to fetch the results using a query
...
Icinga\Application\Config is iterable.
refs #8826
2015-05-11 07:46:36 +02:00
Johannes Meyer
f1c82fc318
IniUserGroupBackend: Convert timestamps and arrays...
...
...to formatted datetime strings and comma separated strings respectively
refs #8826
2015-05-08 15:28:10 +02:00
Johannes Meyer
59ec11f047
IniUserGroupBackend: Extend IniRepository
...
We are now able to insert, update and delete user groups stored in INI files
refs #8826
2015-05-08 15:26:35 +02:00
Johannes Meyer
6ef4bbe210
Introduce class IniRepository
...
refs #8826
2015-05-08 15:22:51 +02:00
Johannes Meyer
8690056e1c
Introduce interface Updatable
...
refs #8826
2015-05-08 15:18:56 +02:00
Johannes Meyer
2c1fac9da8
Introduce interface Reducible
...
refs #8826
2015-05-08 15:18:42 +02:00
Johannes Meyer
84f20ecb5f
Introduce interface Extensible
...
refs #8826
2015-05-08 15:18:28 +02:00
Johannes Meyer
12ff708ac0
Introduce exception StatementException
...
refs #8826
2015-05-08 15:17:36 +02:00
Johannes Meyer
938da806ca
Repository: Recurse a filter in the repository instead of in the query
...
This allows to recurse and adjust a filter outside the query context as well
refs #8826
2015-05-08 12:15:02 +02:00
Johannes Meyer
5ace0a08f3
GroupController: Add backend selection control
...
refs #8826
2015-05-08 09:56:07 +02:00
Johannes Meyer
1e1b9540f0
UserController: Add backend selection control
...
refs #8826
2015-05-08 09:54:45 +02:00
Matthias Jentsch
cf8376f478
Merge branch 'bugfix/delete-multiple-downtimes-and-comments-8624'
...
fixes #8624
2015-05-07 17:36:49 +02:00
Matthias Jentsch
8c5f2662ea
Fix redirects in downtime multi view
...
refs #8624
2015-05-07 17:33:38 +02:00
Matthias Jentsch
fff2d5c816
Use consistent controller names
...
refs #8624
2015-05-07 17:29:46 +02:00
Matthias Jentsch
83efc3a4a3
Conform to coding guidelines
2015-05-07 17:23:50 +02:00
Alexander Fuhr
891ce0fe57
UserTest: Fix wrong assert condition for wildcard
2015-05-07 17:19:00 +02:00
Markus Frosch
9936df5157
Fix current base version to v2.0.0-beta3
...
We can't really fix tag and release tarballs though.
This is mainly for Jenkins...
2015-05-07 17:08:01 +02:00
Matthias Jentsch
c6c78989a5
Fix redirects after deleting a comment
...
refs #8624
2015-05-07 17:02:34 +02:00
Matthias Jentsch
1fa550838d
Coding guidelines and cleanup
2015-05-07 16:37:35 +02:00
Matthias Jentsch
7cf2cb034e
Remove unused and redundant controller actions
...
refs #8624
2015-05-07 16:22:17 +02:00
Matthias Jentsch
ac599e642a
Add submit button label to multi comment form
...
refs #8624
2015-05-07 16:21:34 +02:00