Commits
this pull request adds a "copy to clipboard" button on both the readme
of a repository and the file view shown when viewing a specific file
Signed-off-by: eti <eti@eti.tf>
Signed-off-by: dawn <dawn@mm.st>
Signed-off-by: oppiliappan <me@oppi.li>
"rkey-as-reponame" change came after the "did-for-repos". Most users
updating their knot won't have rkey-based repository.
Signed-off-by: Seongmin Lee <git@boltless.me>
Updating only on `refUpdate` event is unstable.
Signed-off-by: Seongmin Lee <git@boltless.me>
Implementation of [issue #581](https://tangled.org/tangled.org/core/issues/581). Adds a `zip` download when downloading a repo. Defaults to zip for windows, and `tar.gz` for non-windows with a dropdown to choose the preferred format.
Signed-off-by: Smit Patil <smit@smit.codes>
currently hardcoded to fire on the tangled assignee label def.
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: oppiliappan <me@oppi.li>
thanks isabelroses.com
Signed-off-by: oppiliappan <me@oppi.li>
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>
when visiting an issue or a pull, automatically mark any notifications
related to that issue/pull as read.
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: oppiliappan <me@oppi.li>
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>
- 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>