Commit graph

19 commits

Author SHA1 Message Date
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
e363c83009 if already logged in return on login func and generate cookie for newly created users -- ensure all redirect to index 2023-01-09 18:19:07 +00:00
6e8f401e70 refactor, lint, refactor, lint, refactor, etc. Added config path for hashing secret, and a few other things 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
c005016cb2 adding error returns or else bad things happen and adding max cookie age of 1 hr 2023-01-05 19:15:15 -05:00
ff24f2e713 fix error message 2022-12-31 13:31:37 -05:00
ec4a7ed396 fixed a big oops 2022-12-31 13:23:09 -05: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
11692efdd1 small response stuff 2022-12-30 23:22:44 -05:00
f469d20e06 move files around, make sure cookies work, and add logout 2022-12-30 23:15:09 -05:00
c7893eb38e do the jwt shit 2022-12-30 21:48:01 -05:00
e4236f235f add gorm chi middleware and fix up create and login functions 2022-12-30 19:47:47 -05:00
3771eaedfd frontend :)
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-12-30 18:24:51 +00: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
93b9f23a25 handle incoming requests of zonefiles somewhat 2022-12-11 22:15:35 -05:00
2965700048 more auth stuff 2022-12-11 10:54:32 -05:00
06210317dd database thing 2022-12-11 01:57:53 -05:00
11e6900e1d switched from mux to Chi for way better auth middleware support, started building out auth flow, and a few other things 2022-12-11 01:10:02 -05:00
cd09dc190a initial commit 2022-12-02 21:15:49 -05:00