commits
path.Dir on extractPathAfterRef returned the parent directory, which broke relative link resolution in markdown when viewing directories. extractCurrentDir now handles blob and tree paths separately: blob paths return the parent dir, tree paths return the directory itself
Signed-off-by: moshyfawn <email@moshyfawn.dev>
Signed-off-by: Seongmin Lee <git@boltless.me>
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>
should work on older browsers too.
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: Evan Jarrett <evan@evanjarrett.com>
This was preventing knot and spindle owners from removing members if
the members's handle became invalid
Fixes: https://tangled.org/tangled.org/core/issues/192
Signed-off-by: yemou <dev@mou.pink>
allows /archive/main.tar.gz to work like /archive/main
for compatibility with github-style archive URLs
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: oppiliappan <me@oppi.li>
Date.YearDay produces an int in the range 1-365/366 but slices are
indexed from 0.
Signed-off-by: oppiliappan <me@oppi.li>
In change nkzyltot (2d2056ea, flake: fix eval warning), pkgs.system
was changed to pkgs.stdenv.hostPlatform.system. This was required after
https://github.com/NixOS/nixpkgs/pull/456527 made using pkgs.system
a warning
Unfortunately you missed one... oops
Signed-off-by: Skyler Grey <minion@freshlybakedca.ke>
Replace block-level divs with inline spans and use flex-col for visual
line stacking. Move whitespace-pre to content spans only.
This allows text content copied out of diffs to match the UI, and not copy hidden newlines.
Signed-off-by: Evan Jarrett <evan@evanjarrett.com>
By using blobs we massively increase our maximum patch size. When stored
directly on the record patches can be at most 2 MiB. By moving it to a
blob, we get a minimum of 50 MiB (smaller if the pds has set it but 50
is the default).
legacy field name `patch` in `repo.pull` lexicon is preserved (but not
used) to support some level of backward compatibility
Signed-off-by: Samuel Shuert <me@thecoded.prof>
Signed-off-by: Seongmin Lee <git@boltless.me>
Signed-off-by: Evan Jarrett <evan@evanjarrett.com>
Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.org>
Signed-off-by: pompydev <pompydev@proton.me>
prevents scrolling if the content is insufficient, this allows next/prev
buttons to be above the fold.
Signed-off-by: oppiliappan <me@oppi.li>
should cut down the false positives a bit. tests are included.
Signed-off-by: oppiliappan <me@oppi.li>
we now prefer links with `@`. this change also moves the styling into
the mention class entirely.
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: estym <evann.regnault@pm.me>
using pandoc, tailwindcss, our standard fonts and lucide, we can build a
simple docs site with a single pandoc command.
Signed-off-by: oppiliappan <me@oppi.li>
the new documentation format is a single DOCS.md file with one section
per chapter. this guide can also be passed around in various formats
(single html, mdbook-style, manpage etc.) thanks to pandoc.
Signed-off-by: oppiliappan <me@oppi.li>
this will be replaced in the future with a single DOCS.md file
Signed-off-by: oppiliappan <me@oppi.li>
This reverts commit caffe3d5dc86ef46ee52bc7596bd3221cffa6af2.
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: oppiliappan <me@oppi.li>
this will fix nix devshell failing on darwin machine
The fix was introduced on: <https://github.com/NixOS/nix/pull/14778>
Signed-off-by: Seongmin Lee <git@boltless.me>
Signed-off-by: Thomas Karpiniec <tkarpiniec@icloud.com>
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: Evan Jarrett <evan@evanjarrett.com>
Signed-off-by: Thomas Karpiniec <tkarpiniec@icloud.com>
This reverts commit ada8bf645f471d0aff466d4b91beb1d07dc9f4dd.
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: Seongmin Lee <git@boltless.me>
Signed-off-by: Seongmin Lee <git@boltless.me>
this will fix build error on darwin machines
Signed-off-by: Seongmin Lee <git@boltless.me>
fixes https://tangled.org/tangled.org/core/issues/339 .
Signed-off-by: helpimnotdrowning <helpimnotdrowning@gmail.com>
presently only renders in markdown and description contexts, we could
potentially apply this to commit message contexts too.
fixes https://tangled.org/tangled.org/core/issues/334 .
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: Seongmin Lee <git@boltless.me>
Signed-off-by: Thomas Karpiniec <tkarpiniec@icloud.com>
Signed-off-by: Thomas Karpiniec <tkarpiniec@icloud.com>
Signed-off-by: oppiliappan <me@oppi.li>
the merged_notifier no longer waits for the notifiers to complete. it is
now fire-and-forget.
Signed-off-by: oppiliappan <me@oppi.li>
This is better set in a global configuration file, and is set in the
default config for the nix module anyway.
Signed-off-by: tjh <x@tjh.dev>
Allows a knotserver-hosted repository to be the target of a `git archive --remote=https://<remote>` command.
Signed-off-by: tjh <x@tjh.dev>
Signed-off-by: Evan Jarrett <evan@evanjarrett.com>
Signed-off-by: tjh <x@tjh.dev>
Signed-off-by: oppiliappan <me@oppi.li>
`init` is a bad name for a file, a method inside the file could be
called `init` perhaps.
this is already the scheme followed by spindle and appview.
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: oppiliappan <me@oppi.li>
it seems latest nixpkgs broke sqlite-lib builds. the static pkg set does
not provide ranlib or ar anymore.
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: oppiliappan <me@oppi.li>
move sets into tree
Signed-off-by: oppiliappan <me@oppi.li>
path.Dir on extractPathAfterRef returned the parent directory, which broke relative link resolution in markdown when viewing directories. extractCurrentDir now handles blob and tree paths separately: blob paths return the parent dir, tree paths return the directory itself
Signed-off-by: moshyfawn <email@moshyfawn.dev>
In change nkzyltot (2d2056ea, flake: fix eval warning), pkgs.system
was changed to pkgs.stdenv.hostPlatform.system. This was required after
https://github.com/NixOS/nixpkgs/pull/456527 made using pkgs.system
a warning
Unfortunately you missed one... oops
Signed-off-by: Skyler Grey <minion@freshlybakedca.ke>
By using blobs we massively increase our maximum patch size. When stored
directly on the record patches can be at most 2 MiB. By moving it to a
blob, we get a minimum of 50 MiB (smaller if the pds has set it but 50
is the default).
legacy field name `patch` in `repo.pull` lexicon is preserved (but not
used) to support some level of backward compatibility
Signed-off-by: Samuel Shuert <me@thecoded.prof>
Signed-off-by: Seongmin Lee <git@boltless.me>