5182 Commits

Author SHA1 Message Date
raviks789
7677a0bc4e WebWizard: Access Form::getName() with correct name case in getNewPage() 2023-08-23 10:53:13 +02:00
raviks789
ea2166be6d WebWizard: Import exception InvalidArgumentException 2023-08-23 10:53:13 +02:00
raviks789
fc321ddc49 WebWizard: Use inline @var to cast setup pages to correct type 2023-08-23 10:53:13 +02:00
raviks789
aa5da53c9d Webserver: Fix name case of return type for createInstance() method 2023-08-23 10:53:13 +02:00
raviks789
c0145890a3 ArrayToTextTableHelper: Update PHPDoc for constructor 2023-08-23 10:53:13 +02:00
raviks789
06d61001b1 GettextTranslationHelper: Fix parameter list for getSourceFileNames() method 2023-08-23 10:53:13 +02:00
raviks789
00f367c7d6 MonitoredObjectController: Access MonitoredObject::fetchEventhistory() with correct name case 2023-08-23 10:53:13 +02:00
Sukhwinder Dhillon
72d155c57d Remove not in use class Plugin.php 2023-08-23 10:53:13 +02:00
raviks789
8a17c56345 Remove requiring vendor dependencies
Also avoid autoloading vendor.
2023-08-09 15:16:16 +02:00
Johannes Meyer
58673b0b95 PhpCommand: Accept phpunit path as option and fix coverage 2023-07-04 17:05:06 +02:00
Johannes Meyer
c9f3f0444d tests: Require view helpers at runtime 2023-07-04 16:24:19 +02:00
Johannes Meyer
e7adc06497 ApplicationBootstrap: Process ICINGAWEB_MODULES_DIR by default 2023-07-04 16:08:41 +02:00
Gianluca Piccolo
db9888b1f1 Fixes #5020 2023-06-22 15:11:39 +02:00
Thomas Gelf
463cc748bf MonitoringBadgeNavigationItemRenderer: do not fail
...on wildcard filter
2023-06-22 15:07:47 +02:00
Sukhwinder Dhillon
ea1e5f9245 TimeLine: Always parse int to validateTime()
Php < 8.1 converts fetched time(stamp) to string. This must always be an int.
2023-06-22 15:05:10 +02:00
Johannes Meyer
693bed1710 Raise version to 2.11.4 2023-01-26 09:42:18 +01:00
Alexander A. Klimov
73dcf2bc89 setup: welcome page: on Docker remove redundant instructions 2023-01-24 11:23:58 +01:00
Alexander A. Klimov
0031108160 icingacli setup config webserver apache: add trailing / to Alias dir
if the Alias URI (e.g. /) has a trailing /. Otherwise Apache says 403.
2023-01-18 13:55:45 +01:00
Johannes Meyer
e542982de0 Fix some reflected XSS bugs
fixes #4979
2023-01-12 09:55:57 +01:00
Eric Lippmann
d41ebeb6bc Schema path is now always /usr/share/icingaweb2/schema 2023-01-09 16:14:15 +01:00
Johannes Meyer
d0a83a646c Release version 2.11.3 2022-12-14 13:21:01 +01:00
Alexander A. Klimov
522d041505 icingacli test php unit: pass through phpunit exit code
so that GHA knows if something failed.
2022-12-08 11:11:22 +01:00
Johannes Meyer
6ef968bb96 Raise version to v2.11.2 2022-11-04 12:14:40 +01:00
Johannes Meyer
17bd3ce14f collapsible.js: Use a data-attr to identify collapsible collapsibles 2022-10-10 10:42:45 +02:00
raviks789
bff47213ee Show warning health state badges
The warning state badges should be shown when notifications or active host/service checks are disabled.
2022-10-10 10:00:06 +02:00
Sukhwinder Dhillon
762630c027 event-history.phtml: Don't sort events by time
Sort only by day and date
2022-10-10 09:59:26 +02:00
Johannes Meyer
dae7bf4657 Macro: Log the object where a macro is not found
fixes #3759
2022-10-10 09:58:39 +02:00
Alexander Aleksandrovič Klimov
ad827395af Unveil hidden downtime in checkable detail view
Case: there are no comments, one downtime and you may not schedule additional ones.

Before: downtime is not shown in checkable detail view.

After: downtime is shown in checkable detail view.
2022-10-04 16:04:55 +02:00
Johannes Meyer
225d43b45f Release version 2.11.1 2022-07-06 14:48:48 +02:00
moreamazingnick
f84057fd83 Fix wrong return value breaks doc-module search
refs #4856
2022-07-05 15:42:46 +02:00
Johannes Meyer
4b60f87021 IdoQuery: Correct doc of method requireColumn() 2022-07-05 09:55:32 +02:00
Johannes Meyer
e5ec9a36f7 monitoring: Fix conversion rules for timestamps in various queries 2022-07-05 09:55:32 +02:00
Johannes Meyer
dcf194bc4c Raise version to 2.11.0 2022-06-30 13:47:07 +02:00
Johannes Meyer
3d159fe434 TimeRange: Accept strings in method validateTime() 2022-06-30 08:41:47 +02:00
Johannes Meyer
e3a9b56423 eventgrid: Avoid passing null to string type functions 2022-06-30 08:40:28 +02:00
Dirk Goetz
d5d714b1ee Fix gravatar: set content-type header and size
Fixes #2254
2022-06-15 09:03:12 +02:00
mrdsam
0c325eb027
Update 03-Configuration.md (#4806) 2022-06-15 08:57:45 +02:00
Johannes Meyer
ec27f77861 DataView: Relax filter validation again
There are way too much missing columns in data views all
over the place. I dont' see a justification to fix them
as it's only now this "issue" occurs. It's easier to
revert this change here.

fixes #4797
2022-06-14 15:32:21 +02:00
Sukhwinder Dhillon
4ab79a6758 DataView: Remove not in use method applyUrlFilter() 2022-06-14 14:24:30 +02:00
Sukhwinder Dhillon
3b04a0489e Replace class Backend use with MonitoringBackend and remove class Backend 2022-06-14 14:24:30 +02:00
Sukhwinder Dhillon
0db42b32e6 Remove not in use class Icinga\Module\Monitoring\Environment.php 2022-06-14 14:24:30 +02:00
Johannes Meyer
46a21d9709 Drop method DbQuery::whereToSql()
It's been used by `DbQuery::renderFilter()` rather
exclusively. So if removing one, both need to go.
2022-06-14 14:24:30 +02:00
Johannes Meyer
8301cae1a9 migrate: Remove dashboard sections command 2022-06-14 14:24:30 +02:00
Sukhwinder Dhillon
be1ff03dd3 MonitoredObject: Remove deprecated methods matches() and fromParams() 2022-06-14 14:24:30 +02:00
Sukhwinder Dhillon
60756afa34 Replace MonitoringBackend::createBackend() with MonitoringBackend::instance() 2022-06-14 14:24:30 +02:00
Sukhwinder Dhillon
49bea36345 MonitoringBackend: Remove deprecated method createBackedn() 2022-06-14 14:24:30 +02:00
Sukhwinder Dhillon
577d97a450 DataView: Move sort() body to order() and remove sort() and fromRequest() 2022-06-14 14:24:30 +02:00
Sukhwinder Dhillon
d8ddc6600a overrides customvarsWithOriginalNames only if the given object is of type host
A call to `__get()` reset the array if the given `$name` is a customvar
If `service` has a `host` customvar filter, the `fetchHostVariables()`
method was executed and overwrote the `customvarsWithOriginalNames` array.

fixes #4757
2022-06-13 11:56:57 +02:00
Johannes Meyer
777d146ba1 Perfdata: Avoid passing null to number_format() 2022-05-27 14:41:42 +02:00
Sukhwinder Dhillon
bbbe9eef22 PreferencesCommand: Introduce method loadIniFile() and remove not required code 2022-05-27 14:02:11 +02:00