| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
Also moved the template processing from index to router.
|
| |
|
|
|
|
|
| |
More static files will likely be used that do not require using a
template (e.g. favicon.ico), so storing them in the public folder
will keep them with other served files without getting them
confused with the templates.
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
"For the unit tests. For the unit tests!"
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Unfortunately, a static file can't really be used to serve the
connection - the host address is needed to link back to the server.
Only a light library is needed to handle the template file though,
and if more are needed in the future it should be a non-trivial
task to add them to the process.
By default I'm configuring this to work with drone.io, since that
is the CI that I personally will be using (most likely). It should
be non-trivial to configure other CI to handle the script as well.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
This change fixes various issues with the GET endpoints to return more
accurate error messages. It adds business logic error objects that are
returned in a union type in the controllers. This change should help
separate the business logic from the actual errors from upstream
services.
There may be required changes still with handling those upstream errors
via Promises. Integration tests should be added to verify issues.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
With the new process dependency, process handling has been added to
ensure that the ExpressJS server and MongoDB client connections get
closed up properly.
As noted in the Metadata file above the Branch interface, the schema is
definitely not finalized. Eventually metadata will be needed at the repo
level anyways, so reorganizing the document schema is high on the
priority list.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
The generated Tarpaulin HTML report does not have stats to parse via the
DOM - the data is injected via a script tag, which only has line-by-line
coverage, though it includes statistics for each file. The total coverage is
counted by summing the covered/coverable stats reported for each file.
Also, the bad version for express is fixed, and messages are
included for errors that occur for the POST endpoint.
|
| |
|
|
| |
Signed-off-by: Kevin J Hoerr <kjhoerr@protonmail.com>
|
| | |
|
| |
|