Commits
working atop the previous backend changes, this changeset adds the runes
to implement a 2-column layout in notifs (merged single column on
mobile), with grouping by "today", "this week" and "older".
Signed-off-by: oppiliappan <me@oppi.li>
notifs are categorized into work and social notifs, and grouped by three
time frames: today, this week and older. this changeset includes all the
backend noodling to achieve this.
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: oppiliappan <me@oppi.li>
Lewis: May this revision serve well! <lewis@tangled.org>
Signed-off-by: Seongmin Lee <git@boltless.me>
Signed-off-by: Seongmin Lee <git@boltless.me>
This still uses go-git, but at least only when we know the entry is
submodule type. This change can improve performance of `getBlob` in most
of the cases.
Signed-off-by: Seongmin Lee <git@boltless.me>
performance improvement for `listCommits`
Signed-off-by: Seongmin Lee <git@boltless.me>
Signed-off-by: oppiliappan <me@oppi.li>
Implementation of [issue #585](https://tangled.org/tangled.org/core/issues/585)
`commit/hash` page now shows the full datetime string of the commit as-is.
Signed-off-by: <smit@smit.codes>
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>
- 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>