Commit Graph

12078 Commits

Author SHA1 Message Date
Johannes Meyer 754f45566a collapsible.js: Make storage working with multiple tabs 2019-07-17 13:12:41 +02:00
Johannes Meyer a642117c8a collapsible.js: Remove superflous spaces after the `function` keyword 2019-07-17 13:12:41 +02:00
Johannes Meyer 9a6b1cffd6 collapsible.js: Don't use Set features which IE11 doesn't support 2019-07-17 13:12:41 +02:00
Johannes Meyer ec2a6b5c78 collapsible.js: Use namespace `behavior` for local storage entries 2019-07-17 13:12:41 +02:00
Johannes Meyer 1748404efe collapsible.js: Enhance how we'll utilize `localStorage` 2019-07-17 13:12:41 +02:00
Johannes Meyer 6f28a5c3e1 collapsible.js: Rename `height` to `visible-height` 2019-07-17 13:12:41 +02:00
Johannes Meyer 1ae1dc387f collapsible.js: Rename `numofrows` to `visible-rows` 2019-07-17 13:12:41 +02:00
Johannes Meyer b8bdd743a2 collapsible.js: Remove useless `> tbody > th` row selector 2019-07-17 13:12:41 +02:00
Johannes Meyer ba44240b68 collapsible.js: Store and load states form localStorage 2019-07-17 13:12:41 +02:00
Johannes Meyer 3122af2838 collapsible.js: Properly track a collapsible's state across navigation 2019-07-17 13:12:41 +02:00
Johannes Meyer 0ed030410f collapsible.js: Listen for rendered events on all containers
not just #col2
2019-07-17 13:12:41 +02:00
Johannes Meyer 0574f44bd9 colllapsibleContainer.js: Rename to collapsible.js 2019-07-17 13:12:41 +02:00
Johannes Meyer d6f7582df6 collapsibleContainer.js: Update documentation 2019-07-17 13:12:41 +02:00
Johannes Meyer 1032a944b4 collapsibleContainer.js: Properly set an collapsible's height 2019-07-17 13:12:41 +02:00
Johannes Meyer fb83bee924 css: Make collapsible styles work with the new markup 2019-07-17 13:12:41 +02:00
Johannes Meyer 618ca25aec collapsibleContainer.js: Simplify implementation and make it more flexible
Handling is ok though the styles are outdated now and not working
2019-07-17 13:12:41 +02:00
Johannes Meyer ffe638ee36 collapsibleContainer.js: Don't expect a data attribute for a container's id 2019-07-17 13:12:41 +02:00
Johannes Meyer e6e43d07bf collapsibleContainer.js: Cleanup and streamline behavior implementation 2019-07-17 13:12:41 +02:00
Johannes Meyer 66084d6d94 collapsibleContainer.js: Adjust id handling
Id's are unique. Making this assumption is fine since anyone
not abiding by this isn't my problem.
2019-07-17 13:12:41 +02:00
Florian Strohmaier b73a608742 JS: Check collapsible containers for unique collapsible-id 2019-07-17 13:12:41 +02:00
Florian Strohmaier e375822ef1 CSS: Add hover effect for collapsible control 2019-07-17 13:12:41 +02:00
Florian Strohmaier d3e4fb6552 JS: Add code documentation 2019-07-17 13:12:41 +02:00
Florian Strohmaier 168cc33a69 CSS: Fade collapsed containers 2019-07-17 13:12:41 +02:00
Florian Strohmaier 545d3355a9 JS: Use can-collapse to flag containers with sufficient height 2019-07-17 13:12:41 +02:00
Florian Strohmaier b07ffd4987 JS: Implement collapsible-container behavior 2019-07-17 13:12:41 +02:00
Florian Strohmaier 14caccc384 CSS: Style for collapsible control 2019-07-17 13:12:41 +02:00
Florian Strohmaier 9a1b7f0cf8 Add ifont icons for collapsible button 2019-07-17 13:12:21 +02:00
Florian Strohmaier a1ef28460d Layout: Create collapsible ghost 2019-07-17 12:50:57 +02:00
Johannes Meyer 5145de6b50
Merge pull request #3852 from Icinga/feature/cli-load-enabled-modules
CLI: Automatically load enabled modules if not disabled
2019-07-15 08:39:57 +02:00
Johannes Meyer 8ad3754c55
Merge pull request #3857 from Icinga/fix/wrong-window-title-on-some-pages-3851
Fix wrong window title on some pages
2019-07-15 08:37:29 +02:00
Johannes Meyer 67c8053dc9 login: Override the default title instead of setting a title
refs #3851
2019-07-15 08:26:23 +02:00
Johannes Meyer 066aa0ef03 setup: Set a proper title for the wizard
refs #3851
2019-07-15 08:24:44 +02:00
Johannes Meyer 7ba998c6b1 monitoring: Set a proper title for all controller actions
refs #3851
2019-07-15 08:24:44 +02:00
Johannes Meyer fb48731978 Set a proper title for all controller actions
refs #3851
2019-07-15 08:24:44 +02:00
Johannes Meyer 3edda43bca ActionController: Utilize view variable `$defaultTitle` instead of the constant
Allows controllers to also customize the default title with translated contents.

refs #3851
2019-07-15 08:24:44 +02:00
Johannes Meyer b0b4f08797 layout.phtml: Also include the default title in any title just like for XHR
refs #3851
2019-07-15 08:24:44 +02:00
Johannes Meyer f6d40a9d1c loader.js: Directly set the window's title for full layout requests
refs #3851
2019-07-15 08:24:44 +02:00
Johannes Meyer d52cc07d41 body.phtml: Also set `data-icinga-title` for full layout requests
refs #3851
2019-07-15 08:24:44 +02:00
Johannes Meyer 0a55df0fcf
Merge pull request #3862 from Icinga/feature/config-form-events-hook-3768
Provide ConfigFormEventsHook
2019-07-15 08:03:26 +02:00
Eric Lippmann 5b450c270c Update German translation 2019-07-15 07:55:23 +02:00
Eric Lippmann d045a62300 Add docs for the ConfigFormEventsHook 2019-07-15 07:52:32 +02:00
Eric Lippmann 6804805036 Remove inheritdoc tags 2019-07-15 07:52:32 +02:00
Eric Lippmann 749ca88dab Optimize imports 2019-07-15 07:52:32 +02:00
Eric Lippmann 6bb285f7b5 Use ConfigFormEventsHook 2019-07-15 07:52:32 +02:00
Eric Lippmann 16fbf6d7bd Introduce ConfigFormEventsHook 2019-07-15 07:52:32 +02:00
Eric Lippmann 98b8631db3 Optimize imports 2019-07-12 14:23:41 +02:00
Eric Lippmann 6fa5af4de1 CLI: Automatically load enabled modules if not disabled 2019-07-12 14:23:41 +02:00
Johannes Meyer 5d87f6712e
Merge pull request #3856 from Icinga/feature/send-failed-login-attempts-to-the-audit-log-3855
Send failed login-attempts to the audit log
2019-07-12 14:00:09 +02:00
Johannes Meyer 2257eaa0c1
Merge pull request #3849 from Icinga/feature/commonly-accessible-module-hooks-3772
Add possibility to disable permission checks for hooks
2019-07-12 13:59:44 +02:00
Johannes Meyer b7726d7351
Merge pull request #3853 from Icinga/feature/logging-config-php
Document the logging config option 'php'
2019-07-12 13:18:21 +02:00