diff --git a/Makefile b/Makefile index 8bbfdd4..1b15eff 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ all: generate backend frontend .PHONY: backend backend: - go build -v -o pronouns -ldflags="-buildid= -X codeberg.org/u1f320/pronouns.cc/backend/server.Revision=`git rev-parse --short HEAD` -X codeberg.org/u1f320/pronouns.cc/backend/server.Tag=`git describe --tags --long`" . + go build -v -o pronouns -ldflags="-buildid= -X codeberg.org/pronounscc/pronouns.cc/backend/server.Revision=`git rev-parse --short HEAD` -X codeberg.org/pronounscc/pronouns.cc/backend/server.Tag=`git describe --tags --long`" . .PHONY: generate generate: diff --git a/backend/db/db.go b/backend/db/db.go index 75ededf..5f7af5a 100644 --- a/backend/db/db.go +++ b/backend/db/db.go @@ -7,7 +7,7 @@ import ( "net/url" "os" - "codeberg.org/u1f320/pronouns.cc/backend/log" + "codeberg.org/pronounscc/pronouns.cc/backend/log" "emperror.dev/errors" "github.com/Masterminds/squirrel" "github.com/jackc/pgx/v5/pgconn" diff --git a/backend/db/flags.go b/backend/db/flags.go index 437493f..151cb92 100644 --- a/backend/db/flags.go +++ b/backend/db/flags.go @@ -9,7 +9,7 @@ import ( "io" "strings" - "codeberg.org/u1f320/pronouns.cc/backend/log" + "codeberg.org/pronounscc/pronouns.cc/backend/log" "emperror.dev/errors" "github.com/davidbyttow/govips/v2/vips" "github.com/georgysavva/scany/v2/pgxscan" diff --git a/backend/db/metrics.go b/backend/db/metrics.go index d658310..c2a4cf9 100644 --- a/backend/db/metrics.go +++ b/backend/db/metrics.go @@ -4,7 +4,7 @@ import ( "context" "time" - "codeberg.org/u1f320/pronouns.cc/backend/log" + "codeberg.org/pronounscc/pronouns.cc/backend/log" "emperror.dev/errors" "github.com/jackc/pgx/v5/pgconn" "github.com/prometheus/client_golang/prometheus" diff --git a/backend/db/user.go b/backend/db/user.go index 47c7c61..cdde3c4 100644 --- a/backend/db/user.go +++ b/backend/db/user.go @@ -8,8 +8,8 @@ import ( "regexp" "time" - "codeberg.org/u1f320/pronouns.cc/backend/common" - "codeberg.org/u1f320/pronouns.cc/backend/icons" + "codeberg.org/pronounscc/pronouns.cc/backend/common" + "codeberg.org/pronounscc/pronouns.cc/backend/icons" "emperror.dev/errors" "github.com/Masterminds/squirrel" "github.com/bwmarrin/discordgo" diff --git a/backend/exporter/exporter.go b/backend/exporter/exporter.go index 9f7e564..1c5dbc6 100644 --- a/backend/exporter/exporter.go +++ b/backend/exporter/exporter.go @@ -13,8 +13,8 @@ import ( "os/signal" "sync" - "codeberg.org/u1f320/pronouns.cc/backend/db" - "codeberg.org/u1f320/pronouns.cc/backend/log" + "codeberg.org/pronounscc/pronouns.cc/backend/db" + "codeberg.org/pronounscc/pronouns.cc/backend/log" "github.com/go-chi/chi/v5" "github.com/go-chi/chi/v5/middleware" "github.com/rs/xid" diff --git a/backend/exporter/types.go b/backend/exporter/types.go index f554e5a..3d4f14e 100644 --- a/backend/exporter/types.go +++ b/backend/exporter/types.go @@ -1,7 +1,7 @@ package exporter import ( - "codeberg.org/u1f320/pronouns.cc/backend/db" + "codeberg.org/pronounscc/pronouns.cc/backend/db" "github.com/rs/xid" ) diff --git a/backend/main.go b/backend/main.go index d1dca4f..7c9226a 100644 --- a/backend/main.go +++ b/backend/main.go @@ -7,8 +7,8 @@ import ( "os" "os/signal" - "codeberg.org/u1f320/pronouns.cc/backend/log" - "codeberg.org/u1f320/pronouns.cc/backend/server" + "codeberg.org/pronounscc/pronouns.cc/backend/log" + "codeberg.org/pronounscc/pronouns.cc/backend/server" "github.com/davidbyttow/govips/v2/vips" "github.com/go-chi/render" diff --git a/backend/openapi.html b/backend/openapi.html index 90ce8d0..bb77d6f 100644 --- a/backend/openapi.html +++ b/backend/openapi.html @@ -467,9 +467,9 @@ IDs are always prioritized, if a user's username is the same as another user
{- "id": "string",
- "name": "string",
- "display_name": "string",
- "bio": "string",
- "avatar": "string",
- "links": [
- "string"
], - "names": [
- {
- "value": "string",
- "status": "string"
}
], - "pronouns": [
- {
- "pronouns": "string",
- "display_text": "string",
- "status": "string"
}
], - "fields": [
- {
- "name": "string",
- "entries": [
- {
- "value": "string",
- "status": "string"
}
]
}
], - "user": {
- "id": "string",
- "name": "string",
- "display_name": "string",
- "avatar": "string",
- "custom_preferences": {
- "property1": {
- "icon": "string",
- "tooltip": "string",
- "size": "large",
- "muted": true,
- "favourite": true
}, - "property2": {
- "icon": "string",
- "tooltip": "string",
- "size": "large",
- "muted": true,
- "favourite": true
}
}
}
}
{- "git_commit": "130a199",
- "users": {
- "total": 3985,
- "active_month": 3985,
- "active_week": 1327,
- "active_day": 276
}, - "members": 11462,
- "require_invite": false
}
{- "git_commit": "130a199",
- "users": {
- "total": 3985,
- "active_month": 3985,
- "active_week": 1327,
- "active_day": 276
}, - "members": 11462,
- "require_invite": false
}