Commit Graph

11 Commits

Author SHA1 Message Date
grumbulon 9d79f5e878 occam's razor moment 2023-03-07 21:24:37 +00:00
grumbulon e0d72ef13b add test stuff 2023-03-07 21:24:37 +00:00
Sam Therapy f0fdd15473
use new import URL
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2023-02-17 19:42:48 +01:00
grumbulon cf1071b389 remove rawFileName from Zone db schema as no longer necessary, removed not needed code, and documentation. Made tests work with new zone file route consolidation. 2023-02-06 14:39:08 +00:00
grumbulon 21db5c4166 add server death if cannot acccess DB with clean shutdown (drains connections), and other error handling, linting. 2023-02-02 18:02:22 -05:00
grumbulon 9d87ae4728 internal.response doesn't includes http status, api tests use header status code now, new generic APIError function 2023-02-01 15:59:34 -05:00
grumbulon b4af648156 make test JWT expire in a minute 2023-01-30 23:24:44 -05:00
grumbulon 78671549c3 I <3 TESTS 2023-01-30 23:23:35 -05:00
grumbulon 5e8ba819bc added read DB path from config, add DB paths to sample config, added render library for JSON responses, removed plaintext password from User struct, made error handler funcs return json and their calls to include http.Request, and made API tests use httptest server 2023-01-30 19:49:52 -05:00
grumbulon 849f5d28fa small oops 2023-01-28 23:41:53 -05:00
grumbulon 9412d8ec28 added user creation, login, and logout test. Linted. Go mod. Adding http.StatusOK const in a few places I noticed it was not in. 2023-01-28 23:39:26 -05:00