summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* added local copy of water.css v0.4.13Ben Morrison2020-04-123-5/+8
|
* Allowing static files to be served directly fromBen Morrison2020-04-123-3/+18
| | | | | | | | | | a directory specified in the config. Added a handler to svc.go:Start() to serve /static/ Added default value in conf.go for "StaticFilesDirectory" in the config file. Read the value of StaticFilesDirectory in config to the config global in conf.go
* clean wasn't removing binary previouslyBen Morrison2020-04-121-0/+1
|
* added static files dir to install section of makefileBen Morrison2020-04-121-1/+1
|
* another source of duplicated statuses fixed v0.4.12Ben Morrison2020-03-161-4/+0
| | | | | | when changing config options, the database would be closed, then reopened, then the data would be pulled into memory. this caused duplicate status entries to form in the registry.
* changing db type/location will no longer work without restartBen Morrison2020-03-161-7/+8
|
* no plans to add support for additional databasesBen Morrison2020-03-161-1/+0
|
* eliminated panic when serving requests from empty registry v0.4.11Ben Morrison2020-03-162-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.
* updated deps:Ben Morrison2020-03-162-7/+28
| | | | | | fsnotify 1.4.7 -> 1.4.9 getwtxt/registry 0.4.1 -> 0.4.2 gorilla/mux 1.7.3 -> 1.7.4
* notice on uninstall that the database remains on diskBen Morrison2020-03-161-0/+2
|
* no need for static builds right nowBen Morrison2020-03-161-1/+1
|
* removed experimental host matching and tls supportBen Morrison2020-03-164-82/+9
|
* building on newer linux imageBen Morrison2020-02-101-1/+1
|
* updated dependenciesBen Morrison2020-02-102-69/+29
|
* version bump for getwtxt/registry dep v0.4.10Ben Morrison2020-02-072-1/+3
|
* leaving db intact on uninstall v0.4.9Ben Morrison2019-12-201-1/+4
|
* minor stylistic change in notesBen Morrison2019-12-191-1/+1
|
* some functions were missing comments. added those in where needed.Ben Morrison2019-12-197-0/+34
|
* decoupled tests from personal twtxt.txtBen Morrison2019-12-195-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.
* added testdata/twtxt.txt for tests to run againstBen Morrison2019-12-191-0/+27
|
* truncating etag v0.4.8Ben Morrison2019-12-191-2/+4
|
* minor refactor of apiEndpointHandler():Ben Morrison2019-12-191-8/+5
| | | | | reduced early returns removed unnecessary switch statement
* including go1.13 in travis confBen Morrison2019-12-191-0/+1
|
* refactored servStatic() to eliminate early returnBen Morrison2019-12-181-8/+13
|
* reduced size of hash for etag to 32bitsBen Morrison2019-12-181-2/+2
|
* switched etags to use fnv hashBen Morrison2019-12-121-10/+14
|
* tick.exit channels now using struct{} instead of boolBen Morrison2019-12-081-4/+4
|
* closeLog channel now accepts struct{} instead of boolBen Morrison2019-12-083-4/+4
|
* updated default logfile paths v0.4.7Ben Morrison2019-09-191-2/+2
|
* Merge branch 'envs-net-patch-upgrade' v0.4.6Ben Morrison2019-08-286-69/+69
|\
| * fix upgrade process andcreme2019-08-286-69/+69
|/ | | | remove trailing spaces
* upgrading notesBen Morrison2019-08-281-6/+33
|
* endpoint for version response v0.4.5Ben Morrison2019-08-283-20/+43
|
* added public instance envs.netBen Morrison2019-08-281-1/+5
|
* added link in notes to twtxt-on-herokuBen Morrison2019-08-271-0/+2
|
* license notice at top of each fileBen Morrison2019-07-1121-0/+399
|
* updated install instructionsBen Morrison2019-06-281-6/+1
|
* updated internal functionality for registry v0.4.0 v0.4.4Ben Morrison2019-06-198-20/+20
|
* updated deps for registry v0.4.0Ben Morrison2019-06-192-6/+6
|
* changes related to registry-v0.3.0 v0.4.3Ben Morrison2019-06-189-22/+22
|
* updated travis for recursive testsBen Morrison2019-06-141-5/+2
|
* prevent potential ddos via circular registry POST v0.4.2Ben Morrison2019-06-141-1/+6
|
* updated config comments, format of makefileBen Morrison2019-06-142-10/+11
|
* on SIGINT, push to DB before shutting downBen Morrison2019-06-132-1/+10
| | | | also logging elapsed time for DB pulls
* refactored tls listenerBen Morrison2019-06-131-3/+18
|
* mutex and readability cleanupBen Morrison2019-06-136-45/+22
|
* moved config warning end-boxBen Morrison2019-06-131-6/+6
| | | | | | | The box lets the user know that options below it are safe to modify while getwtxt is running. The options above it will not take effect without a restart.
* removed mutex from remoteRegistriesBen Morrison2019-06-136-21/+0
| | | | | slices are safe to use concurrently already. leaving as a struct for possible expansion later.
* updated cacheUpdate benchBen Morrison2019-06-131-1/+1
|
* updated deps to use registry v0.2.4Ben Morrison2019-06-132-9/+9
|