2020 Commits

Author SHA1 Message Date
Matthias Jentsch
085025ba7d Icingaweb shoul work without optional extensions when they are not used
When optional classes and php extensions like pgsql and additonal Zend-Pdos are
actually required by creating a new resource or authentication backend,
perform a check and display a warning instead of just throwing an exception.

refs #4788
2014-04-28 17:13:40 +02:00
Johannes Meyer
08260866df Fix navigating by anchor results in an empty detail view being opened
fixes #5871
2014-04-28 16:06:03 +02:00
Johannes Meyer
c27c0bdf6e Merge branch 'feature/test-refactoring-6011'
refs #6011
2014-04-28 14:07:41 +02:00
Johannes Meyer
98ca15d1fb Mark less important or non-testable code as skipped for code coverage
refs #6011
2014-04-28 14:06:41 +02:00
Johannes Meyer
1df56cbfb9 Fix errors in tests
refs #6011
2014-04-28 14:06:40 +02:00
Johannes Meyer
07da92ee42 Rewrite test for Icinga\Web\Url and fix some bugs
refs #6011
2014-04-28 14:06:40 +02:00
Johannes Meyer
729c33c3cf Add helpful documentation to Icinga\Web\ViewStream 2014-04-28 14:06:40 +02:00
Johannes Meyer
c5c375e72d Add test for Icinga\Web\MenuItem
refs #6011
2014-04-28 14:06:40 +02:00
Johannes Meyer
290fe9eeb5 Rewrite test for Icinga\Web\Hook
refs #6011
2014-04-28 14:06:40 +02:00
Johannes Meyer
2b15d35dec Rewrite test for Icinga\Web\Form
refs #6011
2014-04-28 14:06:40 +02:00
Johannes Meyer
f20d459000 Rename test/php/library/Icinga/Application/Config to ConfigTest
refs 6011
2014-04-28 14:06:40 +02:00
Johannes Meyer
87863d3212 Add test for Icinga\File\Csv
refs #6011
2014-04-28 14:06:40 +02:00
Johannes Meyer
e8ed7c7166 Rewrite test for Icinga\Config\PreservingIniWriter
refs #6011
2014-04-28 14:06:40 +02:00
Johannes Meyer
fe44f8ed7c Remove empty file library/Icinga/File/Csv/Query.php 2014-04-28 14:06:40 +02:00
Johannes Meyer
54a5e996bb Add test for Icinga/Logger/Writer/StreamWriter
refs #6011
2014-04-28 14:06:39 +02:00
Johannes Meyer
45d7864198 Refactor test for Icinga\Test\BaseTestCase
refs #6011
2014-04-28 14:06:39 +02:00
Johannes Meyer
c93159d287 Add test for Icinga\User\Preferences\Store\IniStore
refs #6011
2014-04-28 14:06:39 +02:00
Johannes Meyer
9efe71441a Add test for Icinga\User\Preferences\Store\DbStore
refs #6011
2014-04-28 14:06:39 +02:00
Johannes Meyer
d44aaeb8d7 Add test for Icinga\User\Preferences
refs #6011
2014-04-28 14:06:39 +02:00
Johannes Meyer
be410a685b Add test for Icinga\User
refs #6011
2014-04-28 14:06:39 +02:00
Johannes Meyer
e10193f570 Add test for Icinga\Util\DateTimeFactory
refs #6011
2014-04-28 14:06:39 +02:00
Johannes Meyer
891d36dbd7 Make DateTimeFactory expecting a string instead of a DateTimeZone 2014-04-28 14:06:39 +02:00
Johannes Meyer
1db9b1ede4 Move non-factory functions from DateTimeFactory to Icinga\Util\Format 2014-04-28 14:06:39 +02:00
Johannes Meyer
3e83854e04 Add test for Icinga\Util\String
refs #6011
2014-04-28 14:06:39 +02:00
Johannes Meyer
e27e538bd9 Add test for Icinga\Util\Translator
refs #6011
2014-04-28 14:06:39 +02:00
Johannes Meyer
1145fc118e Move session tests to correct sub-folder
refs #6011
2014-04-28 14:06:39 +02:00
Johannes Meyer
2415604035 Add test for Zend_View_Helper_DateFormat
refs #6011
2014-04-28 14:06:39 +02:00
Johannes Meyer
f7051ca992 Remove form tests that cover only graphical tests
refs #6011
2014-04-28 14:06:38 +02:00
Johannes Meyer
21b949758f Refactor ResourceForm tests
refs #6011
2014-04-28 14:06:38 +02:00
Johannes Meyer
3d44c45eb8 Rename EditResourceForm to ResourceForm
refs #6011
2014-04-28 14:06:38 +02:00
Johannes Meyer
656e6bd0fd Drop obsolete CreateResourceForm class
refs #6011
2014-04-28 14:06:38 +02:00
Johannes Meyer
aaa6a56146 Refactor authentication config form tests and fix auth backend validation
refs #6011
fixes #5712
2014-04-28 14:06:38 +02:00
Matthias Jentsch
2abd96de39 Merge branch 'bugfix/fix-multiselection-5765' 2014-04-28 09:51:02 +02:00
Matthias Jentsch
661dbea740 Fix query that finds the nearest container of a table row and stores it. 2014-04-28 09:48:06 +02:00
Matthias Jentsch
c641988233 Preserve multiselection during refresh
refs #5765
2014-04-28 09:48:06 +02:00
Matthias Jentsch
b791883fa8 Fix configuration checkboxes and colors in piecharts
refs #5765
2014-04-28 09:48:06 +02:00
Matthias Jentsch
b16c6efa05 Add PieChart to display hosts and services, improve layout and fix flag
checkboxes

refs #5765
2014-04-28 09:48:06 +02:00
Matthias Jentsch
081b5072a6 Fix layout of MultiController views
refs #5765
2014-04-28 09:48:06 +02:00
Matthias Jentsch
cb630d45ad Fix issues issues with javascript multiselection
refs #5765
2014-04-28 09:48:05 +02:00
Matthias Jentsch
3b2bb3c4fc Move functions to perform single, multi and range-selection into the ui module
refs #5765
2014-04-28 09:48:05 +02:00
Matthias Jentsch
6d303f1c42 Add abillity for multi and range-selection to events.js
Add the abillity to select multiple rows, with a multi-selection using the
CTRL-key or a range-selection using the shift-key. Also fix several issues in
the Multi-Controller of the Backend.

refs #5765
2014-04-28 09:48:05 +02:00
Alexander Klimov
6973b04211 Don't throw exception if logfile is not found
fixes #6035
2014-04-23 12:21:42 +02:00
Michael Friedrich
f510130797 Look for ICINGAWEB_CONFIGDIR in $_ENV too.
Refs #5638
2014-04-23 11:23:29 +02:00
Thomas Gelf
a7b5893918 Detect TTY support and avoid ANSI colors if none
fixes #5992
2014-04-18 14:36:46 +00:00
Thomas Gelf
fa3e7f9fc2 Module list should not throw Exceptions if no config is present 2014-04-17 21:16:51 +00:00
Thomas Gelf
039aa76467 Directly use the routing script for internal web server 2014-04-17 21:12:13 +00:00
Thomas Gelf
0d6aeb3877 Make CLI logging robust against missing config 2014-04-17 21:09:30 +00:00
Thomas Gelf
3f9bc5dea6 Use no space in syslog application name 2014-04-17 21:04:15 +00:00
Thomas Gelf
f04d765365 Fix routing for static content with internal webserver 2014-04-17 20:59:37 +00:00
Thomas Gelf
86cc256a82 Remove module skeleton
* it was pretty useless in it's current form
* I'm against a full-blown skeleton
* We need good step-by-step tutorials
2014-04-17 17:09:53 +00:00