commits
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: serenity <98162476+NekoDrone@users.noreply.github.com>
Might be useful if we could somehow build this list at runtime.
Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.sh>
This is now consistent with other pages.
Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.sh>
Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.sh>
Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.sh>
Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.sh>
Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.sh>
Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.sh>
Signed-off-by: ansxor <git@ansxor.ca>
TODO: this needs to be deprecated gracefully.
Signed-off-by: oppiliappan <me@oppi.li>
Introducing `KNOT_GIT_USER_NAME` and `KNOT_GIT_USER_EMAIL` environment
variables.
This will prevent silently inheritting global gitconfig's user
Signed-off-by: Seongmin Lee <boltlessengineer@proton.me>
this method is not used now and should be replaced with
`MergeWithOptions`
Signed-off-by: Seongmin Lee <boltlessengineer@proton.me>
- we don't need `MergeOptions` for checking a patch
Signed-off-by: Seongmin Lee <boltlessengineer@proton.me>
Fixes https://tangled.sh/@tangled.sh/core/issues/172
Signed-off-by: noClaps <git@zerolimits.dev>
- preload main font that is inside css files
- preconnect to image CDNs
- remove redundant alt text and copy bsky instead
- add description tag for SEO
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>
these only worked because of a bug in loadAllTemplates. execute and
executeRepo always had access to the repoBase layout. this is no longer
the case.
Signed-off-by: oppiliappan <me@oppi.li>
instead of loading all templates at once and storing into a map, we now
memoize the results of `parse`. the first call to `parse` will require
calculation but subsequent calls will be cached.
this is simpler to reason about because the new execution model requires
us to parse differently for each "base" template that is being used:
- for timeline, it is necessary to parse with layouts/base
- for repo-index, it is necessary to parse with layouts/base and
layouts/repobase in that order
the previous approach to loading also had a latent bug: all layouts were
loaded atop each other in alphabetical order (order of iteration over
the filesystem), and therefore it was not possible to selectively parse
and execute templates on a subset of layouts.
Signed-off-by: oppiliappan <me@oppi.li>
this is a limitation of how fragments are loaded at the moment. multiple
definitions per file are unsupported.
Signed-off-by: oppiliappan <me@oppi.li>
this allows fragments to reference each other.
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: oppiliappan <me@oppi.li>
On a Mac, to build Tangled's VM with Nix, you first have
to set up a Linux builder for Nix. With the help of
@winter, I was able to do so in the way described here.
It would be helpful to develop easier ways to do it, but
this is the easiest one I know at the moment.
Signed-off-by: Ilya Grigoriev <ilyagr@users.noreply.github.com>
Signed-off-by: oppiliappan <me@oppi.li>
Also adds the relevant DB helpers for this.
Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.sh>
Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.sh>
Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.sh>
Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.sh>
This hinders atprotation and is very appview-specific anyway.
Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.sh>
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: noClaps <git@zerolimits.dev>
Signed-off-by: oppiliappan <me@oppi.li>
We've arrived at the "foopkg/barpkg: message here" format pretty
organically -- it reads better and uses fewer characters.
Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.sh>
Show fork titles in owner/repo format, otherwise if you have collaborator
access to multiple forks of the same repo (in which the forks have the
same title) it may be hard to differentiate
Also update the underlying logic to use the option value instead of
checking against the currently logged in users DID
Co-Authored-By: oppiliappan <me@oppi.li>
Signed-off-by: Samuel Shuert <me@thecoded.prof>
Co-Authored-By: oppiliappan <me@oppi.li>
Signed-off-by: Samuel Shuert <me@thecoded.prof>
Signed-off-by: oppiliappan <me@oppi.li>
Broken down the nested object declarations into individual declarations since lexicon schemas forbid nested declarations, tested with atcute's lexicon codegen.
I changed the name of `pair` to `individualLanguageSize` as the previous name didn't make it obvious as for what the object was for, slight breaking change but it seems fine given that this lexicon schema wasn't working prior and that the object isn't being used in any unions.
Signed-off-by: mary.my.id <git@mary.my.id>
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: nelind <nel.n.lindberg@gmail.com>
Signed-off-by: nelind <nel.n.lindberg@gmail.com>
Signed-off-by: nelind <nel.n.lindberg@gmail.com>
this is a regression from the v1.8.0 release
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.sh>
sort by most gained stars.
Signed-off-by: oppiliappan <me@oppi.li>
requires record deletion first
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: oppiliappan <me@oppi.li>
instead of loading all templates at once and storing into a map, we now
memoize the results of `parse`. the first call to `parse` will require
calculation but subsequent calls will be cached.
this is simpler to reason about because the new execution model requires
us to parse differently for each "base" template that is being used:
- for timeline, it is necessary to parse with layouts/base
- for repo-index, it is necessary to parse with layouts/base and
layouts/repobase in that order
the previous approach to loading also had a latent bug: all layouts were
loaded atop each other in alphabetical order (order of iteration over
the filesystem), and therefore it was not possible to selectively parse
and execute templates on a subset of layouts.
Signed-off-by: oppiliappan <me@oppi.li>
On a Mac, to build Tangled's VM with Nix, you first have
to set up a Linux builder for Nix. With the help of
@winter, I was able to do so in the way described here.
It would be helpful to develop easier ways to do it, but
this is the easiest one I know at the moment.
Signed-off-by: Ilya Grigoriev <ilyagr@users.noreply.github.com>
Show fork titles in owner/repo format, otherwise if you have collaborator
access to multiple forks of the same repo (in which the forks have the
same title) it may be hard to differentiate
Also update the underlying logic to use the option value instead of
checking against the currently logged in users DID
Co-Authored-By: oppiliappan <me@oppi.li>
Signed-off-by: Samuel Shuert <me@thecoded.prof>
Broken down the nested object declarations into individual declarations since lexicon schemas forbid nested declarations, tested with atcute's lexicon codegen.
I changed the name of `pair` to `individualLanguageSize` as the previous name didn't make it obvious as for what the object was for, slight breaking change but it seems fine given that this lexicon schema wasn't working prior and that the object isn't being used in any unions.
Signed-off-by: mary.my.id <git@mary.my.id>
this is a regression from the v1.8.0 release
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: oppiliappan <me@oppi.li>
requires record deletion first
Signed-off-by: oppiliappan <me@oppi.li>