alpha
Login
or
Join now
alice.pds.demo.boltless.dev
/
core
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
This repository has no description
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
2
Pulls
1
Pipelines
core
/
appview
/
pages
4 folders
5 files
at
bc2f8b1667fce8860d0e97aebcbf4251f5c06847
Lewis
appview/pages: multiline PR comment links
4mo ago
bc2f8b16
legal
appview/pages: add a brand page Also some misc. changes to page layouts. Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.org>
10 months ago
markup
markup/sanitizer: build bluemonday policies once at package init Both policies were rebuilt on every NewSanitizer() call. This included compiling the chroma syntax-highlight class regex by iterating chroma.StandardTypes and joining ~200 type names into a regex alternation, on every invocation — including from inside the pull request HTTP handler, making it a per-request cost. Move both policies to package-level vars initialized once in init(). NewSanitizer() is now a pair of pointer assignments. This is safe per the bluemonday README: "it is safe to use the policy in multiple goroutines". Signed-off-by: Matías Insaurralde <matias@insaurral.de>
5 months ago
repoinfo
revert "appview/pages: seo improvements, sitemap, schemae and more" This reverts commit 8fb22cb34756cc2930bb780548d45bde56cdbe65. Signed-off-by: oppiliappan <me@oppi.li>
6 months ago
templates
appview/pages: multiline PR comment links Signed-off-by: Lewis <lewis@tangled.org>
4 months 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>
11 months ago
funcmap.go
appview/pages: detect syntax highlighting from shebang Fall back to parsing the shebang line for extensionless scripts, enabling highlighting for files like nushell/python/bash scripts that lack a file extension. Signed-off-by: Niclas Overby <niclas@overby.me>
5 months ago
funcmap_test.go
appview/pages: get avatar cid to bust cache Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.org>
8 months ago
htmx.go
appview/settings: add account management UI for tngl.sh users Signed-off-by: Lewis <lewis@tangled.org>
5 months ago
pages.go
appview/pages: fix permalink script for tree pages Signed-off-by: oppiliappan <me@oppi.li>
5 months ago