Commits
Lewis: May this revision serve well! <lewis@tangled.org>
Lewis: May this revision serve well! <lewis@tangled.org>
Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.org>
Signed-off-by: eti <eti@eti.tf>
Lewis: May this revision serve well! <lewis@tangled.org>
Lewis: May this revision serve well! <lewis@tangled.org>
Lewis: May this revision serve well! <lewis@tangled.org>
Lewis: May this revision serve well! <lewis@tangled.org>
Lewis: May this revision serve well! <lewis@tangled.org>
Signed-off-by: Seongmin Lee <git@boltless.me>
make it independent of colorscheme
Signed-off-by: oppiliappan <me@oppi.li>
as opposed to the fake ATURI
Signed-off-by: oppiliappan <me@oppi.li>
this can only cause more issues with terminal themes
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.org>
Lewis: May this revision serve well! <lewis@tangled.org>
Signed-off-by: oppiliappan <me@oppi.li>
- IsReadmeFile now takes (name, mode) and only matches regular file
blobs (filemode.Regular/Executable). A directory or symlink named
"readme" was being picked up by tree handlers, which then tried to
fetch its blob and 503'd.
- ReadmePattern matches by convention (^readme(?:[._-].+)?$) rather
than a fixed extension set. README.rst, README.org, README-old, etc.
now surface on index/tree pages and fall through to FormatText in
GetFormat for plaintext rendering.
- pages.RepoIndex and pages.RepoTree route through markup.GetFormat
instead of hardcoded extension switches, so the markdown extension
list lives in one place (FileTypePatterns[FormatMarkdown]).
- Added format_test.go covering IsReadmeFile (mode/symlink/dir
rejection, the directory regression), FileTypePatterns, and GetFormat.
Signed-off-by: Evan Jarrett <evan@evanjarrett.com>
Lewis: May this revision serve well! <lewis@tangled.org>
uses the terminal-to-html to convert lines with sequences into
renderable html.
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: oppiliappan <me@oppi.li>
this change introduces an ssh server to the appview. this server is
backed by a charmbracelet/wish app. it is invoked like so:
ssh -t appview.host -p 3333 at://.../sh.tangled.pipeline/...
the wish app then opens up a TUI for that pipeline job, with live
streaming of logs and statuses for all workflows in that pipeline
(available a separate tabs).
at startup, the appview needs to currently be run with
TANGLED_SSH_ENABLED=true, which starts the ssh server on 0.0.0.0:3333 by
default.
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: oppiliappan <me@oppi.li>
allows web/ssh handlers to subscribe to status updates for a particular
pipeline by ATURI. we can then live update UI based on data arriving on this
channel.
spindlestream can now notify interested parties about new pipeline
statuses.
Signed-off-by: oppiliappan <me@oppi.li>
it seems we have quite a few dns failures until we set this up.
Signed-off-by: oppiliappan <me@oppi.li>
made a branch but forgot to open a PR ~4 months ago somehow...
Signed-off-by: oppiliappan <me@oppi.li>
use TID from tid package
Signed-off-by: oppiliappan <me@oppi.li>
Implementation of [issue #579](https://tangled.org/tangled.org/core/issues/579).
Adds the repo star button to each repository card on a user's repos page
Signed-off-by: Will Andrews <did:plc:dadhhalkfcq3gucaq25hjqon>
sandboxing all microservices required to run Tangled including entire
atproto infra in docker-compose.
atproto infra:
- did-method-plc (NOTE: linux/amd64 only)
- pds
- jetstream (NOTE: linux/amd64 only)
tangled services:
- knot
- knotmirror
- knotmirror-tap
- appview (air hot reloaded)
- tailwind-watch
misc:
- redis
- postgres
- caddy (reverse proxy)
spindle is not included in this revision to make things simple. It needs
some patches on appview mostly related to TLS handling in dev mode.
Signed-off-by: Seongmin Lee <git@boltless.me>
appview db migration is failing when started from scratch.
Signed-off-by: Seongmin Lee <git@boltless.me>
Signed-off-by: Seongmin Lee <git@boltless.me>
Signed-off-by: Seongmin Lee <git@boltless.me>
Signed-off-by: nove-b <nove.b.web@gmail.com>
- repo index: commit/branch/tag counts
- profile card: follower/following counts
- profile activity: commit/repo/issue/pull counts
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: Will Andrews <did:plc:dadhhalkfcq3gucaq25hjqon>
- use optimistic `feed.comment` at-uri for reactions
- do not notify on ingester. It creates notification on record rewrite
Signed-off-by: Seongmin Lee <git@boltless.me>
Signed-off-by: Seongmin Lee <git@boltless.me>
Signed-off-by: Seongmin Lee <git@boltless.me>
Signed-off-by: Seongmin Lee <git@boltless.me>
Signed-off-by: Seongmin Lee <git@boltless.me>
Signed-off-by: Seongmin Lee <git@boltless.me>
There can be multiple reactable entities in same page.
Fetch every reactions in `aturi->reactionMap` format where reactionMap
is `kind->T` map
Signed-off-by: Seongmin Lee <git@boltless.me>
So that we can render reply comments from non-issue threads.
Signed-off-by: Seongmin Lee <git@boltless.me>
share as much handlers/fragments as possible.
PR has still `/.../comment` endpoint to serve comment form htmx
fragment. Due to how it is designed.
Signed-off-by: Seongmin Lee <git@boltless.me>
Signed-off-by: Seongmin Lee <git@boltless.me>
Signed-off-by: Seongmin Lee <git@boltless.me>
Including db migration to migrate `issue_comments` and `pull_comments`
to unified `comments` table.
Signed-off-by: Seongmin Lee <git@boltless.me>
use `com.atproto.repo.strongRef` for more explicit reference &
`markup.markdown` type to give clear semantic meaning in markdown
Close: <https://tangled.org/tangled.org/core/issues/383>
Signed-off-by: Seongmin Lee <git@boltless.me>
Signed-off-by: Seongmin Lee <git@boltless.me>
- IsReadmeFile now takes (name, mode) and only matches regular file
blobs (filemode.Regular/Executable). A directory or symlink named
"readme" was being picked up by tree handlers, which then tried to
fetch its blob and 503'd.
- ReadmePattern matches by convention (^readme(?:[._-].+)?$) rather
than a fixed extension set. README.rst, README.org, README-old, etc.
now surface on index/tree pages and fall through to FormatText in
GetFormat for plaintext rendering.
- pages.RepoIndex and pages.RepoTree route through markup.GetFormat
instead of hardcoded extension switches, so the markdown extension
list lives in one place (FileTypePatterns[FormatMarkdown]).
- Added format_test.go covering IsReadmeFile (mode/symlink/dir
rejection, the directory regression), FileTypePatterns, and GetFormat.
Signed-off-by: Evan Jarrett <evan@evanjarrett.com>
this change introduces an ssh server to the appview. this server is
backed by a charmbracelet/wish app. it is invoked like so:
ssh -t appview.host -p 3333 at://.../sh.tangled.pipeline/...
the wish app then opens up a TUI for that pipeline job, with live
streaming of logs and statuses for all workflows in that pipeline
(available a separate tabs).
at startup, the appview needs to currently be run with
TANGLED_SSH_ENABLED=true, which starts the ssh server on 0.0.0.0:3333 by
default.
Signed-off-by: oppiliappan <me@oppi.li>
sandboxing all microservices required to run Tangled including entire
atproto infra in docker-compose.
atproto infra:
- did-method-plc (NOTE: linux/amd64 only)
- pds
- jetstream (NOTE: linux/amd64 only)
tangled services:
- knot
- knotmirror
- knotmirror-tap
- appview (air hot reloaded)
- tailwind-watch
misc:
- redis
- postgres
- caddy (reverse proxy)
spindle is not included in this revision to make things simple. It needs
some patches on appview mostly related to TLS handling in dev mode.
Signed-off-by: Seongmin Lee <git@boltless.me>