pomme/internal/api
Sam Therapy 12b219bf45 Small nitpicks
gitignore: add default zones directory
upload: fix typo in swagger docs
config: simplify default save location
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2023-02-06 14:39:08 +00:00
..
api.go turn into one route 2023-02-06 14:39:08 +00:00
api_test.go 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
auth.go remove unnecessary code, added switch fallthroughs for cleanup. remove status code from response (is in header) 2023-02-01 19:50:41 -05:00
fs.go removed unnecessary byte slice conversions 2023-02-06 14:39:08 +00:00
helpers.go adding sys.go and using /x/sys/unix for killing pomme, because syscall package is deprecated. Added small wrapper for killPomme(). 2023-02-06 14:39:08 +00:00
jwt.go make jwt expiration consistent with cookies 2023-01-20 10:10:27 -05:00
testhelper.go updated swagger docs to look more like Gitea, moved all structs to types.go, removed username from response struct, removed other unnecessary code 2023-02-01 00:36:17 -05:00
types.go 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
users.go 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
zone.go Small nitpicks 2023-02-06 14:39:08 +00:00