Eric Lippmann
4e3fbb1341
doc: Support setext-style only headers
...
Setext-style used to work before too but only if an atx-style header comes first.
2015-08-11 09:20:56 +02:00
Matthias Jentsch
438f2650db
Conform to coding guidelines
...
Use exclusively getters and setters for accessing class variables. Add better documentation to INI parser and writer classes.
2015-08-10 15:15:40 +02:00
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
Eric Lippmann
aa4e3c5a22
Dashboard: Defer construction of the Url object to Dashlet::getUrl()
...
Before, the Url object was constructed in Dashlet::setUrl() and Dashlet::__construct8) which lead to an exception when parsing a module's configuration.php from our CLI.
refs #9375
2015-08-10 14:05:08 +02:00
Eric Lippmann
1363ea4370
Menu: Defer construction of the Url object to Menu::getUrl()
...
Before, the Url object was constructed in Menu::setUrl() which lead to an exception when parsing a module's configuration.php from our CLI.
refs #9375
2015-08-10 14:05:00 +02:00
Eric Lippmann
b0a75dd89b
lib: Fix PHPDoc in ConfigObject
2015-08-10 13:25:08 +02:00
Johannes Meyer
6d24e09479
events.js: Some code style fixes in function applyHandlers
...
refs #9869
2015-08-10 13:24:59 +02:00
Eric Lippmann
d90790e86d
doc: Support header-less sections
2015-08-10 13:23:42 +02:00
Eric Lippmann
5ef8f95e5b
doc: Replace whitespaces with - for section IDs
...
Fixes jQuery selector issues when jumping to an anchor.
2015-08-10 13:23:41 +02:00
Eric Lippmann
b902913220
doc: Support setext-style only headers
...
Setext-style used to work before too but only if an atx-style header comes first.
2015-08-10 13:23:41 +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
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 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