Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | updating module to live at sourcehut | Ben Morrison | 2020-06-20 | 1 | -2/+2 |
| | | | | | | Also moving the 'registry' library into this repo, rather than maintaining them separately. It will still be decoupled, just live in this repository. | ||||
* | eliminated panic when serving requests from empty registry v0.4.11 | Ben Morrison | 2020-03-16 | 1 | -0/+6 |
| | | | | | | | | | | | when generating an etag from a query that returns no results, indexing into the byte slice caused that thread to panic. now checking for a nil byte slice or a small byte slice in handlers.go:46:getEtag() on nil byte slice, return empty string for etag. on small byte slice, don't truncate it, but return the whole thing. | ||||
* | some functions were missing comments. added those in where needed. | Ben Morrison | 2019-12-19 | 1 | -0/+7 |
| | |||||
* | truncating etag v0.4.8 | Ben Morrison | 2019-12-19 | 1 | -2/+4 |
| | |||||
* | minor refactor of apiEndpointHandler(): | Ben Morrison | 2019-12-19 | 1 | -8/+5 |
| | | | | | reduced early returns removed unnecessary switch statement | ||||
* | refactored servStatic() to eliminate early return | Ben Morrison | 2019-12-18 | 1 | -8/+13 |
| | |||||
* | reduced size of hash for etag to 32bits | Ben Morrison | 2019-12-18 | 1 | -2/+2 |
| | |||||
* | switched etags to use fnv hash | Ben Morrison | 2019-12-12 | 1 | -10/+14 |
| | |||||
* | endpoint for version response v0.4.5 | Ben Morrison | 2019-08-28 | 1 | -0/+12 |
| | |||||
* | license notice at top of each file | Ben Morrison | 2019-07-11 | 1 | -0/+19 |
| | |||||
* | mutex and readability cleanup | Ben Morrison | 2019-06-13 | 1 | -3/+2 |
| | |||||
* | separate request and message log | Ben Morrison | 2019-06-12 | 1 | -10/+4 |
| | |||||
* | cleaned up staticHandler | Ben Morrison | 2019-06-11 | 1 | -10/+8 |
| | |||||
* | runtime bugs in staticHandler | Ben Morrison | 2019-06-11 | 1 | -19/+12 |
| | |||||
* | fixed content-types | Ben Morrison | 2019-06-11 | 1 | -2/+2 |
| | |||||
* | check if behind reverse proxy | Ben Morrison | 2019-06-11 | 1 | -1/+1 |
| | |||||
* | merged indexHandler with cssHandler, updated tests | Ben Morrison | 2019-06-11 | 1 | -37/+32 |
| | |||||
* | refactored http err handling to combine 3 funcs into 1 | Ben Morrison | 2019-06-10 | 1 | -20/+20 |
| | |||||
* | apiEndpointHandler now 404s invalid endpoints, better testing for it | Ben Morrison | 2019-06-09 | 1 | -1/+5 |
| | |||||
* | sqlite functionality added | Ben Morrison | 2019-06-08 | 1 | -6/+1 |
| | |||||
* | cleaned up error handling | Ben Morrison | 2019-06-08 | 1 | -4/+1 |
| | |||||
* | database refs and static assets concurrency-safe | Ben Morrison | 2019-06-08 | 1 | -23/+34 |
| | |||||
* | deduplicated duplicate deduplication functions | Ben Morrison | 2019-06-06 | 1 | -24/+2 |
| | |||||
* | moved bulk of code to its own package to clean up source tree | Ben Morrison | 2019-06-05 | 1 | -0/+228 |