12547 Commits

Author SHA1 Message Date
Eric Lippmann
71b8ab9b68 JS: Introuce Icinga.History.replaceCurrentState()
Before, we only had pushCurrentState() to add a new URL to the history
stack. But some actions, e.g. "load more" in history views require to
replace the current state instead of pushing. This is what
replaceCurrentState() supports now.
2020-01-15 09:57:30 +01:00
Eric Lippmann
97006973d8 JS: Introduce Icinga.History.getCurrentState()
Before, Icinga.History.pushCurrentState() had this functionality
enclosed. Now it is usable from other functions as well.
2020-01-15 09:55:39 +01:00
Johannes Meyer
db69f23c20 modal.js: Don't push form submits to the history 2020-01-15 08:41:34 +01:00
Eric Lippmann
73a4d8ac31 WebBaseHook: Make setView() fluent 2020-01-14 16:06:22 +01:00
Johannes Meyer
e11fc90c33
Merge pull request #4052 from Icinga/bufix/url-return-hints
Url: Fix @return hints
2020-01-14 15:32:45 +01:00
Johannes Meyer
9ffaa05e4e
Merge pull request #4050 from Icinga/bugfix/iterable-for-delete-comments-and-downtimes-command-forms
Allow iterable for delete comments and downtimes command forms
2020-01-14 15:29:59 +01:00
Eric Lippmann
154357aa11 DeleteDowntimesCommandForm: Allow iterable for setDowntimes()
The command form loops over the downtimes to delete. It is not necessary
to expect an array here. The Icinga DB web module passes an iterable
here.
2020-01-14 14:36:50 +01:00
Eric Lippmann
9ddd941b42 DeleteCommentsCommandForm: Allow iterable for setComments()
The command form loops over the comments to delete. It is not necessary
to expect an array here. The Icinga DB web module passes an iterable
here.
2020-01-14 14:30:50 +01:00
Eric Lippmann
dd500578c9 Url: Fix @return hints
Before, sublcasses of Url suffered from @return Url hints. This is
@return static now.
2020-01-14 14:26:14 +01:00
Johannes Meyer
8da37e5ca2
Merge pull request #4044 from Icinga/fix/pdf-export-error-handling
Fix pdf export error handling
2020-01-14 11:13:01 +01:00
Johannes Meyer
b8975b256a
Merge pull request #4046 from Icinga/fix/error-on-incomplete-inspection-4026
Fix error on incomplete ldap inspection
2020-01-14 11:11:53 +01:00
Johannes Meyer
33f6047973 css: Remove left-right padding from inline form elements
fixes #4036
2020-01-14 11:11:25 +01:00
Bernd Arnold
ffadceafd7 Fixed %s database name in DE translation
At the end of the Icinga Web 2 setup procedure, there's a nice welcome greeting.

Since there's no database name in the [original message], there's no text that could be replaced by the %s.

This is untested. Please let me know if there are other lines/files that have to be changed in order to make this work.

Kind regards,
Bernd

[original message] 81bb5272b5/modules/setup/library/Setup/Steps/DatabaseStep.php (L252)
2020-01-13 13:53:57 +01:00
Johannes Meyer
425699d7b0 forms/Config: Don't call array_map without an array 2020-01-13 13:47:37 +01:00
Johannes Meyer
098bcfb98f LdapConnection: Ignore unknown vendor upon inspection 2020-01-13 13:46:32 +01:00
Johannes Meyer
7bb9c8e25f LdapConnnection: Don't pass param $serverCtrls to ldap_search prior php 7.3
refs #4013
2020-01-13 13:17:40 +01:00
Johannes Meyer
16a7cb77ac CONTRIBUTING.md: Add link to PSR-12
fixes #4038
2020-01-13 10:42:48 +01:00
Johannes Meyer
a55ae6b1c4
Merge pull request #3971 from WuerthPhoenix/feature/add-EventDetailsExtensionHook
Add EventDetailsExtensionHook and include it into EventController
2020-01-13 10:05:52 +01:00
Valentina Da Rold
48fb288206 Add EventDetailsExtensionHook and include it into EventController 2020-01-13 09:33:24 +01:00
Johannes Meyer
5a58279995 ActionController: Don't render exceptions as PDF 2020-01-10 14:11:52 +01:00
Johannes Meyer
5943e6bde9 Pdf: Restore previous state after rendering content
In case an exception occurs its output was previously merged
with the rendered content or even PDF..
2020-01-10 14:11:40 +01:00
Johannes Meyer
c12da7b7ac
Merge pull request #4032 from Icinga/feature/trigger-config-events-on-module-enable-and-disable
Trigger config events on enabling/disabling modules
2019-12-13 16:52:57 +01:00
Johannes Meyer
4d6dbcc746 ActionForm: Utilize ConfigFormEventsHook 2019-12-13 16:42:38 +01:00
Johannes Meyer
b85360449b js: Ignore anchors without href in events.linkClicked() 2019-12-13 16:13:55 +01:00
Johannes Meyer
63452ba250 js: Enhance scroll location detection in ui.focusElement() 2019-12-13 16:13:13 +01:00
Johannes Meyer
f5ce5d42ef js: Add jQuery plugin offsetTopRelativeTo($ancestor) 2019-12-13 16:12:40 +01:00
Dokon
f4edcecca0 Added Kiosk Mode in doc (#3997)
* Added Kiosk Mode in doc
2019-12-12 17:23:19 +01:00
Johannes Meyer
d79feca63f
Merge pull request #3969 from WuerthPhoenix/custom-tab-hook
Add custom tab hook
2019-12-12 15:55:25 +01:00
Johannes Meyer
7417349cec
Merge pull request #4025 from papillon326/master
Update Japanese translation
2019-12-12 14:00:38 +01:00
ValeDaRold
5edd267f2a Refresh container if X-Icinga-Extra-Updates with length 1 is defined (#3970)
* Refresh container if X-Icinga-Extra-Updates with length 1 is defined
2019-12-12 13:50:03 +01:00
Johannes Meyer
d6677bfb66 loader.js: Also preserve scroll position of display:flex containers 2019-12-11 15:27:03 +01:00
Florian Strohmaier
680467a1aa CSS: Fix flex-box scrolling for different browsers 2019-12-11 12:57:20 +01:00
Johannes Meyer
168fcfec36 layout.less: Relax specificity of content and controls padding 2019-12-11 11:31:23 +01:00
Florian Strohmaier
e1c47a8f59 module.less: Fix status-bar height 2019-12-11 11:14:34 +01:00
Johannes Meyer
0bbc4c7c29
Merge pull request #4030 from Icinga/fix/username-with-extraneous-spaces-are-not-invalid
Username with extraneous spaces are not invalid
2019-12-11 10:24:19 +01:00
Johannes Meyer
f63dfa5294 DbUserBackend: Use binary string comparison if it's a mysql db 2019-12-11 10:15:05 +01:00
Johannes Meyer
55b9b44be9 js: Fix error when focusing navigation anchors 2019-12-11 09:27:18 +01:00
Johannes Meyer
8a959c9f67
Merge pull request #4027 from Icinga/revert-3993-feature/hide-customvars
Revert "Introduce option to hide specific customvars in web"
2019-12-10 14:15:32 +01:00
Johannes Meyer
da5704fa83
Revert "Introduce option to hide specific customvars in web" 2019-12-10 07:56:11 +01:00
papillon326
be5a6a4251 Update Japanese translation 2019-12-09 18:15:20 +09:00
Johannes Meyer
cf36b1f848
Merge pull request #4024 from Icinga/fix/numbers-in-filter-conditions-3974
Numbers in filter conditions not interpreted correctly
2019-12-09 09:49:56 +01:00
Johannes Meyer
e6d9819adb FilterQueryString: Parse numbers as floats in range conditions 2019-12-09 09:39:50 +01:00
Johannes Meyer
af92d4fc89
Merge pull request #4023 from Icinga/fix/role-form-does-not-use-config-form-events
Fix that the role form doesn't use config form events
2019-12-09 09:35:56 +01:00
Johannes Meyer
d9044203e7 RoleForm: Use hook ConfigFormEventsHook 2019-12-09 09:02:14 +01:00
Johannes Meyer
dc8981f209 ConfigFormEventsHook: Use base class Icinga\Web\Form in type hints 2019-12-09 09:01:33 +01:00
Johannes Meyer
0cf7706ce4
Merge pull request #4022 from Icinga/fix/problem-dashlets-not-showing-all-acks-3988
Also consider normal acknowledgements for acknowledged problems
2019-12-09 08:59:58 +01:00
Johannes Meyer
33cb90b0e3 monitoring: Also consider normal acknowledgements for acke`d problems 2019-12-09 08:42:13 +01:00
Johannes Meyer
f34fb97b39
Merge pull request #4021 from Icinga/fix/monitoring-permissions-not-correctly-displayed-3996
Assist browsers in breaking permission and restriction labels onto multiple lines
2019-12-09 08:40:45 +01:00
Johannes Meyer
e2bcdd365a RoleForm: Add zero-width char after each / in permission and restriction labels
Helps browsers break onto newlines if it's too narrow.
2019-12-09 08:21:55 +01:00
Johannes Meyer
f5dc25b5c7
Merge pull request #3904 from Icinga/feature/flex-box-layout-reworked
Rework layout with flexbox
2019-12-06 16:37:46 +01:00