Commit Graph

2035 Commits

Author SHA1 Message Date
Johannes Meyer 8b5bc6950b user/createmembership: Don't render `user/form.phtml`
fixes #4450
2021-07-21 08:02:54 +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
Johannes Meyer 1a2bba0fd5 Use fontawesome icons for the default collapsible control 2021-05-12 12:47:59 +02:00
Johannes Meyer 95e20d443c config/module(enable|disable): Perform a HTTP redirect upon success
An HTTP redirect will cause a full reload. If our cache works,
CSS and JS is automatically refreshed.
2021-04-12 17:02:39 +02:00
Johannes Meyer f782c08d80 RoleForm: Highlight set privileges in headers
resolves #4241
2021-04-08 10:13:24 +02:00
Johannes Meyer 8e2ae13885 role/audit: Show a message if no suggestions are found 2021-04-07 16:03:05 +02:00
Johannes Meyer 54acd6b4c8 role/audit: Group suggestions by backend name 2021-04-07 16:02:31 +02:00
Johannes Meyer b48f7f3489 role/audit: Don't use class `EmptyState`, it's from icingadb web 2021-04-07 16:00:01 +02:00
Johannes Meyer d49962ac82 role/audit: Pre-populate backend name with the first one found
Otherwise a user who doesn't use a suggestion will see an error.
2021-04-07 15:10:01 +02:00
Johannes Meyer 5b970c79ad role/audit: Use `role-audit` as id instead of `role/audit`
Since HTML5 nearly any char is allowed in ids, including the slash,
but jQuery doesn't support the slash as part of css selectors...
2021-04-07 14:30:14 +02:00
Johannes Meyer 65cfa9236c role/[add|edit|remove]: Set `__CLOSE__` as redirect target
The form is also reachable through the audit view now. This
results in the correct handling in either of both views.
2021-04-07 14:30:14 +02:00
Johannes Meyer fa2c3c8999 role/audit: Give the privilege audit an explicit (non-protected) id 2021-04-07 14:30:14 +02:00
Johannes Meyer 68f101b015 RoleForm: Don't let privilege labels break on dashes 2021-04-07 14:30:14 +02:00
Johannes Meyer be227fd61d roles/audit: Utilize view `Icinga\Web\View\PrivilegeAudit` 2021-04-07 14:30:14 +02:00
Johannes Meyer c203ffdd79 role|user|group: Open `Audit` tab always in `#col1` and close `#col2` 2021-04-07 14:30:14 +02:00
Johannes Meyer ab7d73a8ee RoleForm: Add static method `collectProvidedPrivileges()`
Was previously part of method `init()`. Split up into its
own method to allow external usage.
2021-04-07 14:30:14 +02:00
Johannes Meyer 8ff88cd6f1 role/audit: Require a backend name for user audits 2021-04-07 14:30:14 +02:00
Johannes Meyer 1fbd76ef69 role/audit: Also allow to audit groups 2021-04-07 14:30:14 +02:00
Johannes Meyer 05fdd98ba8 role/audit: Add input to choose a user 2021-04-07 14:30:14 +02:00
Johannes Meyer fe7879c68b group|role|user: Add new tab `role/audit` 2021-04-07 14:30:14 +02:00