From e549308d98b3de2f98a1d52ae0b09bbf677b2a1a Mon Sep 17 00:00:00 2001 From: Bel LaPointe Date: Thu, 9 Nov 2023 08:15:01 -0700 Subject: [PATCH] from gogs --- go.mod | 8 ++++---- go.sum | 16 ++++++++-------- oauth2client/client.go | 2 +- oauth2server/config/config.go | 2 +- oauth2server/main.go | 4 ++-- oauth2server/server/authorize.go | 6 +++--- oauth2server/server/routes.go | 4 ++-- oauth2server/server/server.go | 6 +++--- oauth2server/server/users.go | 4 ++-- oauth2server/server/verify.go | 2 +- oauth2test/package_test.go | 8 ++++---- 11 files changed, 31 insertions(+), 31 deletions(-) diff --git a/go.mod b/go.mod index 0293462..b4d2d58 100644 --- a/go.mod +++ b/go.mod @@ -1,11 +1,11 @@ -module gogs.inhome.blapointe.com/local/oauth2 +module gitea.inhome.blapointe.com/local/oauth2 go 1.16 require ( + gitea.inhome.blapointe.com/local/args v0.0.0-20231109145953-eb2e1c1b8d56 + gitea.inhome.blapointe.com/local/router v0.0.0-20231109150317-e6b81bf7c23c + gitea.inhome.blapointe.com/local/storage v0.0.0-20231109151437-2c15c093bbfe github.com/google/uuid v1.3.0 - gogs.inhome.blapointe.com/local/args v0.0.0-20230410154220-44370f257b34 - gogs.inhome.blapointe.com/local/router v0.0.0-20230410162418-08ccdc13df87 - gogs.inhome.blapointe.com/local/storage v0.0.0-20230410162102-db39d7b02e29 golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac ) diff --git a/go.sum b/go.sum index aa47204..278816d 100644 --- a/go.sum +++ b/go.sum @@ -1,6 +1,14 @@ bazil.org/fuse v0.0.0-20180421153158-65cc252bf669/go.mod h1:Xbm+BRKSBEpa4q4hTSxohYNQpsxXPbPry4JJWOB3LB8= cloud.google.com/go v0.33.1 h1:fmJQWZ1w9PGkHR1YL/P7HloDvqlmKQ4Vpb7PC2e+aCk= cloud.google.com/go v0.33.1/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +gitea.inhome.blapointe.com/local/args v0.0.0-20231109145953-eb2e1c1b8d56 h1:zTGGZ77KLFagqUvDSgTOnm0qF+iSLwQWiEtGjb2jjlY= +gitea.inhome.blapointe.com/local/args v0.0.0-20231109145953-eb2e1c1b8d56/go.mod h1:SqCOE3bE3wvrztVIQGHuyxHKfDjRKU9EWhBdkmkiwyc= +gitea.inhome.blapointe.com/local/logb v0.0.0-20231109150430-1221d87a6dbc h1:u3akQkq12V8xWXlcDgjZxIK6hqo6f1eHd9KOxAKMoKc= +gitea.inhome.blapointe.com/local/logb v0.0.0-20231109150430-1221d87a6dbc/go.mod h1:KwilawX4UgD4HxSJAVFEzkuckrnHeQrd49KwUX6GpYU= +gitea.inhome.blapointe.com/local/router v0.0.0-20231109150317-e6b81bf7c23c h1:+9kTZ3+ziuvmo+mC/xh/wVogFIAT1LeMzJMfSk0onsE= +gitea.inhome.blapointe.com/local/router v0.0.0-20231109150317-e6b81bf7c23c/go.mod h1:xYz/cn236KTBSWNQ9bqCyBmy8aQ7VL95pDDJmeupmN4= +gitea.inhome.blapointe.com/local/storage v0.0.0-20231109151437-2c15c093bbfe h1:Y+bm7T0k0nQUxmXnik8ZBHJHsR5QzQ22xutuSvau5bY= +gitea.inhome.blapointe.com/local/storage v0.0.0-20231109151437-2c15c093bbfe/go.mod h1:TRK5z/XTT6jws++Q21Y8DQot+5vZGTNeHf+RjuY8aQk= github.com/Azure/azure-pipeline-go v0.1.8/go.mod h1:XA1kFWRVhSK+KNFiOhfv83Fv8L9achrP7OxIzeTn1Yg= github.com/Azure/azure-storage-blob-go v0.0.0-20181023070848-cf01652132cc/go.mod h1:oGfmITT1V6x//CswqY2gtAHND+xIP64/qL7a5QJix0Y= github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78/go.mod h1:LmzpDX56iTiv29bbRTIsUNlaFfuhWRQBWjQdVyAevI8= @@ -183,14 +191,6 @@ github.com/youmark/pkcs8 v0.0.0-20181117223130-1be2e3e5546d/go.mod h1:rHwXgn7Jul github.com/yunify/qingstor-sdk-go v2.2.15+incompatible/go.mod h1:w6wqLDQ5bBTzxGJ55581UrSwLrsTAsdo9N6yX/8d9RY= go.mongodb.org/mongo-driver v1.7.2 h1:pFttQyIiJUHEn50YfZgC9ECjITMT44oiN36uArf/OFg= go.mongodb.org/mongo-driver v1.7.2/go.mod h1:Q4oFMbo1+MSNqICAdYMlC/zSTrwCogR4R8NzkI+yfU8= -gogs.inhome.blapointe.com/local/args v0.0.0-20230410154220-44370f257b34 h1:0tuX5dfOksiOQD1vbJjVNVTVxTTIng7UrUdSLF5T+Ao= -gogs.inhome.blapointe.com/local/args v0.0.0-20230410154220-44370f257b34/go.mod h1:YG9n3Clg7683ohkVnJK2hdX8bBS9EojIsd1qPZumX0Y= -gogs.inhome.blapointe.com/local/logb v0.0.0-20230410154319-880efa39d871 h1:cMGPiwvK/QGg4TfW8VasO6SsS/O7UQmwyKDErV/ozoA= -gogs.inhome.blapointe.com/local/logb v0.0.0-20230410154319-880efa39d871/go.mod h1:E0pLNvMLzY0Kth1W078y+06z1AUyVMWnChMpRFf4w2Q= -gogs.inhome.blapointe.com/local/router v0.0.0-20230410162418-08ccdc13df87 h1:jlIDVPGFk42puv6NYzRkGFMhsZ0L1AHGRyx5ooGb4Ew= -gogs.inhome.blapointe.com/local/router v0.0.0-20230410162418-08ccdc13df87/go.mod h1:FCXhK6+lzJcxBsptnei6vw9pChuQvr4NtuosngjVJDk= -gogs.inhome.blapointe.com/local/storage v0.0.0-20230410162102-db39d7b02e29 h1:SPSz7yQsEfScqyLlBS5uNSOGeT203BkIkFCL8jrm/FA= -gogs.inhome.blapointe.com/local/storage v0.0.0-20230410162102-db39d7b02e29/go.mod h1:zk8Fe2Ezc2f6oOe2yllsbEhXqssUU1K2faoS0eQ9alY= golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190131182504-b8fe1690c613/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= diff --git a/oauth2client/client.go b/oauth2client/client.go index 40bf139..c0438a3 100755 --- a/oauth2client/client.go +++ b/oauth2client/client.go @@ -3,7 +3,7 @@ package oauth2client import ( "crypto/tls" "errors" - "gogs.inhome.blapointe.com/local/oauth2" + "gitea.inhome.blapointe.com/local/oauth2" "net/http" "net/url" "strconv" diff --git a/oauth2server/config/config.go b/oauth2server/config/config.go index 8f1dcc1..74a2aa0 100755 --- a/oauth2server/config/config.go +++ b/oauth2server/config/config.go @@ -2,7 +2,7 @@ package config import ( "fmt" - "gogs.inhome.blapointe.com/local/args" + "gitea.inhome.blapointe.com/local/args" "os" "strings" ) diff --git a/oauth2server/main.go b/oauth2server/main.go index 8ac628d..997ed2c 100755 --- a/oauth2server/main.go +++ b/oauth2server/main.go @@ -1,8 +1,8 @@ package main import ( - "gogs.inhome.blapointe.com/local/oauth2/oauth2server/config" - "gogs.inhome.blapointe.com/local/oauth2/oauth2server/server" + "gitea.inhome.blapointe.com/local/oauth2/oauth2server/config" + "gitea.inhome.blapointe.com/local/oauth2/oauth2server/server" "log" "net/http" ) diff --git a/oauth2server/server/authorize.go b/oauth2server/server/authorize.go index 39419ff..56adad4 100755 --- a/oauth2server/server/authorize.go +++ b/oauth2server/server/authorize.go @@ -2,9 +2,9 @@ package server import ( "fmt" - "gogs.inhome.blapointe.com/local/oauth2" - "gogs.inhome.blapointe.com/local/router" - "gogs.inhome.blapointe.com/local/storage" + "gitea.inhome.blapointe.com/local/oauth2" + "gitea.inhome.blapointe.com/local/router" + "gitea.inhome.blapointe.com/local/storage" "net/http" "net/url" "strings" diff --git a/oauth2server/server/routes.go b/oauth2server/server/routes.go index b7ebffa..fa418b5 100755 --- a/oauth2server/server/routes.go +++ b/oauth2server/server/routes.go @@ -2,8 +2,8 @@ package server import ( "fmt" - "gogs.inhome.blapointe.com/local/oauth2/oauth2server/config" - "gogs.inhome.blapointe.com/local/router" + "gitea.inhome.blapointe.com/local/oauth2/oauth2server/config" + "gitea.inhome.blapointe.com/local/router" "net/http" ) diff --git a/oauth2server/server/server.go b/oauth2server/server/server.go index f1979a5..b3738ed 100755 --- a/oauth2server/server/server.go +++ b/oauth2server/server/server.go @@ -2,9 +2,9 @@ package server import ( "fmt" - "gogs.inhome.blapointe.com/local/oauth2/oauth2server/config" - "gogs.inhome.blapointe.com/local/router" - "gogs.inhome.blapointe.com/local/storage" + "gitea.inhome.blapointe.com/local/oauth2/oauth2server/config" + "gitea.inhome.blapointe.com/local/router" + "gitea.inhome.blapointe.com/local/storage" "golang.org/x/time/rate" ) diff --git a/oauth2server/server/users.go b/oauth2server/server/users.go index 47262e7..cc73db9 100755 --- a/oauth2server/server/users.go +++ b/oauth2server/server/users.go @@ -6,8 +6,8 @@ import ( "crypto/sha256" "encoding/hex" "fmt" - "gogs.inhome.blapointe.com/local/oauth2/oauth2server/config" - "gogs.inhome.blapointe.com/local/router" + "gitea.inhome.blapointe.com/local/oauth2/oauth2server/config" + "gitea.inhome.blapointe.com/local/router" "net/http" "github.com/google/uuid" diff --git a/oauth2server/server/verify.go b/oauth2server/server/verify.go index d3df817..2d20668 100755 --- a/oauth2server/server/verify.go +++ b/oauth2server/server/verify.go @@ -1,7 +1,7 @@ package server import ( - "gogs.inhome.blapointe.com/local/router" + "gitea.inhome.blapointe.com/local/router" "net/http" ) diff --git a/oauth2test/package_test.go b/oauth2test/package_test.go index 0551f72..968a189 100755 --- a/oauth2test/package_test.go +++ b/oauth2test/package_test.go @@ -3,10 +3,10 @@ package oauth2 import ( "errors" "fmt" - "gogs.inhome.blapointe.com/local/oauth2" - "gogs.inhome.blapointe.com/local/oauth2/oauth2client" - "gogs.inhome.blapointe.com/local/oauth2/oauth2server/config" - "gogs.inhome.blapointe.com/local/oauth2/oauth2server/server" + "gitea.inhome.blapointe.com/local/oauth2" + "gitea.inhome.blapointe.com/local/oauth2/oauth2client" + "gitea.inhome.blapointe.com/local/oauth2/oauth2server/config" + "gitea.inhome.blapointe.com/local/oauth2/oauth2server/server" "log" "net/http" "net/http/cookiejar"