3670 Commits

Author SHA1 Message Date
Johannes Meyer
e7c021845d Simplify subform usage
refs #5525
2014-09-09 15:00:33 +02:00
Alexander Klimov
1e511a0e3a Rename icingaweb2::config::monitoring' to icingaweb2::config::module'
refs #6842
2014-09-09 14:48:55 +02:00
Alexander Klimov
7e4feb748d Profile `icingaweb2_dev': softcode '/etc/icingaweb' as $cfgpath
refs #6842
2014-09-09 14:45:04 +02:00
Matthias Jentsch
157818c8e7 Fix navigation reload
Activate the correct menu item with JavaScript after relaod and don't
 render it on server-side on XHR requests.
2014-09-09 13:57:48 +02:00
Alexander Klimov
6aa2dcdd72 Profile icingaweb2_dev': outsource Icinga Web 2 config file provision into (new) define's
icingaweb2::config
icingaweb2::config::monitoring

refs #6842
2014-09-09 13:40:16 +02:00
Johannes Meyer
ceeb3a9ff8 Fix createElements() not returning self where applicable
refs #5525
2014-09-09 13:24:39 +02:00
Johannes Meyer
6bde740d21 Fix Icinga\Form\ConfigForm show config feature not available for modules
refs #5525
2014-09-09 13:22:51 +02:00
Alexander Klimov
77719be042 Profile `icingaweb2_dev': deduplicate DB creation/population
refs #6842
2014-09-09 13:19:12 +02:00
Johannes Meyer
0693e7cf2d Fix ResourceForm tests
refs #5525
2014-09-09 13:06:30 +02:00
Johannes Meyer
9d8f810e10 Icinga\Web\Request::getParam() should be mocked as well by default 2014-09-09 13:01:09 +02:00
Alexander Klimov
be7bae8cd6 pgsql::database::populate: populate the DB only if it's empty
refs #6842
2014-09-09 12:32:21 +02:00
Alexander Klimov
4484a3117b mysql::database::populate: populate the DB only if it's empty
refs #6842
2014-09-09 12:30:35 +02:00
Johannes Meyer
40947acd16 Fix, rename and move ReorderFormTest
refs #5525
2014-09-09 12:02:51 +02:00
Johannes Meyer
7dbc83e21f Drop obsolete BaseBackendFormTest
refs #5525
2014-09-09 11:58:07 +02:00
Johannes Meyer
e4fccdd150 Fix DbBackendFormTest
refs #5525
2014-09-09 10:39:49 +02:00
Johannes Meyer
31978e1236 Fix LdapBackendFormTest
refs #5525
2014-09-09 10:36:42 +02:00
Johannes Meyer
cee3c32fa5 Fix dashboard tests utilizing BaseTestCase::setupIcingaMock() 2014-09-09 10:21:37 +02:00
Johannes Meyer
a5c027b77c Fix UrlTest utilizing BaseTestCase::setupIcingaMock() 2014-09-09 10:21:09 +02:00
Johannes Meyer
d6377ca00c Return bootstrap mock when calling BaseTestCase::setupIcingaMock() 2014-09-09 10:19:51 +02:00
Johannes Meyer
c947ba3b18 Use the new view script to show INI configuration in case of failures 2014-09-09 09:46:57 +02:00
Johannes Meyer
6525d6933a Add test for Icinga\Web\Form
refs #5525
2014-09-09 09:40:49 +02:00
Johannes Meyer
f7f6bcc447 Make Form base class more test friendly..
refs #5525
2014-09-09 09:31:15 +02:00
Johannes Meyer
c8ce1088c9 Disable checking whether a form is sent when form identification is disabled
refs #5525
2014-09-09 09:30:33 +02:00
Johannes Meyer
34bbe6508a Remove form test functionality from BaseTestCase
BaseTestCase::createForm() is not required as the Form base class does
not have that much bloat anymore to have the need for a form factory.
2014-09-09 09:29:29 +02:00
Johannes Meyer
c8bdb70d06 Remove command form tests
refs #5525
2014-09-09 09:27:04 +02:00
Johannes Meyer
1137c010a8 Provide global request and response mocks
Prior to this change one had to overwrite setupIcingaMock or setUp to set
a specific mock as request or response. Now it is possible to do this for a
specific test without overwriting any method.
2014-09-09 09:24:38 +02:00
Matthias Jentsch
56b779af4d Clean up mousemove handler and remove unused tooltip code 2014-09-08 16:46:47 +02:00
Matthias Jentsch
28f5ef2284 Fix elementsOverlap function for SVG elements
Access SVG getBBox function to acquire the bounding box for SVG elements
2014-09-08 16:37:20 +02:00
Matthias Jentsch
a352131d65 Move charts.less into widgets.less
Don't use a separate less file for only two styles
2014-09-08 16:25:11 +02:00
Matthias Jentsch
40611659ed Fix disappearing tooltips on SVG reload
Use a unified linebreak in the chart controller, so the tooltip handling will recognize the titles as identical
2014-09-08 16:23:14 +02:00
Matthias Jentsch
0fd561928a Remove cached version of dompdf log.htm from source control 2014-09-08 16:22:15 +02:00
Matthias Jentsch
545db945da Auto refresh menu
Put the navigation into a container and reload it once every 15 seconds from a distinct menu action. Include the current
path into an URL param to still be able to mark the current menu item as active.

fixes #6955
2014-09-08 15:21:14 +02:00
Johannes Meyer
f53519c54d Rename ConfigForm::setConfig() to ConfigForm::setIniConfig()
We do not want to override Zend_Form::setConfig() so this renaming is
required. set*Ini*Config() because ConfigForm::save() utilizes an ini-writer
to persist the configuration to disk.

refs #5525
2014-09-08 13:31:25 +02:00
Alexander Fuhr
e8d526fcf9 StaticController: Fix img file inclusion 2014-09-08 12:59:22 +02:00
Alexander Klimov
2c0d71ad95 Rename profile icingaweb2' to icingaweb2_dev'
refs #6842
2014-09-08 12:24:28 +02:00
Alexander Fuhr
7386ae5ef5 Update Module img_ route to get image subfolders 2014-09-08 11:31:05 +02:00
Thomas Gelf
2112d45c3c doc/components.md: obsolete, remove
We do not load any component with require.js or similar
2014-09-08 10:53:26 +02:00
Matthias Jentsch
e8164c6da0 Show tooltips to describe menu badges 2014-09-08 10:38:02 +02:00
Eric Lippmann
0e7ca591ec Merge branch 'master' into bugfix/commands-6593
Conflicts:
	application/forms/Preference/GeneralForm.php
	application/views/helpers/FormDateTime.php
	modules/monitoring/application/forms/Command/CommandForm.php
2014-09-08 10:16:05 +02:00
Matthias Jentsch
e39dd64a1b Fix layout of HistoryColorGrid
Use actual color for critical hosts and only display the first two letters of the weekday
2014-09-08 09:52:28 +02:00
Johannes Meyer
12b4865559 Fix incompatible declaration of Form::setDefaults()
PHP with strict standards: Declaration of Icinga\Web\Form::setDefaults()
should be compatible with that of Zend_Form::setDefaults()

refs #5525
2014-09-08 09:42:02 +02:00
Matthias Jentsch
39688ece90 Do not show badge when menu is active 2014-09-08 09:36:33 +02:00
Johannes Meyer
930e6e7d71 We shouldn't require Form::createElements() to return self
refs #5525
2014-09-08 09:24:53 +02:00
Johannes Meyer
7215e273f6 Fix AddUrlForm::createElements() not returning self 2014-09-08 09:10:59 +02:00
Johannes Meyer
ae9e5a40cc Merge branch 'master' into bugfix/rebuild-form-builder-5525
Conflicts:
	application/forms/Preference/GeneralForm.php
2014-09-08 08:46:53 +02:00
Alexander Fuhr
c304c230bd Add development folder to .gitignore 2014-09-07 23:20:59 +02:00
Gunnar Beutner
7d623fdfe3 Fix spelling mistake: Unandled -> Unhandled 2014-09-05 23:42:49 +02:00
Thomas Gelf
6095e44064 Host/Service: provide process_perfdata attribute 2014-09-05 19:05:13 +02:00
Thomas Gelf
4a89c2e163 Web\Hook: register('grapher') => GrapherHook 2014-09-05 18:54:50 +02:00
Thomas Gelf
ccb8f51ba9 list/eventhistory: sort by timestamp, not raw_ts 2014-09-05 18:44:29 +02:00