5120 Commits

Author SHA1 Message Date
Johannes Meyer
148427edaa Release version 2.11.6 2025-03-26 16:44:46 +01:00
Johannes Meyer
a5b152f467 Release version 2.11.5 2025-03-26 10:44:52 +01:00
Markus Opolka
cb50e33409 Fix doc module markdown table rows in light mode
- Replaced the gradient mixin with a simple color
  for odd rows. This fixes and markdown table rows
  in light mode and - since there are very gradients
  in general - it makes the overall look more uniform.

See https://github.com/Icinga/icingaweb2/issues/5320

(cherry picked from commit 6c8453062f48fa203fb2d9dc3b8b051ede2669f6)
2025-03-25 14:42:03 +01:00
Johannes Meyer
244adf61b2 Fix unescaped error messages (#5329)
In both cases the input, which wasn't escaped before, comes from a form
element that doesn't allow any user to change its content. An ordinary
user would need to access the DOM in order to do that.

Both forms are protected by CSRF, so this mitigates any potential
exploit as well.

(cherry picked from commit acfad5ae5290d349c0ca4fe10b329e56c23201a0)
2025-03-25 14:41:39 +01:00
Johannes Meyer
11453bfa92 Release version 2.11.4
(cherry picked from commit 4b6df1bef9658984e83827d796b53fecfc3cf247)
2023-01-26 12:54:15 +01:00
Alexander A. Klimov
95511a1a88 setup: welcome page: on Docker remove redundant instructions
(cherry picked from commit 73dcf2bc89b2d149ecc73111a4866ea6ee0e1747)
2023-01-26 09:39:32 +01:00
Alexander A. Klimov
59415e117f icingacli setup config webserver apache: add trailing / to Alias dir
if the Alias URI (e.g. /) has a trailing /. Otherwise Apache says 403.

(cherry picked from commit 0031108160ad440d6d2f172dba07c04e6f5af4a8)
2023-01-26 09:39:32 +01:00
Johannes Meyer
9a4a11861a Fix some reflected XSS bugs
fixes #4979

(cherry picked from commit e542982de06be6b7bcab07be4f3a4423e84b8d7a)
2023-01-12 11:19:52 +01:00
Eric Lippmann
8c52f68fd6 Merge pull request #4964 from Icinga/packaging
Packaging Adjustments

(cherry picked from commit 57c52cadfa82e0a3cb06ac2f8a14ea3bb3060f74)
2023-01-12 11:19:11 +01:00
Johannes Meyer
7eaca7e519 Release version 2.11.3 2022-12-14 13:27:53 +01:00
Alexander A. Klimov
60647eb038 icingacli test php unit: pass through phpunit exit code
so that GHA knows if something failed.

(cherry picked from commit 522d041505ecb92ee66395a3d7c647c3926f8e06)
2022-12-08 11:36:16 +01:00
Johannes Meyer
b654344552 Raise version to v2.11.2 2022-11-04 12:00:40 +01:00
Johannes Meyer
0cd2887fca collapsible.js: Use a data-attr to identify collapsible collapsibles
(cherry picked from commit 17bd3ce14f26248a6830068cf0e5e742c57c59b6)
2022-11-04 11:56:47 +01:00
raviks789
2112a42056 Show warning health state badges
The warning state badges should be shown when notifications or active host/service checks are disabled.

(cherry picked from commit bff47213eef4f610a844c46af172986f2ac4dc60)
2022-11-04 11:56:47 +01:00
Sukhwinder Dhillon
068e98495c event-history.phtml: Don't sort events by time
Sort only by day and date

(cherry picked from commit 762630c02730cf79e7395443fe37feb708697143)
2022-11-04 11:56:47 +01:00
Johannes Meyer
28f66a4aff Macro: Log the object where a macro is not found
fixes #3759

(cherry picked from commit dae7bf4657895ba1283cdd56c1a7d7c836681aa3)
2022-11-04 11:56:47 +01:00
Alexander Aleksandrovič Klimov
893f7d4bf4 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.
(cherry picked from commit ad827395af42f033982a814f982f7875b9915e6d)
2022-11-04 11:56:47 +01:00
Johannes Meyer
29f3568dc2 Release version 2.11.1 2022-07-06 14:48:10 +02:00
moreamazingnick
02e3670ced Fix wrong return value breaks doc-module search
refs #4856

(cherry picked from commit f84057fd8384bf0ea7f820686615ed5a388e00f0)
2022-07-06 14:02:03 +02:00
Johannes Meyer
81056b97af Merge pull request #4854 from Icinga/fix/incorrect-history-time-and-date-4853
Fix incorrect history time and date

(cherry picked from commit 97f459b7e941fa6518f1508198e09d9ea93646c5)
2022-07-06 14:01:28 +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
Sukhwinder Dhillon
b3998856af Revert "Remove class PreferencesCommand"
This reverts commit ea03ecd779ffd8b38cbddefadf8c29712e4171dd.
2022-05-27 14:02:11 +02:00
Sukhwinder Dhillon
aad2419545 Remove obsolete config_backend option and not required code
The user preferences backend is now always a `db`.
2022-05-27 14:02:11 +02:00
Sukhwinder Dhillon
18ecd444c4 Remove class PreferencesCommand 2022-05-27 13:55:48 +02:00
Johannes Meyer
74022ae4e0
Merge pull request #4697 from Icinga/feature/redesigned-user-menu-new
Feature/redesigned user menu
2022-05-16 09:04:26 +02:00
Johannes Meyer
0f64e24f99 MonitoredObject: Register filters with whereEx() 2022-05-12 16:33:30 +02:00
raviks789
8898ed85ab Change FilterMatch to FilterEqual class for single object filter on object name.
Correspondingly the DbConnection::renderFilter() (as DbQuery::renderFilter() is deprecated and will be removed, hence no modifications here)
is also modified to render accordingly.
This correctly selects the host, service or contact in case the object name contains wild card characters like "\*".
2022-05-12 16:28:35 +02:00
Johannes Meyer
3edb5c3c94 IdoQuery: Introduce method whereEx() 2022-05-12 16:28:35 +02:00
Florian Strohmaier
04199915fe monitoring/configuration: Do not add ‘Monitoring Health’ item 2022-05-12 15:13:16 +02:00
Sukhwinder Dhillon
48e96ba301 RequirementSet: Fix null returned instead int exception
fixes #4767
2022-05-03 14:08:16 +02:00
Sukhwinder Dhillon
cee12fd6a5 Setup Wizard: Fix bool to int cast exception on first page
fixes https://github.com/Icinga/icingaweb2/issues/4770
2022-05-03 14:07:19 +02:00
Sukhwinder Dhillon
1b1eb3436f sql: Change charset to utf8mb4
fixes https://github.com/Icinga/icingaweb2/issues/4680
2022-05-02 15:36:31 +02:00
Johannes Meyer
c5cf7abf0d IdoQuery: Avoid passing null to preg_replace()
refs #4640
2022-04-19 15:01:52 +02:00