Commit Graph

12043 Commits

Author SHA1 Message Date
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
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
Johannes Meyer b06103bfc5 NavigationItemRenderer: Don't fail to render an icon if there's none
fixes #3859
2019-07-12 07:42:33 +02:00
Johannes Meyer 59fa054d42 AuthChain: Send failed login-attempts to the audit log
resolves #3855
2019-07-11 14:41:17 +02:00
Loei Petrus Marogi 617f1b35b3 Add possibility to let hooks always run
refs #3772
2019-07-11 13:36:33 +02:00
Eric Lippmann fe3a51937a Show downtime schedule times before creation time 2019-07-11 13:10:58 +02:00
Eric Lippmann ba6b8c04ec Always show downtime schedule times 2019-07-11 13:07:30 +02:00
Eric Lippmann 1351be7da8 Add param to timeUntil() to require time output
If the time specified in timeUntil() is at least 3 days in the future,
the output will only contain the month and the day. With $requireTime it
will also ouput the time. This is useful for some views, e.g.
scheduled downtimes.
2019-07-11 13:07:17 +02:00
Eric Lippmann 15b9a3e329 Document the logging config option 'php' 2019-07-11 12:36:53 +02:00
Johannes Meyer 902e5d1cb8
Merge pull request #3845 from Icinga/feature/add-tactical-overview-to-global-search-2529
Add tactical overview to global search
2019-07-11 08:20:52 +02:00
Niko Martini 7abd1b906b Cli: add version command
refs #3763
2019-07-11 08:17:56 +02:00
Johannes Meyer 801a6719b7
Merge pull request #3835 from Icinga/fix/problem-badges-not-visible-if-sidebar-is-collapsed-3568
ui: Show problem badges in collapsed sidebar
2019-07-11 08:00:12 +02:00
Johannes Meyer 83962edce5 tactical/index: Make sure the donuts are shown side-by-side
refs #2529
2019-07-04 15:10:20 +02:00
Johannes Meyer 2e574f64e2 monitoring: Provide the tactical overview as search url
refs #2529
2019-07-04 15:10:04 +02:00
Johannes Meyer 1aca142e1a tatical/index: Use an `ul` for the legends and render real links
refs #2529
refs #3804
2019-07-04 14:49:53 +02:00
Johannes Meyer 974df5f2a9 layout.less: Make sure that big numbers in badges don't overflow
refs #3568
2019-07-03 11:30:20 +02:00
Johannes Meyer f0b5d8fd8e BadgeNavigationItemRenderer: Round counts to the neareset base
refs #3568
2019-07-03 11:29:37 +02:00
Johannes Meyer c28155408f
Merge pull request #3831 from Icinga/feature/custom-author-for-announcements-created-over-api-3644
AnnouncementForm: Don't disable author field if it's an API request
2019-07-02 15:40:26 +02:00
Johannes Meyer 559d57d466
Merge pull request #3834 from Icinga/fix/tactical-overview-big-numbers
Support higher number of problems in the tactical overview
2019-07-02 15:38:52 +02:00
Johannes Meyer 36524bcd94
Merge pull request #3814 from Icinga/feature/make-notes-and-comments-markdown-aware-3684
Make notes, comments and announcements markdown aware
2019-07-02 15:30:21 +02:00
Johannes Meyer 7cb2050623
Merge pull request #3828 from p4k8/master
Add Ukrainian language support
2019-07-02 15:27:54 +02:00
Johannes Meyer 6ea012af7e
Merge pull request #3836 from Icinga/fix/query-double-execution
Fix double query execution
2019-07-02 13:56:50 +02:00
Johannes Meyer be5b9f870b
Merge pull request #3838 from Icinga/feature/update-php-vendor-libraries-3785
Update php vendor libraries
2019-07-02 13:56:30 +02:00
Johannes Meyer 56e85ebf66
Merge pull request #3840 from Icinga/feature/docs-security-issues
README: Add URL for security issues
2019-07-02 13:55:45 +02:00
Michael Friedrich 73845741f9 README: Add URL for security issues 2019-07-02 12:03:05 +02:00
Eric Lippmann b20291a606 Fix double query execution
Our monitoring list views call SimpleQuery::hasResult() first in
order to determine whether there are results to display. This calls
fetchRow() which executes the underlying query the first time. If there
are resulsts, the query is iterated which executes the query again.
With this patch, SimpleQuery::hasResult() makes use of the inner
iterator instead of calling fetchRow(). The query is now executed only
once.
2019-06-27 15:11:45 +02:00
Johannes Meyer 6aa2cf69c7 HtmlPurifier: Enable cache directory
refs #3814
2019-06-27 14:41:13 +02:00
Niko Martini cae8cea482 Support higher number of problems in the tactical overview
refs #3746
2019-06-27 11:06:07 +02:00
Johannes Meyer 44c7c427e8 vendor: Update dompdf to version 0.8.3
refs #3785
2019-06-27 09:39:41 +02:00
Johannes Meyer 3f7b317ced vendor: Update lessphp to version 0.5.0
refs #3785
2019-06-27 09:21:13 +02:00
Johannes Meyer cdaef76faf vendor: Update Parsedown to version 1.7.3
refs #3785
2019-06-27 09:20:11 +02:00
Johannes Meyer 0aa32c7ef1 vendor: Update JShrink to version 1.3.2
refs #3785
2019-06-27 09:19:36 +02:00
Johannes Meyer 4dcea91775 NavigationConfigForm: Properly unset a parent for newly shared children
fixes #3565
2019-06-26 11:41:01 +02:00
Johannes Meyer 5c5ca26596 NavigationConfigForm: Properly handle parent names consisting only of numbers 2019-06-26 11:40:30 +02:00
Johannes Meyer e992eb6b26 ui: Show problem badges in collapsed sidebar
fixes #3568
2019-06-26 10:34:30 +02:00
Johannes Meyer d790d8d7a7 AnnouncementForm: Don't disable author field if it's an API request
refs #3644
2019-06-26 08:20:18 +02:00
Johannes Meyer 74642d1cf7 FileCache: Add method to prepare sub directories
refs #3814
2019-06-25 16:18:26 +02:00