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
4fb9e0a189fa7d54968495a70756748f34929c06
Matías Insaurralde
markup/sanitizer: build bluemonday policies once at package init
6mo ago
4fb9e0a1
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 missing borders in submission headers 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: collapse diffs of generated files by default Signed-off-by: oppiliappan <me@oppi.li>
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: pages: Add HXRefresh helper function.
1 year ago
pages.go
appview/signup: redirect forms on home page to signup page Signed-off-by: oppiliappan <me@oppi.li>
6 months ago