Johannes Meyer
fdd14c96b1
js: Only encode new params in `utils.addUrlParams()`
2020-01-15 16:47:30 +01:00
Johannes Meyer
3db65d79c6
js: Fix improper parsing in `utils.parseParams()`
2020-01-15 16:46:46 +01:00
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
Johannes Meyer
844cb911a4
loader.js: Use `utils.addUrlFlag` instead of the now deprecated one
2020-01-15 08:00:04 +01:00
Johannes Meyer
e45c18c833
utils.js: Use a regex to identify the uri fragment
2020-01-15 07:58:49 +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
7f8ee4f94d
JS: Deprecate Icinga.Loader.addUrlFlag() in favor of Icinga.Utils.addUrlFlag()
2020-01-14 14:58:34 +01:00
Eric Lippmann
4d02d8f6d6
JS: Introduce Icinga.Utils.addUrlFlag()
2020-01-14 14:58:34 +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
Johannes Meyer
6a8f17faf2
OutputFormat: Just provide the pdf export if there's a hook available
...
Calling `isSupported()` is bad here since there may be IO involved.
2020-01-14 11:01:53 +01:00
Johannes Meyer
29aaa363b4
Pdf: Utilize an pdfexport hook without calling `isSupported()`
...
If it's not supported, users should disable the module. If there
are multiple hooks supported at some point we need to touch this
again anyways. So that should suffice for now.
2020-01-14 10:59:01 +01:00
Johannes Meyer
9fe43dda5f
ActionController: Drop method `handlerBrowserWindows()`
2020-01-14 10:14:02 +01:00
Johannes Meyer
855bb8ae72
Properly handle window id's and container id's
2020-01-14 10:14:02 +01:00
Johannes Meyer
2d3fc218db
Window: Differentiate between window and container id
2020-01-14 10:14:02 +01:00
Johannes Meyer
d459e58aca
Response: Add methods to override the client's window id
2020-01-14 10:14:02 +01:00
Johannes Meyer
e9b27b338f
css: Set correct line-height for tabs
...
Otherwise a gap is shown between the dropdown toggle and
menu which causes FF to hide the dropdown too fast.
2020-01-13 16:02:50 +01:00
Johannes Meyer
82733f321e
css: Fix collapsed border spacing in FF in list views
...
fixes #4043
2020-01-13 16:01:50 +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