Eric Lippmann
90fb44122b
cli/setup: Do not translate \n again
2014-12-30 15:55:14 +01:00
Eric Lippmann
f9ca0296a4
cli/setup: Do not return false; after $this->fail()
...
$this-fail() throws an exception.
2014-12-30 15:54:07 +01:00
Eric Lippmann
9de1b20d3c
cli/setup: Issue an error if chmod fails when setting up the configuration directory
2014-12-30 15:51:00 +01:00
Eric Lippmann
9c40372b61
cli/setup: Do not translate \n
2014-12-30 15:49:11 +01:00
Eric Lippmann
672500029c
cli/setup: Add sanity check for the --mode switch when creating the config directory
2014-12-30 15:46:22 +01:00
Eric Lippmann
d3dcf152fb
setup: Do not use umask(0)
...
chmod is not affected in any way by the umask.
2014-12-30 15:40:06 +01:00
Eric Lippmann
fbe252063b
IniWriter: Do not use umask(0)
...
chmod is not affected in any way by the umask.
2014-12-30 15:39:03 +01:00
Eric Lippmann
f84a9a6529
cli/setup: Do not use umask(0)
...
chmod is not affected in any way by the umask.
2014-12-30 15:33:01 +01:00
Eric Lippmann
082cdd6dd2
cli/setup: Rename --path switch to --config for the directory action
...
All other actions use --config too.
2014-12-30 15:24:31 +01:00
Eric Lippmann
bad7aad05e
cli/setup: Do not use the webserver user's group but 'icingaweb2'
2014-12-30 15:22:53 +01:00
Eric Lippmann
861252b1e7
setup: Rename createDirectory to diretory
...
'icingacli setup config directory' does not suffer from camel case notation and explains
pretty much what it does.
2014-12-30 14:59:23 +01:00
Eric Lippmann
4b6ea55cbb
setup: Add --config switch to TokenCommand::createAction()
...
refs #7906
2014-12-30 14:55:44 +01:00
Eric Lippmann
59dc5c5bc3
rpm: Fix {_sysconfig} usages missing the leading %
2014-12-30 14:51:18 +01:00
Eric Lippmann
cc68c58fe3
rpm: Fix typo
2014-12-30 14:48:47 +01:00
Eric Lippmann
deec606a22
rpm: Do not copy var/ to build root
...
This directory does no longer exist.
2014-12-30 14:48:02 +01:00
Eric Lippmann
bee3fe7027
rpm: Install bash completion for icingacli
2014-12-30 14:44:17 +01:00
Eric Lippmann
aea7b068da
setup: Add --config switch to TokenCommand::showAction()
...
refs #7906
2014-12-30 14:43:19 +01:00
Eric Lippmann
2d69e44846
setup: Set default URL path to /icingaweb2
2014-12-30 14:42:42 +01:00
Eric Lippmann
60b74ddcec
Cli: Fix parameter documentation for ConfigCommand::webserverAction()
...
We speak of icingaweb2 not icingaweb now.
2014-12-30 14:41:35 +01:00
Eric Lippmann
70c564bb0e
Cli: Remove useless sprintf format in Command::fail()
2014-12-30 14:41:00 +01:00
Eric Lippmann
5e812c72f1
cli/webserver config: Fix --config sanity check
2014-12-30 14:37:34 +01:00
Eric Lippmann
8eb37d9d76
Cli/Command: Add @type PHPDoc to params
2014-12-30 14:33:36 +01:00
Eric Lippmann
9af46838b0
Remove the var/log directory
2014-12-30 12:26:40 +01:00
Eric Lippmann
84521a1a24
Merge branch 'feature/untranslated-strings-7988'
...
resolves #7988
2014-12-30 11:16:34 +01:00
Eric Lippmann
ac56cc02ac
monitoring: Fix the notifications view script
2014-12-30 11:14:30 +01:00
Eric Lippmann
a5122f540d
monitoring: Add 'Notifications' to the 'Overview' menu section
2014-12-30 11:14:13 +01:00
Eric Lippmann
358efe06de
Merge branch 'master' into feature/untranslated-strings-7988
2014-12-30 10:55:42 +01:00
Eric Lippmann
a781b8c607
monitoring: Remove the top bar hook
...
No longer in use.
2014-12-30 10:52:57 +01:00
Eric Lippmann
c59c0e6cdb
monitoring: Remove top bar hook layout
...
No longer in use.
2014-12-30 10:52:12 +01:00
Eric Lippmann
a37d68b235
monitoring: Remove run.php
...
The monitoring module still registered the obsolete top bar hook.
2014-12-30 10:51:33 +01:00
Eric Lippmann
07ddc3a455
Merge branch 'feature/translation-plural-8092'
...
resolves #8092
2014-12-30 10:50:17 +01:00
Eric Lippmann
9c989306d9
monitoring: Count services having comments once in services/show.phtml
2014-12-30 10:48:30 +01:00
Eric Lippmann
2e4e04551d
monitoring: Count services in downtime once in services/show.phtml
2014-12-30 10:47:10 +01:00
Eric Lippmann
128f6822f1
monitoring: Count acknowledged services once in services/show.phtml
2014-12-30 10:46:08 +01:00
Eric Lippmann
df3d7d2034
monitoring: Count unhandled services once in services/show.phtml
2014-12-30 10:45:24 +01:00
Eric Lippmann
a7a99b5856
monitoring: Count hosts once in services/show.phtml
2014-12-30 10:44:22 +01:00
Eric Lippmann
3d95e37b7f
monitoring: Count services once in services/show.phtml
2014-12-30 10:43:39 +01:00
Eric Lippmann
c28f4284e4
monitoring: Remove the command/* view scripts
...
They are no longer used.
2014-12-30 10:40:56 +01:00
Eric Lippmann
41ef926fd6
monitoring: Remove the CommandController
...
The controller is no longer used.
2014-12-30 10:39:33 +01:00
Eric Lippmann
b7d6ee75f2
monitoring: Remove the MultiController
...
The controller is no longer used.
2014-12-30 10:38:43 +01:00
Eric Lippmann
8594ff6843
monitoring: Remove multi/* view scripts
...
They are no longer used.
2014-12-30 10:38:02 +01:00
Eric Lippmann
56102a1e39
monitoring: Count hosts having comments once in hosts/show.phtml
2014-12-30 10:35:18 +01:00
Eric Lippmann
b82f4e5356
monitoring: Count hosts in downtime once in hosts/show.phtml
2014-12-30 10:33:32 +01:00
Eric Lippmann
3745d3ebef
monitoring: Count acknowledged hosts once in hosts/show.phtml
2014-12-30 10:31:23 +01:00
Eric Lippmann
507aefa9dd
monitoring: Count unhandled hosts once in hosts/show.phtml
2014-12-30 10:30:31 +01:00
Eric Lippmann
c87733debc
monitoring: Count hosts once in hosts/show.phtml
2014-12-30 10:26:19 +01:00
Eric Lippmann
973a56c984
Merge branch 'master' into feature/translation-plural-8092
2014-12-30 10:22:44 +01:00
Eric Lippmann
59c39e94db
Merge branch 'bugfix/hostgroup-link-7259'
...
fixes #7259
2014-12-30 10:20:44 +01:00
Eric Lippmann
50bbf77d0c
Fix module domain detection in Form::getTranslationDomain()
...
The usage of preg_replace had two errors:
1) The regular expression was wrong
2) $matches[0] always contains the full matched string, not the first parenthesized subpattern
The correct version of preg_replace would've been:
if (preg_match('/^Icinga\\\\Module\\\\([A-Za-z]+)\\\\/', get_called_class(), $matches) === 1) {
return strtolower($matches[1]);
}
But since there's no benefit of using a regular expression here except less speed, I replaced it
with using explode.
refs #7551
2014-12-30 10:08:33 +01:00
Eric Lippmann
d6e331018b
monitoring: Use Form::translate() in the backend configuration form
...
refs #7551
2014-12-30 10:02:31 +01:00