29 Commits

Author SHA1 Message Date
Thomas Gelf
cae5c4769d Revert "Document WebCommand::serveAction()"
This reverts commit 6d56a57b7e7d6062de5e4d91f2a85109515c5c40.

Sorry for doing so, but we have to fix this without breaking
compatibility.
2015-11-20 19:55:24 +01:00
Thomas Gelf
3ded331bd1 Revert "WebCommand::serveAction(): make arguments non-positional"
This reverts commit d101e852ce7a0c75da449f5db02cf73d3ea7f50f.

Sorry for doing so, but we have to fix this without breaking
compatibility.
2015-11-20 19:45:15 +01:00
Alexander A. Klimov
6d56a57b7e Document WebCommand::serveAction()
resolves #10681
2015-11-20 18:39:38 +01:00
Alexander A. Klimov
d101e852ce WebCommand::serveAction(): make arguments non-positional
resolves #10682
2015-11-20 18:27:12 +01:00
Alexander A. Klimov
15154308d1 WebCommand::serveAction(): rename parameter $basedir to $documentRoot
resolves #10683
2015-11-20 18:05:42 +01:00
Eric Lippmann
6bae2e0a53 Note that our license is GPL v2 or any later version in our license header instead of pointing to the license's URL 2015-02-04 10:52:27 +01:00
Eric Lippmann
5b4fab0750 Add license header
This time without syntax errors hopefully :)
2015-02-03 16:27:59 +01:00
Eric Lippmann
5fa2e3cfdc Revert "Add license header"
This reverts commit 338d067aba41dd6e9178cebec5433eecd614196e.
2015-02-03 16:16:26 +01:00
Eric Lippmann
338d067aba Add license header
fixes #7788
2015-02-03 15:51:04 +01:00
Eric Lippmann
11bb8dbab0 icingacli web serve: Fix "PHP Notice: Use of undefined constant ICINGA_LIBDIR" 2014-11-14 16:02:17 +01:00
Eric Lippmann
bfa834fc3b Remove constant ICINGAWEB_APPDIR
We should avoid use of constants.
2014-11-13 09:33:31 +01:00
Alexander Klimov
45638b218c Throw IcingaException rather than Exception
fixes #7014
2014-08-27 16:03:15 +02:00
Johannes Meyer
3105c2059e Remove license headers from all files
refs #6309
2014-07-15 13:43:52 +02:00
Johannes Meyer
f2e5d8afa5 Remove @codeCoverageIgnoreStart/-Stop annotations
refs #6091
2014-06-30 13:58:37 +02:00
Thomas Gelf
55880cb5a3 packaging/config: rename ICINGA_APPDIR
Renamed ICINGA_APPDIR to ICINGAWEB_APPDIR for consistency. This way
it fits ICINGAWEB_CONFIGDIR.

refs #6400
2014-06-04 21:11:27 +00:00
Thomas Gelf
5b24ed1a15 CLI/ModuleCommand: helpful message with no module
'icingacli module list' gave "There is no module installed" instead
of "There is no enabled module". Fixed this, the former message is
still shown when doing 'icingacli module list installed'.
2014-05-28 11:45:58 +00:00
Thomas Gelf
5b87d6238b Modules\Module: improve provided metadata
refs #4095
2014-05-26 14:11:43 +00:00
Johannes Meyer
98ca15d1fb Mark less important or non-testable code as skipped for code coverage
refs #6011
2014-04-28 14:06:41 +02:00
Thomas Gelf
039aa76467 Directly use the routing script for internal web server 2014-04-17 21:12:13 +00:00
Thomas Gelf
fba63602c9 Improve CLI web serving autodetection 2014-03-28 19:47:25 +00:00
Michael Friedrich
4ce7ea503f Rename help and documentation to icingacli.
Refs #5802
2014-03-19 17:25:53 +01:00
Thomas Gelf
76c322901c Prototype for icingacli web serve 2014-03-04 11:13:43 +00:00
Johannes Meyer
68357e9ca2 Fix coding style 2014-02-21 14:07:32 +01:00
Thomas Gelf
8615b644c0 Show module metadata (version, description) on CLI 2014-02-14 13:50:27 +00:00
Johannes Meyer
005c52bb4a Refactor translation cli commands and implement po-file compilation
refs #5533
2014-01-30 10:51:10 +01:00
Thomas Gelf
3008527b41 Autocompletion for the BASH
Implemented in a dedicated Icinga Web CLI command, bash config snippet
is therefore pretty compact.

fixes #5520
2014-01-22 11:45:42 +00:00
Thomas Gelf
c29e742570 Module configuration script can provide restrictions and permissions
Extended the module, created CLI commands showing available permissions
and restrictions, added a sample configuration.php to the monitoring
module.

refs #4108
2014-01-22 10:26:18 +00:00
Thomas Gelf
724a57e93a Simplified help command, also does autocompletion right now 2013-10-22 13:53:12 +00:00
Thomas Gelf
a25cd80ec0 CLI interface: initial import 2013-10-22 12:26:45 +00:00