Commit Graph

579 Commits

Author SHA1 Message Date
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
Eric Lippmann 3306d3e3c0 Merge branch 'feature/configuration-and-preferences-controller-4530'
resolves #4530
2013-08-14 16:09:20 +02:00
Eric Lippmann 6d98b923ca CS: Fix docstrings in Icinga/Application/Modules/Module.php and Manager.php
refs #4530
2013-08-14 16:08:15 +02:00
Jannis Moßhammer d604b01349 Fix missing Icinga\Application\Logger import in module manager
refs #4530
2013-08-14 16:08:15 +02:00
Jannis Moßhammer 392e568bf8 Code style fixes: License header, phpdoc tags, psr-2 compliance
refs #4530
2013-08-14 16:08:15 +02:00
Eric Lippmann 8c91410680 CS: Fix phpdoc tags indent in Icinga/Application/Modules/Module.php
refs #4530
2013-08-14 16:08:15 +02:00
Jannis Moßhammer be29b8ff8f Make ConfigController and PreferenceController extensible by convention
- Rename ConfigurationController to ConfigController
- ConfigController and PreferenceController are now subclasses of
  BaseConfigController and BasePreferenceController
- Module and Application Config/Preference Tabs are detected via
  the ControllerTabCollector
- Moved Controller classes to Icinga/Web/Controller (this is why
  so many files are modified)

refs #4530
2013-08-14 16:08:15 +02:00
Jannis Moßhammer f8567058b4 Merge branch 'bugfix/ini-writer-comments-at-line-end-4531'
fixes #4531
2013-08-14 15:05:21 +02:00
Matthias Jentsch 7c1b11baa4 Fix a bug that causes a warning to be displayed when a section
declaration at line 0 is present
2013-08-14 15:05:10 +02:00
Matthias Jentsch eecbc233b9 Fix behavior of PreservingIniWriter that caused comments at the line end to be deleted
Implement a function to fetch comments at line end and use it to preserve
comments. Change the regular expressions used to parse lines to be more aware
of whitespaces between terms. Add automatic value and comment indentation
to produce cleaner output.
2013-08-14 15:05:10 +02:00