aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Use *.tmpl file extension over *.templateKevin J Hoerr2021-10-073-12/+6
|
* Test hc endpoint; remove unreachable codeKevin J Hoerr2021-09-272-5/+6
|
* Fix tag to specific step when publishing dockerKevin J Hoerr2021-09-251-0/+5
|
* Move to Plug'n'Play over node_modulesKevin J Hoerr2021-09-251-0/+1
|
* Add lint check to pipelineKevin J Hoerr2021-09-2513-144/+180
|
* Tweak jest configurationKevin J Hoerr2021-09-251-0/+22
|
* Adjust route matchers to remove quirksKevin J Hoerr2021-09-201-3/+3
|
* The Whole Barnshow CommitKevin J Hoerr2021-09-205-19/+117
| | | | | | | | | - Use yarn-berry instead of npm, with Zero Install feature and goodies - Add `initializeToken` to post unique token to logs on startup - Package upgrades - Fix index.html.template tests I will never do this again
* Optify SSL info for script on index.htmlKevin J Hoerr2021-09-171-1/+6
|
* Fix sh template filenamesKevin J Hoerr2021-09-171-2/+2
|
* #14 Changed /bash file to /shKevin J Hoerr2021-09-172-8/+10
|
* Add format to head commit infoKevin J Hoerr2021-09-163-116/+87
|
* #7 Add Cobertura formatKevin J Hoerr2021-09-164-20/+371
|
* Refactor coverage upload for ease of new formatsKevin J Hoerr2021-09-123-58/+65
|
* Add target filename to formatKevin J Hoerr2021-09-122-2/+4
|
* Refactor upload processingKevin J Hoerr2021-09-124-53/+72
|
* Remove inaccessible code branchKevin J Hoerr2021-09-121-2/+1
|
* Refactor env config into MetadataKevin J Hoerr2021-09-126-41/+94
|
* Move token to metadataKevin J Hoerr2021-09-124-6/+15
|
* Upgrade packages and fix unit testsKevin J Hoerr2021-09-113-37/+57
|
* Fix templates not properly injecting contextKevin J Hoerr2020-04-271-2/+2
|
* Refactor startup to passthrough valuesKevin J Hoerr2020-04-275-50/+67
| | | | | | | | Even more refactoring - however there were some small troubles using path in the nested scripts/files, so referencing them via the index should be a bit more stable. Plus, the config unit tests won't just exit because of configOrError constants strewn about the file.
* Add unit tests and correct CHANGELOGKevin J Hoerr2020-04-273-8/+197
|
* #11 Handle unknown paths with 404 pageKevin J Hoerr2020-04-271-0/+5
|
* Handle promise errors in handleStartupKevin J Hoerr2020-04-271-35/+42
|
* These changes moved a lot of the startup async to run in a streamlinedKevin J Hoerr2020-04-266-150/+302
| | | | | | | | | | async init function. This brings more logic "to light", so it should probably have unit tests added to check the edge cases. As a bonus, no async runs as a result of route initialization. Speaking of routes, it might be nice to trim down the route calls themselves with async functions, if possible. The upload routes in particular use a lot of async. Just a note for the future.
* Upgrade packages and fix express type changeKevin J Hoerr2020-04-261-1/+1
|
* #2 Add CSS, favicon for landing pageKevin J Hoerr2020-02-221-0/+9
|
* #8 Add router unit tests using supertestKevin J Hoerr2020-01-113-35/+273
| | | | Also moved the template processing from index to router.
* Move template files to subfolderKevin J Hoerr2019-12-291-2/+2
| | | | | | | 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-292-0/+16
|
* #4 Lower brightness of generated report badgesKevin J Hoerr2019-12-212-72/+58
|
* AOC-3 Catch promise rejections in POST requestKevin J Hoerr2019-12-212-4/+7
|
* Use nullish-coalescing op for env var assignmentsKevin J Hoerr2019-12-124-8/+8
|
* Fix color matcher for inbetween step valuesKevin J Hoerr2019-12-122-2/+26
|
* Add unit tests for util/config.tsKevin J Hoerr2019-12-122-6/+154
|
* Simplify and generalize template processingKevin J Hoerr2019-12-123-26/+90
| | | | "For the unit tests. For the unit tests!"
* Add ts-jest to improve TS coverage reportsKevin J Hoerr2019-12-112-0/+29
|
* Finish developing unit tests for formats, loggerKevin J Hoerr2019-12-112-5/+137
|
* Add Jest to handle unit and integration testingKevin J Hoerr2019-12-114-13/+96
| | | | | | | | | | | | 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-3/+2
|
* Add template process to serve bash fileKevin J Hoerr2019-12-093-0/+41
| | | | | | | | | | | | 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.
* Add linting to project using EslintKevin J Hoerr2019-12-097-63/+81
|
* Promisify data flow in POST requestKevin J Hoerr2019-12-092-19/+32
|
* Use HeadIdentifier as reference for file retrievalKevin J Hoerr2019-12-082-39/+61
|
* Overhaul error handling for controllersKevin J Hoerr2019-12-085-27/+75
| | | | | | | | | | | 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.
* Move from branch to repository document in MongoDBKevin J Hoerr2019-12-082-30/+70
|
* Refactor routes into separate fileKevin J Hoerr2019-12-083-129/+137
|
* Add winston, express-winston to handle loggingKevin J Hoerr2019-12-083-55/+94
|
* Add Metadata core with MongoDB for persistenceKevin J Hoerr2019-12-072-103/+237
| | | | | | | | | | | 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.