From 6e0ca50953f70389d6a917f4bbab04688b00655f Mon Sep 17 00:00:00 2001 From: Jonni Liljamo Date: Mon, 30 Sep 2024 13:42:30 +0300 Subject: [PATCH] chore: update mod name and dependencies --- cmd/felu/main.go | 10 +- flake.lock | 8 +- flake.nix | 2 +- go.mod | 59 +++++------ go.sum | 122 +++++++++++------------ internal/api/update.go | 4 +- internal/components/adminpartials.templ | 2 +- internal/components/base.templ | 2 +- internal/components/manage.templ | 2 +- internal/components/managepartials.templ | 2 +- internal/config/config.go | 2 +- internal/db/db.go | 2 +- internal/db/domains.go | 2 +- internal/dns/query.go | 2 +- internal/dns/server.go | 2 +- internal/handlers/admin.go | 2 +- internal/handlers/adminpartials.go | 4 +- internal/handlers/auth.go | 2 +- internal/handlers/domains.go | 4 +- internal/handlers/index.go | 2 +- internal/handlers/login.go | 2 +- internal/handlers/manage.go | 4 +- internal/handlers/managepartials.go | 4 +- internal/handlers/user.go | 2 +- internal/handlers/users.go | 2 +- internal/middlewares/admin.go | 2 +- internal/routers/api.go | 4 +- internal/routers/frontend.go | 8 +- 28 files changed, 129 insertions(+), 136 deletions(-) diff --git a/cmd/felu/main.go b/cmd/felu/main.go index faa6cf8..fe66827 100644 --- a/cmd/felu/main.go +++ b/cmd/felu/main.go @@ -15,11 +15,11 @@ import ( "strconv" "time" - "git.src.quest/~skye/felu-ddns/internal/config" - "git.src.quest/~skye/felu-ddns/internal/db" - "git.src.quest/~skye/felu-ddns/internal/dns" - "git.src.quest/~skye/felu-ddns/internal/log" - "git.src.quest/~skye/felu-ddns/internal/routers" + "git.src.quest/~liljamo/felu/internal/config" + "git.src.quest/~liljamo/felu/internal/db" + "git.src.quest/~liljamo/felu/internal/dns" + "git.src.quest/~liljamo/felu/internal/log" + "git.src.quest/~liljamo/felu/internal/routers" "github.com/alexedwards/scs/v2" "golang.org/x/sync/errgroup" ) diff --git a/flake.lock b/flake.lock index 9893449..aa17cd7 100644 --- a/flake.lock +++ b/flake.lock @@ -242,16 +242,16 @@ "xc": "xc" }, "locked": { - "lastModified": 1709294205, - "narHash": "sha256-jMoAocMDq8U1JsYoH3PFzZbnjSAzhifLwNZoKY+ambA=", + "lastModified": 1725786353, + "narHash": "sha256-lU8aVTw73HX0lNGPyD8Xnvtnr2VFTXv/S6xCVn6Lg74=", "owner": "a-h", "repo": "templ", - "rev": "2a7ab8400e6e3813a650bb7e4618ef9eddebe2b1", + "rev": "e2511cd57e5ecd28ce6e3d944c87f1e31e20b596", "type": "github" }, "original": { "owner": "a-h", - "ref": "tags/v0.2.598", + "ref": "tags/v0.2.778", "repo": "templ", "type": "github" } diff --git a/flake.nix b/flake.nix index bf33c75..d36f509 100644 --- a/flake.nix +++ b/flake.nix @@ -17,7 +17,7 @@ }; templ = { - url = "github:a-h/templ?ref=tags/v0.2.598"; + url = "github:a-h/templ?ref=tags/v0.2.778"; inputs.nixpkgs.follows = "nixpkgs"; }; }; diff --git a/go.mod b/go.mod index cc0cd14..2d4cfec 100644 --- a/go.mod +++ b/go.mod @@ -1,50 +1,51 @@ -module git.src.quest/~skye/felu-ddns +module git.src.quest/~liljamo/felu -go 1.21 +go 1.22.0 -toolchain go1.21.7 +toolchain go1.22.7 require ( - git.src.quest/~skye/erya-go v0.0.0-20231011145529-3201c2bf8ec7 - github.com/a-h/templ v0.2.598 - github.com/alexedwards/scs/v2 v2.7.0 - github.com/gin-gonic/gin v1.9.1 - github.com/matthewhartstonge/argon2 v1.0.0 - github.com/mattn/go-sqlite3 v1.14.22 - github.com/miekg/dns v1.1.58 + git.src.quest/~liljamo/erya-go v0.0.0-20240930103226-eabe15b55b1b + github.com/a-h/templ v0.2.778 + github.com/alexedwards/scs/v2 v2.8.0 + github.com/gin-gonic/gin v1.10.0 + github.com/matthewhartstonge/argon2 v1.0.1 + github.com/mattn/go-sqlite3 v1.14.23 + github.com/miekg/dns v1.1.62 github.com/oklog/ulid/v2 v2.1.0 - golang.org/x/sync v0.6.0 + golang.org/x/sync v0.8.0 ) require ( - github.com/bytedance/sonic v1.10.2 // indirect - github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d // indirect - github.com/chenzhuoyu/iasm v0.9.0 // indirect - github.com/gabriel-vasile/mimetype v1.4.2 // indirect + github.com/bytedance/sonic v1.12.3 // indirect + github.com/bytedance/sonic/loader v0.2.0 // indirect + github.com/cloudwego/base64x v0.1.4 // indirect + github.com/cloudwego/iasm v0.2.0 // indirect + github.com/gabriel-vasile/mimetype v1.4.5 // indirect github.com/gin-contrib/sse v0.1.0 // indirect github.com/go-playground/locales v0.14.1 // indirect github.com/go-playground/universal-translator v0.18.1 // indirect - github.com/go-playground/validator/v10 v10.15.5 // indirect - github.com/goccy/go-json v0.10.2 // indirect + github.com/go-playground/validator/v10 v10.22.1 // indirect + github.com/goccy/go-json v0.10.3 // indirect github.com/json-iterator/go v1.1.12 // indirect - github.com/klauspost/cpuid/v2 v2.2.5 // indirect + github.com/klauspost/cpuid/v2 v2.2.8 // indirect github.com/kr/pretty v0.3.1 // indirect - github.com/leodido/go-urn v1.2.4 // indirect + github.com/leodido/go-urn v1.4.0 // indirect github.com/mattn/go-isatty v0.0.20 // indirect github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect github.com/modern-go/reflect2 v1.0.2 // indirect - github.com/pelletier/go-toml/v2 v2.1.0 // indirect + github.com/pelletier/go-toml/v2 v2.2.3 // indirect github.com/rogpeppe/go-internal v1.11.0 // indirect github.com/twitchyliquid64/golang-asm v0.15.1 // indirect - github.com/ugorji/go/codec v1.2.11 // indirect - golang.org/x/arch v0.5.0 // indirect - golang.org/x/crypto v0.18.0 // indirect - golang.org/x/mod v0.14.0 // indirect - golang.org/x/net v0.20.0 // indirect - golang.org/x/sys v0.16.0 // indirect - golang.org/x/text v0.14.0 // indirect - golang.org/x/tools v0.17.0 // indirect - google.golang.org/protobuf v1.31.0 // indirect + github.com/ugorji/go/codec v1.2.12 // indirect + golang.org/x/arch v0.10.0 // indirect + golang.org/x/crypto v0.27.0 // indirect + golang.org/x/mod v0.21.0 // indirect + golang.org/x/net v0.29.0 // indirect + golang.org/x/sys v0.25.0 // indirect + golang.org/x/text v0.18.0 // indirect + golang.org/x/tools v0.25.0 // indirect + google.golang.org/protobuf v1.34.2 // indirect gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) diff --git a/go.sum b/go.sum index 1a88f13..07529d1 100644 --- a/go.sum +++ b/go.sum @@ -1,49 +1,46 @@ -git.src.quest/~skye/erya-go v0.0.0-20231011145529-3201c2bf8ec7 h1:gWLmY6ctJQ5Ai3TYmmmURac39QebNYVn34y7m3zOY1I= -git.src.quest/~skye/erya-go v0.0.0-20231011145529-3201c2bf8ec7/go.mod h1:RY9TiE6xOBUzCrej1BjSRdvfyL45VKB2fsXjTDT/d/A= -github.com/a-h/templ v0.2.598 h1:6jMIHv6wQZvdPxTuv87erW4RqN/FPU0wk7ZHN5wVuuo= -github.com/a-h/templ v0.2.598/go.mod h1:SA7mtYwVEajbIXFRh3vKdYm/4FYyLQAtPH1+KxzGPA8= -github.com/alexedwards/scs/v2 v2.7.0 h1:DY4rqLCM7UIR9iwxFS0++z1NhTzQlKV30aMHkJCDWKw= -github.com/alexedwards/scs/v2 v2.7.0/go.mod h1:ToaROZxyKukJKT/xLcVQAChi5k6+Pn1Gvmdl7h3RRj8= -github.com/bytedance/sonic v1.5.0/go.mod h1:ED5hyg4y6t3/9Ku1R6dU/4KyJ48DZ4jPhfY1O2AihPM= -github.com/bytedance/sonic v1.10.0-rc/go.mod h1:ElCzW+ufi8qKqNW0FY314xriJhyJhuoJ3gFZdAHF7NM= -github.com/bytedance/sonic v1.10.2 h1:GQebETVBxYB7JGWJtLBi07OVzWwt+8dWA00gEVW2ZFE= -github.com/bytedance/sonic v1.10.2/go.mod h1:iZcSUejdk5aukTND/Eu/ivjQuEL0Cu9/rf50Hi0u/g4= -github.com/chenzhuoyu/base64x v0.0.0-20211019084208-fb5309c8db06/go.mod h1:DH46F32mSOjUmXrMHnKwZdA8wcEefY7UVqBKYGjpdQY= -github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311/go.mod h1:b583jCggY9gE99b6G5LEC39OIiVsWj+R97kbl5odCEk= -github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d h1:77cEq6EriyTZ0g/qfRdp61a3Uu/AWrgIq2s0ClJV1g0= -github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d/go.mod h1:8EPpVsBuRksnlj1mLy4AWzRNQYxauNi62uWcE3to6eA= -github.com/chenzhuoyu/iasm v0.9.0 h1:9fhXjVzq5hUy2gkhhgHl95zG2cEAhw9OSGs8toWWAwo= -github.com/chenzhuoyu/iasm v0.9.0/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog= +git.src.quest/~liljamo/erya-go v0.0.0-20240930103226-eabe15b55b1b h1:xsnHsfYymHJuwAtD0cVYt9jTGGNPQxrmtqc+p0cZ1ys= +git.src.quest/~liljamo/erya-go v0.0.0-20240930103226-eabe15b55b1b/go.mod h1:TjJ5LBVd1o19aPab3dJ6Xu7nn/nY0158xbg2FXvN0tk= +github.com/a-h/templ v0.2.778 h1:VzhOuvWECrwOec4790lcLlZpP4Iptt5Q4K9aFxQmtaM= +github.com/a-h/templ v0.2.778/go.mod h1:lq48JXoUvuQrU0VThrK31yFwdRjTCnIE5bcPCM9IP1w= +github.com/alexedwards/scs/v2 v2.8.0 h1:h31yUYoycPuL0zt14c0gd+oqxfRwIj6SOjHdKRZxhEw= +github.com/alexedwards/scs/v2 v2.8.0/go.mod h1:ToaROZxyKukJKT/xLcVQAChi5k6+Pn1Gvmdl7h3RRj8= +github.com/bytedance/sonic v1.12.3 h1:W2MGa7RCU1QTeYRTPE3+88mVC0yXmsRQRChiyVocVjU= +github.com/bytedance/sonic v1.12.3/go.mod h1:B8Gt/XvtZ3Fqj+iSKMypzymZxw/FVwgIGKzMzT9r/rk= +github.com/bytedance/sonic/loader v0.1.1/go.mod h1:ncP89zfokxS5LZrJxl5z0UJcsk4M4yY2JpfqGeCtNLU= +github.com/bytedance/sonic/loader v0.2.0 h1:zNprn+lsIP06C/IqCHs3gPQIvnvpKbbxyXQP1iU4kWM= +github.com/bytedance/sonic/loader v0.2.0/go.mod h1:ncP89zfokxS5LZrJxl5z0UJcsk4M4yY2JpfqGeCtNLU= +github.com/cloudwego/base64x v0.1.4 h1:jwCgWpFanWmN8xoIUHa2rtzmkd5J2plF/dnLS6Xd/0Y= +github.com/cloudwego/base64x v0.1.4/go.mod h1:0zlkT4Wn5C6NdauXdJRhSKRlJvmclQ1hhJgA0rcu/8w= +github.com/cloudwego/iasm v0.2.0 h1:1KNIy1I1H9hNNFEEH3DVnI4UujN+1zjpuk6gwHLTssg= +github.com/cloudwego/iasm v0.2.0/go.mod h1:8rXZaNYT2n95jn+zTI1sDr+IgcD2GVs0nlbbQPiEFhY= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/gabriel-vasile/mimetype v1.4.2 h1:w5qFW6JKBz9Y393Y4q372O9A7cUSequkh1Q7OhCmWKU= -github.com/gabriel-vasile/mimetype v1.4.2/go.mod h1:zApsH/mKG4w07erKIaJPFiX0Tsq9BFQgN3qGY5GnNgA= +github.com/gabriel-vasile/mimetype v1.4.5 h1:J7wGKdGu33ocBOhGy0z653k/lFKLFDPJMG8Gql0kxn4= +github.com/gabriel-vasile/mimetype v1.4.5/go.mod h1:ibHel+/kbxn9x2407k1izTA1S81ku1z/DlgOW2QE0M4= github.com/gin-contrib/sse v0.1.0 h1:Y/yl/+YNO8GZSjAhjMsSuLt29uWRFHdHYUb5lYOV9qE= github.com/gin-contrib/sse v0.1.0/go.mod h1:RHrZQHXnP2xjPF+u1gW/2HnVO7nvIa9PG3Gm+fLHvGI= -github.com/gin-gonic/gin v1.9.1 h1:4idEAncQnU5cB7BeOkPtxjfCSye0AAm1R0RVIqJ+Jmg= -github.com/gin-gonic/gin v1.9.1/go.mod h1:hPrL7YrpYKXt5YId3A/Tnip5kqbEAP+KLuI3SUcPTeU= +github.com/gin-gonic/gin v1.10.0 h1:nTuyha1TYqgedzytsKYqna+DfLos46nTv2ygFy86HFU= +github.com/gin-gonic/gin v1.10.0/go.mod h1:4PMNQiOhvDRa013RKVbsiNwoyezlm2rm0uX/T7kzp5Y= github.com/go-playground/assert/v2 v2.2.0 h1:JvknZsQTYeFEAhQwI4qEt9cyV5ONwRHC+lYKSsYSR8s= github.com/go-playground/assert/v2 v2.2.0/go.mod h1:VDjEfimB/XKnb+ZQfWdccd7VUvScMdVu0Titje2rxJ4= github.com/go-playground/locales v0.14.1 h1:EWaQ/wswjilfKLTECiXz7Rh+3BjFhfDFKv/oXslEjJA= github.com/go-playground/locales v0.14.1/go.mod h1:hxrqLVvrK65+Rwrd5Fc6F2O76J/NuW9t0sjnWqG1slY= github.com/go-playground/universal-translator v0.18.1 h1:Bcnm0ZwsGyWbCzImXv+pAJnYK9S473LQFuzCbDbfSFY= github.com/go-playground/universal-translator v0.18.1/go.mod h1:xekY+UJKNuX9WP91TpwSH2VMlDf28Uj24BCp08ZFTUY= -github.com/go-playground/validator/v10 v10.15.5 h1:LEBecTWb/1j5TNY1YYG2RcOUN3R7NLylN+x8TTueE24= -github.com/go-playground/validator/v10 v10.15.5/go.mod h1:9iXMNT7sEkjXb0I+enO7QXmzG6QCsPWY4zveKFVRSyU= -github.com/goccy/go-json v0.10.2 h1:CrxCmQqYDkv1z7lO7Wbh2HN93uovUHgrECaO5ZrCXAU= -github.com/goccy/go-json v0.10.2/go.mod h1:6MelG93GURQebXPDq3khkgXZkazVtN9CRI+MGFi0w8I= -github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= -github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/go-playground/validator/v10 v10.22.1 h1:40JcKH+bBNGFczGuoBYgX4I6m/i27HYW8P9FDk5PbgA= +github.com/go-playground/validator/v10 v10.22.1/go.mod h1:dbuPbCMFw/DrkbEynArYaCwl3amGuJotoKCe95atGMM= +github.com/goccy/go-json v0.10.3 h1:KZ5WoDbxAIgm2HNbYckL0se1fHD6rz5j4ywS6ebzDqA= +github.com/goccy/go-json v0.10.3/go.mod h1:oq7eo15ShAhp70Anwd5lgX2pLfOS3QCiwU/PULtXL6M= github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM= github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo= github.com/klauspost/cpuid/v2 v2.0.9/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg= -github.com/klauspost/cpuid/v2 v2.2.5 h1:0E5MSMDEoAulmXNFquVs//DdoomxaoTY1kUhbc/qbZg= -github.com/klauspost/cpuid/v2 v2.2.5/go.mod h1:Lcz8mBdAVJIBVzewtcLocK12l3Y+JytZYpaMropDUws= +github.com/klauspost/cpuid/v2 v2.2.8 h1:+StwCXwm9PdpiEkPyzBXIy+M9KUb4ODm0Zarf1kS5BM= +github.com/klauspost/cpuid/v2 v2.2.8/go.mod h1:Lcz8mBdAVJIBVzewtcLocK12l3Y+JytZYpaMropDUws= github.com/knz/go-libedit v1.10.1/go.mod h1:MZTVkCWyz0oBc7JOWP3wNAzd002ZbM/5hgShxwh4x8M= github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= @@ -52,16 +49,16 @@ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= -github.com/leodido/go-urn v1.2.4 h1:XlAE/cm/ms7TE/VMVoduSpNBoyc2dOxHs5MZSwAN63Q= -github.com/leodido/go-urn v1.2.4/go.mod h1:7ZrI8mTSeBSHl/UaRyKQW1qZeMgak41ANeCNaVckg+4= -github.com/matthewhartstonge/argon2 v1.0.0 h1:e65fkae6O8Na6YTy2HAccUbXR+GQHOnpQxeWGqWCRIw= -github.com/matthewhartstonge/argon2 v1.0.0/go.mod h1:Fm4FHZxdxCM6hg21Jkz3YZVKnU7VnTlqDQ3ghS/Myok= +github.com/leodido/go-urn v1.4.0 h1:WT9HwE9SGECu3lg4d/dIA+jxlljEa1/ffXKmRjqdmIQ= +github.com/leodido/go-urn v1.4.0/go.mod h1:bvxc+MVxLKB4z00jd1z+Dvzr47oO32F/QSNjSBOlFxI= +github.com/matthewhartstonge/argon2 v1.0.1 h1:8qS0e9r3Bvt5WA+BO9Yt76NtUaETgL7H/F8NllTJ6KQ= +github.com/matthewhartstonge/argon2 v1.0.1/go.mod h1:CzteZmavdLPazbIKiOQqJT42rrpDnN1OoZB+GGSvt84= github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY= github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= -github.com/mattn/go-sqlite3 v1.14.22 h1:2gZY6PC6kBnID23Tichd1K+Z0oS6nE/XwU+Vz/5o4kU= -github.com/mattn/go-sqlite3 v1.14.22/go.mod h1:Uh1q+B4BYcTPb+yiD3kU8Ct7aC0hY9fxUwlHK0RXw+Y= -github.com/miekg/dns v1.1.58 h1:ca2Hdkz+cDg/7eNF6V56jjzuZ4aCAE+DbVkILdQWG/4= -github.com/miekg/dns v1.1.58/go.mod h1:Ypv+3b/KadlvW9vJfXOTf300O4UqaHFzFCuHz+rPkBY= +github.com/mattn/go-sqlite3 v1.14.23 h1:gbShiuAP1W5j9UOksQ06aiiqPMxYecovVGwmTxWtuw0= +github.com/mattn/go-sqlite3 v1.14.23/go.mod h1:Uh1q+B4BYcTPb+yiD3kU8Ct7aC0hY9fxUwlHK0RXw+Y= +github.com/miekg/dns v1.1.62 h1:cN8OuEF1/x5Rq6Np+h1epln8OiyPWV+lROx9LxcGgIQ= +github.com/miekg/dns v1.1.62/go.mod h1:mvDlcItzm+br7MToIKqkglaGhlFMHJ9DTNNWONWXbNQ= github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg= github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= @@ -70,8 +67,8 @@ github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjY github.com/oklog/ulid/v2 v2.1.0 h1:+9lhoxAP56we25tyYETBBY1YLA2SaoLvUFgrP2miPJU= github.com/oklog/ulid/v2 v2.1.0/go.mod h1:rcEKHmBBKfef9DhnvX7y1HZBYxjXb0cP5ExxNsTT1QQ= github.com/pborman/getopt v0.0.0-20170112200414-7148bc3a4c30/go.mod h1:85jBQOZwpVEaDAr341tbn15RS4fCAsIst0qp7i8ex1o= -github.com/pelletier/go-toml/v2 v2.1.0 h1:FnwAJ4oYMvbT/34k9zzHuZNrhlz48GB3/s6at6/MHO4= -github.com/pelletier/go-toml/v2 v2.1.0/go.mod h1:tJU2Z3ZkXwnxa4DPO899bsyIoywizdUvyaeZurnPPDc= +github.com/pelletier/go-toml/v2 v2.2.3 h1:YmeHyLY8mFWbdkNWwpr+qIL2bEqT0o95WSdkNHvL12M= +github.com/pelletier/go-toml/v2 v2.2.3/go.mod h1:MfCQTFTvCcUyyvvwm1+G6H/jORL20Xlb6rzQu9GuUkc= github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= @@ -86,36 +83,32 @@ github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/ github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= -github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= -github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= -github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= +github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= +github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= github.com/twitchyliquid64/golang-asm v0.15.1 h1:SU5vSMR7hnwNxj24w34ZyCi/FmDZTkS4MhqMhdFk5YI= github.com/twitchyliquid64/golang-asm v0.15.1/go.mod h1:a1lVb/DtPvCB8fslRZhAngC2+aY1QWCk3Cedj/Gdt08= -github.com/ugorji/go/codec v1.2.11 h1:BMaWp1Bb6fHwEtbplGBGJ498wD+LKlNSl25MjdZY4dU= -github.com/ugorji/go/codec v1.2.11/go.mod h1:UNopzCgEMSXjBc6AOMqYvWC1ktqTAfzJZUZgYf6w6lg= -golang.org/x/arch v0.0.0-20210923205945-b76863e36670/go.mod h1:5om86z9Hs0C8fWVUuoMHwpExlXzs5Tkyp9hOrfG7pp8= -golang.org/x/arch v0.5.0 h1:jpGode6huXQxcskEIpOCvrU+tzo81b6+oFLUYXWtH/Y= -golang.org/x/arch v0.5.0/go.mod h1:5om86z9Hs0C8fWVUuoMHwpExlXzs5Tkyp9hOrfG7pp8= -golang.org/x/crypto v0.18.0 h1:PGVlW0xEltQnzFZ55hkuX5+KLyrMYhHld1YHO4AKcdc= -golang.org/x/crypto v0.18.0/go.mod h1:R0j02AL6hcrfOiy9T4ZYp/rcWeMxM3L6QYxlOuEG1mg= -golang.org/x/mod v0.14.0 h1:dGoOF9QVLYng8IHTm7BAyWqCqSheQ5pYWGhzW00YJr0= -golang.org/x/mod v0.14.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= -golang.org/x/net v0.20.0 h1:aCL9BSgETF1k+blQaYUBx9hJ9LOGP3gAVemcZlf1Kpo= -golang.org/x/net v0.20.0/go.mod h1:z8BVo6PvndSri0LbOE3hAn0apkU+1YvI6E70E9jsnvY= -golang.org/x/sync v0.6.0 h1:5BMeUDZ7vkXGfEr1x9B4bRcTH4lpkTkpdh0T/J+qjbQ= -golang.org/x/sync v0.6.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= +github.com/ugorji/go/codec v1.2.12 h1:9LC83zGrHhuUA9l16C9AHXAqEV/2wBQ4nkvumAE65EE= +github.com/ugorji/go/codec v1.2.12/go.mod h1:UNopzCgEMSXjBc6AOMqYvWC1ktqTAfzJZUZgYf6w6lg= +golang.org/x/arch v0.10.0 h1:S3huipmSclq3PJMNe76NGwkBR504WFkQ5dhzWzP8ZW8= +golang.org/x/arch v0.10.0/go.mod h1:FEVrYAQjsQXMVJ1nsMoVVXPZg6p2JE2mx8psSWTDQys= +golang.org/x/crypto v0.27.0 h1:GXm2NjJrPaiv/h1tb2UH8QfgC/hOf/+z0p6PT8o1w7A= +golang.org/x/crypto v0.27.0/go.mod h1:1Xngt8kV6Dvbssa53Ziq6Eqn0HqbZi5Z6R0ZpwQzt70= +golang.org/x/mod v0.21.0 h1:vvrHzRwRfVKSiLrG+d4FMl/Qi4ukBCE6kZlTUkDYRT0= +golang.org/x/mod v0.21.0/go.mod h1:6SkKJ3Xj0I0BrPOZoBy3bdMptDDU9oJrpohJ3eWZ1fY= +golang.org/x/net v0.29.0 h1:5ORfpBpCs4HzDYoodCDBbwHzdR5UrLBZ3sOnUJmFoHo= +golang.org/x/net v0.29.0/go.mod h1:gLkgy8jTGERgjzMic6DS9+SP0ajcu6Xu3Orq/SpETg0= +golang.org/x/sync v0.8.0 h1:3NFvSEYkUoMifnESzZl15y791HH1qU2xm6eCJU5ZPXQ= +golang.org/x/sync v0.8.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.16.0 h1:xWw16ngr6ZMtmxDyKyIgsE93KNKz5HKmMa3b8ALHidU= -golang.org/x/sys v0.16.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= -golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= -golang.org/x/tools v0.17.0 h1:FvmRgNOcs3kOa+T20R1uhfP9F6HgG2mfxDv1vrx1Htc= -golang.org/x/tools v0.17.0/go.mod h1:xsh6VxdV005rRVaS6SSAf9oiAqljS7UZUacMZ8Bnsps= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= -google.golang.org/protobuf v1.31.0 h1:g0LDEJHgrBl9N9r17Ru3sqWhkIx2NB67okBHPwC7hs8= -google.golang.org/protobuf v1.31.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= +golang.org/x/sys v0.25.0 h1:r+8e+loiHxRqhXVl6ML1nO3l1+oFoWbnlu2Ehimmi34= +golang.org/x/sys v0.25.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/text v0.18.0 h1:XvMDiNzPAl0jr17s6W9lcaIhGUfUORdGCNsuLmPG224= +golang.org/x/text v0.18.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY= +golang.org/x/tools v0.25.0 h1:oFU9pkj/iJgs+0DT+VMHrx+oBKs/LJMV+Uvg78sl+fE= +golang.org/x/tools v0.25.0/go.mod h1:/vtpO8WL1N9cQC3FN5zPqb//fRXskFHbLKk4OW1Q7rg= +google.golang.org/protobuf v1.34.2 h1:6xV6lTsCfpGD21XK49h7MhtcApnLqkfYgPcdHftf6hg= +google.golang.org/protobuf v1.34.2/go.mod h1:qYOHts0dSfpeUzUFpOMr/WGzszTmLH+DiWniOlNbLDw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= @@ -123,4 +116,3 @@ gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= nullprogram.com/x/optparse v1.0.0/go.mod h1:KdyPE+Igbe0jQUrVfMqDMeJQIJZEuyV7pjYmp6pbG50= -rsc.io/pdf v0.1.1/go.mod h1:n8OzWcQ6Sp37PL01nO98y4iUCRdTGarVfzxY20ICaU4= diff --git a/internal/api/update.go b/internal/api/update.go index ed436b8..18947be 100644 --- a/internal/api/update.go +++ b/internal/api/update.go @@ -11,8 +11,8 @@ package api import ( "net/http" - "git.src.quest/~skye/felu-ddns/internal/db" - "git.src.quest/~skye/felu-ddns/internal/util" + "git.src.quest/~liljamo/felu/internal/db" + "git.src.quest/~liljamo/felu/internal/util" "github.com/gin-gonic/gin" ) diff --git a/internal/components/adminpartials.templ b/internal/components/adminpartials.templ index 5ee5d9b..e2c7c0c 100644 --- a/internal/components/adminpartials.templ +++ b/internal/components/adminpartials.templ @@ -1,6 +1,6 @@ package components -import "git.src.quest/~skye/felu-ddns/internal/db" +import "git.src.quest/~liljamo/felu/internal/db" import "strconv" templ AdminPartialUsersList(users []db.User) { diff --git a/internal/components/base.templ b/internal/components/base.templ index f90c587..958bb4f 100644 --- a/internal/components/base.templ +++ b/internal/components/base.templ @@ -1,6 +1,6 @@ package components -import "git.src.quest/~skye/felu-ddns/internal/config" +import "git.src.quest/~liljamo/felu/internal/config" func serviceName() string { return config.FeluConfig.ServiceName diff --git a/internal/components/manage.templ b/internal/components/manage.templ index 1a184eb..790d829 100644 --- a/internal/components/manage.templ +++ b/internal/components/manage.templ @@ -1,6 +1,6 @@ package components -import "git.src.quest/~skye/felu-ddns/internal/config" +import "git.src.quest/~liljamo/felu/internal/config" import "fmt" func getDomainPattern() string { diff --git a/internal/components/managepartials.templ b/internal/components/managepartials.templ index 2700c46..9137895 100644 --- a/internal/components/managepartials.templ +++ b/internal/components/managepartials.templ @@ -1,6 +1,6 @@ package components -import "git.src.quest/~skye/felu-ddns/internal/db" +import "git.src.quest/~liljamo/felu/internal/db" import "fmt" script toggleApiKeyVisibility(id string) { diff --git a/internal/config/config.go b/internal/config/config.go index 6c0d014..3f5ce73 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -8,7 +8,7 @@ // Package config implements the global program config. package config -import "git.src.quest/~skye/erya-go/util" +import "git.src.quest/~liljamo/erya-go/util" // FeluConfig is a global for accessing the global config. var FeluConfig *config diff --git a/internal/db/db.go b/internal/db/db.go index 91dac5f..0a7a7b3 100644 --- a/internal/db/db.go +++ b/internal/db/db.go @@ -12,7 +12,7 @@ import ( "database/sql" "log/slog" - "git.src.quest/~skye/felu-ddns/internal/config" + "git.src.quest/~liljamo/felu/internal/config" // nolint _ "github.com/mattn/go-sqlite3" ) diff --git a/internal/db/domains.go b/internal/db/domains.go index 41202e4..f5bc5b6 100644 --- a/internal/db/domains.go +++ b/internal/db/domains.go @@ -10,7 +10,7 @@ package db import ( "errors" - "git.src.quest/~skye/felu-ddns/internal/util" + "git.src.quest/~liljamo/felu/internal/util" "github.com/oklog/ulid/v2" ) diff --git a/internal/dns/query.go b/internal/dns/query.go index 6b394f6..90a1be6 100644 --- a/internal/dns/query.go +++ b/internal/dns/query.go @@ -12,7 +12,7 @@ import ( "net" "strings" - "git.src.quest/~skye/felu-ddns/internal/db" + "git.src.quest/~liljamo/felu/internal/db" "github.com/miekg/dns" ) diff --git a/internal/dns/server.go b/internal/dns/server.go index 705b53a..008d11e 100644 --- a/internal/dns/server.go +++ b/internal/dns/server.go @@ -9,7 +9,7 @@ package dns import ( - "git.src.quest/~skye/felu-ddns/internal/config" + "git.src.quest/~liljamo/felu/internal/config" "github.com/miekg/dns" ) diff --git a/internal/handlers/admin.go b/internal/handlers/admin.go index eb20214..cef6463 100644 --- a/internal/handlers/admin.go +++ b/internal/handlers/admin.go @@ -10,7 +10,7 @@ package handlers import ( "net/http" - "git.src.quest/~skye/felu-ddns/internal/components" + "git.src.quest/~liljamo/felu/internal/components" "github.com/gin-gonic/gin" ) diff --git a/internal/handlers/adminpartials.go b/internal/handlers/adminpartials.go index fc7457c..351d3b0 100644 --- a/internal/handlers/adminpartials.go +++ b/internal/handlers/adminpartials.go @@ -10,8 +10,8 @@ package handlers import ( "net/http" - "git.src.quest/~skye/felu-ddns/internal/components" - "git.src.quest/~skye/felu-ddns/internal/db" + "git.src.quest/~liljamo/felu/internal/components" + "git.src.quest/~liljamo/felu/internal/db" "github.com/gin-gonic/gin" ) diff --git a/internal/handlers/auth.go b/internal/handlers/auth.go index db987ca..aafdb47 100644 --- a/internal/handlers/auth.go +++ b/internal/handlers/auth.go @@ -10,7 +10,7 @@ package handlers import ( "net/http" - "git.src.quest/~skye/felu-ddns/internal/db" + "git.src.quest/~liljamo/felu/internal/db" "github.com/alexedwards/scs/v2" "github.com/gin-gonic/gin" ) diff --git a/internal/handlers/domains.go b/internal/handlers/domains.go index 7244eb4..12ca8cc 100644 --- a/internal/handlers/domains.go +++ b/internal/handlers/domains.go @@ -12,8 +12,8 @@ import ( "regexp" "strings" - "git.src.quest/~skye/felu-ddns/internal/db" - "git.src.quest/~skye/felu-ddns/internal/util" + "git.src.quest/~liljamo/felu/internal/db" + "git.src.quest/~liljamo/felu/internal/util" "github.com/gin-gonic/gin" ) diff --git a/internal/handlers/index.go b/internal/handlers/index.go index b3d3ca9..1e44160 100644 --- a/internal/handlers/index.go +++ b/internal/handlers/index.go @@ -11,7 +11,7 @@ package handlers import ( "net/http" - "git.src.quest/~skye/felu-ddns/internal/components" + "git.src.quest/~liljamo/felu/internal/components" "github.com/gin-gonic/gin" ) diff --git a/internal/handlers/login.go b/internal/handlers/login.go index afb177f..606b192 100644 --- a/internal/handlers/login.go +++ b/internal/handlers/login.go @@ -10,7 +10,7 @@ package handlers import ( "net/http" - "git.src.quest/~skye/felu-ddns/internal/components" + "git.src.quest/~liljamo/felu/internal/components" "github.com/gin-gonic/gin" ) diff --git a/internal/handlers/manage.go b/internal/handlers/manage.go index 6b1f3a9..fd3fb73 100644 --- a/internal/handlers/manage.go +++ b/internal/handlers/manage.go @@ -10,8 +10,8 @@ package handlers import ( "net/http" - "git.src.quest/~skye/felu-ddns/internal/components" - "git.src.quest/~skye/felu-ddns/internal/db" + "git.src.quest/~liljamo/felu/internal/components" + "git.src.quest/~liljamo/felu/internal/db" "github.com/gin-gonic/gin" ) diff --git a/internal/handlers/managepartials.go b/internal/handlers/managepartials.go index 8010870..17d26e8 100644 --- a/internal/handlers/managepartials.go +++ b/internal/handlers/managepartials.go @@ -10,8 +10,8 @@ package handlers import ( "net/http" - "git.src.quest/~skye/felu-ddns/internal/components" - "git.src.quest/~skye/felu-ddns/internal/db" + "git.src.quest/~liljamo/felu/internal/components" + "git.src.quest/~liljamo/felu/internal/db" "github.com/gin-gonic/gin" ) diff --git a/internal/handlers/user.go b/internal/handlers/user.go index fd53d05..f9f3236 100644 --- a/internal/handlers/user.go +++ b/internal/handlers/user.go @@ -10,7 +10,7 @@ package handlers import ( "net/http" - "git.src.quest/~skye/felu-ddns/internal/db" + "git.src.quest/~liljamo/felu/internal/db" "github.com/alexedwards/scs/v2" "github.com/gin-gonic/gin" ) diff --git a/internal/handlers/users.go b/internal/handlers/users.go index 541ab00..4cafd9d 100644 --- a/internal/handlers/users.go +++ b/internal/handlers/users.go @@ -10,7 +10,7 @@ package handlers import ( "net/http" - "git.src.quest/~skye/felu-ddns/internal/db" + "git.src.quest/~liljamo/felu/internal/db" "github.com/gin-gonic/gin" ) diff --git a/internal/middlewares/admin.go b/internal/middlewares/admin.go index 385b1bb..ec479fc 100644 --- a/internal/middlewares/admin.go +++ b/internal/middlewares/admin.go @@ -10,7 +10,7 @@ package middlewares import ( "net/http" - "git.src.quest/~skye/felu-ddns/internal/db" + "git.src.quest/~liljamo/felu/internal/db" "github.com/gin-gonic/gin" ) diff --git a/internal/routers/api.go b/internal/routers/api.go index b2a6ecd..cb3e036 100644 --- a/internal/routers/api.go +++ b/internal/routers/api.go @@ -10,8 +10,8 @@ package routers import ( "net/http" - "git.src.quest/~skye/felu-ddns/internal/api" - "git.src.quest/~skye/felu-ddns/internal/log" + "git.src.quest/~liljamo/felu/internal/api" + "git.src.quest/~liljamo/felu/internal/log" "github.com/gin-gonic/gin" ) diff --git a/internal/routers/frontend.go b/internal/routers/frontend.go index 0517641..963015e 100644 --- a/internal/routers/frontend.go +++ b/internal/routers/frontend.go @@ -8,10 +8,10 @@ package routers import ( - "git.src.quest/~skye/felu-ddns/internal/handlers" - "git.src.quest/~skye/felu-ddns/internal/log" - "git.src.quest/~skye/felu-ddns/internal/middlewares" - "git.src.quest/~skye/felu-ddns/internal/renderer" + "git.src.quest/~liljamo/felu/internal/handlers" + "git.src.quest/~liljamo/felu/internal/log" + "git.src.quest/~liljamo/felu/internal/middlewares" + "git.src.quest/~liljamo/felu/internal/renderer" "github.com/alexedwards/scs/v2" "github.com/gin-gonic/gin" ) -- 2.44.1