+58
-1
api/tangled/cbor_gen.go
+58
-1
api/tangled/cbor_gen.go
·········
+2
api/tangled/tangledrepo.go
+2
api/tangled/tangledrepo.go
+7
appview/db/db.go
+7
appview/db/db.go
+31
-9
appview/db/repos.go
+31
-9
appview/db/repos.go
·········+rows, &repo.Did, &repo.Name, &repo.Knot, &repo.Rkey, &repo.Description, &repo.Created, &repo.Source,·········func AddCollaborator(e Execer, collaborator, repoOwnerDid, repoName, repoKnot string) error {···-func scanRepo(rows *sql.Rows, did, name, knot, rkey, description *string, created *time.Time) error {+func scanRepo(rows *sql.Rows, did, name, knot, rkey, description *string, created *time.Time, source *string) error {+if err := rows.Scan(did, name, knot, rkey, &nullableDescription, &createdAt, &nullableSource); err != nil {···
+17
appview/db/timeline.go
+17
appview/db/timeline.go
······
+21
-9
appview/pages/pages.go
+21
-9
appview/pages/pages.go
······
+10
appview/pages/templates/layouts/repobase.html
+10
appview/pages/templates/layouts/repobase.html
···+<a class="ml-1 underline" href="/{{ $sourceOwner }}/{{ .RepoInfo.Source.Name }}">{{ $sourceOwner }}/{{ .RepoInfo.Source.Name }}</a>
+38
appview/pages/templates/repo/fork.html
+38
appview/pages/templates/repo/fork.html
···+<p class="text-sm text-gray-500 dark:text-gray-400">A knot hosts repository data. <a href="/knots" class="underline">Learn how to register your own knot.</a></p>
+20
-5
appview/pages/templates/repo/settings.html
+20
-5
appview/pages/templates/repo/settings.html
······-<input type="text" id="collaborator" name="collaborator" required class="dark:bg-gray-700 dark:text-white" />-<button class="btn my-2 dark:text-white dark:hover:bg-gray-700" type="text">add collaborator</button>
+7
appview/pages/templates/timeline.html
+7
appview/pages/templates/timeline.html
···<a href="/{{ $userHandle }}" class="no-underline hover:underline">{{ $userHandle | truncateAt30 }}</a>+<a href="/{{ $userHandle }}/{{ .Repo.Name }}" class="no-underline hover:underline">{{ .Repo.Name }}</a>+<a href="/{{ index $.DidHandleMap .Source.Did }}/{{ .Source.Name }}" class="no-underline hover:underline">{{ index $.DidHandleMap .Source.Did }}/{{ .Source.Name }}</a><a href="/{{ $userHandle }}/{{ .Repo.Name }}" class="no-underline hover:underline">{{ .Repo.Name }}</a>
+191
-2
appview/state/repo.go
+191
-2
appview/state/repo.go
···············+atresp, err := comatproto.RepoPutRecord(r.Context(), xrpcClient, &comatproto.RepoPutRecord_Input{
+14
appview/state/repo_util.go
+14
appview/state/repo_util.go
······
+6
appview/state/router.go
+6
appview/state/router.go
···
+20
appview/state/signer.go
+20
appview/state/signer.go
···
+3
appview/state/state.go
+3
appview/state/state.go
···
+20
knotserver/git/fork.go
+20
knotserver/git/fork.go
···
+1
knotserver/handler.go
+1
knotserver/handler.go
+43
knotserver/routes.go
+43
knotserver/routes.go
···