Commit Graph

538 Commits

Author SHA1 Message Date
Marius Hein 3a8a3b8f2c Monitoring backend: Change database objects to DbAdapterFactory
refs #4575
2013-08-19 18:29:26 +02:00
Marius Hein 1b94eed945 Remove \Icinga\Backend class
refs #4575
2013-08-19 18:29:26 +02:00
Marius Hein eddbbd5f5b Monitoring backend: Move backends.ini to module configuration
refs #4575
2013-08-19 18:29:26 +02:00
Eric Lippmann 16e31d2e34 Vagrant: Fix populate preferences table 2013-08-19 14:14:50 +02:00
Jannis Moßhammer 8407111c8a Merge branch 'feature/vagrant-log-and-icinga-pipe-writable-4549'
resolves #4549
2013-08-16 17:52:26 +02:00
Jannis Moßhammer 208f889b86 Fix 'owner' attribute being 'user'
refs #4549
2013-08-16 17:51:39 +02:00
Eric Lippmann e7db4b84f0 Vagrant: Create preferences table on database icingaweb for MySQL and PostgreSQL
refs #4549
2013-08-16 17:51:39 +02:00
Eric Lippmann c7e8add75a Vagrant: Install Icinga command proxy which routes commands to both instances
refs #4549
2013-08-16 17:51:39 +02:00
Eric Lippmann e0f1d7dc37 Vagrant: Mount /vagrant/var/log/ writable for apache
This requires you to run vagrant reload if the vm is already running

refs #4549
2013-08-16 17:51:39 +02:00
Eric Lippmann c3246c926d Vagrant: Remove directory /etc/icinga2-web
This directory is remnant which should've been long gone

refs #4549
2013-08-16 17:51:39 +02:00
Eric Lippmann 26578a3d62 Add var/log directory to source tree
refs #4549
2013-08-16 17:51:39 +02:00
Eric Lippmann 0c10b2b20b Git: Do not ignore .gitkeep files
refs #4549
2013-08-16 17:51:39 +02:00
Eric Lippmann 9b203ce698 Vagrant: Create and populate Icinga 2 Web MySQL and PostgreSQL databases
refs #4464
2013-08-16 17:51:39 +02:00
Jannis Moßhammer 6928a806ab Merge branch 'bugfix/command-forms-lack-help-messages-4524'
fixes #4524
2013-08-16 17:42:29 +02:00
Jannis Moßhammer f081531585 Phpdoc and small text fixes
refs #4524
2013-08-16 17:38:50 +02:00
Eric Lippmann a45409c5f3 Monitoring/Commands/Forms/Tests: Follow our Coding Standards
refs #4524
2013-08-16 17:38:50 +02:00
Eric Lippmann 5e85dd1c06 Monitoring/Commands: Fix reschedule next check form tests
refs #4524
2013-08-16 17:38:50 +02:00
Eric Lippmann 26f7b740c5 Monitoring/Commands: Fix delay notification form tests
refs #4524
2013-08-16 17:38:50 +02:00
Eric Lippmann 9f1da2db1a Monitoring/Commands: Add help messages to the submit passive check result form
refs #4524
2013-08-16 17:38:50 +02:00
Eric Lippmann b46df485ae Monitoring/Commands: Add help messages to the schedule downtime form
refs #4524
2013-08-16 17:38:50 +02:00
Eric Lippmann 48a393894c Monitoring/Commands: Add help messages to the reschedule next check form
refs #4524
2013-08-16 17:38:50 +02:00
Eric Lippmann bcdda6c0c6 Monitoring/Commands: Add help messages to the delay notification form
refs #4524
2013-08-16 17:38:50 +02:00
Eric Lippmann 329d63839b Monitoring/Commands: Fix tests
refs #4524
2013-08-16 17:38:50 +02:00
Eric Lippmann 3d3fbb123d Monitoring/Commands: Add help messages to the custom notification form
refs #4524
2013-08-16 17:38:50 +02:00
Eric Lippmann 9c047f5b72 Monitoring/Commands: Fix typos in forms
refs #4524
2013-08-16 17:38:49 +02:00
Eric Lippmann 0af63ea751 Monitoring/Commands: Add help messages to the add comment form
refs #4524
2013-08-16 17:38:49 +02:00
Eric Lippmann fb71ecc5ca Monitoring/Commands: Add help messages to the problem acknowledgement form
refs #4524
2013-08-16 17:38:49 +02:00
Jannis Moßhammer 26402f1c0a Merge branch 'feature/notification-overview-4187'
resolves #4187
2013-08-16 17:14:55 +02:00
Eric Lippmann 83fb198cd2 CS: Fix violations in MonitoringProperties, NotificationView and StatusQuery
refs #4187
2013-08-16 16:32:31 +02:00
Eric Lippmann e5f3a063fb NotificationQuery: Fix PostgreSQL icompatibility
refs #4187
2013-08-16 16:23:15 +02:00
Eric Lippmann f4b8b369a8 StatusQuery: Use pipes as concat
PostgreSQL does not support CONCAT()

refs #4187
2013-08-16 16:23:15 +02:00
Jannis Moßhammer 3c56f5c53a Remove qUrl, use ListController::query, proper default sorting
refs #4187
2013-08-16 16:23:15 +02:00
Johannes Meyer baaf5b81d9 Add mouse-over effect and host/service detail popup
refs #4187
2013-08-16 16:23:14 +02:00
Johannes Meyer f89d641b06 Add notification queries and display notification details
The notification queries to fetch all required details are now implemented
and are used to display data in the overview. Still missing is the host/service
detail popup and some quicklinks. (Contact, Notification command)

refs #4187
2013-08-16 16:23:14 +02:00
Johannes Meyer 3c2122515a Basic structure for the notification overview
refs #4187
2013-08-16 16:23:14 +02:00
Eric Lippmann 5202854152 Merge branch 'bugfix/special-tab-dropdown-4512'
fixes #4512
2013-08-16 15:18:26 +02:00
Eric Lippmann 920f3494d8 Widgets: Fix example code in documention not following our Coding Standards
refs #4512
2013-08-16 15:08:29 +02:00
Eric Lippmann 7dc2f78b63 CS: Fix docstrings in Icinga/Web/Widget/* and Icinga/Web/Controller/ActionController.php
refs #4512
2013-08-16 15:08:28 +02:00
Eric Lippmann aff2398c81 Application/Controllers: Follow our Coding Standards
refs #4512
2013-08-16 15:08:28 +02:00
Jannis Moßhammer 0b479e3796 Code style fixes, fix documentation, fix tab parameters not being overwritten
refs #4512
2013-08-16 15:08:28 +02:00
Jannis Moßhammer 49d56f1eab Fix capitalization error in test require
refs #4512
2013-08-16 15:08:28 +02:00
Jannis Moßhammer b28c7f2f4c Refactor test, tabs and controller
- Remove unused methods,
- Code style
- Documentation for widgets
- Tabextensions instead of hardcoded tab actions
- Add tests for tabs
- Add missing phpdoc for touched files
- Fix tests

refs #4512
refs #4541
refs #4540
2013-08-16 15:08:28 +02:00
Jannis Moßhammer 346ab198bb Merge branch 'feature/db-adapter-factory-4503'
resolves #4503
2013-08-15 15:08:51 +02:00
Matthias Jentsch e6c57f029d Fix code styling to comply with coding standard
refs #4503
2013-08-15 14:58:08 +02:00
Matthias Jentsch 7f30b587be Change the StoreFactory to work with the DbAdapterFactory and fix code styling
Change the StoreFactory configuration to reference to a resource instead of
defining the whole database. Additionally fix docstrings, fix imports and fix
function calls to comply to coding style standards.

refs #4503
2013-08-15 14:16:34 +02:00
Matthias Jentsch 3692a73de5 Fix spelling mistake in resources.md
refs #4503
2013-08-14 16:27:03 +02:00
Matthias Jentsch f1040aad60 Add additional functionality and documentation for easier use through developers
Add functions to get information about currently available resources and add
documentation about class usage for developers.
2013-08-14 16:22:58 +02:00
Matthias Jentsch 3ce44b72e1 Change accepted exception type of unit test
Change the generic type Exception to a more specific one, to achieve
a more accurate test case.

resolves #4503
2013-08-14 16:22:58 +02:00
Matthias Jentsch 9799f4beab Fix mistakes in the documentation files
resolves #4503
2013-08-14 16:22:58 +02:00
Matthias Jentsch 68deb735c0 Add the DbAdapterFactory to instanciate database adapters using resource names
Create the DbAdapterFactory to instanciate db adapters, add resources.ini to configure resources, change
the authentication Manager to fall back to backends with lower priority in case
of errors, update the current UserBackends to the changed environment. Also
adjust the documentation and existing unit tests.

resolves #4503
2013-08-14 16:22:58 +02:00