aboutsummaryrefslogtreecommitdiff
path: root/public
Commit message (Collapse)AuthorAgeFilesLines
* Use *.tmpl file extension over *.templateKevin J Hoerr2021-10-072-0/+0
|
* Fix CI test in sh upload scriptKevin J Hoerr2021-09-241-1/+1
|
* Tweaks and FixesKevin J Hoerr2021-09-211-1/+1
| | | | | | | - Change default port for Dockerfile to 80 - Use cobertura for coverage report :) - Add starter data for .devcontainer - Add FORMAT var for sh script (*needs change)
* Optify SSL info for script on index.htmlKevin J Hoerr2021-09-171-1/+1
|
* Adjust max width of text to fit new script URLKevin J Hoerr2021-09-171-1/+1
|
* #14 Changed /bash file to /shKevin J Hoerr2021-09-172-11/+11
|
* #7 Add Cobertura formatKevin J Hoerr2021-09-161-4/+10
|
* #11 Handle unknown paths with 404 pageKevin J Hoerr2020-04-272-0/+33
|
* Fix styling for mobile/smaller displaysKevin J Hoerr2020-02-232-9/+15
|
* #2 Add CSS, favicon for landing pageKevin J Hoerr2020-02-223-2/+80
|
* #9 Use SILENT in bash, more explicit verbosityKevin J Hoerr2020-01-011-16/+28
|
* Move template files to subfolderKevin J Hoerr2019-12-292-0/+0
| | | | | | | 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.
* Add index.html template with route for integrationKevin J Hoerr2019-12-291-0/+17
|
* #5 Add more descriptive output to bash scriptKevin J Hoerr2019-12-281-3/+41
|
* Add Jest to handle unit and integration testingKevin J Hoerr2019-12-111-2/+2
| | | | | | | | | | | | Wrote a couple of initial unit tests for some of the logic-heavy points in the application, being logger.ts and formats.ts. Evidently colorize() causes an error when transforming on the Format object that's returned. Since that is specific to the Console transport anyways, I just moved it to the transport, since the unit test was only testing the passed label in the returned Formats object. Also the bash template has some issues that I didn't test (oops), so those are fixed now.
* Fix reported license and update changelogKevin J Hoerr2019-12-101-2/+2
|
* Add template process to serve bash fileKevin J Hoerr2019-12-091-0/+34
| | | | | | | | | | | | 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.
* Prepare repository for 0.1.0 releaseKevin J Hoerr2019-11-301-6/+0
|
* Set up initial projectKevin J Hoerr2019-11-101-0/+6
Initializes project with TypeScript, ExpressJS, and Badgen. Defines initial (v1) request paths: GET /bash GET /v1/:org/:repo/:branch.svg GET /v1/:org/:repo/:branch.html GET /v1/:org/:repo/:branch/:commit.svg GET /v1/:org/:repo/:branch/:commit.html POST /v1/:org/:repo/:branch/:commit.html?token=&format= Also sets up interfaces for defining multiple formats. Tarpaulin is defined but not implemented. All requests (aside from GET /bash) return 501 NOT IMPLEMENTED. A global TOKEN is expected for POST request. This can and should be adapted to assigning tokens per repository, though this may require verification from the originating repository or administrative designation.