Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | eliminated panic when serving requests from empty registry v0.4.11 | Ben Morrison | 2020-03-16 | 2 | -1/+7 |
| | | | | | | | | | | | 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. | ||||
* | removed experimental host matching and tls support | Ben Morrison | 2020-03-16 | 2 | -59/+3 |
| | |||||
* | some functions were missing comments. added those in where needed. | Ben Morrison | 2019-12-19 | 7 | -0/+34 |
| | |||||
* | decoupled tests from personal twtxt.txt | Ben Morrison | 2019-12-19 | 5 | -25/+25 |
| | | | | | | | | Rather than use my personal twtxt.txt file, I'm using the mocked twtxt.txt file I just added to the repository for test data. It is being fetched via https from github to avoid having to get rid of the url validity check in the associated registry library. | ||||
* | 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 |
| | |||||
* | tick.exit channels now using struct{} instead of bool | Ben Morrison | 2019-12-08 | 1 | -4/+4 |
| | |||||
* | closeLog channel now accepts struct{} instead of bool | Ben Morrison | 2019-12-08 | 3 | -4/+4 |
| | |||||
* | fix upgrade process and | creme | 2019-08-28 | 2 | -30/+30 |
| | | | | remove trailing spaces | ||||
* | endpoint for version response v0.4.5 | Ben Morrison | 2019-08-28 | 2 | -1/+13 |
| | |||||
* | license notice at top of each file | Ben Morrison | 2019-07-11 | 20 | -0/+380 |
| | |||||
* | updated internal functionality for registry v0.4.0 v0.4.4 | Ben Morrison | 2019-06-19 | 8 | -20/+20 |
| | |||||
* | changes related to registry-v0.3.0 v0.4.3 | Ben Morrison | 2019-06-18 | 7 | -13/+13 |
| | |||||
* | prevent potential ddos via circular registry POST v0.4.2 | Ben Morrison | 2019-06-14 | 1 | -1/+6 |
| | |||||
* | on SIGINT, push to DB before shutting down | Ben Morrison | 2019-06-13 | 2 | -1/+10 |
| | | | | also logging elapsed time for DB pulls | ||||
* | refactored tls listener | Ben Morrison | 2019-06-13 | 1 | -3/+18 |
| | |||||
* | mutex and readability cleanup | Ben Morrison | 2019-06-13 | 6 | -45/+22 |
| | |||||
* | removed mutex from remoteRegistries | Ben Morrison | 2019-06-13 | 6 | -21/+0 |
| | | | | | slices are safe to use concurrently already. leaving as a struct for possible expansion later. | ||||
* | updated cacheUpdate bench | Ben Morrison | 2019-06-13 | 1 | -1/+1 |
| | |||||
* | linter warning about func signature | Ben Morrison | 2019-06-13 | 1 | -1/+1 |
| | |||||
* | made svc/ a package instead of a module for ease of development | Ben Morrison | 2019-06-13 | 2 | -215/+0 |
| | |||||
* | added new options to manual | Ben Morrison | 2019-06-12 | 1 | -4/+30 |
| | |||||
* | removed unused func/var | Ben Morrison | 2019-06-12 | 1 | -7/+0 |
| | |||||
* | separate request and message log | Ben Morrison | 2019-06-12 | 5 | -48/+40 |
| | |||||
* | updated deps | Ben Morrison | 2019-06-12 | 2 | -3/+3 |
| | |||||
* | temporarily disabling cacheUpdate test | Ben Morrison | 2019-06-12 | 1 | -0/+5 |
| | |||||
* | more context to cacheUpdate test failure | Ben Morrison | 2019-06-12 | 1 | -1/+1 |
| | |||||
* | testing simple error log function | Ben Morrison | 2019-06-12 | 1 | -0/+15 |
| | |||||
* | tests for most of query.go | Ben Morrison | 2019-06-11 | 1 | -0/+76 |
| | |||||
* | apiPostUser benchmark | Ben Morrison | 2019-06-11 | 1 | -0/+20 |
| | |||||
* | cache.go tests finished | Ben Morrison | 2019-06-11 | 2 | -17/+113 |
| | |||||
* | 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 |
| | |||||
* | added support for TLS and hostname resolution | Ben Morrison | 2019-06-11 | 3 | -7/+40 |
| | |||||
* | check if behind reverse proxy | Ben Morrison | 2019-06-11 | 4 | -10/+28 |
| | |||||
* | merged indexHandler with cssHandler, updated tests | Ben Morrison | 2019-06-11 | 3 | -43/+38 |
| | |||||
* | push() changes v0.3.3 | Ben Morrison | 2019-06-11 | 1 | -3/+0 |
| | |||||
* | updated deps | Ben Morrison | 2019-06-11 | 2 | -135/+6 |
| | |||||
* | readability changes | Ben Morrison | 2019-06-11 | 1 | -6/+0 |
| | |||||
* | readability changes | Ben Morrison | 2019-06-11 | 2 | -32/+21 |
| | |||||
* | moved timed/periodic functions and types to periodic.go | Ben Morrison | 2019-06-11 | 3 | -95/+108 |
| | |||||
* | updated cache benchmarks | Ben Morrison | 2019-06-11 | 1 | -0/+18 |
| | |||||
* | eliminated confObj.LastCache and confObj.LastPush. Unneeded when using ↵ | Ben Morrison | 2019-06-11 | 6 | -38/+10 |
| | | | | ticker for intervals. | ||||
* | cache and db now use time.Ticker for events. refactored some initialization. | Ben Morrison | 2019-06-11 | 5 | -108/+170 |
| | |||||
* | dbLevel.Push() and dbLevel.Pull() now expecting pointer receiver only | Ben Morrison | 2019-06-11 | 1 | -2/+2 |
| | |||||
* | dbSqlite.Push() now updating confObj.LastPush; dbSqlite.Push() and ↵ | Ben Morrison | 2019-06-11 | 1 | -5/+8 |
| | | | | dbSqlite.Pull() now expecting pointer receiver only |