7865 Commits

Author SHA1 Message Date
Eric Lippmann
cb0b3c8754 monitoring: Let PHP flush the writer buffer to the command file
refs #9570
2015-08-10 11:31:27 +02:00
Alexander Fuhr
c88f0c7e37 downtime/views: Use ends instead of started ...
refs #9266
2015-08-10 10:58:21 +02:00
Alexander Fuhr
f0cabf059a view/downtimes: Add missing translate
refs #9266
2015-08-10 10:20:49 +02:00
Johannes Meyer
282aaa6e5b Load additional static files for modules, really
Since we're only processing the config script upon calling
Module::hasJs/Css() if no module.js or module.css exists,
we need to ensure that it's processed when calling
Module::getJS/CssFiles().

refs #9702
2015-08-10 10:00:02 +02:00
Johannes Meyer
a4fdb30067 Host Overview: Use a dedicated query to fetch service summaries
refs #9864
2015-08-07 15:37:35 +02:00
Johannes Meyer
03d4386763 Introduce HostservicestatussummaryQuery class
refs #9864
2015-08-07 15:36:24 +02:00
Johannes Meyer
6560975fe2 Host overview: Do not select `host_unhandled_services'
It's implemented as horribly slow subquery.

refs #9864
2015-08-07 15:35:13 +02:00
Matthias Jentsch
aa3cc9847d Fix issue that bricked the dashboard when quotes in dashlets
Escape more special chars in IniWriter, support reading escaped readers in IniParser and add tests for all important escape cases.
2015-08-07 12:55:19 +02:00
Matthias Jentsch
308c8ccf79 Fix issue that caused exceptions when using sections with trailing or leading whitespaces
Trim all incoming section identifier to prevent ambiguities between parsd sections and input sections.
2015-08-07 09:26:50 +02:00
Matthias Jentsch
eebd8be746 Prevent configuration changes that would break PHP lib ini parser 2015-08-06 17:39:46 +02:00
Matthias Jentsch
9b373e9d10 Fix issue that caused IniWriter to fail on empty configs 2015-08-06 17:21:52 +02:00
Johannes Meyer
2a1f0132bc Wizard: Properly process automatic submissions of the general config page
fixes #9855
2015-08-06 15:40:20 +02:00
Johannes Meyer
c289b2f1ef Merge branch 'feature/allow-module-developers-to-define-additional-static-files-9702'
resolves #9702
2015-08-06 15:17:46 +02:00
Johannes Meyer
c7cc9e66df JavaScript: Load all available module javascript files
refs #9702
2015-08-06 15:15:02 +02:00
Johannes Meyer
9cea83242c StyleSheet: Load all available module stylesheets
refs #9702
2015-08-06 15:14:29 +02:00
Johannes Meyer
712d545f48 Module: Allow to define additional Javascript files
refs #9702
2015-08-06 15:10:54 +02:00
Johannes Meyer
51aa22d429 Module: Allow to define additional CSS/LESS files
refs #9702
2015-08-06 15:10:33 +02:00
Johannes Meyer
59ef54314a Extend the Web bootstrapper from the EmbeddedWeb bootstrapper
In a embedded web environment we may also need a request and response.

refs #9702
2015-08-06 15:08:41 +02:00
Johannes Meyer
4c00d5effc Wizard: Fix invalid call to self::translate()
refs #9654
2015-08-06 13:21:50 +02:00
Johannes Meyer
8c80839cbc Merge branch 'feature/less-costly-count-queries-for-history-views-8615'
resolves #8615
2015-08-06 13:11:50 +02:00
Johannes Meyer
0695d5900c Merge branch 'master' into feature/less-costly-count-queries-for-history-views-8615 2015-08-06 13:11:28 +02:00
Johannes Meyer
9dad63b512 Service history: Remove pagination and provide a load more link instead
refs #8615
2015-08-06 13:09:35 +02:00
Johannes Meyer
63650518ee Host history: Remove pagination and provide a load more link instead
refs #8615
2015-08-06 13:09:24 +02:00
Johannes Meyer
b8b649f179 js: Require a container in ui.focusElement()
refs #8615
2015-08-06 13:08:36 +02:00
Johannes Meyer
b9e0a80479 EventHistory Overview: Show the load more link as button and centered
refs #8615
2015-08-06 12:50:17 +02:00
Johannes Meyer
ea3e0bc013 Eventhistory Overview: Use id attribues as the name attribute is deprecated
refs #8615
2015-08-06 11:52:35 +02:00
Johannes Meyer
153f3ba2f9 js: Drop function events.handleAnchor() and ui.scrollContainerToAnchor()
There is ui.focusElement() now which handles ids as well.

refs #8615
2015-08-06 11:51:57 +02:00
Johannes Meyer
bdc61a5f62 js: Introduce new function ui.focusElement()
refs #8615
2015-08-06 11:49:16 +02:00
Johannes Meyer
5c80486b23 js: Properly handle anchor tags with names
refs #8615
2015-08-06 10:58:15 +02:00
Johannes Meyer
de24f5f4b6 Revert "js: Do not handle anchor jumps, the browser is able to do it by itself"
This reverts commit 5ccd4a9ef8084d6e47d0d99f587da78a9e8c5155.

refs #8615
2015-08-06 10:57:41 +02:00
Eric Lippmann
528382098e db: Respect group by for count queries, really
Missed that Johannes introduced DbQuery::getGroup().

refs #9828
2015-08-06 10:46:40 +02:00
Johannes Meyer
5ccd4a9ef8 js: Do not handle anchor jumps, the browser is able to do it by itself
refs #8615
2015-08-06 10:24:56 +02:00
Johannes Meyer
8cf3b99335 Eventhistory Overview: Remove pagination and provide a load more link instead
refs #8615
2015-08-06 10:23:44 +02:00
Johannes Meyer
7662545c2a SimpleQuery: Provide a getter for the current iterator position
refs #8615
2015-08-06 09:39:23 +02:00
Johannes Meyer
c891b9d356 HostgroupsummaryQuery: Fix group statement ambiguity 2015-08-06 07:54:03 +02:00
Matthias Jentsch
60675979bc Merge branch 'bugfix/creating-dashlet-with-parentheses-9530'
fixes #9530
2015-08-05 18:22:29 +02:00
Matthias Jentsch
f8e2dc850c Drop IniEditor and clean up IniWriter
Replace the ini editor code with a new parser implementation that manipulates a DOM. Do not support capabillities that are no longer needed, like nested configurations, section inheritance, section-less properties.
2015-08-05 18:10:17 +02:00
Johannes Meyer
35ea3cc9ee Wizard: Make it unambiguous what the first database configuration is for
fixes #9654
2015-08-05 16:20:03 +02:00
Johannes Meyer
e2e1692462 Wizard: Use IcingaException::describe() in the finish's log where appropriate
fixes #9791
2015-08-05 15:54:45 +02:00
Alexander Fuhr
aa7adee21f views/donwtime(s|-header): Fix that the Downtimes show "Starts in" ...
... for objects with non-problem state

refs #9266
2015-08-05 14:37:33 +02:00
Johannes Meyer
a0d5509f19 DbQuery: Drop attribute $maxCount
It's not used anywhere and completely useless the way it's implemented.
2015-08-05 10:54:14 +02:00
Alexander Fuhr
3d846ea270 js/actiontable: Fix the wrong parentheses encoding in multiselect
fixes #9347
2015-08-04 16:49:35 +02:00
Alexander Fuhr
ebd103f7ee js/icinga/utils: Implement fixedEncodeURIComponent method
* FYI: https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/encodeURIComponent

refs #9347
2015-08-04 16:49:35 +02:00
Eric Lippmann
bebff5b83e Merge branch 'bugfix/multiselect-restrictions-9574'
fixes #9574
2015-08-04 16:47:15 +02:00
Eric Lippmann
0e14cb48da monitoring: Ignore restrictions if user has the wildcard restriction
resolves #9830
2015-08-04 16:28:45 +02:00
Eric Lippmann
064e821383 lib: Fix wrong count for queries having a group by clause
fixes #9828
2015-08-04 16:25:34 +02:00
Eric Lippmann
cdd13bc389 monitoring: Apply restrictions before filtering for multiple services
refs #9574
2015-08-04 15:30:07 +02:00
Johannes Meyer
802e18ac47 Merge branch 'feature/allow-to-extend-the-content-of-a-dashlet-on-the-right-6677'
resolves #6677
2015-08-04 15:30:02 +02:00
Johannes Meyer
e6d507828c Merge branch 'master' into feature/allow-to-extend-the-content-of-a-dashlet-on-the-right-6677 2015-08-04 15:29:48 +02:00
Eric Lippmann
10e50842b2 monitoring: Apply restrictions before filtering for multiple hosts
refs #9574
2015-08-04 15:28:51 +02:00