Commit graph

10 commits

Author SHA1 Message Date
6ecf051982 add more tests 2023-03-11 09:08:13 -05:00
9d79f5e878 occam's razor moment 2023-03-07 21:24:37 +00:00
f0fdd15473
use new import URL
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2023-02-17 19:42:48 +01: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
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
da5bd54b3e amended the Zone schema, fixed file upload size too small issue, refactoring, and zone file parsing works now 2023-01-09 18:19:07 +00:00
53e8d01cb9 handle file upload, create temp file, write that request made to DB using user/zone_file relation in DB, do other shit I forgot, linting 2023-01-09 18:19:07 +00:00
c3c533558f linted, added a custom web server definition with timeouts, added new type of context key, and added linting to the makefile 2022-12-31 10:05:20 -05:00
fe454dd2c7 Use pure go sqlite instead of the cgo one (#1)
Co-authored-by: Sam Therapy <sam@samtherapy.net>
Reviewed-on: https://git.freecumextremist.com/grumbulon/pomme/pulls/1
2022-12-30 18:04:44 +00:00
2965700048 more auth stuff 2022-12-11 10:54:32 -05:00