Matthias Jentsch
fe805c82ca
Support multi line values in INI files
2015-08-10 15:15:40 +02:00
Johannes Meyer
0468bddc83
js: Ensure that rendered events of modules are called on page-load
...
fixes #9869
2015-08-10 14:46:58 +02:00
Johannes Meyer
6d24e09479
events.js: Some code style fixes in function applyHandlers
...
refs #9869
2015-08-10 13:24:59 +02:00
Johannes Meyer
d09ad2641f
Remove CSS rule for class "timesince"
...
It's not used anywhere.
2015-08-10 13:22:05 +02:00
Alexander Fuhr
b54a643c97
Merge branch 'bugfix/downtimes-with-non-problem-state-time-caption-9266'
...
fixes #9266
2015-08-10 12:46:57 +02:00
Alexander Fuhr
01ec2cd590
Merge branch 'master' into bugfix/downtimes-with-non-problem-state-time-caption-9266
2015-08-10 12:46:13 +02:00
Alexander Fuhr
72cf023bf8
donwtime/view: Fix condition statement
...
refs #9266
2015-08-10 12:32:15 +02:00
Alexander Fuhr
073d695c94
downtime/views: Fix the wrong time for flexible downtime
...
refs #9266
2015-08-10 12:15:26 +02:00
Alexander Fuhr
18dae78d80
MonitoredObject: Add scheduled_end
...
refs #9266
2015-08-10 12:14:49 +02:00
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
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 5ccd4a9ef8
.
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