13327 Commits

Author SHA1 Message Date
Markus Frosch
ea1a46ef43 js: Fix regression for loading dependent modules for sub-containers (#4533)
(cherry picked from commit d4763498e4db6a1135d9bcf3e6c4ba1b27cf680a)
2021-11-09 09:43:36 +01:00
Johannes Meyer
8a0fd5fb19 Merge pull request #4574 from Icinga/bugfix/theme-issues-4565
Bugfix/theme issues 4565

(cherry picked from commit 08c51d27a655fb71e69abfcf0496a9965985c819)
2021-11-09 09:42:52 +01:00
Johannes Meyer
5e15612058 loader.js: Don't scroll to nav anchors that don't want this
(cherry picked from commit 698ac5812fb97d7b3a63a26a986e7806a9b277c0)
2021-11-09 09:42:28 +01:00
Johannes Meyer
294f1f6c77 ui.js: Allow to disable scrolling in method focusElement
(cherry picked from commit f734d280603dc1d4a2d4444eb70bc1df24c63e11)
2021-11-09 09:42:03 +01:00
Yonas Habteab
c394afa224 NavigationCommand: Add license header
(cherry picked from commit 1c9986be726cd98e37a30e201628fec5d8563607)
2021-11-09 09:41:53 +01:00
Johannes Meyer
7dd7b31875 Merge pull request #4567 from Icinga/bugfix/mobile-issues-4562
Bugfix/mobile issues 4562

(cherry picked from commit a9a3288e10facae8b29bb9d4ec87d48954ba4d07)
2021-11-09 09:40:33 +01:00
Johannes Meyer
e87a8afaa9 LessCompiler: Show more details for parsing exceptions
(cherry picked from commit 8d047b6ffd70c2b3b107f89d2e6d1179ce825950)
2021-11-09 09:40:01 +01:00
Yonas Habteab
fbde8677ba Migrate: Add possibility to migrate monitoring navigation items
(cherry picked from commit bb196d4a4fc84934bd66f95c9d7f2c6d130bbaf1)
2021-11-09 09:38:55 +01:00
Johannes Meyer
dcb31cc077 Merge pull request #4580 from Icinga/fix/missing-themes-cause-errors-4512
Fix missing themes cause errors

(cherry picked from commit 58997aecaa7e2c93d20ca535fcfc734915800838)
2021-11-09 09:38:44 +01:00
Johannes Meyer
fcfeac6c3a Merge pull request #4579 from Icinga/fix/config-and-preferences-not-working-without-config-4504
Fix config and preferences not working without config

(cherry picked from commit 5756ebba1fd873d187f59471ca65ec86a52b68cb)
2021-11-09 09:38:18 +01:00
Johannes Meyer
e0aa7e37b0 PluginOutput: Don't "optimize" two subsequent newlines to one
fixes #4522

(cherry picked from commit 47922673fc122a4eb68678a4bbbeafa12a174f79)
2021-11-09 09:37:48 +01:00
Florian Strohmaier
835584a2f6 tabs.less: Fix tab dropdown being obscured by object-statistics-total
(cherry picked from commit 696dc03bb78d129e04ff85699e62301b67ae8f73)
2021-11-09 09:37:39 +01:00
Florian Strohmaier
ac2b324b82 CSS: Optimize notifications layout
(cherry picked from commit 170bafd32e8577d4e5ed629ddb61f6acf74e529c)
2021-11-09 09:37:29 +01:00
Ravi Kumar Kempapura Srinivasa
ff8e4b396d Handle non .js files in asset/js and non .css or .less in asset/css folder
Non javascript files in asset/js folder or non css or less files in asset/css folder causes minfier to throw error. This is handled here.

(cherry picked from commit 685f1f90bc91dd466affff7ea9561aa90d8f2f22)
2021-11-09 09:37:22 +01:00
Yonas Habteab
650a8485ce CSS: Adjust application state summary notification design
(cherry picked from commit 8a5251a3a164ffe51f2dcac9b6c5cee9e1a2afee)
2021-11-09 09:36:57 +01:00
Florian Strohmaier
1cb488753a forms.less: Optimize legend styles
refs #4571

(cherry picked from commit f3c16ee907404475caa1c29a560cede24bfc9593)
2021-11-09 09:36:23 +01:00
Johannes Meyer
6573dc5eca loader.js: Don't load a redirect in col1, if col2 has similar content
fixes Icinga/icingadb-web#284

(cherry picked from commit 18188f71858457e81e32845ab507a09db17af5ff)
2021-11-09 09:35:33 +01:00
Ravi Kumar Kempapura Srinivasa
4f1597ccb9 Update selection-info-count immediately on selection
The selection-info-count at the left bottom of host or service info needs to be updated immediately after selection.
Hence use the already defined ´count´ to update the selection info on click. Also, avoid refreshing the active columns.

(cherry picked from commit 72e63dd0a18254a20bd7f2b955fdb5695edd602e)
2021-11-09 09:35:17 +01:00
Johannes Meyer
0b2891c28a js: Don't focus the announcment container
fixes #4543

(cherry picked from commit 908adc66c186400fad2209afb7f1e2ef11174d66)
2021-11-09 09:35:08 +01:00
Johannes Meyer
5e8db696cb js: Really maintain refresh interval over redirects
fixes #4549

(cherry picked from commit 7ae8f26b92a81a8143dcce9aa5b0cbaaee13ee5e)
2021-11-09 09:35:00 +01:00
Florian Strohmaier
ef77a5dbc9 modal.less: Align .close button
(cherry picked from commit e121022a4f7edec124039aa2fed5ebb23ea245bc)
2021-11-09 09:34:50 +01:00
Johannes Meyer
ff2fb3f379 Merge pull request #4548 from Icinga/fix/compress-comment-detail
Compress comment detail in Hosts detail and Comments list.

(cherry picked from commit 736957f7c3a04c0444b69b56427375b7a2175460)
2021-11-09 09:34:38 +01:00
Johannes Meyer
79ee00176e modal.js: Don't disable inputs before the actual form submit is done
fixes Icinga/icingadb-web#376

(cherry picked from commit dcf394eaa692a006012566c1be0db868e1b74675)
2021-11-09 09:33:40 +01:00
Johannes Meyer
e17e28fdda Merge pull request #4538 from Icinga/fix-multi-modal-windows-and-submit-4525
Fix multi modal windows and submit

(cherry picked from commit 8ac8271eddc69d295bdf4efa72800016253c4dce)
2021-11-09 09:33:20 +01:00
Alexander A. Klimov
685aff66c1 Vagrant: Puppet: icingaweb2_dev: don't let icingacli run on PHP 5.4
... to avoid failures due to Composer platform checks.

(cherry picked from commit 869b63c26370de329bf20417cea741e402cc7a7b)
2021-11-09 09:32:50 +01:00
Ravi Kumar Kempapura Srinivasa
f9c68f7d17 Check if the column in the row is set for filters
When the column is not set for the filters undefined property exception is thrown in icinga-director. This is a quick fix to solve the issue.

(cherry picked from commit bbd36d5f83a29debbb4a72e79547ee7c4b35dbe0)
2021-11-09 09:32:19 +01:00
Johannes Meyer
62a27fa638 IdoQuery: Qualify and resolve subquery filters ASAP
fixes #4508

(cherry picked from commit 83557afd35dc85da01995be2a907f9223fb0bb84)
2021-11-09 09:32:08 +01:00
Johannes Meyer
c757a17530 Release version 2.9.3
(cherry picked from commit b2274a5589476160f17be05d4b2ae05932e38114)
v2.9.3
2021-08-10 10:12:17 +02:00
Johannes Meyer
d30a8d9cc3 LoginForm: Also disable stay logged in case of no encryption method
(cherry picked from commit 24c1618793774eec8e6fc09aa056c73a6f26bc21)
2021-08-10 10:10:22 +02:00
Johannes Meyer
572fd0338e Javascript: Enhance optimization
* Don't try to optimize non-icinga define calls
* Don't optimize `exports` dependency
* Log errors to debug log, it's stuff for devs

(cherry picked from commit a00166f15bab2a1f3c7e40644f8c015bcdd844bd)
2021-08-10 09:27:50 +02:00
Sukhwinder Dhillon
9635d31cb0 Utilize multiple encryption ciphers for remember me
(cherry picked from commit 8c225147586a434dff856b5a1efef17adac85308)
2021-08-09 17:02:27 +02:00
Eric Lippmann
89b2871dc2 If appropriate, set the API parameter all_services for schedule-downtime
Since Icinga 2.11.0 the schedule-downtime API supports the
all_services parameter. So far we've always sent a separate
request for scheduling service downtimes. As of Icinga 2.13.0,
these service downtimes are automatically removed when the host
downtimes are removed. Of course, this doesn't work if we don't
use the all_services parameter but send a separate request.
With this commit we set this parameter if the transport is API
and Icinga is equal to or greater than 2.11.0.

In addition, if child_options and all_services were previously set,
a request was sent per host and service. This is now also only a
single request if an API command transport is requested or only
API command transports are configured.

(cherry picked from commit 1e1b4b74ad1fddf7c6c3035acad9a9e19271672d)
2021-08-09 17:02:18 +02:00
Johannes Meyer
f47aea774a doc: Require fileinfo php extension
fixes #4503

(cherry picked from commit 576833eaf9c5c261873dce9031c260043917c36d)
2021-08-09 17:02:09 +02:00
Johannes Meyer
07e25a923b Release version 2.9.2
(cherry picked from commit 907f7826b2d49e9fc5018d288aaa671dc8c53368)
v2.9.2
2021-07-28 09:34:07 +02:00
Johannes Meyer
f9ad508046 Merge pull request #4491 from Icinga/fix/mysql-charset-usage-on-postgres-dbs-4490
If enforcing a charset, DO IT ONLY IF THE DB TYPE IS CORRECT

(cherry picked from commit 022c7da4046c61113df8aa1dea79101de320dfc7)
2021-07-28 09:19:58 +02:00
Johannes Meyer
68e06c93dd Release version 2.9.1
(cherry picked from commit 1b2cd8fdf37022aed25225598e22c94de0336ffb)
v2.9.1
2021-07-27 15:43:28 +02:00
Johannes Meyer
0b3e7073ba RoleForm: Make sure to grant general module access...
...if full access is granted

(cherry picked from commit 0c8466fa930af95317b38aa565f71c8dd8ece61b)
2021-07-27 14:05:09 +02:00
Johannes Meyer
95d16c9314 datetime-picker.js: Add support for french
(cherry picked from commit 47891ddc72498856ff9b4580462878941af58249)
2021-07-27 11:28:24 +02:00
Johannes Meyer
00a2572db1 datetime-picker.js: Don't do anything with native inputs
fixes #4442

(cherry picked from commit bf229c97b8e2f1add700d245e8f405bde6c19caf)
2021-07-27 10:16:29 +02:00
Johannes Meyer
9e07db2e8c Merge pull request #4486 from Icinga/enhance-preferences-migration
Enhance preferences migration

(cherry picked from commit aa66c9766dc868185f148384e0f42ef7d0ff9ceb)
2021-07-27 10:16:15 +02:00
Johannes Meyer
f5b7dda035 doc: Add v2.9.1 upgrading notes
(cherry picked from commit 81831e3eedc0a2b3a924d79c7668fa5082951e39)
2021-07-26 17:48:06 +02:00
Kevin Köllmann
c2dd6c82db Add database upgrade script paths for Debian/Ubuntu
(cherry picked from commit 2b09d22326bfb9f9e13f19a7579715aa4b2f50e4)
2021-07-26 17:48:00 +02:00
Sukhwinder Dhillon
1d5865a2dd Rememberme compatibility with php version 5.6+ (#4472)
(cherry picked from commit 645c0770a240b972ac3e00e7e151423163a9d2e6)
2021-07-26 17:46:39 +02:00
Johannes Meyer
91959c32a1 Merge pull request #4484 from Icinga/fix/enforce-charset-on-internal-db-queries-4446
Enforce charset on internal db queries

(cherry picked from commit 88f2c50f0bce9ab5beb0bcf831ce284c98ce2e4e)
2021-07-26 17:28:13 +02:00
Johannes Meyer
50aa35ca8e Merge pull request #4479 from Icinga/feature/add-preference-migration-command-4471
Add preference migration command

(cherry picked from commit 8fc1f8b016d5ad87501c2096136e854827b4ca76)
2021-07-26 12:56:34 +02:00
Johannes Meyer
c1a378c75c SVGRenderer: Set correct input encoding
fixes #4462

(cherry picked from commit 7b9cb7f9fb4a09693839e34471b7296cb80ec8c0)
2021-07-26 11:58:11 +02:00
Johannes Meyer
f07283e8b2 datetime-picker.js: Don't append nodes to content..
..but individual dynamic containers.

fixes #4461

(cherry picked from commit a4376cd14f563a4d9f29bf354381e9b83ec8f30a)
2021-07-26 11:56:34 +02:00
Johannes Meyer
0f95b8a475 css: Disable login orb animation and all orbs for themes
fixes #4437

(cherry picked from commit c38a7b5cf309c9dec850882e5c6aa1f93c77e293)
2021-07-26 11:54:57 +02:00
Johannes Meyer
c623416faf collapsible.js: Properly setup collapsibles in onLayoutChange
(cherry picked from commit 832a1c88c428b13b766cc2a81e62479f88441e78)
2021-07-23 17:04:10 +02:00
Johannes Meyer
aa91f5f869 WebWizard: Ensure to properly setup table icingaweb_rememberme
fixes #4434

(cherry picked from commit 253fee0054e70c1131ddcd5ec783e202f543acb0)
2021-07-21 17:43:35 +02:00