aboutsummaryrefslogtreecommitdiff
path: root/routes (follow)
Commit message (Collapse)AuthorAgeFilesLines
* routes/git.go: Fix import pathRunxi Yu2024-07-271-1/+1
|
* go.mod, etc: git.icyphox.sh/legit -> git.sr.ht/~runxiyu/legitrxRunxi Yu2024-07-264-5/+5
|
* git: use system's git upload-packAnirudh Oppiliappan2024-07-131-67/+29
| | | | | This is an intermediate workaround for https://github.com/go-git/go-git/issues/1062. This should also fix #33.
* git: fix getDisplayNameAnirudh Oppiliappan2024-07-051-5/+1
|
* routes: ignore filesAnirudh Oppiliappan2024-07-051-1/+1
|
* git: hide .git extensionMarco Andronaco2024-07-052-6/+23
|
* routes: Add handler to generate tar gz fileGabriel A. Giovanini2024-06-293-0/+68
|
* re-add accidentally removed code for raw file viewlillian2024-03-301-0/+5
|
* routes: switch to net/http routerAnirudh Oppiliappan2024-03-273-39/+29
| | | | | | BREAKING: This commit reworks routes.Handlers (and everywhere else) to use http.ServeMux -- and subsequently, Go 1.22's new net/http router. This might break something.
* routes: add raw file viewAnirudh Oppiliappan2024-02-252-1/+18
|
* templates: add missing title to repo pageAnirudh Oppiliappan2023-11-051-0/+1
|
* log errors from git.OpenAnirudh Oppiliappan2023-11-051-0/+1
|
* cleaner titlesAnirudh Oppiliappan2023-02-181-1/+2
| | | | by nilix
* fix buffer overflow in countlines for files greater than 32kDerek Stevens2023-02-181-1/+1
| | | | Signed-off-by: Derek Stevens <nilix@nilfm.cc>
* tree: directories first, add size column, fix ..Derek Stevens2023-02-081-0/+1
| | | | Signed-off-by: Derek Stevens <nilix@nilfm.cc>
* fix line count for files that don't end in a newlineDerek Stevens2023-02-081-0/+8
| | | | Signed-off-by: Derek Stevens <nilix@nilfm.cc>
* utils: Add helper to get all reposDaniele Sluijters2023-02-051-0/+57
| | | | | | This does a filepath.WalkDir of the config.ScanPath and tries to find all valid git repos. It returns a list of repoInfo structs holding basic information of each repository.
* only add go meta import tag if go.mod exists in repo rootDerek Stevens2023-02-052-0/+8
| | | | | | | | This is a multipart message in MIME format. Pretty self-explanitory :3 Signed-off-by: Derek Stevens <nilix@nilfm.cc>
* markdown: more file exts, fix imgAnirudh Oppiliappan2022-12-261-2/+5
|
* routes: render markdown readmes in repo index (#11)James Mills2022-12-261-3/+17
|
* git: pure go git cloneAnirudh Oppiliappan2022-12-242-27/+117
|
* config: add repo.ignoreAnirudh Oppiliappan2022-12-222-10/+55
|
* index: turn off logging, it's too noisyAnirudh Oppiliappan2022-12-191-1/+0
|
* all: no more pretty urlsAnirudh Oppiliappan2022-12-193-19/+5
|
* config: fix go-import pretty urlAnirudh Oppiliappan2022-12-181-3/+6
|
* all: go-import, clone urlAnirudh Oppiliappan2022-12-181-0/+12
|
* routes: skip unopenable dirsAnirudh Oppiliappan2022-12-181-3/+2
|
* routes: sort repo index by last idleAnirudh Oppiliappan2022-12-181-1/+11
|
* templates: add title tagsAnirudh Oppiliappan2022-12-181-0/+1
|
* git: rework diff to fetch initial commitAnirudh Oppiliappan2022-12-181-3/+7
|
* git, templates: diff viewAnirudh Oppiliappan2022-12-171-0/+1
|
* templates: repo and logAnirudh Oppiliappan2022-12-172-10/+27
|
* routes: serve static content from /staticAnirudh Oppiliappan2022-12-173-8/+17
|
* routes: disable git pushAnirudh Oppiliappan2022-12-141-6/+9
|
* routes: wildcard multiplex route at the endAnirudh Oppiliappan2022-12-141-2/+2
|
* routes: multiplex git and web uiAnirudh Oppiliappan2022-12-141-1/+40
|
* routes: description and humanized time to indexAnirudh Oppiliappan2022-12-141-4/+18
|
* template: line numbers for file viewAnirudh Oppiliappan2022-12-131-1/+34
|
* git: find main branch from configAnirudh Oppiliappan2022-12-131-11/+17
|
* routes: refs viewAnirudh Oppiliappan2022-12-122-0/+40
|
* routes: index viewAnirudh Oppiliappan2022-12-121-8/+44
|
* routes: render readmeAnirudh Oppiliappan2022-12-123-18/+46
|
* git, routes: commit diff viewAnirudh Oppiliappan2022-12-122-0/+37
|
* routes, templates: tree and log viewsAnirudh Oppiliappan2022-12-113-31/+55
|
* routes: file content viewAnirudh Oppiliappan2022-12-113-18/+52
|
* routes: split repo index and files viewsAnirudh Oppiliappan2022-12-112-4/+48
|
* all: initAnirudh Oppiliappan2022-12-113-0/+96