Alexander Klimov
a33042bcc9
Profile icingaweb2_dev': add
path' for Exec
...
refs #6842
2014-09-10 11:27:28 +02:00
Alexander Klimov
260ec95771
Rename icingaweb2::config' to
icingaweb2::config::general'
...
refs #6842
2014-09-10 11:24:15 +02:00
Alexander Klimov
930416b0dc
pgsql::database::populate: Exec: add '/bin' to `path'
...
refs #6842
2014-09-10 11:14:55 +02:00
Alexander Klimov
406f3ba6f7
mysql::database::populate: Exec: add '/bin' to `path'
...
refs #6842
2014-09-10 11:05:13 +02:00
Alexander Klimov
9bb68c42a0
pgsql::database::populate: require module `grep'
...
refs #6842
2014-09-10 10:23:32 +02:00
Alexander Klimov
645a2ec380
mysql::database::populate: require module `grep'
...
refs #6842
2014-09-10 10:20:22 +02:00
Marius Hein
9c2cf0bd0f
StateHistoryQuery: Make whereToSql robust
...
This fixes bugs is a array for expression comes in or types
does not exist.
fixes #7133
2014-09-10 10:07:03 +02:00
Alexander Klimov
01807c26a7
Add module `grep'
...
refs #6842
2014-09-10 10:04:27 +02:00
Eric Lippmann
5757a6f34b
monitoring: Fix typo in the `Downtime' data view
2014-09-10 09:29:01 +02:00
Alexander Klimov
924a511386
Profile `icingaweb2_dev': add config files to 'modules/monitoring'
...
backends.ini
config.ini
instances.ini
refs #6842
2014-09-09 18:00:26 +02:00
Alexander Klimov
07c4591499
Profile `icingaweb2_dev': add config file 'config.ini'
...
refs #6842
2014-09-09 17:46:00 +02:00
Eric Lippmann
171b366744
monitoring/commands: Let `AddCommentCommand' be the command object for adding both host and service commands
...
refs #6593
2014-09-09 16:41:41 +02:00
Eric Lippmann
28a66c8541
monitoring/commands: Introduce `ObjectCommand' for commands that involve a Icinga object
...
refs #6593
2014-09-09 16:40:09 +02:00
Eric Lippmann
d9fbbca447
monitoring/commands: Move AddCommentCommand' to
WithCommentCommand'
...
`AddCommentCommand' will be the command for adding both host and service comments.
refs #6593
2014-09-09 16:39:22 +02:00
Eric Lippmann
a841b0956d
monitoring/commands: Do not require command objects to return the command string
...
There will be command renderer instead.
refs #6593
2014-09-09 16:35:06 +02:00
Matthias Jentsch
da7e599363
Only remove active elements in navigation on reload
2014-09-09 16:32:15 +02:00
Alexander Klimov
0fbe072747
Profile `icingaweb2_dev': add config file 'authentication.ini'
...
refs #6842
2014-09-09 16:27:26 +02:00
Alexander Klimov
858e7c2f9e
Profile `icingaweb2_dev': add config file 'resources.ini'
...
refs #6842
2014-09-09 16:18:09 +02:00
Johannes Meyer
83772c6684
Merge branch 'master' into bugfix/rebuild-form-builder-5525
2014-09-09 16:03:22 +02:00
Alexander Fuhr
7d45384289
Fixes translations module missing header language line
...
fixes #7154
2014-09-09 15:52:26 +02:00
Matthias Jentsch
71f55e388f
Only display custom menu renders on XHR requests and not in regular HTML
...
The main navigation should be rendered without a working backend.
fixes #7143
2014-09-09 15:33:42 +02:00
Matthias Jentsch
b7c207a9cb
Do not drop preselection in the navigation on reload
2014-09-09 15:32:07 +02:00
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