Commit Graph

1212 Commits

Author SHA1 Message Date
Alexander Fuhr ac31fb00c9 dashboard/index: Fix the suggestion to enable modules
fixes #9790
2015-08-04 15:08:30 +02:00
Johannes Meyer d1917ad2b4 Merge branch 'master' into bugfix/do-not-use-count-queries-for-emptiness-checks-9632
Conflicts:
	modules/monitoring/application/views/scripts/service/history.phtml
2015-08-03 16:46:27 +02:00
Johannes Meyer 7bd8b4b19a User: Use $query->hasResult() instead of $query->count()
refs #9632
2015-08-03 16:28:43 +02:00
Johannes Meyer 3b36009122 Group: Use $query->hasResult() instead of $query->count()
refs #9632
2015-08-03 16:28:25 +02:00
Johannes Meyer d78f69368c Users: Use $query->hasResult() instead of $query->count()
refs #9632
2015-08-03 16:19:00 +02:00
Johannes Meyer 7388db3241 Groups: Use $query->hasResult() intead of $query->count()
refs #9632
2015-08-03 16:18:37 +02:00
Eric Lippmann 688a08585b Merge branch 'master' into bugfix/error-prone-generictts-9611
Conflicts:
	modules/monitoring/application/views/scripts/show/components/downtime.phtml
2015-08-03 15:05:45 +02:00
Eric Lippmann 6481e97565 Add createTicketLinks() view helper
refs #9611
2015-08-03 10:39:42 +02:00
Johannes Meyer dafa722cec Hide non-essential form fields when configuring LDAP user group backends
resolves #9780
2015-07-31 15:56:13 +02:00
Johannes Meyer 9b051cd7ce reorder-authbackend.phtml: Fix hover styles of icon-only buttons 2015-07-31 08:29:59 +02:00
Johannes Meyer 316a4d8b82 Merge branch 'master' into bugfix/allow-to-configure-how-to-manage-groups-9609 2015-07-30 16:16:04 +02:00
Johannes Meyer 5ca0e981c4 UserGroupBackendPage: Ensure that all required fields exist
refs #9609
2015-07-30 15:49:04 +02:00
Eric Lippmann a234852f32 Merge branch 'feature/basic-auth-9660'
resolves #9660
2015-07-30 15:05:07 +02:00
Eric Lippmann 81aad9d6a6 Rename Notifiation::getMessages() to popMessages()
Because the call to popMessages()--before getMessages()--automatically resets the notification messages on the instance, popMessages() is a much better name for the method.

refs #9660
2015-07-30 13:45:39 +02:00
Eric Lippmann 3aae37aff3 Don't redirect on external auth
refs #9660
2015-07-30 12:02:42 +02:00
Matthias Jentsch 3e7cc299ec Fix issue that caused the refresh button to remove side bar
Do not apply base target globally for all toolbar elements, but specifically for those that should remove side-bars.

refs #8623
refs #6436
2015-07-29 17:18:52 +02:00
Eric Lippmann c3a057dbdb lib: Add AuthChain::setSkipExternalBackends() in favor of setIteratorMode()
There's only one mode.

refs #9660
2015-07-29 16:18:30 +02:00
Eric Lippmann 1b5c5deace lib: Rename remote user to external user
We renamed our backend. Code now reflects this.

refs #9660
2015-07-29 15:44:32 +02:00
Matthias Jentsch 6db79a72d5 Display the rows in the auth backend configuration as active without any delay
refs #8623
2015-07-29 15:21:29 +02:00
Eric Lippmann 257a9f9d1d Set Response::rerenderLayout() in the LoginForm
refs #9660
2015-07-29 15:09:29 +02:00
Eric Lippmann 23fcd39503 Relax auth controller complexity
refs #9660
2015-07-29 14:17:07 +02:00
Eric Lippmann c5c7b40133 Remove info box about external auth requirement in the login view script
The LoginForm will add the info.

refs #9660
2015-07-29 14:16:14 +02:00
Eric Lippmann db78f810ff lib: Add log in functionality to the LoginForm
refs #9660
2015-07-29 14:15:11 +02:00
Johannes Meyer 155bcc5db7 LdapUserGroupBackendForm: Fetch config from the factory, not the app
refs #9609
2015-07-29 13:45:18 +02:00
Eric Lippmann 07849e0fea lib: Rename Authentication/Manager to Authentication/Auth
refs #9660
2015-07-28 17:08:55 +02:00
Johannes Meyer 5411efd546 LdapBackendForm: Fail gracefully if the discovery is not possible 2015-07-28 15:07:33 +02:00
Eric Lippmann 7cfc78558d Merge branch 'master' into feature/secure-modules-9644
Conflicts:
	library/Icinga/Exception/IcingaException.php
2015-07-28 13:42:02 +02:00
Eric Lippmann d40c3f0a29 Remove unnecessary use in FormTriStateCheckbox
refs #9449
2015-07-28 11:49:18 +02:00
Eric Lippmann b36b447023 Use Controller::httpNotFound() in applicationlog/list
refs #9449
2015-07-28 11:33:33 +02:00
Johannes Meyer 86ad6c48ff Form: Automatically remove query parameters only for GET forms
refs #9421
2015-07-27 08:52:33 +02:00
Eric Lippmann a51f0ad65e Roles: Include permissions and restrictions of unloaded modules too
Because we now have module permissions it makes sense to allow an admin to configure permissions and restrictions from a module
before allowing access to it.

refs #9644
2015-07-24 16:13:08 +02:00
Johannes Meyer df81fd502d ResourceConfigForm: Allow to manually validate the configuration
refs #7588
2015-07-24 14:31:02 +02:00
Johannes Meyer 2c4b6eb915 ResourceConfigForm: Replace isValid- with inspectResource()
refs #7588
2015-07-24 14:24:11 +02:00
Johannes Meyer ccc809853a UserBackendConfigForm: Allow to manually validate the configuration
refs #7588
2015-07-24 13:46:17 +02:00
Eric Lippmann e1357c1386 Require config/modules permission for listing and showing modules
refs #9644
2015-07-24 13:34:47 +02:00
Eric Lippmann 8d7f32cac1 Fix static call of SearchDashboard::search()
refs #9644
2015-07-24 13:34:11 +02:00
Johannes Meyer b3e6b2755c UserBackendConfigForm: Replace isValid- with inspectUserBackend()
refs #7588
2015-07-24 11:45:49 +02:00
Johannes Meyer 624309774b Fix style of buttons used for reordering user backends 2015-07-24 10:14:18 +02:00
Johannes Meyer 3b4bb6d890 ifont: Add new icons up|down|right|left-small 2015-07-24 10:13:26 +02:00
Johannes Meyer 760c7e4374 LdapBackendForm: Allow to discover a connection's default settings
refs #9602
2015-07-23 17:42:02 +02:00
Johannes Meyer 44643a6c4b PreferenceForm: Improve button placement 2015-07-23 16:49:50 +02:00
Johannes Meyer 4e3da3a6eb UserBackendConfigForm: Adjust how to process requests...
...and use sub-forms, finally.

refs #9602
2015-07-23 16:18:09 +02:00
Eric Lippmann cccb34e98c Pass authenticated user to the SearchDashboard
refs #9644
2015-07-23 12:58:53 +02:00
Eric Lippmann 7c5b4de087 Fix coding style in RoleForm.php 2015-07-23 12:50:42 +02:00
Eric Lippmann bf590ed380 Provide module permissions automatically
refs #9644
2015-07-22 15:01:54 +02:00
Johannes Meyer cecd94be50 Merge branch 'master' into feature/support-for-file-uploads-8758 2015-07-22 08:47:24 +02:00
Johannes Meyer fc481e527b Form: Process request parameter _frameUpload
This parameter is being used to flag a request as form submission issued
by utilizing an iframe. Appending it to a form's action causes no redirection
to take place in case of successful submission and a reduced but still valid
layout to be printed in any way. Redirection must be handled by the client
regarding the meta tag "redirectUrl".

refs #8758
2015-07-21 15:22:24 +02:00
Johannes Meyer be88683c19 layout.phtml: Add hidden iframe for non-xhr file uploads
refs #8758
2015-07-20 10:14:55 +02:00
Matthias Jentsch e357960d1e Add Inspection API to DB backend
refs #9641
2015-07-16 16:16:55 +02:00
Matthias Jentsch f4054d575b Add Inspection API to db connection
refs #9641
2015-07-16 15:29:45 +02:00