about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* remove remote registry list push to leveldb because that doesn't work right now HEAD v0.5.0 masterBenjamin Morrison2021-10-211-3/+3
|
* exit if admin password is emptyBenjamin Morrison2021-10-211-1/+1
|
* Merge pull request #15 from getwtxt/delete-userBenjamin Morrison2021-10-2115-6/+171
|\ | | | | Delete user endpoint with admin pass
| * delete a user, new config option for admin pass. pass is bcrypt hashed on ↵Benjamin Morrison2021-10-2110-6/+96
| | | | | | | | startup and not stored in plaintext.
| * config for admin password, store bcrypt hash in confObjBenjamin Morrison2021-10-217-1/+76
|/
* removed unnecessary 'update' target from MakefileBenjamin Morrison2020-07-121-6/+0
|
* updated the upgrade instructionsBenjamin Morrison2020-07-121-38/+36
| | | | | removed mention of backing up the config file. the makefile doesn't overwrite config files any longer.
* dealing with time is hard v0.4.15Ben Morrison2020-06-251-1/+13
|
* handling datetime edge case where seconds are missingBen Morrison2020-06-241-0/+5
|
* makefile now safely installs over older versionsBen Morrison2020-06-231-4/+6
| | | | | | checks for existence of getwtxt.yml, style.css, and index.html. these files won't be overwritten, but the user is notified to merge them manually.
* fixed test case for fetching remote registry dataBen Morrison2020-06-211-1/+1
|
* conditionally parsing datestamp as either rfc3339Nano or rfc3339 v0.4.14Ben Morrison2020-06-212-19/+7
|
* codeclimate is misbehaving - disabling for nowBen Morrison2020-06-201-8/+0
|
* removed github issue templateBen Morrison2020-06-202-47/+0
|
* clarified mailing list for patches/discussionBen Morrison2020-06-201-1/+1
|
* added go1.14.x to travis build manifestBen Morrison2020-06-201-0/+1
|
* remove border from anchor links in navBen Morrison2020-06-201-1/+1
|
* updated makefile to use printfBen Morrison2020-06-201-47/+31
|
* updated readme to reflect sourcehutBen Morrison2020-06-201-45/+30
|
* fixed build manifestBen Morrison2020-06-202-6/+2
| | | | wasn't reading test files of child modules
* updating module to live at sourcehutBen Morrison2020-06-2038-89/+2493
| | | | | | Also moving the 'registry' library into this repo, rather than maintaining them separately. It will still be decoupled, just live in this repository.
* 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
|