Age | Commit message (Collapse) | Author | Files | Lines |
|
Signed-off-by: Malfurious <m@lfurio.us>
|
|
This returns a plain-text response (not JSON) of the full log file for
the requested job number. If `jobnum` is omited, the log of the latest
job is returned.
Signed-off-by: Malfurious <m@lfurio.us>
|
|
This returns all details related to the requested job number as well as a
tail of the job log file. If `jobnum` is omited, details of the latest
job are returned.
Signed-off-by: Malfurious <m@lfurio.us>
|
|
This returns high-level information describing the current state of the
system.
The intent of the `version` field is primarily to act as a "page should
be reloaded" indicator to the front-end javascript code. This would
inform the client to reload (possibly) new markup or script whenever the
version field changes. This field could return an accurate version
spec of cychedelic or DMT, however just returns a random string at the
moment which is tied to the DMT docker image build.
Signed-off-by: Malfurious <m@lfurio.us>
|
|
This file is taken from the "werc" web "anti-framework" project, which
is made available as Public Domain as well as MIT code.
It is an awk script that implements a simple templating markup syntax.
When run on an input file, it translates the content into equivalent
shell syntax which can then be executed to produce the desired result.
Therefore, the script should be invoked as `template.awk FILE | bash`,
and the output can be streamed to the client. An overview of the
template syntax follows:
Lines beginning with '%' (no leading whitespace allowed) are taken as
shell commands.
Inline %{ ... %} gives the inner content taken as a shell command.
Inline %( ... %) gives the inner content taken as a shell expression
(which is substituted).
All other text is echoed as-is.
Signed-off-by: Malfurious <m@lfurio.us>
|
|
DMT (Display for Monitoring log Text) will be the HTTP monitoring
interface for cychedelic. We mount the system data as readonly for this
purpose. The Dockerfile is largely based on that of ACID for the
moment, as I anticipate the same underlying packages. Also, the web
service entry is written to be intended for use with the nginx-proxy
reverse proxy.
CGD is an extremely simple daemon used for serving a CGI script over
HTTP. It is available as Public Domain / MIT code. DMT's entrypoint
will be implemented as a CGI shell script.
Signed-off-by: Malfurious <m@lfurio.us>
|