Commit graph

43 commits

Author SHA1 Message Date
e74df20536 fix(deps): update module github.com/go-chi/httprate to v0.7.4 2023-04-15 22:31:55 +00:00
42e30ff0f7 fix(deps): update module github.com/go-chi/httprate to v0.7.3 2023-04-15 15:30:28 +00:00
e6a26fd370 fix(deps): update module github.com/go-chi/httprate to v0.7.2 2023-04-14 16:30:29 +00:00
c59eb7d852 fix(deps): update module github.com/glebarez/sqlite to v1.8.0 2023-04-11 09:30:37 +00:00
40bfd4c473 fix(deps): update module gorm.io/gorm to v1.25.0 2023-04-11 05:30:42 +00:00
3b63d60edc fix(deps): update module golang.org/x/crypto to v0.8.0 2023-04-07 09:30:27 +00:00
09da0d250e fix(deps): update module golang.org/x/sys to v0.7.0 2023-04-04 16:30:26 +00:00
7d8de3b787 fix(deps): update module github.com/go-chi/httplog to v0.3.0 2023-04-04 00:30:26 +00:00
6e557c77d1 fix(deps): update module github.com/miekg/dns to v1.1.53 2023-03-28 18:30:31 +00:00
549c25493f fix(deps): update module github.com/swaggo/swag to v1.8.12 2023-03-28 14:30:45 +00:00
9a216eee94 fix(deps): update module github.com/swaggo/http-swagger/v2 to v2.0.1 2023-03-27 14:30:55 +00:00
65eded0296 fix(deps): update module github.com/swaggo/swag to v1.8.11 2023-03-21 13:30:34 +00:00
50da03905b fix(deps): update module github.com/swaggo/http-swagger to v2 2023-03-20 22:32:11 +00:00
d6badfaf48 fix(deps): update module github.com/swaggo/http-swagger to v1.3.4 2023-03-17 20:30:31 +00:00
ac8bf8f807 fix(deps): update module github.com/miekg/dns to v1.1.52 2023-03-12 11:30:33 +00:00
19402166da
fix(deps): go mod tidy + dep update
Closes (obsoletes) #58
2023-03-07 22:21:09 +01:00
acc22f53af fix(deps): update module golang.org/x/sys to v0.6.0 2023-03-07 21:19:06 +00:00
f0c55984f4 fix(deps): update module gorm.io/gorm to v1.24.6 2023-03-02 18:30:30 +00:00
eab00c825f fix(deps): update module github.com/miekg/dns to v1.1.51 2023-02-28 16:30:54 +00:00
10de80a3b3 fix(deps): update module github.com/stretchr/testify to v1.8.2 2023-02-28 15:49:33 +00:00
9892433e3c messed with les generics again 2023-02-28 00:45:57 -05: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