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
77981e7b1d3ae10ac3659606033eb1c5e4fdd815
Niclas Overby
appview/pages: detect syntax highlighting from shebang
6mo ago
77981e7b
legal
appview/pages: add a brand page Also some misc. changes to page layouts. Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.org>
1 year 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>
6 months ago
repoinfo
revert "appview/pages: seo improvements, sitemap, schemae and more" This reverts commit 8fb22cb34756cc2930bb780548d45bde56cdbe65. Signed-off-by: oppiliappan <me@oppi.li>
7 months ago
templates
appview/pages: fix permalink script for tree pages Signed-off-by: oppiliappan <me@oppi.li>
6 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>
1 year 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>
6 months ago
funcmap_test.go
appview/pages: get avatar cid to bust cache Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.org>
9 months ago
htmx.go
appview/settings: add account management UI for tngl.sh users Signed-off-by: Lewis <lewis@tangled.org>
6 months ago
pages.go
appview/pages: fix permalink script for tree pages Signed-off-by: oppiliappan <me@oppi.li>
6 months ago