Johannes Meyer
c9f3f0444d
tests: Require view helpers at runtime
2023-07-04 16:24:19 +02:00
Johannes Meyer
48e0f1bd1f
PluginOutput: Transform newlines first and purify HTML afterwards
...
fixes #4686
2022-03-02 08:23:51 +01:00
Johannes Meyer
47922673fc
PluginOutput: Don't "optimize" two subsequent newlines to one
...
fixes #4522
2021-11-02 09:00:21 +01:00
Johannes Meyer
e671324ddb
tests: Don't use deprecated assertion `assertRegExp()`
2021-04-09 12:38:43 +02:00
Johannes Meyer
cb87190138
tests: Add `:void` return type declarations
2021-04-09 12:38:43 +02:00
Johannes Meyer
e01f51ffc7
PluginOutput: Fix that subsequent escaped newlines are not transformed
...
fixes #4297
2021-02-15 11:23:36 +01:00
Johannes Meyer
eb69a249d3
PluginOutputTest: Fix case testMultilineHtmlOutput
2019-04-11 14:16:10 +02:00
Alexander A. Klimov
fff07144c3
Preserve <br>s in plugin output
...
refs #3662
2019-04-11 14:16:10 +02:00
Johannes Meyer
19231038a7
PluginOutput: Don't escape html entities twice
...
fixes #3707
2019-03-05 13:27:27 +01:00
Markus Frosch
b0ecbe079f
PluginOutput: Fix text splicing for status tags in HTML output
...
Trailing text was lost in processing.
Also add tests to check this behavior plus some basics.
fixes #3382
2018-03-07 15:59:14 +01:00
Alexander A. Klimov
474803fee4
Change all license headers to only reflect a file's year of creation
...
refs #11000
2016-02-08 15:41:00 +01:00
Matthias Jentsch
60e5608b40
Rename ResolveMacroTest
...
refs #6392
2015-05-28 15:02:58 +02:00
Matthias Jentsch
37f58e55d8
Move macro resolcing functionality into separate class
...
Make macro resolving functionality available to all code, instead of depending on a view
resf #6392
2015-05-28 14:44:16 +02:00
Eric Lippmann
6bae2e0a53
Note that our license is GPL v2 or any later version in our license header instead of pointing to the license's URL
2015-02-04 10:52:27 +01:00
Eric Lippmann
5b4fab0750
Add license header
...
This time without syntax errors hopefully :)
2015-02-03 16:27:59 +01:00
Eric Lippmann
5fa2e3cfdc
Revert "Add license header"
...
This reverts commit 338d067aba
.
2015-02-03 16:16:26 +01:00
Eric Lippmann
338d067aba
Add license header
...
fixes #7788
2015-02-03 15:51:04 +01:00
Johannes Meyer
c8bdb70d06
Remove command form tests
...
refs #5525
2014-09-09 09:27:04 +02:00
Johannes Meyer
c4d17a3509
Drop Zend_View_Helper_MonitoringProperties as it's not used anywhere
2014-09-03 10:27:24 +02:00
Alexander Klimov
7ff51caed0
Remove leading backslashes from the targets of use statements
...
- use \Exception;
+ use Exception;
2014-08-27 15:51:49 +02:00
Eric Lippmann
1dea19504f
Revert "Remove leading backslashes from the targets of use statements"
...
This reverts commit 87a5967501
.
At least 'modules/doc/run.php' issues a warning about "The use statement with non-compound name 'Zend_Controller_Router_Route' has no effect"
2014-08-27 12:24:11 +02:00
Alexander Klimov
87a5967501
Remove leading backslashes from the targets of use statements
...
- use \Exception;
+ use Exception;
2014-08-27 11:16:44 +02:00
Johannes Meyer
7eb0f3c472
Remove @codingStandardsIgnoreStart/-Stop annotations
...
refs #6091
2014-06-30 13:59:58 +02:00
Johannes Meyer
4c8428423e
Convert existing mocks to Mockery-mocks (Part 1)
...
refs #4639
2014-04-11 17:03:45 +02:00
Johannes Meyer
927772578d
We do not want to use "@backupStaticAttributes enabled"
...
refs #4639
2014-04-11 15:31:29 +02:00
Johannes Meyer
f3c87782cb
Remove uneccesary date_default_timezone_set calls
...
refs #4639
2014-04-11 10:32:47 +02:00
Johannes Meyer
1db9247d0d
Fix module tests
...
refs #4639
2014-04-10 14:52:08 +02:00
Marius Hein
746cc4b5d9
Drop obsolete test cases
...
refs #4639
2014-04-09 09:26:11 +02:00
Marius Hein
34822d9a02
Clean up tests [WIP]
...
refs #4639
2014-04-09 09:23:59 +02:00
Johannes Meyer
4aed7468b7
Add view helper to resolve host-/servicemacros as well as customvars
...
refs #4490
2014-01-31 15:57:53 +01:00
Eric Lippmann
ca1d50ae53
Rename Icinga 2 Web to Icinga Web 2
2013-10-23 15:11:06 +02:00
Jannis Moßhammer
f350011028
Add Status.dat backend
...
refs #3801
2013-10-20 15:16:44 +02:00
Matthias Jentsch
4f3f5c3aad
Clean up old and unused command classes
...
refs #3788
2013-10-18 16:44:03 +02:00
Jannis Moßhammer
c034a5eff8
Fix tests and a few member access issues
...
refs #3801
2013-10-17 19:55:00 +02:00
Jannis Moßhammer
44be5e85da
Refactoring and Query and IDO code,
...
the Monitoring/View code was completly dropped in favor of
the DataView implementations, as new Backends otherwise
would require to implement two seperate query logics
refs #3801
2013-10-17 19:54:58 +02:00
Jannis Moßhammer
d33cec78de
Semantic search implementation
...
- Only implemented for hosts as an example
- URL behaviour still has to be normalized
refs #4469
2013-10-17 19:52:52 +02:00
Marius Hein
8e2549febe
Fix broken tests
...
fixes #4878
2013-10-15 13:20:09 +02:00
Eric Lippmann
a42668edb8
Fix tests
...
refs #4663
2013-10-09 09:20:17 +02:00
Jannis Moßhammer
4206504c9c
Fix tests for pagination in controller
...
refs #4611
2013-09-23 13:56:59 +02:00
Eric Lippmann
c47778f10e
Capitalize monitoring properties, e.g. Current Attempt
2013-09-05 14:49:37 +02:00
Eric Lippmann
a5908c9553
CS: Replace multiple empty lines with one
...
find application/ library/Icinga/ test/ modules/ -name *.php | xargs sed -i '/^$/N;/^\n$/D'
2013-09-04 18:36:10 +02:00
Johannes Meyer
b74e264f01
Refactor comment command handling
...
- Refactored Comment class
- Dropped IComment interface
- Added AddCommentCommand class
- Updated CommentForm
refs #4580
2013-09-04 18:08:00 +02:00
Johannes Meyer
95d7a8a553
Fix triggered_by field in ScheduleDowntimeForm is not a select box
...
refs #4496
2013-09-04 18:07:59 +02:00
Eric Lippmann
3e4d1aa2fb
Monitoring/Tests: Replace BaseFormTest with BaseTestCase
...
refs #4586
2013-09-04 11:21:12 +02:00
Eric Lippmann
e3044b8b62
Tests/Monitoring: Remove ScheduleDowntimeFormTest since it's being refactored in another branch
...
refs #4586
2013-09-04 11:21:12 +02:00
Eric Lippmann
a89631fd92
Tests/Monitoring: Remove useless test ConfirmationFormTest
...
refs #4586
2013-09-04 11:21:12 +02:00
Eric Lippmann
8a062ff3e5
Fix tests after renaming the namespace
...
refs #4586
2013-09-04 11:21:12 +02:00
Eric Lippmann
c86874d4ba
Rename namespace Monitoring to Icingæ\Module\Monitoring
...
refs #4586
2013-09-04 11:21:11 +02:00
Johannes Meyer
23f0962da1
Adjust command forms and tests
...
Made those command forms using the DateTimePicker
element compatible with its new validation.
refs #4581
2013-09-03 09:27:02 +02:00
Johannes Meyer
13e4efa221
Make use of the helptext decorator if suitable
...
Refactored some uses of the form element Note so that
each one is properly attached to its input element.
refs #4566
2013-08-28 08:57:46 +02:00