Commit Graph

1802 Commits

Author SHA1 Message Date
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
Florian Strohmaier df788ac0ef BadgeNavigationItemRenderer: Add `$cssClass` on autorefresh 2022-05-12 15:13:16 +02:00
Florian Strohmaier c68fbb662e Menu.php: Add classes for nav-items to only be shown on mobile 2022-05-12 15:13:16 +02:00
Florian Strohmaier eeeca5a204 ConfigMenu: create Configmenu class 2022-05-12 11:10:59 +02:00
Florian Strohmaier 29ef96349c Stylesheet: load configmenu.less 2022-05-12 11:10:59 +02:00
Johannes Meyer 2a80e8bca6 Introduce new hook `ThemeLoader` 2022-05-11 14:37:07 +02:00
Johannes Meyer 0b9eecbabc ActionController: Don't override reload rules in `redirectXhr()`
`postDispatchXhr()` also only overrides them if enabled.
2022-05-11 14:26:09 +02:00
Johannes Meyer bc6b17b850 Revert "ActionController: Don't override `X-Icinga-Title` when it's already set"
This reverts commit 4cff1feb8f.

It's broken and obsolete since https://github.com/Icinga/ipl-web/pull/72.
2022-04-12 14:56:28 +02:00
Yonas Habteab 4cff1feb8f ActionController: Don't override `X-Icinga-Title` when it's already set 2022-04-11 13:26:08 +02:00
Johannes Meyer 9225462262 Fix that false values in dropdowns get ignored
plus some more fixes in the same area
2022-04-06 16:34:34 +02:00
Johannes Meyer 3dc384fb58 Avoid passing `null` to non-nullable arguments 2022-03-24 12:29:06 +01:00
Johannes Meyer c038e84fc2 Ensure Return Type Compatibility with Internal Classes 2022-03-24 12:29:06 +01:00
Florian Strohmaier fab84e3a7d StyleSheet: Use php-diff.less 2022-03-14 16:05:02 +01:00
Johannes Meyer 0d032989e6 Fix style issues in recent security fixes 2022-03-08 15:20:16 +01:00
Johannes Meyer b7c31eb922
Merge pull request from GHSA-5p3f-rh28-8frw
Only serve existing static library assets, really!?
2022-03-08 12:01:34 +01:00
Johannes Meyer 1e6639971f StyleSheet: Only set theme on the compiler if it exists
The compiler itself can handle invalid themes, but doesn't
log the user name which makes it hard to track the cause down.
2022-03-02 09:44:49 +01:00
Johannes Meyer c5343f5575 css: Remove solarized-dark theme 2022-03-02 08:37:10 +01:00
Johannes Meyer 85c42f8400 Enhance page layout when exporting to PDF using dompdf
It's still not perfect. But better than previously.
Using the pdfexport module is still recommended though.
2022-03-01 17:04:38 +01:00
Johannes Meyer b50d68553f ActionController: Utilize `Icinga\Common\PdfExport` 2022-03-01 17:00:58 +01:00
Johannes Meyer 379ddb91f0 Only serve existing static library assets, really!? 2022-02-23 17:18:16 +01:00
Johannes Meyer 74971359a3 css: Change mode detection to look for `@light-mode` 2022-02-10 11:11:06 +01:00
Johannes Meyer 55330c81c4 css: Drop explicit `dark` mode 2022-02-10 11:11:06 +01:00
Johannes Meyer 6dc5c50618 LessCompiler: Catch only parser exceptions 2022-02-10 11:00:06 +01:00
Eric Lippmann baeca33789 Don't support dark/light mode for IE 2022-02-10 10:47:24 +01:00
Johannes Meyer d7d31d00ea Drop expandable.js 2022-02-07 14:11:48 +01:00
Johannes Meyer 7f0ddd931c Form: Create CSRFTokens in way that ensures id uniqueness 2022-02-04 17:20:48 +01:00
Johannes Meyer 6b0f3f69c3 LinkTransformer: Don't load any external url in an iframe 2022-02-04 16:04:26 +01:00
Johannes Meyer baf2f1bbde LinkTransformer: Use a more reliable extention detection 2022-02-04 16:04:26 +01:00
Johannes Meyer ffaf6e5f04 Remove module asset support 2022-02-04 15:57:15 +01:00
Johannes Meyer ffc977846a StyleSheet: Use an absolute path to load responsive login orbs 2022-01-11 12:53:57 +01:00
Johannes Meyer 8d047b6ffd LessCompiler: Show more details for parsing exceptions 2021-11-03 16:23:22 +01:00
Johannes Meyer fd4ab2babc StyleSheet: Handle missing themes gracefully 2021-11-02 15:09:52 +01:00
Ravi Kumar Kempapura Srinivasa be3a722a28 Compress comment detail in Hosts detail and Comments list. 2021-10-07 10:44:10 +02:00
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
Sukhwinder Dhillon 645c0770a2
Rememberme compatibility with php version 5.6+ (#4472) 2021-07-26 17:37:38 +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 b39d9d6746 LinkTransformer: Don't open external urls in iFrames
fixes #4449
2021-07-21 09:17:23 +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
Eric Lippmann 7e7e2415dc Support $user.local_name$ macro in navigation items 2021-06-28 14:26:38 +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 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 870c3e0e5b Force clients to ask us if their cached CSS is valid 2021-06-16 14:58:44 +02:00