aboutsummaryrefslogtreecommitdiff
path: root/routes/handler.go (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-07-12Bump dependenciesRunxi Yu2-3/+3
2024-07-06Use new scanPathRunxi Yu1-1/+1
2024-07-06Bump dependenciesRunxi Yu2-14/+14
2024-06-20Nah, scrap the git.sr.ht-style thingRunxi Yu1-1/+0
2024-06-20README.md: Cgit -> git.sr.htRunxi Yu1-1/+2
2024-06-20LICENSE: Switch to AGPLv3-onlyRunxi Yu14-242/+709
2024-06-20tree.html: IsFile checkRunxi Yu1-0/+8
2024-06-19tree.html: Very basic, a lot missingRunxi Yu2-40/+93
2024-06-19head.html: Add spaceRunxi Yu1-1/+1
2024-06-19Add basic repo display... kinda broken thoughRunxi Yu4-39/+199
2024-06-18Bump all dependenciesRunxi Yu2-41/+33
2024-06-16Add copyright information to each Go fileRunxi Yu12-1/+290
2024-06-16Add myself to LICENSERunxi Yu1-1/+2
2024-06-16legitrx.service: /usr/local/bin, username changes, etcRunxi Yu1-4/+4
2024-06-16Move the <table id="header">... thing to primary-header.htmlRunxi Yu2-7/+10
2024-06-16head.html: Add generator tag; <meta ...> -> <meta .../>Runxi Yu1-6/+6
2024-06-16legit.png -> null legitrx.pngRunxi Yu2-1/+1
2024-06-16style.css: tabs, not spacesRunxi Yu1-152/+152
2024-06-16repoheader must be in body, not headRunxi Yu7-7/+7
2024-06-16Include the original legit CSS for nowRunxi Yu11-315/+321
2024-06-15repo.html: repoheader should be in <body>, not <head>Runxi Yu1-1/+1
2024-06-15head.html: Remove inter.css ref to cdn.icyphox.shRunxi Yu1-1/+0
2024-06-15README.md: Clean upRunxi Yu1-44/+26
2024-06-15go.mod, etc: git.icyphox.sh/legit -> git.sr.ht/~runxiyu/legitrxRunxi Yu7-9/+9
2024-06-15README.md: icyphox made legit, not legitrxRunxi Yu1-1/+1
2024-06-14Add footer to each template and use standard error messagesRunxi Yu9-3/+14
2024-06-14Re-indent all HTML filesRunxi Yu11-310/+285
Use tabs and try to make <pre> not add extra spaces
2024-06-14Remove blank lines in the HTMLRunxi Yu9-16/+0
2024-06-14foot.html: Use legit's legit upstream, not GitHubRunxi Yu1-1/+1
2024-06-14foot.html: Use a common footerRunxi Yu2-3/+6
2024-06-14index.html: Fix <td> being closed by <th>Runxi Yu1-3/+3
2024-06-14index.html: Formatted primitivelyRunxi Yu2-213/+228
2024-06-14Add the Cgit CSSRunxi Yu2-198/+1120
This commit obviously breaks everything temporarily
2024-06-14Add <!DOCTYPE html> to all relevant templatesRunxi Yu9-0/+9
See https://developer.mozilla.org/en-US/docs/Web/HTML/Quirks_Mode_and_Standards_Mode
2024-06-14legitrx.yaml: /ymp/git for nowRunxi Yu1-1/+1
2024-06-14Remove docker stuff and rename config.yaml -> legitrx.yamlRunxi Yu6-73/+33
2024-06-14Fork initRunxi Yu4-91/+85
2024-04-08readme: misc updatesAnirudh Oppiliappan1-1/+2
2024-03-30re-add accidentally removed code for raw file viewlillian1-0/+5
2024-03-27readme: remove frivolous line from notesAnirudh Oppiliappan1-3/+0
2024-03-27routes: switch to net/http routerAnirudh Oppiliappan5-77/+80
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.
2024-02-25routes: add raw file viewAnirudh Oppiliappan3-2/+19
2023-12-27deps: bump go-git dependabot[bot]2-91/+60
Bumps [github.com/go-git/go-git/v5](https://github.com/go-git/go-git) from 5.6.1 to 5.11.0. - [Release notes](https://github.com/go-git/go-git/releases) - [Commits](https://github.com/go-git/go-git/compare/v5.6.1...v5.11.0) --- updated-dependencies: - dependency-name: github.com/go-git/go-git/v5 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-05templates: add missing title to repo pageAnirudh Oppiliappan2-1/+2
2023-11-05log errors from git.OpenAnirudh Oppiliappan2-0/+4
2023-05-15fix broken mailto: link in commit templateGil Poiares-Oliveira1-1/+1