commits
this was previously clubbed into mergedNotifier. this changeset also
employes the new context-logger in every notifier.
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: oppiliappan <me@oppi.li>
produces info about a single tag object
Signed-off-by: oppiliappan <me@oppi.li>
makes more sense imo.
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: oppiliappan <me@oppi.li>
makes it easier to setup and teardown git repos for tests
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: oppiliappan <me@oppi.li>
helps identify sections in docs when navigating from the TOC.
Signed-off-by: oppiliappan <me@oppi.li>
allows removing vanity stat kinds
Signed-off-by: oppiliappan <me@oppi.li>
This reverts commit 8fb22cb34756cc2930bb780548d45bde56cdbe65.
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.org>
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: oppiliappan <me@oppi.li>
bigger portions of the logic for directories and files are now shared.
Signed-off-by: oppiliappan <me@oppi.li>
quite easily calculated as the most recently modified file in the
present tree.
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.org>
RepoBlob now also includes the last commit for the blob.
Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.org>
Signed-off-by: oppiliappan <me@oppi.li>
behaves like io.Discard, and infact, is just a wrapper around
io.Discard.
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: oppiliappan <me@oppi.li>
we were using `git apply` in merge check and `git am` for the actual
merge, but in reality, there are slight behavior changes among the two.
this change switches out `git apply` in `mergeCheck` to use `git am`
when dealing with mailbox style patches.
Signed-off-by: oppiliappan <me@oppi.li>
binaries added via nix-profile are stored in ~/.nix-profile/bin. we now
add this to the PATH during step execution.
Signed-off-by: oppiliappan <me@oppi.li>
This API is in the standard library now.
Signed-off-by: oppiliappan <me@oppi.li>
this allows ingesting newer types of stats.
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: Eduardo Cuducos <4732915+cuducos@users.noreply.github.com>
this will allow handle based url when cloning from knot over https
usually appview will resolve this before redirecting to the knot
this implementation just redirects to resolved path instead of passing
the entire identity for performance. As we won't want to resolve same
identity twice when proxied by appview.
Signed-off-by: Seongmin Lee <git@boltless.me>
this avoids changing the width of buttons when a request is inflight.
Signed-off-by: oppiliappan <me@oppi.li>
the pulls page includes an additional resizer to mutate the size of the
submissions panel.
Signed-off-by: oppiliappan <me@oppi.li>
elements marked with `data-resizer` will now have a few event handlers
attached to them on load. when mouse operations take place on this
element, the target (`data-target`) is resized along the provided axis,
the width of the element can be no lesser than `data-min` and no greater
than `data-max`.
Signed-off-by: oppiliappan <me@oppi.li>
uploading a blob without the content type results in a 403
ScopeMissingError, but indigo does not let us specify one! rewriting the
API to allow specifying the blob mime type is a temporary fix until
upstream allows this.
Signed-off-by: oppiliappan <me@oppi.li>
these pages were full html pages instead of blocks. as a result, their
meta values were not in sync with the rest of the site. by introducing
layouts/loginbase, we can now share the boilerplate.
of note is that the signup page needs an extra line in the `<head>`: the
script to load a cloudflare turnstile. this is supplied using
`extrameta`
Signed-off-by: oppiliappan <me@oppi.li>
we already have picHandle and picHandle link, this change adds pic and
picLink.
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: oppiliappan <me@oppi.li>
this is no longer necessary, we use BaseUrl where scheme is required.
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: Seongmin Lee <git@boltless.me>
Implemented tangled link extension. This can be extended for other link
types like issue/pull references in future.
The `tangled.org` host is hardcoded right now.
Close: <https://tangled.org/tangled.org/core/issues/382>
Signed-off-by: Seongmin Lee <git@boltless.me>
/pull/ID is redirected to /pull/ID/round/N. this makes links to lines in
a diff stable.
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.org>
Creates an empty sh.tangled.actor.profile on first login. This should
prevent profile picture uploads from breaking due to profile record
existing beforehand.
This should also allow for us to estimate total users better globally.
Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.org>
Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.org>
Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.org>
Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.org>
Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.org>
Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.org>
Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.org>
Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.org>
with the introduction of `const` function in funcmap, we can make
reusable template for all reaction UI.
Signed-off-by: Seongmin Lee <git@boltless.me>
Signed-off-by: Seongmin Lee <git@boltless.me>
Constants those are mainly used to define a template shouldn't be
managed from http handlers. Define constant values in `const` funcmap so
we can easily access them without depending on template params.
This change will make more sense with following change `rusppvkn`
Signed-off-by: Seongmin Lee <git@boltless.me>
Signed-off-by: Seongmin Lee <git@boltless.me>
this will allow handle based url when cloning from knot over https
usually appview will resolve this before redirecting to the knot
this implementation just redirects to resolved path instead of passing
the entire identity for performance. As we won't want to resolve same
identity twice when proxied by appview.
Signed-off-by: Seongmin Lee <git@boltless.me>
elements marked with `data-resizer` will now have a few event handlers
attached to them on load. when mouse operations take place on this
element, the target (`data-target`) is resized along the provided axis,
the width of the element can be no lesser than `data-min` and no greater
than `data-max`.
Signed-off-by: oppiliappan <me@oppi.li>
these pages were full html pages instead of blocks. as a result, their
meta values were not in sync with the rest of the site. by introducing
layouts/loginbase, we can now share the boilerplate.
of note is that the signup page needs an extra line in the `<head>`: the
script to load a cloudflare turnstile. this is supplied using
`extrameta`
Signed-off-by: oppiliappan <me@oppi.li>
Constants those are mainly used to define a template shouldn't be
managed from http handlers. Define constant values in `const` funcmap so
we can easily access them without depending on template params.
This change will make more sense with following change `rusppvkn`
Signed-off-by: Seongmin Lee <git@boltless.me>