Commit graph

925 commits

Author SHA1 Message Date
Ravi Kumar Kempapura Srinivasa
d494cf3cee Each PHP statement must be on a line by itself
Previously there was an error during php codesniffer test at line 53 of IcingaDbState. Changes are made to correct this error.
2022-02-03 16:54:01 +01:00
Ravi Kumar Kempapura Srinivasa
c0f422d750 Resolve PHP CodeSniffer issue
Remove the extra semi-colon in line 53 in IcingaDbState
2022-02-03 16:54:01 +01:00
Ravi Kumar Kempapura Srinivasa
843a556f6e Remove the unwanted comments in IcingaDbState
Clean IcingaDbState class by removing the unwanted comments.
2022-02-03 16:54:01 +01:00
Ravi Kumar Kempapura Srinivasa
efcea15ab6 Clean the scripts and resolve the comments
Clean the scripts to pass the phpcodesniffer tests and resolve the comments provided by Eric.
2022-02-03 16:54:01 +01:00
Ravi Kumar Kempapura Srinivasa
1a0ddfb08b Add IcingaDB MySQL backend in businessprocess
IcingaDB MySQL backend is added to the businessprocess module to obtain information regarding monitored nodes.

ref #276
2022-02-03 16:54:01 +01:00
Johannes Meyer
3fe1c9d1a7
Merge pull request #316 from Icinga/php-81-support
PHP 8.1 Support
2022-01-24 14:30:11 +01:00
Johannes Meyer
a04059b6c1 ProcessCommand: Require a node name explicitly 2022-01-24 12:35:41 +01:00
Johannes Meyer
bc9113872e Require PHP 7.2+ 2022-01-14 10:59:52 +01:00
Johannes Meyer
0c3cf6b7bd Avoid passing non-string args to ctype_*() functions 2022-01-14 10:46:08 +01:00
Johannes Meyer
f96abb4627 Drop locales 2021-12-17 13:56:14 +01:00
Johannes Meyer
075af6bbfe
Merge pull request #309 from Icinga/adjust-less-variable-usage
Adjust less variable usage
2021-12-17 13:12:15 +01:00
Florian Strohmaier
1c131e8789 CSS: Balance visual icon weight 2021-12-17 13:10:19 +01:00
Johannes Meyer
940abdada6 Use the plug icon to indicate objects in downtime 2021-12-17 13:10:19 +01:00
Johannes Meyer
140ef72371 css: Improve variable usage and make it compatible with Web < 2.10 2021-12-17 13:10:19 +01:00
Johannes Meyer
fcadf2d6b4 Use Web 2's form style 2021-12-17 13:10:19 +01:00
Johannes Meyer
4d7df037d3 Drop Component\StateBall and use ipl\Web\Widget\StateBall instead 2021-12-17 13:10:19 +01:00
Florian Strohmaier
86732a91f8 CSS: Remove styles for php-diff 2021-12-17 13:10:19 +01:00
Florian Strohmaier
88e04d94c1 module.less: Add fixed var for box-shadow 2021-12-17 13:10:19 +01:00
Johannes Meyer
84c8ab9cd8 css: Adjust variable usages for compatiblity with v2.10 2021-12-17 13:10:19 +01:00
Johannes Meyer
455db3514e css: Remove obsolete .tiles > .addnew rule 2021-12-17 13:10:19 +01:00
Johannes Meyer
f59d2b7d0b
Merge pull request #315 from Icinga/drop-php-diff-lib
Drop php diff lib
2021-12-17 13:08:27 +01:00
Johannes Meyer
f86009d575 doc: Update requirements 2021-12-15 16:07:39 +01:00
Johannes Meyer
9958885a90 Drop vendor lib php-diff 2021-12-15 16:07:39 +01:00
Johannes Meyer
2e89039170 Drop lint tests for PHP 5.6 and 7.0 2021-12-15 16:07:39 +01:00
Johannes Meyer
dde924e2b4 ConfigDiff: Utilize new php-diff library 2021-12-15 16:07:39 +01:00
Johannes Meyer
ad2ea6f8c5 NodeTile: Add plural support to the Children label
closes Icinga/L10n#18
2021-12-13 15:28:50 +01:00
ValeDaRold
3154e3313f
Add new Host from Filter and Service from Filter in AddNodeForm.php (#300)
refs #295
2021-08-06 11:43:09 +02:00
Johannes Meyer
65849bd3bf Raise version to v2.3.1
(cherry picked from commit 52f6e1887c)
2021-07-26 10:55:56 +02:00
Johannes Meyer
bf0d2c2c8d css: Fix syntax errors 2021-06-18 12:02:39 +02:00
Johannes Meyer
6dc5f5e651
Merge pull request #290 from dgoetz/feature/audit
Add some AuditHooks
2021-04-20 17:28:11 +02:00
Johannes Meyer
7376f9443c php: Test also on PHP 8 2021-04-08 16:03:10 +02:00
Dirk Goetz
608842aeaa Add some AuditHooks
refs #289
2021-03-31 16:37:11 +02:00
Johannes Meyer
0f8c90fbf4 php: Utilize shivammathur/setup-php@v2 2020-11-17 16:41:38 +01:00
Kotove
3cd3427e74
Add downtime flag into export results (#286) 2020-10-23 09:22:55 +02:00
Johannes Meyer
0ce7f2460f README.md: Include state override chapter 2020-07-01 09:06:03 +02:00
Johannes Meyer
89c50a036d
Merge pull request #232 from cmenapace/feature/overwrite-service-state
Add state overrides
2020-07-01 09:02:27 +02:00
Johannes Meyer
1cc9187e0a state_overrides: Also fully support hosts 2020-07-01 08:54:34 +02:00
Johannes Meyer
ec54b6df57 doc: Add chapter for state overrides 2020-07-01 08:54:34 +02:00
Johannes Meyer
49ebbc4cdb Apply state overrides on demand instead of directly
Internally non-process children are only instantiated once.
This means when applying state overrides directly they're
used everywhere and do not differ between the containing
process. State overrides are now applied explicitly and
on demand, decoupling them from children.
2020-07-01 08:54:34 +02:00
Johannes Meyer
a8149a1983 ui: Use rule widget to show real state transformation instead
Showing the override rules only in tree view but not in tile
view is one problem. Another one however are rules for all
states which then are difficult to decipher while not providing
much benefit.

The flash to indicate the real state also is not intuitive enough.

That's why this change combines both widgets in a single one. This
makes it more clear what the actual state is, what happened to it,
and does not cobble the view with too much state balls.
2020-06-26 14:11:40 +02:00
Johannes Meyer
0c7fca926f config: Use an extra line to store state overrides
Storing overrides as part of a node's name leads to way too complicated
code. A separate field is not only better for compatibility but also
more straightforward to process.
2020-06-26 14:08:05 +02:00
Christian Menapace
98b6b2c6d0 Add Service Override 2020-06-26 11:32:09 +02:00
Johannes Meyer
8f868d79c9 NoDuplicateChildrenValidator: Don't detect a no-change as duplicate 2020-06-26 11:20:14 +02:00
Johannes Meyer
67a7687606 NodeAction: Force parsing objects as associative arrays during unserialization 2020-06-26 11:18:28 +02:00
Eric Lippmann
a9faf8a9ac
Merge pull request #283 from bobapple/update-docs-image
Fix newline issue of screenshots of docs/about page
2020-06-09 09:28:11 +02:00
Blerim Sheqa
33c880a93a Fix newline issue of screenshots of docs/about page
Adding multiple screenshots works on GitHub but is not suitable
for the rendered version of the docs. The images are too small
and newlines are added because of lacking space.

I changed that by including a single dashboard image.
2020-05-29 15:25:52 +02:00
Eric Lippmann
094f48db91
Doc: Fix operator 2020-05-29 12:05:06 +02:00
Johannes Meyer
e2f792e69a ci: Let the icingabot trigger L10n updates 2020-05-27 09:19:12 +02:00
Eric Lippmann
346ace79d0
Merge pull request #282 from Icinga/fix/handled-node-rendering
Fix rendering of state-balls for critical-handled nodes
2020-05-27 08:25:47 +02:00
Eric Lippmann
5037d8fea0
Merge pull request #280 from Icinga/fix/delete-node-rendering
Fix tile rendering for Bp nodes with unconfirmed deleted monitored nodes
2020-05-27 08:24:51 +02:00