Commit Graph

1198 Commits

Author SHA1 Message Date
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
Eric Lippmann d853c9417c Remove respond.min.js since its no longer used 2013-10-29 15:28:04 +01:00
Eric Lippmann 2387380399 Statusdat: Set default cachepath to '/tmp'; disable caching when path is not writable 2013-10-28 12:46:19 +01:00
Eric Lippmann c9db103384 Monitoring/Statusdat: Fix filter by handled/unhandled
refs #3801
2013-10-25 13:52:51 +02:00
Eric Lippmann a9086c5388 Redirect to /index after login 2013-10-23 16:02:08 +02:00
Marius Hein 58b4674f58 Fix removeacknowledge command in multi select view 2013-10-23 15:56:42 +02:00
Eric Lippmann ec42ddde12 Landing Page: Show unhandled host and service problems 2013-10-23 15:55:53 +02:00
Eric Lippmann bf0a9c9e5a Monitoring/List/Multiselect: Fix schedule downtime command 2013-10-23 15:47:08 +02:00
Eric Lippmann e48afa762c Monitoring/Controller: Move property compactView to base controller class 2013-10-23 15:38:06 +02:00
Eric Lippmann 1229eae0bf Monitoring/Perfdata: Fix throwing an exception when perfdata is a number with an exponential base 2013-10-23 15:26:51 +02:00
Eric Lippmann 8269d1542e Pagination: Reduce font size 2013-10-23 15:23:30 +02:00
Jannis Moßhammer 275275f29e Fix inline commands 2013-10-23 15:11:25 +02:00
Eric Lippmann 4e9e5ca2dc Monitoring/Ido/Service Status: Add unhandled, handled and problems columns 2013-10-23 15:13:02 +02:00
Eric Lippmann ca1d50ae53 Rename Icinga 2 Web to Icinga Web 2 2013-10-23 15:11:06 +02:00
Eric Lippmann 0c5822af61 License: Rename Icinga 2 Web to Icinga Web 2 2013-10-23 15:11:05 +02:00
Jannis Moßhammer aa5fb1d8cf Fix remove downtime 2013-10-23 14:34:20 +02:00
Jannis Moßhammer 1a95e48deb Fix row style, add dashboard as default route 2013-10-23 14:20:32 +02:00
Jannis Moßhammer 8eea09ab53 Add default dashboard, fix componentLoader issue introduced before 2013-10-23 13:06:09 +02:00
Matthias Jentsch f5e4831bef Fix layout of multi-detail view 2013-10-23 12:58:15 +02:00
Eric Lippmann f228e03c3a Vagrant VM: Update icinga-mysql to 1.10-beta and install icinga-web 1.10-beta
If you've already got a provisioned vm, you've to run
    vagrant ssh -c 'sudo mysql -e "drop database icinga;"'
before reprovisioning the machine
2013-10-23 12:46:34 +02:00
Marius Hein 74461e7cb2 Add icons to config forms 2013-10-23 12:25:51 +02:00