2053 Commits

Author SHA1 Message Date
Alexander A. Klimov
9cc95675c1 LoggingConfigForm: on Docker default to webserver log
(cherry picked from commit 3784fe80b77f52cf20b1e49c324cfa6ecb8fec33)
2023-01-26 09:37:37 +01:00
Johannes Meyer
deb8979c87 Fix some reflected XSS bugs
fixes #4979

(cherry picked from commit e542982de06be6b7bcab07be4f3a4423e84b8d7a)
2023-01-12 11:03:17 +01:00
Johannes Meyer
8fd9754916 RoleController: Always perform a permission check
(cherry picked from commit 965aac11efc6c0ecd6ce3a080451ae1a100b292c)
2022-12-13 09:18:01 +01:00
Johannes Meyer
1c85680c6b login: Don't redirect to external resources
fixes #4945

(cherry picked from commit ec7fb82a94729cd541761509985fb9ffc03b9faa)
2022-12-13 09:18:01 +01:00
Alexander A. Klimov
17b7644c93 SshResourceForm: fix XSS by escaping user-defined resource name
in the tooltip of the message shown instead of the private key.

(cherry picked from commit a3100d378b125bbc4c5587e0bddd55b1f0300a83)
2022-12-13 09:18:01 +01:00
Johannes Meyer
f24e2dd4b7 SshResourceForm: Don't accept file://... as private key 2022-02-28 13:57:06 +01:00
Sukhwinder Dhillon
bdd3bf968b Add icingadb as OR dependecy
Add only if the given module supports icingadb and has monitoring as a requirement

(cherry picked from commit 2c01f38decd38cc2a0521aac0501f64c5d8fa395)
2021-11-10 09:37:48 +01:00
Florian Strohmaier
3ecddd54a8 Error: Add missing </div> for .content element
fixes #4585

(cherry picked from commit 80f6ab33a8faac2e01e40170f447e5303a0a9632)
2021-11-09 09:43:44 +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
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
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
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
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
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
ca15e30a12 user/createmembership: Don't render user/form.phtml
fixes #4450

(cherry picked from commit 8b5bc6950b9b1cda20ac31ca0f350904edd2eae2)
2021-07-21 08:03:34 +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
1fd00dcf1c We drop support for the INI config backend type with v2.11 2021-07-12 10:35:56 +02:00
Florian Strohmaier
7be774b71d
Dashboard: Add ability to use IPL Icons (#4429) 2021-07-07 17:29:05 +02:00
Johannes Meyer
5ca7a1acb5 about: Change The Icinga Project to Icinga GmbH 2021-07-07 16:30:06 +02:00
Johannes Meyer
c0a5ca6f84 login: Update documentation link 2021-07-07 15:08:53 +02:00
Johannes Meyer
a72d24a672 config/module(dis|en)able: Explicitly reload the window
Redirecting to `left#!right` by HTTP doesn't work
and is the wrong solution anyway.
2021-07-07 09:41:48 +02:00
Johannes Meyer
df49f0c241 PreferenceForm: Detect client changes based on current session
not based on the stored preferences. The session is more up2date.

refs #4417
2021-07-05 18:08:15 +02:00
Johannes Meyer
decf8c0588 css: Cleanup login.less and fix layout issues
fixes #4419
2021-07-02 12:12:13 +02:00
Florian Strohmaier
4b75f94573 PreferenceForm: Style theme mode control 2021-06-23 17:34:27 +02:00
Sukhwinder Dhillon
4ba0fb102f PreferencesForm : Reload CSS if theme mode changed 2021-06-23 17:34:27 +02:00
Johannes Meyer
ae7b2c47a6 PreferenceForm: Really only reload CSS or redirect if required 2021-06-23 17:34:27 +02:00
Sukhwinder Dhillon
9fbd82e17f PreferenceForm: Add option to change the theme mode 2021-06-23 17:34:27 +02:00
Florian Strohmaier
9a8bf67072 LoginFormn: Use placeholder insted of labels 2021-06-23 07:39:56 +02:00
Florian Strohmaier
7ff1ca83b9 body.phtml: Update markup for `#notifications’ 2021-06-23 07:39:56 +02:00
Johannes Meyer
c23a2c8159 login: Use img helper to avoid hardcoding the base url 2021-06-23 07:39:55 +02:00
Florian Strohmaier
f9a801f1a4 Login: Adjust markup for login view redesign 2021-06-23 07:39:55 +02:00
Florian Strohmaier
35e7e85636 Login: Add orb elements 2021-06-23 07:39:55 +02:00
Florian Strohmaier
464e6a0b43 about/index.phtml: Use default icinga logo 2021-06-23 07:39:55 +02:00
Florian Strohmaier
0f8dc461b2 login.phtml: invert icinga logo 2021-06-23 07:39: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
439218869b Only reload JS/CSS if really required when en-/disabling a module 2021-06-16 14:56:36 +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
caef8dab6a PreferenceForm: Fix that the default locale is not choosable
refs #4376
2021-06-02 12:03:50 +02:00
Johannes Meyer
573af6b2df PreferenceForm: Detect locales using ipl-i18n 2021-05-28 14:03:36 +02:00
Johannes Meyer
86614ad7a8 layout: Identify language using ipl-i18n 2021-05-28 14:03:36 +02:00
Eric Lippmann
68acf12407
Remember me (#4112)
Co-authored-by: Sukhwinder Dhillon <sukhwinder.dhillon@icinga.com>
2021-05-21 15:43:06 +02:00
Johannes Meyer
0a0ae95d6c FormDateTime: Enable datetime-picker widget by default 2021-05-17 13:20:43 +02:00
Johannes Meyer
9d6bef0a39 PreferenceForm: Reload the entire layout if the locale changes 2021-05-17 13:20:42 +02:00
Johannes Meyer
04b906bff5 layout.phtml: Setup the Icinga js object with the user's locale and timezone 2021-05-17 13:20:42 +02:00
Johannes Meyer
5e382dcfa9 Introduce health endpoint /health[/checks] 2021-05-14 15:45:35 +02:00