7894 Commits

Author SHA1 Message Date
Eric Lippmann
b84650dd4b Document variadic function IcingaException::__construct properly
refs #9644
2015-07-28 10:45:00 +02:00
Eric Lippmann
a68c05da7f lib: Require a message when throwing IcingaExceptions
refs #9644
2015-07-28 10:43:17 +02:00
Eric Lippmann
78285b95a3 Make Controller::httpNotFound() variadic
refs #9644
2015-07-28 10:40:02 +02:00
Eric Lippmann
2c8235d486 lib: Introduce IcingaException::create()
refs #9644
2015-07-27 16:25:41 +02:00
Eric Lippmann
07fb82357b doc: Make documentation for all installed modules avaiable
Before, only documentation of enabled modules was available.

refs #9644
2015-07-27 15:19:32 +02:00
Eric Lippmann
de29d66005 doc/security: Add note about module permissions
refs #9644
2015-07-27 15:07:43 +02:00
Johannes Meyer
ce87b7f036 Merge branch 'bugfix/separate-sort-controls-9421'
fixes #9421
2015-07-27 11:50:19 +02:00
Johannes Meyer
9cc7b45458 Merge branch 'master' into bugfix/separate-sort-controls-9421 2015-07-27 11:50:05 +02:00
Johannes Meyer
4d9aa54814 SortBox: Utilize a separate form for each control
refs #9421
2015-07-27 11:43:47 +02:00
Johannes Meyer
4ab457a062 css: Introduce rules to hide non-js elements if js is enabled and vice versa 2015-07-27 11:40:36 +02:00
Eric Lippmann
ec5bebea95 doc/installation: Add upgrading note about module permissions
refs #9644
2015-07-27 11:30:44 +02:00
Matthias Jentsch
f2d253f508 Assure that rows are refreshed correctly on reload
Assure that all links are initialized when the selection is applied after a request. Move action table code into the actiontable behavior.

refs #8623
2015-07-27 10:34:17 +02:00
Matthias Jentsch
a14da1c558 Make sure to log inspection messages into message log too
refs #9641
2015-07-27 09:44:07 +02:00
Johannes Meyer
86ad6c48ff Form: Automatically remove query parameters only for GET forms
refs #9421
2015-07-27 08:52:33 +02:00
Johannes Meyer
982e226db0 IcingaException: Add utility method to format exceptions as one-liner 2015-07-24 16:19:20 +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
c1a3d205bc Show more details about unhandled exceptions in the CLI
fixes #9646
2015-07-24 15:58:32 +02:00
Johannes Meyer
998610bafa ProgramstatusQuery: Provide a(nother) fallback for older IDO installations
fixes #9168
2015-07-24 15:46:12 +02:00
Eric Lippmann
8358e9165c Don't require the module permission for the default module
refs #9644
2015-07-24 15:11:21 +02:00
Eric Lippmann
149a974a44 Fix coding style in Module.php
refs #9644
2015-07-24 15:06:25 +02:00
Johannes Meyer
9d32e2ebb1 Merge branch 'feature/allow-to-issue-form-validation-manually-7588'
resolves #7588
2015-07-24 14:41:16 +02:00
Michael Friedrich
bba7cb1463 Vagrant: Use centos71 base box from icinga.org
refs #9453
2015-07-24 14:34:13 +02:00
Michael Friedrich
f0fc8b8e90 Vagrant: slapd must be running, add provision hint to docs
For some reason the initial ldap provisioning might fail even
after ensuring that slapd is running. Yet another `vagrant provision`
will fix the issue.

refs #9453
2015-07-24 14:33:06 +02:00
Johannes Meyer
df81fd502d ResourceConfigForm: Allow to manually validate the configuration
refs #7588
2015-07-24 14:31:02 +02:00
Eric Lippmann
519d025de5 Allow to get permissions and restrictions from unloaded modules
refs #9644
2015-07-24 14:24:48 +02:00
Johannes Meyer
2c4b6eb915 ResourceConfigForm: Replace isValid- with inspectResource()
refs #7588
2015-07-24 14:24:11 +02:00
Eric Lippmann
444fdadf13 Allow to get unloaded modules via Manager::getModule()
refs #9644
2015-07-24 14:23:48 +02:00
Eric Lippmann
ec1ddd82b3 Move Module::__construct to the top of the function list
refs #9664
2015-07-24 14:19:17 +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
e06281a427 Merge branch 'feature/ldap-auth-backend-discovery-9602'
resolves #9602
2015-07-24 10:52:32 +02:00
Johannes Meyer
56759e7f21 Merge branch 'master' into feature/ldap-auth-backend-discovery-9602 2015-07-24 10:52:14 +02:00
Johannes Meyer
75a48a3b35 Drop LdapBackendFormTest
It's redundant now, we should test the inspection code directly instead.
2015-07-24 10:51:46 +02:00
Johannes Meyer
f8f8a4c848 Drop DbBackendFormTest
It's redundant now, we should test the inspection code directly instead.
2015-07-24 10:51:33 +02:00
Johannes Meyer
216b762d12 Wizard: Fix layout of form hints 2015-07-24 10:28:14 +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
ce1cab53c8 css: Move button styles from the setup module into the framework 2015-07-24 10:11:31 +02:00
Eric Lippmann
12856da971 Merge branch 'bugfix/filter-custom-variables-9692'
fixes #9692
2015-07-24 09:27:05 +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
f06be5c9bc LdapConnection: Let self::bind() return $this 2015-07-23 17:34:09 +02:00
Johannes Meyer
8ed816002b forms.less: Remove redundant margin from form elements in control groups
refs #9602
2015-07-23 17:33:29 +02:00
Johannes Meyer
44643a6c4b PreferenceForm: Improve button placement 2015-07-23 16:49:50 +02:00
Johannes Meyer
073243364d forms.less: Re-introduce class control-groups
refs #9602
2015-07-23 16:49:19 +02:00
Johannes Meyer
0448323697 InstanceConfigForm: Translate exceptions shown to the user 2015-07-23 16:18:44 +02:00
Johannes Meyer
666c401a40 BackendConfigForm: Translate exceptions shown to the user 2015-07-23 16:18:35 +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
Thomas Gelf
727a2d7141 Paginator: relax requirements to Paginatable
* we need no full query interface here
* introduced new interface "Paginatable"

fixes #9483
2015-07-23 13:48:49 +02:00