Commit Graph

27 Commits

Author SHA1 Message Date
Alexander A. Klimov 59708bb0f7 icingacli web serve: redirect standard I/O to /dev/null after fork(2) 2019-05-10 18:07:55 +02:00
Alexander A. Klimov 8e84bdf4f5 icingacli web serve: preserve console colors and avoid redundand process 2018-11-16 17:23:33 +01:00
Alexander A. Klimov fc1f6e13ab Drop PHP 5.3 support 2018-05-07 11:36:54 +02:00
Alexander A. Klimov c015da7dfc Document WebCommand::serveAction()
refs #10682
2017-02-10 11:27:39 +01:00
Alexander A. Klimov 11c7531650 WebCommand::serveAction(): add optional parameters --listen and --port
refs #10682
2017-02-09 18:11:29 +01:00
Johannes Meyer 181e2ef05c Swag: Fix swag (aka a whole bunch of code style issues..) 2017-01-27 14:48:59 +01:00
Uwe Ebel 93b7b11449 Make default listen address for CLI command web serve configureable
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>

resolves #13381
2016-12-13 12:05:25 +01:00
Alexander A. Klimov 474803fee4 Change all license headers to only reflect a file's year of creation
refs #11000
2016-02-08 15:41:00 +01:00
Thomas Gelf cae5c4769d Revert "Document WebCommand::serveAction()"
This reverts commit 6d56a57b7e.

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 d101e852ce.

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 338d067aba.
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
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
Thomas Gelf 76c322901c Prototype for icingacli web serve 2014-03-04 11:13:43 +00:00