alpha
Login
or
Join now
tangled.org
/
core
Star
6
Fork
66
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Monorepo for Tangled
tangled.org
Star
6
Fork
66
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
12
Pulls
26
Pipelines
core
/
appview
/
pages
/
at
9f6b95dcbec8d2699fd437dd8e7ae6ae2e4a53ba
5 folders
8 files
eti
appview/repo: copy file contents to clipboard
4w ago
512e495e
legal
appview/pages: add a brand page Also some misc. changes to page layouts. Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.org>
9 months ago
markup
appview/pages/markup: fix readme detection for directories and unsupported formats - 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>
1 month ago
repoinfo
appview: canonicalize repo urls to handle/slug Lewis: May this revision serve well! <lewis@tangled.org>
1 month ago
static
*: fmt, remove a couple little frontend bits Lewis: May this revision serve well! <lewis@tangled.org>
1 month ago
templates
appview/repo: copy file contents to clipboard 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>
1 month ago
cache.go
appview/pages: rework caching mechanism instead of loading all templates at once and storing into a map, we now memoize the results of `parse`. the first call to `parse` will require calculation but subsequent calls will be cached. this is simpler to reason about because the new execution model requires us to parse differently for each "base" template that is being used: - for timeline, it is necessary to parse with layouts/base - for repo-index, it is necessary to parse with layouts/base and layouts/repobase in that order the previous approach to loading also had a latent bug: all layouts were loaded atop each other in alphabetical order (order of iteration over the filesystem), and therefore it was not possible to selectively parse and execute templates on a subset of layouts. Signed-off-by: oppiliappan <me@oppi.li>
10 months ago
compose_parse_test.go
appview/pages: test pull compose source parsing Lewis: May this revision serve well! <lewis@tangled.org>
2 months ago
funcmap.go
appview: the great uppercasing Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.org>
1 month ago
funcmap_test.go
appview,knotserver: pref-handle display + identity ingest Lewis: May this revision serve well! <lewis@tangled.org>
2 months ago
htmx.go
appview: clear signup error message on successful signup Signed-off-by: nove-b <nove.b.web@gmail.com>
1 month ago
pages.go
appview/notifications: add ability to mark read/unread for a single notif Signed-off-by: oppiliappan <me@oppi.li>
1 month ago
pulls_compose.go
types,appview/pages: pull compose renderer, source enum, step templates Lewis: May this revision serve well! <lewis@tangled.org>
2 months ago
ratchet_test.go
appview: canonicalize repo urls to handle/slug Lewis: May this revision serve well! <lewis@tangled.org>
1 month ago