commits
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: dusk <y.bera003.06@protonmail.com>
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>
Signed-off-by: nelind <nel.n.lindberg@gmail.com>
fragment-in-a-fragment seems to break
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>
Signed-off-by: oppiliappan <me@oppi.li>
Adds a description of what a spindle is to the spindles page. Text is
pulled from the docs/spindle/architecture.md with a link to the self
hosting.
Signed-off-by: Ciel <jamie@longest.voyage>
Provide an explaination to what a Knot is. Pulled from the introducing
tangled blog post. Addsd a link to the self hosting documentation in
core. Removes additional padding to be more consistent with the other
setting pages.
Signed-off-by: Ciel <jamie@longest.voyage>
When in dev mode. Concurrent writes to the template map will cause a
concurrent write panic and crash appview. Quickly moving between pages
can trigger this crash. This is addressed by adding a RWMutex on the
templates. RWMutex allows multiple readers, but only one writer.
Signed-off-by: Ciel <jamie@longest.voyage>
There was a change the environment variables in spindle that were not
reflected in this nix module, specifically STEP_TIMEOUT was renamed to
WORKFLOW_TIMEOUT, which means that there was no way to set the timeout
in the nix module.
With the option name being updated, this is a breaking change that will
require you to update your nix config if you are using the spindle module.
Signed-off-by: Samuel Shuert <me@thecoded.prof>
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>
content occupies 8 columns on medium screens and above, and blocks are
defined for left and right sides of content, with col spans of 2 each
(and contentAfter).
Signed-off-by: oppiliappan <me@oppi.li>
do not use the empty string, but use the calculated default branch
instead.
Signed-off-by: oppiliappan <me@oppi.li>
this falls back to calling RepoLanguages on the knot, and caches that
info at the appview.
Signed-off-by: oppiliappan <me@oppi.li>
and db helpers to set and get.
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>
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>
Signed-off-by: oppiliappan <me@oppi.li>
commit-count calculation for initial ref-creation pushes failed silently
because the underlying call to `rev-list` would fail.
Signed-off-by: oppiliappan <me@oppi.li>
not many portions of the site use darkend backgrounds. this is very much
WIP.
Signed-off-by: oppiliappan <me@oppi.li>
Builds on the last commit to introduce a variant of the time component but for durations. I added a verbose/long duration fmt function based on the existing short duration fmt one, and also renamed the other time fmt functions for clarity.
Creates a new template fragment, repo/fragments/time, that is a component based on the <time> HTML element. The <time> element is already used for most datetimes, but inconsistently; some define `title` attributes and/or `datetime` attributes, most don't. The goal here is to standardize with a single component so every date has a consistent interaction. The datetime is ISO 8601 formatted as per the spec, the `title` (shown on hover) is a modified long format similar to GitHub's, and the content is a relative format %s ago (`timeFmt` - two `shortTimeFmt` variants also exist to preserve existing behavior).
regexes were recompiled on each router visit.
Signed-off-by: oppiliappan <me@oppi.li>
Change-Id: lwznzstzpoqqlvxnxsoulpokwxwkuwzw
Change-Id: lonyknzlzukqqowkslrmzkszszuktyzy
also fixes a small UI bug with pipeline symbols on stacked PRs
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: oppiliappan <me@oppi.li>
Also fixes OrderedReactionKinds breaking patch/interdiff pages.
Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.sh>
Renames user/fragments/picHandle to user/fragments/picHandleLink, since it now wraps a simpler user/fragments/picHandle that doesn't include the link. The topbar should now display the avatar next to the handle in the same style, without the link as it was before.
Add `sh.tangled.feed.reaction` lexicon and UI to *react* to issues/PRs
close #65
close #113
Signed-off-by: Seongmin Lee <boltlessengineer@proton.me>
Fixes error:
```
time=2025-07-13T15:01:04.268Z level=WARN msg="failed to setup step logger; logs will not be persisted" component=spindle error="creating log file: open /var/log/spindle/knot1.tangled.sh-3ltu5bpvgwt22-fix-todos.yaml.log: no such file or directory"
```
Signed-off-by: John Andersen <johnandersenpdx@gmail.com>
time=2025-07-13T14:35:21.719Z level=ERROR msg="pipeline failed!" component=spindle image=nixery.tangled.sh/python/bash/git/coreutils/nix workflowId=knot1.tangled.sh-3ltu3twqimw22-fix-todos.yaml error="Error response from daemon: received unexpected HTTP status: 500 Internal Server Error
Related: https://discord.com/channels/1361963801993285692/1393783888530243647/1393964321431617586
Signed-off-by: John Andersen <johnandersenpdx@gmail.com>
Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.sh>
Signed-off-by: oppiliappan <me@oppi.li>
The build command was out of date, needed path change to `./cmd/spindle/main.go` and mod download
appview/ingester: invalidate identity only if the account was deactivated on an account event
Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.sh>
Signed-off-by: oppiliappan <me@oppi.li>
When in dev mode. Concurrent writes to the template map will cause a
concurrent write panic and crash appview. Quickly moving between pages
can trigger this crash. This is addressed by adding a RWMutex on the
templates. RWMutex allows multiple readers, but only one writer.
Signed-off-by: Ciel <jamie@longest.voyage>
There was a change the environment variables in spindle that were not
reflected in this nix module, specifically STEP_TIMEOUT was renamed to
WORKFLOW_TIMEOUT, which means that there was no way to set the timeout
in the nix module.
With the option name being updated, this is a breaking change that will
require you to update your nix config if you are using the spindle module.
Signed-off-by: Samuel Shuert <me@thecoded.prof>
Creates a new template fragment, repo/fragments/time, that is a component based on the <time> HTML element. The <time> element is already used for most datetimes, but inconsistently; some define `title` attributes and/or `datetime` attributes, most don't. The goal here is to standardize with a single component so every date has a consistent interaction. The datetime is ISO 8601 formatted as per the spec, the `title` (shown on hover) is a modified long format similar to GitHub's, and the content is a relative format %s ago (`timeFmt` - two `shortTimeFmt` variants also exist to preserve existing behavior).
Fixes error:
```
time=2025-07-13T15:01:04.268Z level=WARN msg="failed to setup step logger; logs will not be persisted" component=spindle error="creating log file: open /var/log/spindle/knot1.tangled.sh-3ltu5bpvgwt22-fix-todos.yaml.log: no such file or directory"
```
Signed-off-by: John Andersen <johnandersenpdx@gmail.com>
time=2025-07-13T14:35:21.719Z level=ERROR msg="pipeline failed!" component=spindle image=nixery.tangled.sh/python/bash/git/coreutils/nix workflowId=knot1.tangled.sh-3ltu3twqimw22-fix-todos.yaml error="Error response from daemon: received unexpected HTTP status: 500 Internal Server Error
Related: https://discord.com/channels/1361963801993285692/1393783888530243647/1393964321431617586
Signed-off-by: John Andersen <johnandersenpdx@gmail.com>
Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.sh>