Commit graph

24 commits

Author SHA1 Message Date
9892433e3c messed with les generics again 2023-02-28 00:45:57 -05:00
f0fdd15473
use new import URL
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2023-02-17 19:42:48 +01:00
9800801544 fix(deps): update module github.com/glebarez/sqlite to v1.7.0 2023-02-13 19:30:29 +00:00
5c6511b99f fix(deps): update module golang.org/x/crypto to v0.6.0 2023-02-09 17:30:29 +00:00
e5aa88fa39 fix(deps): update module golang.org/x/sys to v0.5.0 2023-02-08 22:31:31 +00:00
b8d4af58c8 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
ecf6514b74 fix(deps): update module gorm.io/gorm to v1.24.5 2023-02-03 14:30:29 +00: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
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
592807e18c fix(deps): update module github.com/swaggo/swag to v1.8.10 2023-01-27 13:30:31 +00:00
6c709b97a1 add rate limiting 2023-01-20 18:29:33 -05:00
c59553184a added swagger docs, turn nolintlint OFF, and documented API routes in Swagger 2023-01-20 16:53:11 -05:00
002787c1fc add logging to internal server error 2023-01-20 09:34:01 -05: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
0e09ff1856 fix(deps): update module gorm.io/gorm to v1.24.3 2023-01-06 14:30:27 +00:00
76bda66fdb fix(deps): update module golang.org/x/crypto to v0.5.0 2023-01-06 00:30:43 +00:00
c7893eb38e do the jwt shit 2022-12-30 21:48:01 -05:00
5fa55b22e1
autism: go mod tidy
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-12-30 22:55:12 +01: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