Monorepo for Tangled tangled.org

appview/pages: resolve did on render #801

merged opened by boltless.me targeting master from sl/yurolxtlpsmz

Don't pass resolved user handles from http handlers. The page renderer is capable of resolving DIDs and we are using redis cache, so the performance won't matter much either.

Signed-off-by: Seongmin Lee git@boltless.me

Labels

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:xasnlahkri4ewmbuzly2rlc5/sh.tangled.repo.pull/3m5mgmc446o22
+3 -3
Interdiff #0 #1
+1 -1
appview/pages/funcmap.go
··· 78 78 } 79 79 handle := ownerId.Handle 80 80 if handle != "" && !handle.IsInvalidHandle() { 81 - return string(handle)+"/"+repo.Name 81 + return string(handle) + "/" + repo.Name 82 82 } 83 83 return repo.DidSlashRepo() 84 84 },
+2 -2
appview/pages/pages.go
··· 830 830 } 831 831 832 832 type Collaborator struct { 833 - Did string 834 - Role string 833 + Did string 834 + Role string 835 835 } 836 836 837 837 type RepoSettingsParams struct {
appview/pages/repoinfo/repoinfo.go

This file has not been changed.

appview/pages/templates/layouts/profilebase.html

This file has not been changed.

appview/pages/templates/repo/empty.html

This file has not been changed.

appview/pages/templates/repo/fragments/cloneDropdown.html

This file has not been changed.

appview/pages/templates/repo/settings/access.html

This file has not been changed.

appview/pages/templates/strings/dashboard.html

This file has not been changed.

appview/pages/templates/strings/string.html

This file has not been changed.

appview/pages/templates/user/followers.html

This file has not been changed.

appview/pages/templates/user/following.html

This file has not been changed.

appview/pages/templates/user/fragments/profileCard.html

This file has not been changed.

appview/pages/templates/user/overview.html

This file has not been changed.

appview/pages/templates/user/repos.html

This file has not been changed.

appview/pages/templates/user/starred.html

This file has not been changed.

appview/pages/templates/user/strings.html

This file has not been changed.

appview/reporesolver/resolver.go

This file has not been changed.

appview/state/profile.go

This file has not been changed.

History

6 rounds 0 comments
sign up or login to add to the discussion
1 commit
expand
appview/pages: resolve did on render
expand 0 comments
pull request successfully merged
1 commit
expand
appview/pages: resolve did on render
expand 0 comments
1 commit
expand
appview/pages: resolve did on render
1/3 failed, 2/3 timeout
expand
expand 0 comments
1 commit
expand
appview/pages: resolve did on render
1/3 failed, 2/3 timeout
expand
expand 0 comments
1 commit
expand
appview/pages: resolve did on render
1/3 failed, 2/3 timeout
expand
expand 0 comments
1 commit
expand
appview/pages: resolve did on render
1/3 failed, 2/3 timeout
expand
expand 0 comments