3970 Commits

Author SHA1 Message Date
Johannes Meyer
c757a17530 Release version 2.9.3
(cherry picked from commit b2274a5589476160f17be05d4b2ae05932e38114)
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
Johannes Meyer
07e25a923b Release version 2.9.2
(cherry picked from commit 907f7826b2d49e9fc5018d288aaa671dc8c53368)
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)
2021-07-27 15:43:28 +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
c1a378c75c SVGRenderer: Set correct input encoding
fixes #4462

(cherry picked from commit 7b9cb7f9fb4a09693839e34471b7296cb80ec8c0)
2021-07-26 11:58:11 +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
e388920338 Database: Only use PDO::MYSQL_ATTR_INIT_COMMAND for mysql connections
fixes #4441

(cherry picked from commit b8b77332c45f7011fee081ecd34732465adf9257)
2021-07-21 09:20:08 +02:00
Johannes Meyer
6784285cbd LinkTransformer: Don't open external urls in iFrames
fixes #4449

(cherry picked from commit b39d9d67466af374ef76143bfef295730b5b690a)
2021-07-21 09:17:49 +02:00
Johannes Meyer
3b0a0a78df Merge branch 'release/v2.9.0' into support/2.9 2021-07-12 10:46:21 +02:00
Johannes Meyer
701bdceac0 Add default default theme to temporarily revert the dark mode 2021-07-12 10:46:09 +02:00
Johannes Meyer
1c76f19408 Temporarily disable theme mode adjustments 2021-07-12 10:46:09 +02:00
Johannes Meyer
f73614be4d Raise version to 2.9.0 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
228e503131 js: Allow to reload the window 2021-07-07 09:41:48 +02:00
Johannes Meyer
9e0785b0b4 AppHealth: Fix typo 2021-07-06 15:18:16 +02:00
Johannes Meyer
ff30bf2393 IcingaCheckbox: Use css class sr-only again
`hidden=true` also hides elements from screen readers.
`sr-only` is now fixed for chrome.
`aria-hidden` true has been added because it suits
and was previosly missing.

fixes #4411
2021-07-01 11:16:55 +02:00
Johannes Meyer
53c0d6de86 Wizard: Transform emtpy page data values to null
Previously the wizard wrote empty strings to config files.
2021-06-30 18:53:41 +02:00
Johannes Meyer
2be1ed3878
Merge pull request #4400 from Icinga/feature/username-in-navigation-items
Support $user.local_name$ macro in navigation items
2021-06-29 12:55:12 +02:00
Eric Lippmann
d1aaaf7fb0 Replace user:local_name with user.local_name macro in restrictions 2021-06-28 15:16:56 +02:00
Eric Lippmann
7e7e2415dc Support $user.local_name$ macro in navigation items 2021-06-28 14:26:38 +02:00
Johannes Meyer
889c0a749c Module: Report ipl and reactbundle as library requirements
This way modules with the legacy requirement definition
can still be enabled without the modules in place.
2021-06-28 10:55:45 +02:00
Johannes Meyer
82485236f7 Auth: Also reload theme mode if no theme is active
refs #4390
2021-06-24 09:44:28 +02:00
Johannes Meyer
b59f26879e LessParser: Add custom function extract-variable-default 2021-06-23 17:40:06 +02:00
Sukhwinder Dhillon
492a9ec229 Auth: Reload CSS if mode change 2021-06-23 17:34:27 +02:00
Sukhwinder Dhillon
8b24e3bffe Stylesheet: Collect and load theme mode files 2021-06-23 17:34:27 +02:00
Sukhwinder Dhillon
b291d7ce3d Add new less lib 2021-06-23 16:13:49 +02:00
Johannes Meyer
6a0da10473 Manager: Don't register the ipl and reactbundle module
Both are superseded by their respective library. This
way we make sure there are no competing auto loaders.
2021-06-22 12:50:59 +02:00
Johannes Meyer
bc88e8d62b SingleValueSearchControl: Use strict interfaces..
..to construct ipl\Html objects
2021-06-21 16:11:55 +02:00
Johannes Meyer
ed009bb032 PrivilegeAudit: Use strict interfaces to contruct ipl\Html objects 2021-06-21 16:11:30 +02:00
Johannes Meyer
f400f4d96d AppHealth: Use strict interfaces to construct ipl\Html objects 2021-06-21 16:10:55 +02:00
Johannes Meyer
35659c8d51
Merge pull request #4391 from Icinga/improve-cache-handling
Improve cache handling
2021-06-18 13:57:30 +02:00
Johannes Meyer
0756797fbb Make configuration of custom user-group backends possible
refs #2840
2021-06-18 10:41:39 +02:00
Gianluca Piccolo
1e7f700102 Make configuration of custom user backends possible
refs Icinga/icingaweb2#2840
2021-06-18 10:28:35 +02:00
Johannes Meyer
870c3e0e5b Force clients to ask us if their cached CSS is valid 2021-06-16 14:58:44 +02:00
Johannes Meyer
1ada53539c Force clients to ask us if their cached JS is valid 2021-06-16 14:57:14 +02:00
Johannes Meyer
81c0613e68 Library: Add missing shut-up operator to file_get_contents call 2021-06-16 11:57:00 +02:00
Johannes Meyer
0d6da2d859 error/error: Check web2's deps and enhance lib checks 2021-06-07 09:40:40 +02:00
Johannes Meyer
4e3811cc84 Module: Allow / and - in module/library dependency names 2021-06-01 09:14:28 +02:00
Johannes Meyer
229e24519a
Merge pull request #4376 from Icinga/utilize-ipl-i18n-4366
Utilize ipl-i18n
2021-06-01 09:13:45 +02:00
Johannes Meyer
4fc78a4cfd ApplicationBootstrap: Change default library path
from: `/usr/share/php-Icinga`
to: `/usr/share/icinga-php`
2021-05-31 10:17:35 +02:00
Johannes Meyer
dcb619e62a Translator: Add deprecation notice and use ipl-i18n internally 2021-05-28 14:03:36 +02:00
Johannes Meyer
f363bf5bf6 BaseTestCase: Setup ipl\I18n\StaticTranslator::$instance 2021-05-28 14:03:36 +02:00
Johannes Meyer
db1fea6331 Web: Detect preferred locale using ipl-i18n 2021-05-28 14:03:36 +02:00
Johannes Meyer
84757111d1 ApplicationBootstrap: Deprecate method listLocales() 2021-05-28 14:03:36 +02:00
Johannes Meyer
2e5abbc832 Use ipl-i18n's Translation trait where applicable 2021-05-28 14:03:36 +02:00