Commit Graph

13256 Commits

Author SHA1 Message Date
Johannes Meyer 24c1618793 LoginForm: Also disable stay logged in case of no encryption method 2021-08-10 10:09:15 +02:00
Johannes Meyer a00166f15b 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
2021-08-10 09:23:45 +02:00
Sukhwinder Dhillon 8c22514758 Utilize multiple encryption ciphers for remember me 2021-08-09 16:58:58 +02:00
Eric Lippmann 1e1b4b74ad 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.
2021-08-09 16:55:05 +02:00
Johannes Meyer 576833eaf9 doc: Require fileinfo php extension
fixes #4503
2021-08-09 13:38:40 +02:00
Johannes Meyer 907f7826b2 Release version 2.9.2 2021-07-28 09:33:41 +02:00
Johannes Meyer 022c7da404
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
2021-07-28 09:19:21 +02:00
Johannes Meyer 0b6f71c446 If enforcing a charset, DO IT ONLY IF THE DB TYPE IS CORRECT 2021-07-28 09:04:28 +02:00
Johannes Meyer 1b2cd8fdf3 Release version 2.9.1 2021-07-27 15:22:32 +02:00
Johannes Meyer 0c8466fa93 RoleForm: Make sure to grant general module access...
...if full access is granted
2021-07-27 14:04:29 +02:00
Johannes Meyer 47891ddc72 datetime-picker.js: Add support for french 2021-07-27 11:27:35 +02:00
Johannes Meyer bf229c97b8 datetime-picker.js: Don't do anything with native inputs
fixes #4442
2021-07-27 09:54:28 +02:00
Johannes Meyer aa66c9766d
Merge pull request #4486 from Icinga/enhance-preferences-migration
Enhance preferences migration
2021-07-27 09:45:31 +02:00
Johannes Meyer b298b53fda PreferencesCommand: Automatically set the resource as config backend 2021-07-27 08:35:46 +02:00
Johannes Meyer 94c6e4a100 PreferencesCommand: Correct help for `--resource`
fixes #4485
2021-07-27 08:34:21 +02:00
Johannes Meyer 81831e3eed doc: Add v2.9.1 upgrading notes 2021-07-26 17:46:10 +02:00
Sukhwinder Dhillon 645c0770a2
Rememberme compatibility with php version 5.6+ (#4472) 2021-07-26 17:37:38 +02:00
Johannes Meyer 88f2c50f0b
Merge pull request #4484 from Icinga/fix/enforce-charset-on-internal-db-queries-4446
Enforce charset on internal db queries
2021-07-26 17:27:21 +02:00
Johannes Meyer 571f59be46 UserDomainMigration: Always use `utf8` as connection charset 2021-07-26 16:54:45 +02:00
Johannes Meyer e8ae6c912d PreferencesCommand: Always use `utf8` as connection charset 2021-07-26 16:54:22 +02:00
Johannes Meyer aee82ad342 Database: Always use `utf8mb4` as connection charset 2021-07-26 16:37:41 +02:00
Johannes Meyer 62f1fe2c3f PreferencesStore: Always use `utf8` as db connection charset 2021-07-26 16:37:41 +02:00
Johannes Meyer 517c108cc4 UserGroupBackend: Always use `utf8` as db connection charset 2021-07-26 16:37:41 +02:00
Johannes Meyer 7ce3778378 UserBackend: Always use `utf8` as db connection charset 2021-07-26 16:37:35 +02:00
Johannes Meyer 8fc1f8b016
Merge pull request #4479 from Icinga/feature/add-preference-migration-command-4471
Add preference migration command
2021-07-26 12:55:54 +02:00
Johannes Meyer c07b5dcccb doc: Mention the preferences migration tool 2021-07-26 12:49:03 +02:00
Johannes Meyer af89bc8019 Introduce class `Icinga\Module\Migrate\Clicommands\PreferencesCommand` 2021-07-26 12:49:03 +02:00
Johannes Meyer 7b9cb7f9fb SVGRenderer: Set correct input encoding
fixes #4462
2021-07-26 11:57:45 +02:00
Johannes Meyer a4376cd14f datetime-picker.js: Don't append nodes to content..
..but individual dynamic containers.

fixes #4461
2021-07-26 11:55:50 +02:00
Johannes Meyer c38a7b5cf3 css: Disable login orb animation and all orbs for themes
fixes #4437
2021-07-26 11:54:28 +02:00
Johannes Meyer 832a1c88c4 collapsible.js: Properly setup collapsibles in `onLayoutChange` 2021-07-23 17:03:49 +02:00
Johannes Meyer 253fee0054 WebWizard: Ensure to properly setup table `icingaweb_rememberme`
fixes #4434
2021-07-21 17:42:59 +02:00
Johannes Meyer b94617c575 ServicestatusQuery: Define correct grouping rules for contacts and -groups
fixes #4464
2021-07-21 17:41:55 +02:00
Johannes Meyer 7b18f80acc doc: Update php module requirements 2021-07-21 17:38:59 +02:00
Johannes Meyer 1ed1bfe4b9 WebWizard: Update php module requirements 2021-07-21 17:38:59 +02:00
Johannes Meyer b8b77332c4 Database: Only use `PDO::MYSQL_ATTR_INIT_COMMAND` for mysql connections
fixes #4441
2021-07-21 09:19:43 +02:00
Johannes Meyer b39d9d6746 LinkTransformer: Don't open external urls in iFrames
fixes #4449
2021-07-21 09:17:23 +02:00
Johannes Meyer 8b5bc6950b user/createmembership: Don't render `user/form.phtml`
fixes #4450
2021-07-21 08:02:54 +02:00
Johannes Meyer d123b390b1 MonitoredObject: Keep structure of nested cvs during protection
fixes #4439
2021-07-21 08:01:08 +02:00
Kevin Köllmann 2b09d22326 Add database upgrade script paths for Debian/Ubuntu 2021-07-19 14:37:30 +02:00
Johannes Meyer 22bd9e501d
Merge pull request #4455 from Icinga/bugfix/vagrant-ipl
Vagrant: icingaweb2_dev: install icinga-php-{library,thirdparty}
2021-07-16 08:07:52 +02:00
Alexander A. Klimov 035ab7ed4a Vagrant: icingaweb2_dev: install icinga-php-{library,thirdparty} 2021-07-15 19:21:49 +02:00
Alexander A. Klimov d6eda914f9 Vagrant: icinga_packages: include icinga-php-* from release repo
... as they're not snapshotted.
2021-07-15 19:20:26 +02:00
Johannes Meyer ed0dbfc039 Merge branch 'release/v2.9.0' 2021-07-12 10:38:26 +02:00
Johannes Meyer f73614be4d Raise version to 2.9.0 2021-07-12 10:35:56 +02:00
Johannes Meyer d214dc0f05 Update AUTHORS 2021-07-12 10:35:56 +02:00
Johannes Meyer 1f5e4b3e2a Update CHANGELOG.md 2021-07-12 10:35:56 +02:00
Johannes Meyer 2afb0fc4b9 doc: Add upgrade notes for v2.9 2021-07-12 10:35:56 +02:00
Johannes Meyer 1fd00dcf1c We drop support for the `INI` config backend type with v2.11 2021-07-12 10:35:56 +02:00
Johannes Meyer 6c03c80f97
Merge pull request from GHSA-cmgc-h4cx-3v43
doc: Make sure to correctly access images
2021-07-12 09:51:23 +02:00