|
f0fdd15473
|
use new import URL
Signed-off-by: Sam Therapy <sam@samtherapy.net>
|
2023-02-17 19:42:48 +01:00 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
b4af648156
|
make test JWT expire in a minute
|
2023-01-30 23:24:44 -05:00 |
|
|
78671549c3
|
I <3 TESTS
|
2023-01-30 23:23:35 -05:00 |
|
|
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 |
|
|
849f5d28fa
|
small oops
|
2023-01-28 23:41:53 -05:00 |
|
|
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 |
|