Johannes Meyer
4d79731646
DbUserBackend: Fix sorting when sorting by user_name
...
refs #8826
2015-05-21 13:53:18 +02:00
Johannes Meyer
ba31be9695
RepositoryQuery: Disim.. Fix sort order handling
...
refs #8826
2015-05-21 13:52:43 +02:00
Johannes Meyer
9278d708d7
IniUserGroupBackend: Do not sort by parent when sorting by group_name
...
refs #8826
2015-05-21 13:51:24 +02:00
Johannes Meyer
6369643145
DbUserGroupBackend: Do not sort by parent when sorting by group_name
...
refs #8826
2015-05-21 13:51:15 +02:00
Johannes Meyer
ed166d6eb7
GroupController: Add showAction
...
refs #8826
2015-05-20 16:17:37 +02:00
Johannes Meyer
94cd4b91e5
GroupController: Just show a group's name when listing groups
...
refs #8826
2015-05-20 15:54:47 +02:00
Johannes Meyer
2cec4a6d67
UserController: Add showAction
...
refs #8826
2015-05-20 15:41:02 +02:00
Johannes Meyer
9891dc4491
UserController: Just show a user's name when listing users
...
Any additional information will be shown in the detail view soon.
refs #8826
2015-05-20 15:00:29 +02:00
Johannes Meyer
9fdcadaa97
UserController: Allow to add new users in case no users were found
...
refs #8826
2015-05-20 14:13:55 +02:00
Johannes Meyer
4a48997f47
GroupController: Add links to add and remove groups to the list action's view
...
refs #8826
2015-05-20 14:07:24 +02:00
Johannes Meyer
66611d4887
GroupController: Use proper redirect urls when adding and removing groups
...
refs #8826
2015-05-20 14:06:59 +02:00
Johannes Meyer
f86a05e0c3
UserController: Use proper redirect urls when adding and removing users
...
refs #8826
2015-05-20 13:54:05 +02:00
Johannes Meyer
fecf7a52b0
UserController: Add links to add and delete users to the list action's view
...
refs #8826
2015-05-20 13:53:19 +02:00
Johannes Meyer
539b824470
GroupController: Introduce addAction, editAction and removeAction
...
refs #8826
2015-05-20 11:54:28 +02:00
Johannes Meyer
9c6a8898fd
Introduce class UserGroupForm
...
refs #8826
2015-05-20 11:53:04 +02:00
Johannes Meyer
0dda19dc7a
DbRepository: Remove the table prefix when resolving statement columns
...
refs #8826
2015-05-20 11:50:09 +02:00
Johannes Meyer
bd07f78d94
GroupController: Do not throw Zend_Controller_Action_Exception (404)
...
Use Controller::httpNotFound() instead.
refs #8826
2015-05-20 10:59:41 +02:00
Johannes Meyer
605ae3d802
UserController: Introduce addAction, editAction and removeAction
...
refs #8826
2015-05-20 10:54:42 +02:00
Johannes Meyer
32d1569520
Introduce class UserForm
...
refs #8826
2015-05-20 10:54:06 +02:00
Johannes Meyer
8ea3cd0a13
Introduce class RepositoryForm
...
refs #8826
2015-05-20 10:53:31 +02:00
Johannes Meyer
7dff1ca2b8
UserController: Do not throw Zend_Controller_Action_Exception (404)
...
Use Controller::httpNotFound() instead.
refs #8826
2015-05-20 10:52:50 +02:00
Johannes Meyer
71fa736144
Merge branch 'master' into feature/user-and-group-management-8826
2015-05-20 10:46:55 +02:00
Eric Lippmann
902c00e836
lib: Introduce Controller::httpNotFound()
...
Many actions require loading specific objects from database or any other storage.
If the object isn't found, Controller::httpNotFound($message) should be used
for immediately returning w/ HTTP 404.
2015-05-20 10:30:01 +02:00
Eric Lippmann
bd54784496
Don't override submit label in the ConfirmRemovalForm
2015-05-20 10:30:00 +02:00
Eric Lippmann
5a69c26d2c
Fix typo in PHPDoc of ConfirmRemovalForm::init()
2015-05-20 10:30:00 +02:00
Eric Lippmann
338fad5da9
cli: Add Params::shiftRequired()
2015-05-20 10:30:00 +02:00
Eric Lippmann
ccaebd1d73
cli: Rename Params::req() to ::getRequired()
2015-05-20 10:30:00 +02:00
Eric Lippmann
3d1c3609c0
lib: Add UrlParams::shiftRequired()
2015-05-20 10:30:00 +02:00
Eric Lippmann
3a2238f737
Rename UrlParams::req() to ::getRequired()
...
req() seems mysterious :)
2015-05-20 10:30:00 +02:00
Johannes Meyer
093857641a
DbConnection: Cast a queries count to integer forcefully
2015-05-20 09:30:23 +02:00
Johannes Meyer
a3d5cfc28a
RepositoryQuery: Properly handle queries returning no results
...
refs #8826
2015-05-20 09:11:46 +02:00
Alexander A. Klimov
b1b2e3fc21
Revert "Merge branch 'bugfix/Take-display_name-into-account-when-searching-for-host-and-service-names-8241'"
...
This reverts commit 75b004dc42
, reversing
changes made to bd7c7f9636
.
2015-05-19 17:13:46 +02:00
Matthias Jentsch
54207d3427
Revert "Abort pending AJAX requests before page unload"
...
This reverts commit 94bdb8b4b0
. After the patch, Firefox shows an error message on each reload for an unknown reason.
refs #7759
2015-05-19 17:06:22 +02:00
Matthias Jentsch
94bdb8b4b0
Abort pending AJAX requests before page unload
...
Abort all pending requests before the page unload, to avoid confusing error messages during page reloads. Avoid rendering the site unusable in cases where the site is still being used after the beforeunload event.
fixes #7759
2015-05-19 16:35:44 +02:00
Eric Lippmann
0a8c9ad195
Merge branch 'feature/list-number-of-hosts-in-host-groups-8054'
...
resolves #8054
2015-05-19 15:10:20 +02:00
Johannes Meyer
fb07f0b94c
Merge branch 'master' into feature/user-and-group-management-8826
...
Conflicts:
library/Icinga/Authentication/Backend/LdapUserBackend.php
library/Icinga/Protocol/Ldap/Query.php
2015-05-19 14:14:03 +02:00
Alexander A. Klimov
75b004dc42
Merge branch 'bugfix/Take-display_name-into-account-when-searching-for-host-and-service-names-8241'
...
fixes #8241
2015-05-19 14:05:33 +02:00
Alexander A. Klimov
a2b262eab1
Take display_name into account when searching for host and service names
...
refs #8241
2015-05-19 14:04:23 +02:00
Alexander A. Klimov
85dd496d35
Add parameter $searchColumns to ::filterQuery()
...
refs #8241
2015-05-19 14:01:18 +02:00
Johannes Meyer
bd7c7f9636
Introduce widget Paginator
...
This does not support custom scrolling styles as of now. Custom view
scripts are supported though. In case Paginator::getPages() does not
suffice, feel free to improve this.
2015-05-19 13:57:21 +02:00
Johannes Meyer
4cedfce07f
DataView: Fix that method getOffset() calls parent::hasOffset()
2015-05-19 13:57:20 +02:00
Johannes Meyer
a629adb448
DataView: Remove method paginate()
2015-05-19 13:57:20 +02:00
Johannes Meyer
73e8c51fd1
Ldap\Query: Remove method paginate()
2015-05-19 13:57:20 +02:00
Eric Lippmann
afe07f4814
Revert "Hostgroups view: reduce "Last Problem" column's width"
...
This reverts commit 8b08473341
.
Common table style is subject of #8935 .
refs #8054
2015-05-19 13:45:20 +02:00
Eric Lippmann
3296522d90
Merge branch 'feature/Allow-to-add-columns-to-monitoring-views-via-URL-4498'
...
resolves #4498
2015-05-19 13:35:04 +02:00
Alexander A. Klimov
4f4d7ccba2
Correct PHPDoc of ::setSearchColumns()
2015-05-19 12:55:40 +02:00
Alexander A. Klimov
1ce9900c86
Add PHPDoc to ::setSearchColumns()
2015-05-19 11:12:36 +02:00
Alexander A. Klimov
d539a0e017
Add PHPDoc to ::addColumns()
...
refs #4498
2015-05-19 10:11:54 +02:00
Johannes Meyer
f305a334d5
DbConnection: Drop param $columnIndex in fetchColumn(), it's unused
2015-05-19 09:48:20 +02:00
Johannes Meyer
cf989a0f7f
SimpleQuery: Implement interface Iterator to benchmark result iteration
2015-05-19 09:41:55 +02:00