Commit Graph

1118 Commits

Author SHA1 Message Date
Alexander Klimov db22945f1e Add close button to details
resolves #4925
2014-01-23 17:09:46 +01:00
Alexander Klimov 5ff081d683 Deselect tr only when ctrl key pressed 2014-01-23 16:42:04 +01:00
Eric Lippmann 2242973568 XHR: Force redirect to login if session is expired
resolves #5507
2014-01-23 16:03:47 +01:00
Matthias Jentsch a64c20f933 Merge branch 'feature/multiple-module-locations-4607' 2014-01-22 18:29:51 +01:00
Matthias Jentsch 5d8081ad09 Add support for multiple module installation paths
Read the module paths from the configuration file and add form fields
to edit the path from the web interface.

refs #4607
2014-01-22 18:28:19 +01:00
Thomas Gelf bb1c560e22 Splitted module manager setup and module loading in bootstrap code
Allows different implementations (Web, Cli...) to behave differently
without duplicating code
2014-01-22 17:11:26 +00:00
Thomas Gelf e037716585 Restriction example in the monitoring module configuration script 2014-01-22 16:25:24 +00:00
Thomas Gelf 6d59f242a7 Apply restrictions example extended to hostgroup view 2014-01-22 16:19:15 +00:00
Thomas Gelf 977b360b66 Url::create has been renamed, was still in use in File\Pdf
refs #4356
2014-01-22 15:20:04 +00:00
Thomas Gelf 81b47cf861 Useless use of return 2014-01-22 14:55:58 +00:00
Eric Lippmann bbe018567f Dashboard: Render exceptions on failing requests
refs #5507
2014-01-22 14:58:23 +01:00
Eric Lippmann 4473008d65 Show error message and stack trace on exceptions
refs #5507
2014-01-22 14:57:54 +01:00
Thomas Gelf 6ef87f4644 Example showing restriction usage in the monitoring module
fixes #4108
2014-01-22 13:34:39 +00:00
Thomas Gelf 0f565aae6a Added permission handlers and related sample config reader
Please see feature #4108 for sample usage

refs #4108
2014-01-22 13:06:59 +00:00
Eric Lippmann fa861c2c85 Replace Mitchelf/Markdown with Parsedown
fixes #5518
2014-01-22 14:04:55 +01:00
Eric Lippmann 12fb3a73bd Vagrant: Rename nagios-plugins to monitoring-plugins
https://bugzilla.redhat.com/show_bug.cgi?id=1054340

fixes #5548
2014-01-22 13:44:53 +01:00
Thomas Gelf 32c897c0c9 Added some benchmark noise to DB queries
We need this to track down current performance issues, refs #5534
2014-01-22 12:36:44 +00:00
Thomas Gelf ad7e4451eb There is no "The" and no "Optional" Data class 2014-01-22 12:34:46 +00:00
Thomas Gelf 2288751aaf Better error message in LDAP connection capability test 2014-01-22 12:30:02 +00:00
Matthias Jentsch 14ff354a76 Merge branch 'master' of git.icinga.org:icingaweb2 2014-01-22 13:08:54 +01:00
Thomas Gelf 5661e41c73 Trace option for CLI commands
Added --trace to show full stack trace if an exception is thrown

fixes #5555
2014-01-22 12:08:20 +00:00
Matthias Jentsch b3bdee983d Merge branch 'bugfix/ldapuserbackend-lazy-loading-5506' 2014-01-22 13:07:26 +01:00
Matthias Jentsch 226eb4eded Change setup behavior of the AuthenticationManager to a lazy approach
The authentication manager should only try to set up all backends when
necessary. Remove the backend setup from the constructor and call it only when it is actually needed.

fixes #5506
2014-01-22 13:04:11 +01:00
Matthias Jentsch 85dbd86e5b Change all UserBackends to a lazy connection-behavior
refs #5506
2014-01-22 13:04:11 +01:00
Thomas Gelf ad56868af5 Fix Stream writer, has been broken with syslog fix 2014-01-22 12:02:25 +00:00
Thomas Gelf 3008527b41 Autocompletion for the BASH
Implemented in a dedicated Icinga Web CLI command, bash config snippet
is therefore pretty compact.

fixes #5520
2014-01-22 11:45:42 +00:00
Thomas Gelf ba5ea18adf CLI should load modules and not enable them
fixes #5527
2014-01-22 11:36:11 +00:00
Thomas Gelf 6e3e9b46a4 Last commit was incomplete
refs #4108
2014-01-22 10:31:24 +00:00
Thomas Gelf c29e742570 Module configuration script can provide restrictions and permissions
Extended the module, created CLI commands showing available permissions
and restrictions, added a sample configuration.php to the monitoring
module.

refs #4108
2014-01-22 10:26:18 +00:00
Thomas Gelf 30208c3a30 Internally rename module registerscript to runScript
We will probably rename the 'register' script itself, as we need to
distinct between setup/configuration-related tasks and tasks that need
to be executed with each single click.

refs #4108
2014-01-22 09:54:59 +00:00
Thomas Gelf aa1a2316cb Avoid syslog-related exceptions
refs #5522
2014-01-22 09:26:45 +00:00
Marius Hein afbe8f0fcb Implement move on LDAP Connection
refs #5202

Conflicts:
	library/Icinga/Protocol/Ldap/Connection.php
2013-12-17 14:32:48 +01:00
Marius Hein f7324e73a3 User class bugfix
refs #5151
2013-11-28 17:31:41 +01:00
Marius Hein 263f09a94c Add email column to extensible features
refs #5151
2013-11-28 17:23:55 +01:00
Marius Hein 5d31633eb5 Fix salt and password used in wrong position
fixes #5227
2013-11-27 11:32:07 +01:00
Marius Hein 93d233f37d Make DbUserBackend extensible
Fix: Swap hmac secret key

refs #5151
2013-11-27 11:10:07 +01:00
Eric Lippmann 1c18edc4d4 Resources: Fix internal ldap auth config 2013-11-26 13:30:48 +01:00
Eric Lippmann eefd9d07ae Resources: Fix internal ldap auth not configured via resources.ini 2013-11-26 12:06:36 +01:00
Matthias Jentsch e229d73038 Merge branch 'bugfix/ajax-requests-override-session-5101' 2013-11-26 10:43:27 +01:00
Matthias Jentsch cd0194e20f Fetch and clean user messages lazily, to ensure that only shown messages are removed
This will make the code of the ConfigController way easier, as messages can be
send from everywhere and there is no need to consider consquences of
redirections.

refs #5100
2013-11-26 10:41:51 +01:00
Matthias Jentsch 2a0add3ec3 Fix messages in ConfigController
Store messages in the current user session to be able to fetch messages from
other controllers, so that the use can be redirected back to the index, instead
of staying in the original action

refs #5100
2013-11-20 19:10:38 +01:00
Matthias Jentsch 941ce6d68e Fix bug that caused ajax-request to override values written to the session
Authentication/Session.php and its Subclasses do not have a open/closed -state
anymore. Read will refresh the session, write will always write the changes,
and opening/closing will be handled internally.

refs #5101
2013-11-20 12:01:40 +01:00
Matthias Jentsch 9886df95a4 Merge branch 'feature/resource-config-frontend-4786' 2013-11-13 18:35:47 +01:00
Matthias Jentsch 984ed0b006 Fix LdapBackendForm unit test
refs #4786
2013-11-13 18:33:34 +01:00
Matthias Jentsch d65bd33205 Add configuration for resources
Add views and controller to handle resource configuration. Add form to edit
several resource types at once.

refs #4786
2013-11-13 18:12:00 +01:00
Matthias Jentsch 2cf154310b Add controller to handle resource configuration
Add the controller, forms and views to handle the resource configuration.

refs #4786
2013-11-06 19:02:30 +01:00
Matthias Jentsch bd38e998d7 Provide a cleaner interface for the Authentication Backends
refs #4786
2013-11-06 14:49:16 +01:00
Matthias Jentsch 59d4baff0b Fix remaining references to DbUserBackend and refresh the documentation.
refs #4786
2013-11-06 13:31:07 +01:00
Matthias Jentsch ea5daf964b Merge branch 'feature/extend-resources-ini-4587' 2013-11-06 10:49:21 +01:00
Matthias Jentsch ad08691362 Extend resources.ini to contain all resources, including ldap
Remove the old calls to DbAdapterFactory and use ResourceFactory instead. Remove
the DbAdapterFactory and fix all unit tests that have been broken due to the changes.
Change the functionality of the ResourceFactory to also handle LdapConnections

resolves #4587
2013-11-06 10:20:15 +01:00