+67
-133
appview/db/registration.go
+67
-133
appview/db/registration.go
······-err = rows.Scan(®istration.Id, ®istration.Domain, ®istration.ByDid, &createdAt, ®isteredAt)-`, domain).Scan(®istration.Id, ®istration.Domain, ®istration.ByDid, &createdAt, ®isteredAt)-on conflict(domain) do update set did = excluded.did, secret = excluded.secret, created = excluded.created+query := "update registrations set registered = strftime('%Y-%m-%dT%H:%M:%SZ', 'now'), read_only = 0"
+40
-16
appview/knots/knots.go
+40
-16
appview/knots/knots.go
···············
+9
-1
appview/pages/pages.go
+9
-1
appview/pages/pages.go
······
+11
-2
appview/pages/templates/knots/fragments/knotListing.html
+11
-2
appview/pages/templates/knots/fragments/knotListing.html
···-<span class="bg-green-100 text-green-800 dark:bg-green-900 dark:text-green-200 {{$style}}">{{ i "shield-check" "w-4 h-4" }} verified</span>+<span class="bg-yellow-100 text-yellow-800 dark:bg-yellow-900 dark:text-yellow-200 {{$style}}">
+1
-1
appview/pages/templates/knots/index.html
+1
-1
appview/pages/templates/knots/index.html
+7
appview/pages/templates/layouts/topbar.html
+7
appview/pages/templates/layouts/topbar.html
+3
-1
appview/pages/templates/spindles/fragments/spindleListing.html
+3
-1
appview/pages/templates/spindles/fragments/spindleListing.html
···<a href="/spindles/{{ .Instance }}" class="hover:no-underline flex items-center gap-2 min-w-0 max-w-[60%]">
+5
-2
appview/state/knotstream.go
+5
-2
appview/state/knotstream.go
···func Knotstream(ctx context.Context, c *config.Config, d *db.DB, enforcer *rbac.Enforcer, posthog posthog.Client) (*ec.Consumer, error) {
+3
-3
appview/state/state.go
+3
-3
appview/state/state.go
···-s.pages.Notice(w, "repo", fmt.Sprintf("Failed to create repository on knot server: %s.", err.Error()))
+25
appview/xrpcclient/xrpc.go
+25
appview/xrpcclient/xrpc.go
······
+3
-3
knotserver/ingester.go
+3
-3
knotserver/ingester.go
···