Commit Graph

12687 Commits

Author SHA1 Message Date
Johannes Meyer 0d99509dd6 css: Don't shrink some form elements that much in IE11 2020-02-06 07:37:32 +01:00
Chivvv 33eddd51e2
colorblind.less: Add contrast to text with light background 2020-02-05 21:07:52 +01:00
Johannes Meyer 201e2f136d ScheduleServiceCheckCommandForm: Only ignore services if rescheduling is restricted 2020-01-31 16:07:56 +01:00
Johannes Meyer 6d6e235e5c ScheduleHostCheckCommandForm: Only ignore hosts if rescheduling is restricted 2020-01-31 16:07:56 +01:00
Johannes Meyer fd97e8b056 actiontable.js: Properly handle encoded filter values 2020-01-30 08:31:06 +01:00
Johannes Meyer 5a031bf659 utils.js: Fix method `removeUrlParams()` 2020-01-28 15:23:41 +01:00
Johannes Meyer f4b96270aa winter.less: Show the correct logo 2020-01-28 09:26:12 +01:00
Johannes Meyer c1fabde425
Merge pull request #4064 from Icinga/fix/collapsed-menu-badges
Fix collapsed menu badges
2020-01-24 11:36:48 +01:00
Johannes Meyer 96f4eff4dc menu.less: Fix placement of clickable badges in flyout menus 2020-01-24 11:30:33 +01:00
Johannes Meyer c4bfbdb720
Merge pull request #4061 from Icinga/github-actions
GitHub actions
2020-01-23 14:50:41 +01:00
Johannes Meyer 4e2c1576da README.md: Add php version badge 2020-01-22 14:13:51 +01:00
Johannes Meyer 4b3240a22e Remove travis integration 2020-01-22 14:13:51 +01:00
Johannes Meyer 776761bd6a README.md: Replace travis badge with the one from github 2020-01-22 14:13:51 +01:00
Johannes Meyer dbedde7d7f Add php action workflow 2020-01-22 14:13:46 +01:00
Johannes Meyer 9e1d14666c test: Load composer autoloader if available 2020-01-22 13:09:01 +01:00
Johannes Meyer eb674509b4 BaseTestCase: Read db host and port from env vars if available 2020-01-21 14:13:15 +01:00
Johannes Meyer b555c4bd8b
Merge pull request #4047 from Icinga/fix/firefox-layout-issues
Fix Firefox layout issues
2020-01-16 16:05:44 +01:00
Johannes Meyer 3464455021 js: Preserve scroll position if focus is forced to a particular element 2020-01-16 15:54:17 +01:00
Johannes Meyer 8bc84a5f9e js: Teach the url parsing a final lesson about query strings
`utils.parseParams()` now returns an array instead of an object.
This may require some changes in modules using this directly or
by `utils.parseUrl().params`

refs #4056
2020-01-16 13:45:10 +01:00
Eric Lippmann 0355b20da0 JS: Respect container in Icinga.Ui.focusElement()
Though IDs should be unique across the whole page, focusElement() must
not fail if there is the same anchor in the left and right column.
focusElement() now also respects the container when searching the
element to focus by ID.
2020-01-16 10:47:28 +01:00
Johannes Meyer 05135e716e
Merge pull request #4049 from Icinga/fix/pdfexport-hooks-may-cause-bad-loading-times
Fix pdfexport hooks may cause bad loading times
2020-01-16 09:02:31 +01:00
Johannes Meyer 69d15824fb
Merge pull request #4048 from Icinga/fix/server-side-window-handling
Fix server side window handling
2020-01-16 08:57:11 +01:00
Johannes Meyer 8d4e0126ca
Merge pull request #4055 from Icinga/feature/js-history-replace-state
JS: Introduce Icinga.History.replaceCurrentState()
2020-01-16 08:54:49 +01:00
Johannes Meyer 4c39772667
Merge pull request #4053 from Icinga/feature/js-addUrlFlag
JS: Introduce Icinga.Utils.addUrlFlag()
2020-01-16 08:14:20 +01:00
Johannes Meyer 477649900c js: Also adjust `utils.removeUrlParams()`..
..and properly handle flags in `utils.addUrlParams()`

refs #4056
2020-01-16 08:13:11 +01:00
Johannes Meyer 7192d5fd6c
Merge pull request #4056 from Icinga/fix/js-url-param-parsing
Fix js url param parsing
2020-01-16 07:49:04 +01:00
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