Commits
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>
Adds `lang:` as a shorthand alias for language search filters.
Users can now search with either `language:Go` or `lang:Go`. The search UI continues to generate `language:` filter links, while the helper text documents both supported syntaxes.
Lewis: May this revision serve well! <lewis@tangled.org>
seems to have been lost after the recent changes to use `git cat-file
--batch`.
Signed-off-by: oppiliappan <me@oppi.li>
we still ingest any and all pipeline statuses events.
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: oppiliappan <me@oppi.li>
Lewis: May this revision serve well! <lewis@tangled.org>
this here yarn ball's been sportin' the wrong shade o' gray fer way too dang long, partner
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>
KnotMirror will maintain both permanent/ephemeral caches.
AppView still has its own cache for search index.
Signed-off-by: Seongmin Lee <git@boltless.me>
`git.listLanguages` has been one of the method that fails most often.
Opening multiple git repos simultaneously can eaily cause OOM and
language indexing itself usually takes super long.
So several changes:
- use `gitea.CatFileBatch` instead of go-git to avoid OOM
- skip files larger than 16KB
- sync HEAD ref language stats in knotmirror db
- cache language stats info by commits (30d TTL)
When syncing HEAD ref language stats, we do indexing on background.
KnotMirror maintains internal "repo_stats_update" queue and right after
`doResync` is done, enqueue the language stat indexing job so we can
pre-index the language stats of HEAD ref.
It's ok to spam this queue because all later events will be eventually
ignored as we are resolving HEAD lazily.
Signed-off-by: Seongmin Lee <git@boltless.me>
We only need language name & its size
Signed-off-by: Seongmin Lee <git@boltless.me>
Signed-off-by: Seongmin Lee <git@boltless.me>
Fix: <https://tangled.org/tangled.org/core/issues/552>
Signed-off-by: Seongmin Lee <git@boltless.me>
Signed-off-by: Will <did:plc:dadhhalkfcq3gucaq25hjqon>
Signed-off-by: oppiliappan <me@oppi.li>
Redirect directory-like paths to their trailing slash variants
(e.g. /docs -> /docs/) to ensure consistent canonical URLs and
relative asset resolution for sub-path sites.
Signed-off-by: onevcat <onevcat@gmail.com>
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>
`git.listLanguages` has been one of the method that fails most often.
Opening multiple git repos simultaneously can eaily cause OOM and
language indexing itself usually takes super long.
So several changes:
- use `gitea.CatFileBatch` instead of go-git to avoid OOM
- skip files larger than 16KB
- sync HEAD ref language stats in knotmirror db
- cache language stats info by commits (30d TTL)
When syncing HEAD ref language stats, we do indexing on background.
KnotMirror maintains internal "repo_stats_update" queue and right after
`doResync` is done, enqueue the language stat indexing job so we can
pre-index the language stats of HEAD ref.
It's ok to spam this queue because all later events will be eventually
ignored as we are resolving HEAD lazily.
Signed-off-by: Seongmin Lee <git@boltless.me>