alpha
Login
or
Join now
tangled.org
/
core
Star
11
Fork
68
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Monorepo for Tangled
tangled.org
Star
11
Fork
68
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
16
Pulls
28
Pipelines
core
/
appview
/
at
686cab053dbe9c7a0307a894108ee7a43e9d31d5
35 folders
1 file
Seongmin Lee
appview/{pages,state}: simplify LoginPage params
5mo ago
686cab05
bsky
appview/{pages,state}: simplify LoginPage params We don't need to pass full `MultiAccountUser` here. just `[]AccountInfo` should be enough. This way, we can make `MultiAccountUser` to always hold an active user. Signed-off-by: Seongmin Lee <git@boltless.me>
5 months ago
cache
all: rename go module to tangled.org/core Sets up a special-case handler for serving tangled.org/core go module, plus some misc. .sh -> .org renames. Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.sh>
9 months ago
cloudflare
appview/cloudflare: add kv, r2 and dns client wrappers Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.org>
4 months ago
commitverify
commitverify: skip unsigned commits before DB lookup Signed-off-by: Matías Insaurralde <matias@insaurral.de>
2 months ago
config
appview: use explicit `TANGLED_PDS_USER_DOMAIN` for user handle check PDS might have different domain for PDS hostname & user handles Signed-off-by: Seongmin Lee <git@boltless.me>
3 months ago
db
appview/state: paginate starred repos page in user profiles Signed-off-by: oppiliappan <me@oppi.li>
2 months ago
email
appview: expand domain of acceptable email addresses Use address resolution steps from RFC5321 section 5.1 when validating email addresses. ref: https://datatracker.ietf.org/doc/html/rfc5321#section-5.1 Signed-off-by: tjh <x@tjh.dev>
3 months ago
filetree
appview/pages: differentiate open/close icons in filetree the giant tailwind safelist is used because nested groups cannot be styled using tailwind, and therefore we need named groups. we pre-populate the source html with up to 12-deep named groups and their variants so that tailwind generates the right css. Signed-off-by: oppiliappan <me@oppi.li>
3 months ago
indexer
appview/indexer: propagate SearchInContext error instead of nil, nil Search was returning nil,nil on error, silently bypassing every caller's error guard and causing a nil pointer dereference on the result. Return nil,err instead. Signed-off-by: Matías Insaurralde <matias@insaurral.de>
2 months ago
issues
*: correct typos throughout codebase Fix various misspellings found by the typos tool: - Error messages: Forbiden -> Forbidden, insufficent -> insufficient - Comments and docs: recieve -> receive, acheive -> achieve, etc. - Variable names: Referencs -> References, intialize -> initialize - HTML templates: Unubscribe -> Unsubscribe, explictly -> explicitly - Function names: perferom -> perform Also remove backwards compat code for is_deafult JSON field. Add _typos.toml config for false positives (external APIs, etc.) Signed-off-by: eti <eti@eti.tf>
2 months ago
knots
*: correct typos throughout codebase Fix various misspellings found by the typos tool: - Error messages: Forbiden -> Forbidden, insufficent -> insufficient - Comments and docs: recieve -> receive, acheive -> achieve, etc. - Variable names: Referencs -> References, intialize -> initialize - HTML templates: Unubscribe -> Unsubscribe, explictly -> explicitly - Function names: perferom -> perform Also remove backwards compat code for is_deafult JSON field. Add _typos.toml config for false positives (external APIs, etc.) Signed-off-by: eti <eti@eti.tf>
2 months ago
labels
go.mod: bump indigo version to fork We will start using our own forked version of indigo package. Signed-off-by: Seongmin Lee <git@boltless.me>
3 months ago
mentions
appview: rename refresolver module to mentions usage of the resolver is now mentionsResolver. Signed-off-by: oppiliappan <me@oppi.li>
6 months ago
middleware
appview/pulls: update handlers for new pull model Signed-off-by: oppiliappan <me@oppi.li>
3 months ago
models
appview: bubble up error on `PullFromRecord` Signed-off-by: Seongmin Lee <git@boltless.me>
2 months ago
notifications
appview: migrate handlers to GetMultiAccountUser
5 months ago
notify
appview/pulls: update handlers for new pull model Signed-off-by: oppiliappan <me@oppi.li>
3 months ago
oauth
appview/{pages,state}: simplify LoginPage params We don't need to pass full `MultiAccountUser` here. just `[]AccountInfo` should be enough. This way, we can make `MultiAccountUser` to always hold an active user. Signed-off-by: Seongmin Lee <git@boltless.me>
5 months ago
pages
appview/{pages,state}: simplify LoginPage params We don't need to pass full `MultiAccountUser` here. just `[]AccountInfo` should be enough. This way, we can make `MultiAccountUser` to always hold an active user. Signed-off-by: Seongmin Lee <git@boltless.me>
5 months ago
pagination
appview: add basic issue indexer - Heavily inspired by gitea - add `GetAllIssues` which only receives a paginator and gathers all issues ignoring `repoAt` field Signed-off-by: Seongmin Lee <boltlessengineer@proton.me>
11 months ago
pipelines
appview/pipelines: fix incorrect totals the default query limits to 30 items, we need a separate query for total pipeline counts. Signed-off-by: oppiliappan <me@oppi.li>
4 months ago
pulls
appview/{pages,state}: simplify LoginPage params We don't need to pass full `MultiAccountUser` here. just `[]AccountInfo` should be enough. This way, we can make `MultiAccountUser` to always hold an active user. Signed-off-by: Seongmin Lee <git@boltless.me>
5 months ago
randomart
show branches in a dropdown
1 year ago
repo
appview/repo: don't refresh page on default branch change knotmirror update happens asynchronously, so if we immediately refresh the page, default branch will rollback to original. Not refreshing a page here is totally fine. Signed-off-by: Seongmin Lee <git@boltless.me>
2 months ago
reporesolver
appview/{pages,state}: simplify LoginPage params We don't need to pass full `MultiAccountUser` here. just `[]AccountInfo` should be enough. This way, we can make `MultiAccountUser` to always hold an active user. Signed-off-by: Seongmin Lee <git@boltless.me>
5 months ago
searchquery
appview/searchquery: add dynamic tag extraction and shared resolution helpers Add KnownTags map and GetDynamicTags/GetNegatedDynamicTags methods to extract label-value search filters from parsed queries. Any tag:value pair whose key is not a known system tag (state, author, label) is treated as a dynamic label filter. Add resolve.go with shared helpers: IdentResolver type, ResolveAuthor, ExtractTextFilters, and ResolveDIDLabelValues. These keep resolution logic in the searchquery package without coupling it to idresolver. Signed-off-by: Thomas Karpiniec <tom.karpiniec@outlook.com>
3 months ago
serververify
orm: extract orm package from appview includes query and migration helpers Signed-off-by: oppiliappan <me@oppi.li>
6 months ago
settings
appview: don't trust `oauth.ClientSessionData` `oauth.ClientSessionData.HostURL` is not validated after first session creation. If user switches the PDS while logged in, `.HostURL` will still point to old PDS, showing account management options for `tngl.sh` users. This can confuse users to accidentally put account in odd state (activated in both PDSes) Instead, always resolve Handles and PDS hosts on-demand. Technically `HostURL` is used on creating authorized atpclient, but that's ok because request to old PDS will reject the request. Ideally we should revoke user sessions on `#account` event, indigo currently doesn't support DID based revoking. Signed-off-by: Seongmin Lee <git@boltless.me>
5 months ago
signup
appview/signup: fix HTML notice not being rendered Signed-off-by: oppiliappan <me@oppi.li>
2 months ago
sites
appview/sites: use repoIdentifier for archive requests we could just use the knotmirror here directly instead of deploying from the knot, but we'd need the knotmirror to update before the site. for now just deploy from the knot. Signed-off-by: oppiliappan <me@oppi.li>
2 months ago
spindles
appview/db: propagate context through GetSpindles and AddPipelineStatus Update all call sites of db.GetSpindles and db.AddPipelineStatus to pass a context.Context, enabling proper cancellation and timeout propagation to the database layer. Signed-off-by: Matías Insaurralde <matias@insaurral.de>
2 months ago
state
appview/{pages,state}: simplify LoginPage params We don't need to pass full `MultiAccountUser` here. just `[]AccountInfo` should be enough. This way, we can make `MultiAccountUser` to always hold an active user. Signed-off-by: Seongmin Lee <git@boltless.me>
5 months ago
strings
appview/strings: delete PDS record when deleting a string Orphaned `sh.tangled.string` records on users' PDSs cannot be cleaned up by the appview and they would need to be removed manually by each user. Signed-off-by: Youn Mélois <youn@melois.dev>
3 months ago
validator
appview/validator: write validators for pull records Signed-off-by: oppiliappan <me@oppi.li>
4 months ago
xrpcclient
appview: switch to indigo oauth library Signed-off-by: oppiliappan <me@oppi.li>
8 months ago
ingester.go
appview: don't trust `oauth.ClientSessionData` `oauth.ClientSessionData.HostURL` is not validated after first session creation. If user switches the PDS while logged in, `.HostURL` will still point to old PDS, showing account management options for `tngl.sh` users. This can confuse users to accidentally put account in odd state (activated in both PDSes) Instead, always resolve Handles and PDS hosts on-demand. Technically `HostURL` is used on creating authorized atpclient, but that's ok because request to old PDS will reject the request. Ideally we should revoke user sessions on `#account` event, indigo currently doesn't support DID based revoking. Signed-off-by: Seongmin Lee <git@boltless.me>
5 months ago