gitoria
All repositories: gitoria
980 B
// components/code.hl — THE CODE PAGE of a repo (gitoria#9, gitoria#16): /code, /code/<path>: the main branch (the owner's setting) at its last commit.// Its own route, rendered on the server (repo from the request's host, content from git: codebrowser.hl).// THE PATH AFTER /code/: the route `/code/*path` binds the rest of the path to the member `path` (hybriel#81).parent './repo.hl'import { siteName } from '../project.hl'import AddCode from './addcode.hl'import CodeBrowser from './codebrowser.hl'import { pageTitle } from '../lib/repos-helpers.hl'import { slugOfRequest } from '../lib/orgs.hl'import { titleSlug, repoAt } from '../lib/repos.hl'host = nullorepo = ''session = nullpath = ''hasRepo = repoAt(slugOfRequest(host, orepo), session) != null__title = pageTitle(siteName, titleSlug(host, orepo, session), 'Code')View {repoPage {if (hasRepo) {AddCode { orepo = orepo }CodeBrowser { orepo = orepo kind = "code" rest = path }}}}
Branches
Latest commits
- 57af42bbREADME: point to deploy.sh for the port listmre
- d63375d2README: gate commands with explicit portsmre
- feeaa701|||PR gates: explicit ports only, deploy.sh passes themmre
- 6cc1f943Merge branch 'records-1112' into mainGitoria
- 9448c438|||PR records: LOG, missions and reports since 11-09mre
- 6dc08a8eMerge branch 'p51-public-pr-reads' into mainGitoria
- 7b88cfe0Type publicReaderOfRequest parameters (L10)Gitoria
- 2a4b3dc1|||PR Anonymous reads of public repos' pulls and statusesmre
- 21b2c141Merge branch 's25-no-session-on-login-error' into mainGitoria
- 698458e2|||PR No session for cookieless login errors: READMEmre
- cce7b785|||PR No session for cookieless login errorsmre
- 678d6303Merge branch 'v59' into mainGitoria
- 5803cf4f|||PR vendor: Hybriel set-day59 and GC budget 32 MiBmre
- 9eff6627Merge branch 'f2-api-bugs' into mainGitoria
- 26117255|||PR apps API: review comments on files with spaces in their namemre
- b8796cecMerge branch 'f1-broken-json' into mainGitoria
- 2f2959c5|||PR apps API: broken JSON body gives 400 invalid_json, not 500mre
- f7c6ca07Merge branch 'ident-chooser-selector' into mainGitoria
- 691abb8e|||PR tests: find ident identity choice without the removed .choose classmre
- 16a3530fMerge branch 'heap-revert' into mainGitoria