commits
Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.sh>
Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.sh>
Rename FullyResolvedRepo -> ResolvedRepo
Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.sh>
repoguard still uses an in-memory resolver.
Signed-off-by: oppiliappan <me@oppi.li>
trigger comparison on button click, this simplifes a variety of things:
- we can load a diff on page visit without javascript
- we can avoid modifying url using javascript and breaking back buttons
- we can avoid a lot of javascript code
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: Anirudh Oppiliappan <x@icyphox.sh>
Also move FormatPatch to types to avoid an import cycle.
Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.sh>
- Disable caching of responses as suggested by documentation.
<https://git-scm.com/docs/http-protocol#_smart_server_response>
- Return plain-text errors so the git client will display them.
- Check Content-Type of upload-pack request.
v1-style requests are unaffected and v0 (dumb-protocol) requests remain
unsupported.
this gets noisy really quickly when the stack is rebased. now, the only
things that can cause a resubmit are: reauthoring commit messages or
modifying the patch itself.
speak more about tangled itself, link to discord, irc and source code.
- fix kotlinscript detection (there is an open patch upstream for this)
- fix gleam highlighting
the stacking working introduced some unnecessary changes here
the current PR is already in the list of PRs to be merged, include only
PRs that are strictly below it for merge.
- move endpoint on knot to /{did}/{name}/languages
- remove buggy percentage calculation
- fix endpoint to work on empty repos
- allowing calling endpoint with empty ref
Also skips getForkInfo for non owners/collaborators.
Prevents a nil dereference in the repo index route if the user is not
logged in, and hides the fork-sync button.
Fixes: <https://tangled.sh/@tangled.sh/core/issues/108>
Fixes: <https://tangled.sh/@tangled.sh/core/issues/107>
Let's stick to just the file extension alone since we sometimes seem to get
text/plain as the MIME type.
on mobile, this indicator would shrink out of existence
Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.sh>
Signed-off-by: oppiliappan <me@oppi.li>