Commit Graph

12903 Commits

Author SHA1 Message Date
Johannes Meyer 6cf9f19048 ActionController: Shift parameter `view` if its value is `compact` 2020-06-04 08:50:41 +02:00
Johannes Meyer 60c3fd6406 FilterEditor: Use a new url from request when redirecting searches
Creating a new url has the benefit that all framework params are
still there. `$this->url()` however returns a url that's already
mangled and parameter preservation does not work for framework
params.

This is not quite the correct fix. But the entire parameter
handling here is way too convoluted.
2020-06-04 08:50:41 +02:00
Johannes Meyer 46c6201a21 Url: Add method `onlyWith()` 2020-06-04 08:50:41 +02:00
Johannes Meyer b083b544f5 Merge branch 'fix/some-style-issues' 2020-06-04 08:47:48 +02:00
Johannes Meyer 9aca8a1fc5 css: Fix filter editor button placement 2020-06-04 08:32:15 +02:00
Johannes Meyer 1527b7c85c css: Style outline for any focusable element the same
A recent chrome version changed the focus style again.
Without this some form elements and other focusable
elements get a black outline.
2020-06-04 08:32:15 +02:00
Eric Lippmann 49eb245580 CLI: Also register assets
Because assets are not registered in the CLI context,
CLI actions cannot access the full style sheet.
This is necessary for Icinga Reporting though in order to send PDF reports.
2020-06-04 07:31:02 +02:00
Johannes Meyer 886925959d
Merge pull request #4147 from Icinga/fix/missing-upgrade-docs-4122
Add missing upgrade docs
2020-05-27 15:42:02 +02:00
Johannes Meyer 64efdfccf7 CHANGELOG: Mention package changes for version 2.8.0 2020-05-27 15:37:52 +02:00
Johannes Meyer f35aa2848e doc: Mention package changes in upgrading notes for 2.8.x 2020-05-27 15:37:52 +02:00
Johannes Meyer 9356c55248
Merge pull request #4102 from Icinga/feature/list-roles-controls
Add controls to the roles list
2020-05-27 14:18:46 +02:00
Johannes Meyer f7281f6832 ci: Let the icingabot trigger L10n updates 2020-05-27 09:16:51 +02:00
Johannes Meyer ba38609cbe
Merge pull request #4156 from Icinga/fix/modals-are-not-scrollable-4115
Make modals responsive
2020-05-26 13:48:42 +02:00
Johannes Meyer bc403844ad
Merge pull request #4124 from Icinga/feature/disable-ldap-server-side-sort
LDAP: Add option to disable server side sorting
2020-05-26 13:40:26 +02:00
Eric Lippmann 63514eeeb7 Add controls to the roles list 2020-05-25 11:09:33 +02:00
Eric Lippmann fce2858beb LDAP: Add option to disable server side sorting
We automatically detect whether the server supports server side sorting
and sort manually if that is not the case. But there are LDAP servers
which report that they support this feature in general but have it
disabled for certain fields.

If we send the server side control for any field that has server side
sort disabled, the LDAP server will abort the query.

With the new configuration option it is possible to disable server side
sorting and it has precedence over our automatic detection.
Since this is a very special LDAP server configuration, there is no GUI
option for this.
2020-05-25 11:08:13 +02:00
Johannes Meyer 2f1716a8c9 css: Fix wrong text color of a modal's close button 2020-05-20 16:44:25 +02:00
Johannes Meyer c9f5c65828 css: Simplify collapsible control styles and layout
The button is now floated right instead of absolutely positioned.
Also, the hover effect is just a different background now, not a
ridiculous overlay with transparency.

Both changes help to avoid a horizontal scroll-bar in Chrome
and Icinga DB Web views.
2020-05-20 12:01:40 +02:00
Johannes Meyer c2f380cf9b Dashlet: Use `showCompact` instead of `view=compact`
Allows dashlets to use their own value for parameter `view`
2020-05-19 16:46:58 +02:00
Johannes Meyer cc4d133632 css: Apply `display:inline-block` also to non-icinga `.inline` forms
fixes #4158
2020-05-18 15:34:05 +02:00
Johannes Meyer df4a87f429 css: Only apply inline form styles on icinga-forms
fixes #4157
2020-05-18 11:10:33 +02:00
Johannes Meyer 71c7968efa solarized-dark.less: Update to make it work fine with v2.8 and Icinga DB 2020-05-15 12:43:12 +02:00
Johannes Meyer a1f5f1bf89 css: Make modals more theme friendly 2020-05-15 12:42:31 +02:00
Johannes Meyer 6e02b8dd50 high-contrast.less: Fix missing border on some form elements 2020-05-15 09:01:10 +02:00
Johannes Meyer c348524e50 colorblind.less: Make process info text black in monitoring health
fixes #4066
2020-05-15 08:41:08 +02:00
Johannes Meyer e5a7f468f1 Revert "Merge pull request #4069 from Chivvv/patch-1"
This reverts commit dd41771889, reversing
changes made to 413e70338d.
2020-05-15 08:33:53 +02:00
Johannes Meyer ff5d92d7a7 modal.less: Make modals responsive 2020-05-14 16:55:58 +02:00
Johannes Meyer d3baedb766
Merge pull request #4155 from Icinga/feature/transmit-author-when-removing-downtimes-comments-and-acks-2281
Transmit author when removing downtimes comments and acks
2020-05-14 14:16:58 +02:00
Johannes Meyer f6edad9336 Transmit the user who clears an acknowledgement 2020-05-14 13:58:19 +02:00
Johannes Meyer 08bc671fb7 Transmit the user who cancels a downtime 2020-05-14 13:58:03 +02:00
Johannes Meyer 287edb7932 Transmit the user who deletes a comment 2020-05-14 13:57:22 +02:00
Johannes Meyer a2009913c9 WithCommentCommand: Utilize `CommandAuthor` 2020-05-14 13:51:21 +02:00
Johannes Meyer b4e7d80807 Introduce trait `CommandAuthor` 2020-05-14 13:50:48 +02:00
Johannes Meyer df70705b4d
Merge pull request #4154 from Icinga/fix/html-detection-again-and-again-4075
Adjust html detection in plugin output (again)
2020-05-14 09:06:10 +02:00
Johannes Meyer 4aab354b7f PluginOutput: Adjust html detection regex again 2020-05-13 17:16:22 +02:00
Johannes Meyer 79343cef8b
Merge pull request #4153 from Icinga/feature/support-service-name-macro-4000
Also resolve macro `service.name` in notes_url
2020-05-13 15:38:33 +02:00
Johannes Meyer 5d603cd026 Macro: Also resolve `service.name` to `service_description`
resolves #4000
2020-05-13 15:32:44 +02:00
Johannes Meyer 539e88c553
Merge pull request #4152 from Icinga/feature/show-customvar-names-as-is-3987
Show customvar names as-is
2020-05-13 15:14:42 +02:00
Johannes Meyer 87e676e1fb customvars.phtml: Show a customvar name as-is
Don't uppercase first, exchange `_` for spaces and lower everything else

resolves #3987
2020-05-13 14:56:58 +02:00
Johannes Meyer cd2ff3d925 announcements/index: Provide a real link to edit an announcement 2020-05-13 12:05:15 +02:00
Johannes Meyer 89c340522a
Merge pull request #4149 from Icinga/feature/load-L10n-locales
Load L10n locales
2020-05-12 12:32:33 +02:00
Johannes Meyer d6151f8413 translation: Remove instructions to create application locales
The translation module should only be used for third party
modules now.
2020-05-12 12:13:48 +02:00
Johannes Meyer b69b9c7356 doc: Update translation section in `About` and mention L10n 2020-05-12 11:17:39 +02:00
Johannes Meyer c40d134ea5 ApplicationBootstrap: Use L10n locales in `getLocaleDir()` if available 2020-05-11 17:05:23 +02:00
Johannes Meyer 335dde7b68 WebModuleRequirement: Strip leading `v` from a module's version 2020-05-05 16:26:39 +02:00
Johannes Meyer 43cb5f587a css: Enhance layout of inline forms 2020-05-05 09:34:39 +02:00
Thomas Gelf bdea1bfd47 Query\*notificationQuery: add missing host_alias
Fixes an Exception when searching for a specific alias (as offered in
the filter form)
2020-05-04 12:26:49 +02:00
Johannes Meyer d585a37641 setup: Introduce class `WebModuleRequirement` 2020-04-30 16:43:24 +02:00
Johannes Meyer 38cda84696 L10n-update: Update to latest version 2020-04-29 17:23:31 +02:00
Johannes Meyer 884edc273b
Merge pull request #4132 from Icinga/bugfix/vagrant
Fix Vagrant provision failure
2020-04-24 09:23:34 +02:00