diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 0a6e27f..f629202 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -4,28 +4,7 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
@@ -69,7 +48,7 @@
"RunOnceActivity.go.migrated.go.modules.settings": "true",
"RunOnceActivity.go.modules.automatic.dependencies.download": "true",
"RunOnceActivity.go.modules.go.list.on.any.changes.was.set": "true",
- "git-widget-placeholder": "refactor/nexus",
+ "git-widget-placeholder": "master",
"go.import.settings.migrated": "true",
"go.sdk.automatically.set": "true",
"last_opened_file_path": "/Users/littlesheep/Documents/Projects/Hydrogen/Passport/keys",
diff --git a/go.mod b/go.mod
index 2495b26..f6b2f1b 100644
--- a/go.mod
+++ b/go.mod
@@ -1,4 +1,4 @@
-module git.solsynth.dev/hydrogen/passport
+module git.solsynth.dev/hypernet/passport
go 1.23.2
@@ -10,6 +10,7 @@ require (
github.com/eko/gocache/store/ristretto/v4 v4.2.2
github.com/fatih/color v1.17.0
github.com/go-playground/validator/v10 v10.22.1
+ github.com/goccy/go-json v0.10.3
github.com/gofiber/fiber/v2 v2.52.5
github.com/golang-jwt/jwt/v5 v5.2.1
github.com/google/uuid v1.6.0
@@ -40,7 +41,6 @@ require (
github.com/go-playground/locales v0.14.1 // indirect
github.com/go-playground/universal-translator v0.18.1 // indirect
github.com/go-sql-driver/mysql v1.8.1 // indirect
- github.com/goccy/go-json v0.10.3 // indirect
github.com/golang/glog v1.2.2 // indirect
github.com/golang/mock v1.6.0 // indirect
github.com/golang/protobuf v1.5.4 // indirect
diff --git a/go.sum b/go.sum
index 2a83da0..c9d034e 100644
--- a/go.sum
+++ b/go.sum
@@ -33,16 +33,6 @@ cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9
dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU=
filippo.io/edwards25519 v1.1.0 h1:FNf4tywRC1HmFuKW5xopWpigGjJKiJSV0Cqo0cJWDaA=
filippo.io/edwards25519 v1.1.0/go.mod h1:BxyFTGdWcka3PhytdK4V28tE5sGfRvvvRV7EaN4VDT4=
-git.solsynth.dev/hypernet/nexus v0.0.0-20241024155238-421834ae5c4a h1:yl2cnfFvvgOGwr9qoWu4QQHVpVPCI9f1idyaKt2gXxo=
-git.solsynth.dev/hypernet/nexus v0.0.0-20241024155238-421834ae5c4a/go.mod h1:68l4+CkuG3sz9aiUhbN5tq3YHrt6KUNK9FIWaGuWCdc=
-git.solsynth.dev/hypernet/nexus v0.0.0-20241026162044-3d487fa48baf h1:Fil1ASTvxmqFySD3OoptC7uRXEYpWLwLfjlkWZNNwVQ=
-git.solsynth.dev/hypernet/nexus v0.0.0-20241026162044-3d487fa48baf/go.mod h1:fXQsHXGio+7/0U95IitKF07wS4yTdCMp5ms8wpFBwVI=
-git.solsynth.dev/hypernet/nexus v0.0.0-20241030153633-427c83e38fe4 h1:UTptbxd2b6RFKu0tr2RmQjNnqde/M0JVO4nZk7ntUYo=
-git.solsynth.dev/hypernet/nexus v0.0.0-20241030153633-427c83e38fe4/go.mod h1:fXQsHXGio+7/0U95IitKF07wS4yTdCMp5ms8wpFBwVI=
-git.solsynth.dev/hypernet/nexus v0.0.0-20241030153909-06c5fadb42c7 h1:fftdwNCLtrFGd3r0drgqrbzJphWh5Oo4A1RHRf1tu5w=
-git.solsynth.dev/hypernet/nexus v0.0.0-20241030153909-06c5fadb42c7/go.mod h1:fXQsHXGio+7/0U95IitKF07wS4yTdCMp5ms8wpFBwVI=
-git.solsynth.dev/hypernet/nexus v0.0.0-20241030154425-f9b6cd2e2027 h1:F0mKuUpoRm+Nj0M4xNa2CkrXSmeONpIHwrvzwSKeux4=
-git.solsynth.dev/hypernet/nexus v0.0.0-20241030154425-f9b6cd2e2027/go.mod h1:fXQsHXGio+7/0U95IitKF07wS4yTdCMp5ms8wpFBwVI=
git.solsynth.dev/hypernet/nexus v0.0.0-20241030155904-3f6ea11d2297 h1:g9huTJFUKPESCKWkcGpVm2RRInGkcwkbL8yR8SBjTFo=
git.solsynth.dev/hypernet/nexus v0.0.0-20241030155904-3f6ea11d2297/go.mod h1:fXQsHXGio+7/0U95IitKF07wS4yTdCMp5ms8wpFBwVI=
git.solsynth.dev/hypernet/pusher v0.0.0-20241026153052-cd2c326efa4e h1:DtHhMjgxS/spUt/KEdbRFtaVnepI6Vx8pbHdJaNH1hs=
@@ -262,16 +252,10 @@ github.com/hashicorp/serf v0.10.1/go.mod h1:yL2t6BqATOLGc5HF7qbFkTfXoPIY0WZdWHfE
github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc=
github.com/jackc/pgpassfile v1.0.0 h1:/6Hmqy13Ss2zCq62VdNG8tM1wchn8zjSGOBJ6icpsIM=
github.com/jackc/pgpassfile v1.0.0/go.mod h1:CEx0iS5ambNFdcRtxPj5JhEz+xB6uRky5eyVu/W2HEg=
-github.com/jackc/pgservicefile v0.0.0-20231201235250-de7065d80cb9 h1:L0QtFUgDarD7Fpv9jeVMgy/+Ec0mtnmYuImjTz6dtDA=
-github.com/jackc/pgservicefile v0.0.0-20231201235250-de7065d80cb9/go.mod h1:5TJZWKEWniPve33vlWYSoGYefn3gLQRzjfDlhSJ9ZKM=
github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 h1:iCEnooe7UlwOQYpKFhBabPMi4aNAfoODPEFNiAnClxo=
github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761/go.mod h1:5TJZWKEWniPve33vlWYSoGYefn3gLQRzjfDlhSJ9ZKM=
-github.com/jackc/pgx/v5 v5.5.5 h1:amBjrZVmksIdNjxGW/IiIMzxMKZFelXbUoPNb+8sjQw=
-github.com/jackc/pgx/v5 v5.5.5/go.mod h1:ez9gk+OAat140fv9ErkZDYFWmXLfV+++K0uAOiwgm1A=
github.com/jackc/pgx/v5 v5.7.1 h1:x7SYsPBYDkHDksogeSmZZ5xzThcTgRz++I5E+ePFUcs=
github.com/jackc/pgx/v5 v5.7.1/go.mod h1:e7O26IywZZ+naJtWWos6i6fvWK+29etgITqrqHLfoZA=
-github.com/jackc/puddle/v2 v2.2.1 h1:RhxXJtFG022u4ibrCSMSiu5aOq1i77R3OHKNJj77OAk=
-github.com/jackc/puddle/v2 v2.2.1/go.mod h1:vriiEXHvEE654aYKXXjOvZM39qJ0q+azkZFrfEOc3H4=
github.com/jackc/puddle/v2 v2.2.2 h1:PR8nw+E/1w0GLuRFSmiioY6UooMp6KJv0/61nB7icHo=
github.com/jackc/puddle/v2 v2.2.2/go.mod h1:vriiEXHvEE654aYKXXjOvZM39qJ0q+azkZFrfEOc3H4=
github.com/jinzhu/inflection v1.0.0 h1:K317FqzuhWc8YvSVlFMCCUb36O/S9MCKRDI7QkRKD/E=
@@ -803,8 +787,6 @@ gorm.io/datatypes v1.2.4 h1:uZmGAcK/QZ0uyfCuVg0VQY1ZmV9h1fuG0tMwKByO1z4=
gorm.io/datatypes v1.2.4/go.mod h1:f4BsLcFAX67szSv8svwLRjklArSHAvHLeE3pXAS5DZI=
gorm.io/driver/mysql v1.5.7 h1:MndhOPYOfEp2rHKgkZIhJ16eVUIRf2HmzgoPmh7FCWo=
gorm.io/driver/mysql v1.5.7/go.mod h1:sEtPWMiqiN1N1cMXoXmBbd8C6/l+TESwriotuRRpkDM=
-gorm.io/driver/postgres v1.5.4 h1:Iyrp9Meh3GmbSuyIAGyjkN+n9K+GHX9b9MqsTL4EJCo=
-gorm.io/driver/postgres v1.5.4/go.mod h1:Bgo89+h0CRcdA33Y6frlaHHVuTdOf87pmyzwW9C/BH0=
gorm.io/driver/postgres v1.5.9 h1:DkegyItji119OlcaLjqN11kHoUgZ/j13E0jkJZgD6A8=
gorm.io/driver/postgres v1.5.9/go.mod h1:DX3GReXH+3FPWGrrgffdvCk3DQ1dwDPdmbenSkweRGI=
gorm.io/driver/sqlite v1.4.3 h1:HBBcZSDnWi5BW3B3rwvVTc510KGkBkexlOg0QrmLUuU=
diff --git a/pkg/authkit/parser.go b/pkg/authkit/parser.go
index 9ed42e8..623d9f0 100644
--- a/pkg/authkit/parser.go
+++ b/pkg/authkit/parser.go
@@ -1,8 +1,8 @@
package authkit
import (
- "git.solsynth.dev/hydrogen/passport/pkg/authkit/models"
"git.solsynth.dev/hypernet/nexus/pkg/nex/sec"
+ "git.solsynth.dev/hypernet/passport/pkg/authkit/models"
"github.com/goccy/go-json"
"github.com/gofiber/fiber/v2"
)
diff --git a/pkg/internal/database/migrator.go b/pkg/internal/database/migrator.go
index 3e3c9f7..4612ba2 100644
--- a/pkg/internal/database/migrator.go
+++ b/pkg/internal/database/migrator.go
@@ -1,7 +1,7 @@
package database
import (
- "git.solsynth.dev/hydrogen/passport/pkg/authkit/models"
+ "git.solsynth.dev/hypernet/passport/pkg/authkit/models"
"gorm.io/gorm"
)
diff --git a/pkg/internal/database/source.go b/pkg/internal/database/source.go
index 5ca7450..2467edc 100644
--- a/pkg/internal/database/source.go
+++ b/pkg/internal/database/source.go
@@ -2,8 +2,8 @@ package database
import (
"fmt"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/gap"
"git.solsynth.dev/hypernet/nexus/pkg/nex/cruda"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/gap"
"github.com/rs/zerolog/log"
"github.com/samber/lo"
"github.com/spf13/viper"
diff --git a/pkg/internal/grpc/auth.go b/pkg/internal/grpc/auth.go
index 11eaa42..7d21808 100644
--- a/pkg/internal/grpc/auth.go
+++ b/pkg/internal/grpc/auth.go
@@ -2,13 +2,13 @@ package grpc
import (
"context"
- "git.solsynth.dev/hydrogen/passport/pkg/authkit/models"
"git.solsynth.dev/hypernet/nexus/pkg/nex"
+ "git.solsynth.dev/hypernet/passport/pkg/authkit/models"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/database"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/database"
"github.com/samber/lo"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/services"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/services"
jsoniter "github.com/json-iterator/go"
"git.solsynth.dev/hypernet/nexus/pkg/proto"
diff --git a/pkg/internal/grpc/events.go b/pkg/internal/grpc/events.go
index 32f6904..9440e59 100644
--- a/pkg/internal/grpc/events.go
+++ b/pkg/internal/grpc/events.go
@@ -2,8 +2,8 @@ package grpc
import (
"context"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/services"
- "git.solsynth.dev/hydrogen/passport/pkg/proto"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/services"
+ "git.solsynth.dev/hypernet/passport/pkg/proto"
)
func (v *App) RecordEvent(ctx context.Context, request *proto.RecordEventRequest) (*proto.RecordEventResponse, error) {
diff --git a/pkg/internal/grpc/notifier.go b/pkg/internal/grpc/notifier.go
index 8231d0f..2ae6f5a 100644
--- a/pkg/internal/grpc/notifier.go
+++ b/pkg/internal/grpc/notifier.go
@@ -3,15 +3,15 @@ package grpc
import (
"context"
"fmt"
- "git.solsynth.dev/hydrogen/passport/pkg/authkit/models"
"git.solsynth.dev/hypernet/nexus/pkg/nex"
+ "git.solsynth.dev/hypernet/passport/pkg/authkit/models"
"github.com/rs/zerolog/log"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/database"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/database"
"github.com/samber/lo"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/services"
- "git.solsynth.dev/hydrogen/passport/pkg/proto"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/services"
+ "git.solsynth.dev/hypernet/passport/pkg/proto"
)
func (v *App) NotifyUser(_ context.Context, in *proto.NotifyUserRequest) (*proto.NotifyResponse, error) {
diff --git a/pkg/internal/grpc/realms.go b/pkg/internal/grpc/realms.go
index fb7490d..049ff08 100644
--- a/pkg/internal/grpc/realms.go
+++ b/pkg/internal/grpc/realms.go
@@ -3,12 +3,12 @@ package grpc
import (
"context"
"fmt"
- "git.solsynth.dev/hydrogen/passport/pkg/authkit/models"
"git.solsynth.dev/hypernet/nexus/pkg/nex"
+ "git.solsynth.dev/hypernet/passport/pkg/authkit/models"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/database"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/services"
- "git.solsynth.dev/hydrogen/passport/pkg/proto"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/database"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/services"
+ "git.solsynth.dev/hypernet/passport/pkg/proto"
"github.com/samber/lo"
)
diff --git a/pkg/internal/grpc/server.go b/pkg/internal/grpc/server.go
index 9f3ccb9..7dea59d 100644
--- a/pkg/internal/grpc/server.go
+++ b/pkg/internal/grpc/server.go
@@ -5,8 +5,8 @@ import (
"google.golang.org/grpc/reflection"
- "git.solsynth.dev/hydrogen/passport/pkg/proto"
nroto "git.solsynth.dev/hypernet/nexus/pkg/proto"
+ "git.solsynth.dev/hypernet/passport/pkg/proto"
"github.com/spf13/viper"
"google.golang.org/grpc"
diff --git a/pkg/internal/grpc/stream.go b/pkg/internal/grpc/stream.go
index 579b170..b2d1423 100644
--- a/pkg/internal/grpc/stream.go
+++ b/pkg/internal/grpc/stream.go
@@ -2,9 +2,9 @@ package grpc
import (
"context"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/services"
"git.solsynth.dev/hypernet/nexus/pkg/nex"
"git.solsynth.dev/hypernet/nexus/pkg/proto"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/services"
)
func (v *App) BroadcastEvent(ctx context.Context, request *proto.EventInfo) (*proto.EventResponse, error) {
diff --git a/pkg/internal/http/admin/badges_api.go b/pkg/internal/http/admin/badges_api.go
index fbe7f59..0fc51bf 100644
--- a/pkg/internal/http/admin/badges_api.go
+++ b/pkg/internal/http/admin/badges_api.go
@@ -2,11 +2,11 @@ package admin
import (
"fmt"
- "git.solsynth.dev/hydrogen/passport/pkg/authkit/models"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/http/exts"
+ "git.solsynth.dev/hypernet/passport/pkg/authkit/models"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/http/exts"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/database"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/services"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/database"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/services"
"github.com/gofiber/fiber/v2"
)
diff --git a/pkg/internal/http/admin/factors_api.go b/pkg/internal/http/admin/factors_api.go
index 5ce9617..e54005e 100644
--- a/pkg/internal/http/admin/factors_api.go
+++ b/pkg/internal/http/admin/factors_api.go
@@ -1,9 +1,9 @@
package admin
import (
- "git.solsynth.dev/hydrogen/passport/pkg/authkit/models"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/database"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/http/exts"
+ "git.solsynth.dev/hypernet/passport/pkg/authkit/models"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/database"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/http/exts"
"github.com/gofiber/fiber/v2"
jsoniter "github.com/json-iterator/go"
"github.com/samber/lo"
diff --git a/pkg/internal/http/admin/notify_api.go b/pkg/internal/http/admin/notify_api.go
index 02fb0b1..5fb7606 100644
--- a/pkg/internal/http/admin/notify_api.go
+++ b/pkg/internal/http/admin/notify_api.go
@@ -1,10 +1,10 @@
package admin
import (
- "git.solsynth.dev/hydrogen/passport/pkg/authkit/models"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/database"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/http/exts"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/services"
+ "git.solsynth.dev/hypernet/passport/pkg/authkit/models"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/database"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/http/exts"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/services"
"github.com/gofiber/fiber/v2"
"github.com/rs/zerolog/log"
)
diff --git a/pkg/internal/http/admin/permissions_api.go b/pkg/internal/http/admin/permissions_api.go
index 743d97b..8abd44a 100644
--- a/pkg/internal/http/admin/permissions_api.go
+++ b/pkg/internal/http/admin/permissions_api.go
@@ -3,10 +3,10 @@ package admin
import (
"fmt"
- "git.solsynth.dev/hydrogen/passport/pkg/authkit/models"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/database"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/http/exts"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/services"
+ "git.solsynth.dev/hypernet/passport/pkg/authkit/models"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/database"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/http/exts"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/services"
"github.com/gofiber/fiber/v2"
)
diff --git a/pkg/internal/http/admin/users_api.go b/pkg/internal/http/admin/users_api.go
index 2f58ece..e0b9d9a 100644
--- a/pkg/internal/http/admin/users_api.go
+++ b/pkg/internal/http/admin/users_api.go
@@ -2,10 +2,10 @@ package admin
import (
"fmt"
- "git.solsynth.dev/hydrogen/passport/pkg/authkit/models"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/database"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/http/exts"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/services"
+ "git.solsynth.dev/hypernet/passport/pkg/authkit/models"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/database"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/http/exts"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/services"
"github.com/gofiber/fiber/v2"
)
diff --git a/pkg/internal/http/api/accounts_api.go b/pkg/internal/http/api/accounts_api.go
index 017ae36..6afea80 100644
--- a/pkg/internal/http/api/accounts_api.go
+++ b/pkg/internal/http/api/accounts_api.go
@@ -7,11 +7,11 @@ import (
"strings"
"time"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/http/exts"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/http/exts"
- "git.solsynth.dev/hydrogen/passport/pkg/authkit/models"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/database"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/services"
+ "git.solsynth.dev/hypernet/passport/pkg/authkit/models"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/database"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/services"
"github.com/gofiber/fiber/v2"
jsoniter "github.com/json-iterator/go"
"github.com/spf13/viper"
diff --git a/pkg/internal/http/api/auth_api.go b/pkg/internal/http/api/auth_api.go
index 93370df..f38de2b 100644
--- a/pkg/internal/http/api/auth_api.go
+++ b/pkg/internal/http/api/auth_api.go
@@ -4,11 +4,11 @@ import (
"fmt"
"time"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/http/exts"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/http/exts"
"github.com/gofiber/fiber/v2"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/services"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/services"
)
func getTicket(c *fiber.Ctx) error {
diff --git a/pkg/internal/http/api/avatar_api.go b/pkg/internal/http/api/avatar_api.go
index 94e3971..0418487 100644
--- a/pkg/internal/http/api/avatar_api.go
+++ b/pkg/internal/http/api/avatar_api.go
@@ -1,10 +1,10 @@
package api
import (
- "git.solsynth.dev/hydrogen/passport/pkg/authkit/models"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/database"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/http/exts"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/services"
+ "git.solsynth.dev/hypernet/passport/pkg/authkit/models"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/database"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/http/exts"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/services"
"github.com/gofiber/fiber/v2"
"strconv"
)
diff --git a/pkg/internal/http/api/bot_token_api.go b/pkg/internal/http/api/bot_token_api.go
index 84e35e0..84aa36d 100644
--- a/pkg/internal/http/api/bot_token_api.go
+++ b/pkg/internal/http/api/bot_token_api.go
@@ -2,10 +2,10 @@ package api
import (
"fmt"
- "git.solsynth.dev/hydrogen/passport/pkg/authkit/models"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/database"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/http/exts"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/services"
+ "git.solsynth.dev/hypernet/passport/pkg/authkit/models"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/database"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/http/exts"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/services"
"github.com/gofiber/fiber/v2"
"gorm.io/gorm"
)
diff --git a/pkg/internal/http/api/bots_api.go b/pkg/internal/http/api/bots_api.go
index 9bcb88f..84a6d27 100644
--- a/pkg/internal/http/api/bots_api.go
+++ b/pkg/internal/http/api/bots_api.go
@@ -1,10 +1,10 @@
package api
import (
- "git.solsynth.dev/hydrogen/passport/pkg/authkit/models"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/database"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/http/exts"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/services"
+ "git.solsynth.dev/hypernet/passport/pkg/authkit/models"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/database"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/http/exts"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/services"
"github.com/gofiber/fiber/v2"
"github.com/samber/lo"
"gorm.io/datatypes"
diff --git a/pkg/internal/http/api/factors_api.go b/pkg/internal/http/api/factors_api.go
index ac12283..0b644a5 100644
--- a/pkg/internal/http/api/factors_api.go
+++ b/pkg/internal/http/api/factors_api.go
@@ -2,8 +2,8 @@ package api
import (
"fmt"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/http/exts"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/services"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/http/exts"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/services"
"github.com/gofiber/fiber/v2"
)
diff --git a/pkg/internal/http/api/notifications_api.go b/pkg/internal/http/api/notifications_api.go
index cf674f8..907de5d 100644
--- a/pkg/internal/http/api/notifications_api.go
+++ b/pkg/internal/http/api/notifications_api.go
@@ -1,10 +1,10 @@
package api
import (
- "git.solsynth.dev/hydrogen/passport/pkg/authkit/models"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/database"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/http/exts"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/services"
+ "git.solsynth.dev/hypernet/passport/pkg/authkit/models"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/database"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/http/exts"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/services"
"github.com/gofiber/fiber/v2"
"github.com/samber/lo"
"strconv"
diff --git a/pkg/internal/http/api/notify_api.go b/pkg/internal/http/api/notify_api.go
index 23d32a6..6462180 100644
--- a/pkg/internal/http/api/notify_api.go
+++ b/pkg/internal/http/api/notify_api.go
@@ -3,9 +3,9 @@ package api
import (
"fmt"
- "git.solsynth.dev/hydrogen/passport/pkg/authkit/models"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/http/exts"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/services"
+ "git.solsynth.dev/hypernet/passport/pkg/authkit/models"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/http/exts"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/services"
"github.com/gofiber/fiber/v2"
)
diff --git a/pkg/internal/http/api/oauth_api.go b/pkg/internal/http/api/oauth_api.go
index 6fafdd6..9597d73 100755
--- a/pkg/internal/http/api/oauth_api.go
+++ b/pkg/internal/http/api/oauth_api.go
@@ -4,11 +4,11 @@ import (
"strings"
"time"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/http/exts"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/http/exts"
- "git.solsynth.dev/hydrogen/passport/pkg/authkit/models"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/database"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/services"
+ "git.solsynth.dev/hypernet/passport/pkg/authkit/models"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/database"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/services"
"github.com/gofiber/fiber/v2"
"github.com/samber/lo"
)
diff --git a/pkg/internal/http/api/preferences_api.go b/pkg/internal/http/api/preferences_api.go
index 1c62be7..c01b4b8 100644
--- a/pkg/internal/http/api/preferences_api.go
+++ b/pkg/internal/http/api/preferences_api.go
@@ -1,9 +1,9 @@
package api
import (
- "git.solsynth.dev/hydrogen/passport/pkg/authkit/models"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/http/exts"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/services"
+ "git.solsynth.dev/hypernet/passport/pkg/authkit/models"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/http/exts"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/services"
"github.com/gofiber/fiber/v2"
)
diff --git a/pkg/internal/http/api/realm_members_api.go b/pkg/internal/http/api/realm_members_api.go
index 57903c6..389668e 100644
--- a/pkg/internal/http/api/realm_members_api.go
+++ b/pkg/internal/http/api/realm_members_api.go
@@ -1,10 +1,10 @@
package api
import (
- "git.solsynth.dev/hydrogen/passport/pkg/authkit/models"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/database"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/http/exts"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/services"
+ "git.solsynth.dev/hypernet/passport/pkg/authkit/models"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/database"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/http/exts"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/services"
"github.com/gofiber/fiber/v2"
)
diff --git a/pkg/internal/http/api/realms_api.go b/pkg/internal/http/api/realms_api.go
index 6d47382..308d220 100644
--- a/pkg/internal/http/api/realms_api.go
+++ b/pkg/internal/http/api/realms_api.go
@@ -1,10 +1,10 @@
package api
import (
- "git.solsynth.dev/hydrogen/passport/pkg/authkit/models"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/database"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/http/exts"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/services"
+ "git.solsynth.dev/hypernet/passport/pkg/authkit/models"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/database"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/http/exts"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/services"
"github.com/gofiber/fiber/v2"
"strconv"
)
diff --git a/pkg/internal/http/api/relationships_api.go b/pkg/internal/http/api/relationships_api.go
index 6eec600..b99e845 100644
--- a/pkg/internal/http/api/relationships_api.go
+++ b/pkg/internal/http/api/relationships_api.go
@@ -1,9 +1,9 @@
package api
import (
- "git.solsynth.dev/hydrogen/passport/pkg/authkit/models"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/http/exts"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/services"
+ "git.solsynth.dev/hypernet/passport/pkg/authkit/models"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/http/exts"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/services"
"github.com/gofiber/fiber/v2"
"strconv"
)
diff --git a/pkg/internal/http/api/reports_api.go b/pkg/internal/http/api/reports_api.go
index d6c4172..879a5e4 100644
--- a/pkg/internal/http/api/reports_api.go
+++ b/pkg/internal/http/api/reports_api.go
@@ -1,9 +1,9 @@
package api
import (
- "git.solsynth.dev/hydrogen/passport/pkg/authkit/models"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/http/exts"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/services"
+ "git.solsynth.dev/hypernet/passport/pkg/authkit/models"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/http/exts"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/services"
"github.com/gofiber/fiber/v2"
)
diff --git a/pkg/internal/http/api/security_api.go b/pkg/internal/http/api/security_api.go
index ad3d9de..8bffd78 100644
--- a/pkg/internal/http/api/security_api.go
+++ b/pkg/internal/http/api/security_api.go
@@ -1,9 +1,9 @@
package api
import (
- "git.solsynth.dev/hydrogen/passport/pkg/authkit/models"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/database"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/http/exts"
+ "git.solsynth.dev/hypernet/passport/pkg/authkit/models"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/database"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/http/exts"
"github.com/gofiber/fiber/v2"
)
diff --git a/pkg/internal/http/api/sign_api.go b/pkg/internal/http/api/sign_api.go
index 4641b96..4d72151 100644
--- a/pkg/internal/http/api/sign_api.go
+++ b/pkg/internal/http/api/sign_api.go
@@ -1,10 +1,10 @@
package api
import (
- "git.solsynth.dev/hydrogen/passport/pkg/authkit/models"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/database"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/http/exts"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/services"
+ "git.solsynth.dev/hypernet/passport/pkg/authkit/models"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/database"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/http/exts"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/services"
"github.com/gofiber/fiber/v2"
"strconv"
)
diff --git a/pkg/internal/http/api/statuses_api.go b/pkg/internal/http/api/statuses_api.go
index e13296d..0501c4d 100644
--- a/pkg/internal/http/api/statuses_api.go
+++ b/pkg/internal/http/api/statuses_api.go
@@ -5,10 +5,10 @@ import (
"strconv"
"time"
- "git.solsynth.dev/hydrogen/passport/pkg/authkit/models"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/database"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/http/exts"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/services"
+ "git.solsynth.dev/hypernet/passport/pkg/authkit/models"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/database"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/http/exts"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/services"
"github.com/gofiber/fiber/v2"
"github.com/samber/lo"
)
diff --git a/pkg/internal/http/api/userinfo_api.go b/pkg/internal/http/api/userinfo_api.go
index 5298c27..9961a50 100644
--- a/pkg/internal/http/api/userinfo_api.go
+++ b/pkg/internal/http/api/userinfo_api.go
@@ -2,13 +2,13 @@ package api
import (
"fmt"
- "git.solsynth.dev/hydrogen/passport/pkg/authkit/models"
+ "git.solsynth.dev/hypernet/passport/pkg/authkit/models"
"github.com/spf13/viper"
"gorm.io/gorm"
"strings"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/database"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/services"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/database"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/services"
"github.com/gofiber/fiber/v2"
)
diff --git a/pkg/internal/http/exts/auth.go b/pkg/internal/http/exts/auth.go
index 81b2fc9..e78559e 100644
--- a/pkg/internal/http/exts/auth.go
+++ b/pkg/internal/http/exts/auth.go
@@ -2,8 +2,8 @@ package exts
import (
"fmt"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/services"
"git.solsynth.dev/hypernet/nexus/pkg/nex/sec"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/services"
"github.com/gofiber/fiber/v2"
)
diff --git a/pkg/internal/http/server.go b/pkg/internal/http/server.go
index 37efba1..cffe8f0 100644
--- a/pkg/internal/http/server.go
+++ b/pkg/internal/http/server.go
@@ -1,12 +1,12 @@
package http
import (
- "git.solsynth.dev/hydrogen/passport/pkg/authkit"
"git.solsynth.dev/hypernet/nexus/pkg/nex/sec"
+ "git.solsynth.dev/hypernet/passport/pkg/authkit"
"strings"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/http/admin"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/http/api"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/http/admin"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/http/api"
"github.com/gofiber/fiber/v2"
"github.com/gofiber/fiber/v2/middleware/cors"
"github.com/gofiber/fiber/v2/middleware/idempotency"
diff --git a/pkg/internal/services/account_groups.go b/pkg/internal/services/account_groups.go
index 69a6a22..ec8c3b7 100644
--- a/pkg/internal/services/account_groups.go
+++ b/pkg/internal/services/account_groups.go
@@ -1,8 +1,8 @@
package services
import (
- "git.solsynth.dev/hydrogen/passport/pkg/authkit/models"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/database"
+ "git.solsynth.dev/hypernet/passport/pkg/authkit/models"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/database"
"github.com/samber/lo"
)
diff --git a/pkg/internal/services/accounts.go b/pkg/internal/services/accounts.go
index 208b758..0601914 100644
--- a/pkg/internal/services/accounts.go
+++ b/pkg/internal/services/accounts.go
@@ -3,13 +3,13 @@ package services
import (
"context"
"fmt"
- "git.solsynth.dev/hydrogen/passport/pkg/authkit/models"
"git.solsynth.dev/hypernet/nexus/pkg/nex"
"git.solsynth.dev/hypernet/nexus/pkg/proto"
+ "git.solsynth.dev/hypernet/passport/pkg/authkit/models"
"time"
"unicode"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/gap"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/gap"
"gorm.io/gorm/clause"
@@ -17,7 +17,7 @@ import (
"github.com/spf13/viper"
"gorm.io/datatypes"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/database"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/database"
"github.com/google/uuid"
"github.com/samber/lo"
)
diff --git a/pkg/internal/services/auth.go b/pkg/internal/services/auth.go
index 91c8b27..5c01337 100644
--- a/pkg/internal/services/auth.go
+++ b/pkg/internal/services/auth.go
@@ -3,8 +3,8 @@ package services
import (
"context"
"fmt"
- "git.solsynth.dev/hydrogen/passport/pkg/authkit/models"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/database"
+ "git.solsynth.dev/hypernet/passport/pkg/authkit/models"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/database"
"time"
"github.com/eko/gocache/lib/v4/cache"
@@ -12,7 +12,7 @@ import (
"github.com/eko/gocache/lib/v4/store"
jsoniter "github.com/json-iterator/go"
- localCache "git.solsynth.dev/hydrogen/passport/pkg/internal/cache"
+ localCache "git.solsynth.dev/hypernet/passport/pkg/internal/cache"
"github.com/gofiber/fiber/v2"
"github.com/rs/zerolog/log"
)
diff --git a/pkg/internal/services/badges.go b/pkg/internal/services/badges.go
index 2421f24..731981e 100644
--- a/pkg/internal/services/badges.go
+++ b/pkg/internal/services/badges.go
@@ -1,8 +1,8 @@
package services
import (
- "git.solsynth.dev/hydrogen/passport/pkg/authkit/models"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/database"
+ "git.solsynth.dev/hypernet/passport/pkg/authkit/models"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/database"
)
func GrantBadge(user models.Account, badge models.Badge) error {
diff --git a/pkg/internal/services/bot_token.go b/pkg/internal/services/bot_token.go
index 3a8ddcf..f057545 100644
--- a/pkg/internal/services/bot_token.go
+++ b/pkg/internal/services/bot_token.go
@@ -1,10 +1,10 @@
package services
import (
- "git.solsynth.dev/hydrogen/passport/pkg/authkit/models"
+ "git.solsynth.dev/hypernet/passport/pkg/authkit/models"
"time"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/database"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/database"
"github.com/google/uuid"
"github.com/samber/lo"
)
diff --git a/pkg/internal/services/bots.go b/pkg/internal/services/bots.go
index 9ed4ec9..f45fef1 100644
--- a/pkg/internal/services/bots.go
+++ b/pkg/internal/services/bots.go
@@ -1,8 +1,8 @@
package services
import (
- "git.solsynth.dev/hydrogen/passport/pkg/authkit/models"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/database"
+ "git.solsynth.dev/hypernet/passport/pkg/authkit/models"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/database"
)
func GetBotCount(user models.Account) (int64, error) {
diff --git a/pkg/internal/services/cleaner.go b/pkg/internal/services/cleaner.go
index 3d66059..a1404ab 100644
--- a/pkg/internal/services/cleaner.go
+++ b/pkg/internal/services/cleaner.go
@@ -1,8 +1,8 @@
package services
import (
- "git.solsynth.dev/hydrogen/passport/pkg/authkit/models"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/database"
+ "git.solsynth.dev/hypernet/passport/pkg/authkit/models"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/database"
"github.com/rs/zerolog/log"
"time"
)
diff --git a/pkg/internal/services/clients.go b/pkg/internal/services/clients.go
index dd94c8d..518757e 100644
--- a/pkg/internal/services/clients.go
+++ b/pkg/internal/services/clients.go
@@ -2,9 +2,9 @@ package services
import (
"fmt"
- "git.solsynth.dev/hydrogen/passport/pkg/authkit/models"
+ "git.solsynth.dev/hypernet/passport/pkg/authkit/models"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/database"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/database"
)
func GetThirdClient(id string) (models.ThirdClient, error) {
diff --git a/pkg/internal/services/events.go b/pkg/internal/services/events.go
index 34a87da..20829e4 100644
--- a/pkg/internal/services/events.go
+++ b/pkg/internal/services/events.go
@@ -1,8 +1,8 @@
package services
import (
- "git.solsynth.dev/hydrogen/passport/pkg/authkit/models"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/database"
+ "git.solsynth.dev/hypernet/passport/pkg/authkit/models"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/database"
"github.com/rs/zerolog/log"
)
diff --git a/pkg/internal/services/factors.go b/pkg/internal/services/factors.go
index 5221d3e..3928180 100644
--- a/pkg/internal/services/factors.go
+++ b/pkg/internal/services/factors.go
@@ -2,9 +2,9 @@ package services
import (
"fmt"
- "git.solsynth.dev/hydrogen/passport/pkg/authkit/models"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/database"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/gap"
+ "git.solsynth.dev/hypernet/passport/pkg/authkit/models"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/database"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/gap"
"git.solsynth.dev/hypernet/pusher/pkg/pushkit"
"github.com/google/uuid"
"github.com/rs/zerolog/log"
diff --git a/pkg/internal/services/jwt.go b/pkg/internal/services/jwt.go
index cd609c5..9653dfa 100644
--- a/pkg/internal/services/jwt.go
+++ b/pkg/internal/services/jwt.go
@@ -1,8 +1,8 @@
package services
import (
- "git.solsynth.dev/hydrogen/passport/pkg/authkit/models"
"git.solsynth.dev/hypernet/nexus/pkg/nex/sec"
+ "git.solsynth.dev/hypernet/passport/pkg/authkit/models"
"time"
"github.com/golang-jwt/jwt/v5"
diff --git a/pkg/internal/services/notifications.go b/pkg/internal/services/notifications.go
index fa1f548..59b41dd 100644
--- a/pkg/internal/services/notifications.go
+++ b/pkg/internal/services/notifications.go
@@ -3,9 +3,9 @@ package services
import (
"context"
"fmt"
- "git.solsynth.dev/hydrogen/passport/pkg/authkit/models"
"git.solsynth.dev/hypernet/nexus/pkg/nex"
"git.solsynth.dev/hypernet/nexus/pkg/proto"
+ "git.solsynth.dev/hypernet/passport/pkg/authkit/models"
"git.solsynth.dev/hypernet/pusher/pkg/pushkit"
"reflect"
"time"
@@ -13,9 +13,9 @@ import (
"github.com/rs/zerolog/log"
"github.com/samber/lo"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/gap"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/gap"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/database"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/database"
)
func AddNotifySubscriber(user models.Account, provider, id, tk, ua string) (models.NotificationSubscriber, error) {
diff --git a/pkg/internal/services/preferences.go b/pkg/internal/services/preferences.go
index 474b672..750535c 100644
--- a/pkg/internal/services/preferences.go
+++ b/pkg/internal/services/preferences.go
@@ -3,11 +3,11 @@ package services
import (
"context"
"fmt"
- "git.solsynth.dev/hydrogen/passport/pkg/authkit/models"
+ "git.solsynth.dev/hypernet/passport/pkg/authkit/models"
"time"
- localCache "git.solsynth.dev/hydrogen/passport/pkg/internal/cache"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/database"
+ localCache "git.solsynth.dev/hypernet/passport/pkg/internal/cache"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/database"
"github.com/eko/gocache/lib/v4/cache"
"github.com/eko/gocache/lib/v4/marshaler"
"github.com/eko/gocache/lib/v4/store"
diff --git a/pkg/internal/services/realms.go b/pkg/internal/services/realms.go
index afc7484..597a239 100644
--- a/pkg/internal/services/realms.go
+++ b/pkg/internal/services/realms.go
@@ -2,8 +2,8 @@ package services
import (
"fmt"
- "git.solsynth.dev/hydrogen/passport/pkg/authkit/models"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/database"
+ "git.solsynth.dev/hypernet/passport/pkg/authkit/models"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/database"
"github.com/samber/lo"
)
diff --git a/pkg/internal/services/relationships.go b/pkg/internal/services/relationships.go
index 51bd814..49080f8 100644
--- a/pkg/internal/services/relationships.go
+++ b/pkg/internal/services/relationships.go
@@ -3,9 +3,9 @@ package services
import (
"errors"
"fmt"
- "git.solsynth.dev/hydrogen/passport/pkg/authkit/models"
+ "git.solsynth.dev/hypernet/passport/pkg/authkit/models"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/database"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/database"
"gorm.io/gorm"
)
diff --git a/pkg/internal/services/reports.go b/pkg/internal/services/reports.go
index 4043e7b..15c6874 100644
--- a/pkg/internal/services/reports.go
+++ b/pkg/internal/services/reports.go
@@ -2,8 +2,8 @@ package services
import (
"fmt"
- "git.solsynth.dev/hydrogen/passport/pkg/authkit/models"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/database"
+ "git.solsynth.dev/hypernet/passport/pkg/authkit/models"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/database"
)
func ListAbuseReport(account models.Account) ([]models.AbuseReport, error) {
diff --git a/pkg/internal/services/sign.go b/pkg/internal/services/sign.go
index a268c1a..051a7b4 100644
--- a/pkg/internal/services/sign.go
+++ b/pkg/internal/services/sign.go
@@ -3,8 +3,8 @@ package services
import (
"errors"
"fmt"
- "git.solsynth.dev/hydrogen/passport/pkg/authkit/models"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/database"
+ "git.solsynth.dev/hypernet/passport/pkg/authkit/models"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/database"
"gorm.io/gorm"
"math"
"math/rand"
diff --git a/pkg/internal/services/statuses.go b/pkg/internal/services/statuses.go
index 4773277..15f70d5 100644
--- a/pkg/internal/services/statuses.go
+++ b/pkg/internal/services/statuses.go
@@ -3,14 +3,14 @@ package services
import (
"context"
"fmt"
- "git.solsynth.dev/hydrogen/passport/pkg/authkit/models"
"git.solsynth.dev/hypernet/nexus/pkg/proto"
+ "git.solsynth.dev/hypernet/passport/pkg/authkit/models"
"time"
- localCache "git.solsynth.dev/hydrogen/passport/pkg/internal/cache"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/gap"
+ localCache "git.solsynth.dev/hypernet/passport/pkg/internal/cache"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/gap"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/database"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/database"
"github.com/eko/gocache/lib/v4/cache"
"github.com/eko/gocache/lib/v4/marshaler"
"github.com/eko/gocache/lib/v4/store"
diff --git a/pkg/internal/services/ticket.go b/pkg/internal/services/ticket.go
index 332e118..1fb2d3d 100644
--- a/pkg/internal/services/ticket.go
+++ b/pkg/internal/services/ticket.go
@@ -2,7 +2,7 @@ package services
import (
"fmt"
- "git.solsynth.dev/hydrogen/passport/pkg/authkit/models"
+ "git.solsynth.dev/hypernet/passport/pkg/authkit/models"
"gorm.io/datatypes"
"time"
@@ -10,7 +10,7 @@ import (
"github.com/google/uuid"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/database"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/database"
"github.com/samber/lo"
)
diff --git a/pkg/internal/services/ticket_queries.go b/pkg/internal/services/ticket_queries.go
index f0d822b..b1237df 100644
--- a/pkg/internal/services/ticket_queries.go
+++ b/pkg/internal/services/ticket_queries.go
@@ -1,8 +1,8 @@
package services
import (
- "git.solsynth.dev/hydrogen/passport/pkg/authkit/models"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/database"
+ "git.solsynth.dev/hypernet/passport/pkg/authkit/models"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/database"
)
func GetTicket(id uint) (models.AuthTicket, error) {
diff --git a/pkg/internal/services/ticket_token.go b/pkg/internal/services/ticket_token.go
index 7f62106..cd42f21 100644
--- a/pkg/internal/services/ticket_token.go
+++ b/pkg/internal/services/ticket_token.go
@@ -2,12 +2,12 @@ package services
import (
"fmt"
- "git.solsynth.dev/hydrogen/passport/pkg/authkit/models"
"git.solsynth.dev/hypernet/nexus/pkg/nex/sec"
+ "git.solsynth.dev/hypernet/passport/pkg/authkit/models"
"strconv"
"time"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/database"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/database"
"github.com/samber/lo"
"github.com/spf13/viper"
)
diff --git a/pkg/internal/services/tokens.go b/pkg/internal/services/tokens.go
index e7848a8..c8a1597 100644
--- a/pkg/internal/services/tokens.go
+++ b/pkg/internal/services/tokens.go
@@ -2,13 +2,13 @@ package services
import (
"fmt"
- "git.solsynth.dev/hydrogen/passport/pkg/authkit/models"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/gap"
+ "git.solsynth.dev/hypernet/passport/pkg/authkit/models"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/gap"
"git.solsynth.dev/hypernet/pusher/pkg/pushkit"
"strings"
"time"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/database"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/database"
"github.com/google/uuid"
"github.com/spf13/viper"
)
diff --git a/pkg/main.go b/pkg/main.go
index 7534429..b168773 100644
--- a/pkg/main.go
+++ b/pkg/main.go
@@ -8,16 +8,16 @@ import (
"os/signal"
"syscall"
- pkg "git.solsynth.dev/hydrogen/passport/pkg/internal"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/gap"
+ pkg "git.solsynth.dev/hypernet/passport/pkg/internal"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/gap"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/grpc"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/http"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/services"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/grpc"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/http"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/services"
"github.com/robfig/cron/v3"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/cache"
- "git.solsynth.dev/hydrogen/passport/pkg/internal/database"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/cache"
+ "git.solsynth.dev/hypernet/passport/pkg/internal/database"
"github.com/rs/zerolog"
"github.com/rs/zerolog/log"
"github.com/spf13/viper"