legit

Fork of https://git.icyphox.sh/legit

Commits at 658e1edc62dd9aea90b301e365a2d06fe4a9d7f7

  1. 658e1edc all: use securejoin for path joining Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  2. f8f00566 deps: bump golang.org/x/crypto from 0.28.0 to 0.31.0 (#48) Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.28.0 to 0.31.0. - [Commits](https://github.com/golang/crypto/compare/v0.28.0...v0.31.0) --- updated-dependencies: - dependency-name: golang.org/x/crypto dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> dependabot[bot] authored at GitHub comitted at
  3. 9b685c8d css: tiny fix for darkmode Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  4. ec84ea1c routes: sanitize readme content for non markdown files Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  5. 98546565 css: remove custom font features Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  6. 64f6ad72 css: revert to default system font Also removes my CDN from head.html along with the relevant note in the readme. Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  7. 9691bbfa css: fix typo Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  8. 6d39fbcc css: update default font and colors Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  9. e108c4e9 deps: bump all Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  10. 3994d554 readme: reword, mention docker images Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  11. ad3e8f6b actions: build and push docker Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  12. 7b90e8ea docs: add info about syntaxHighlight usage Gabriel A. Giovanini authored at Anirudh Oppiliappan comitted at
  13. 34521a5b routes: add syntax highlight Gabriel A. Giovanini authored at Anirudh Oppiliappan comitted at
  14. de182443 deps: add chroma as dependency Gabriel A. Giovanini authored at Anirudh Oppiliappan comitted at
  15. d0c52202 git: show lightweight annotated tags (#42) The "TagObjects" function only returns annotated tags (the ones created with "-a"). Git interpretes lightweight and annotated tags[^1] differently, so we need to query all reference and check which one have a tag object attached. [^1]: https://git-scm.com/book/en/v2/Git-Basics-Tagging Gabriel authored at GitHub comitted at
  16. 4447fcda git: add unlisted repositories Marco Andronaco authored at GitHub comitted at
  17. c75aa9f5 contrib: update docker-compose.yml as well Marco Andronaco authored at Anirudh Oppiliappan comitted at
  18. 49d83231 contrib: update Dockerfile Marco Andronaco authored at Anirudh Oppiliappan comitted at
  19. fba146ac git: use system's git upload-pack This is an intermediate workaround for https://github.com/go-git/go-git/issues/1062. This should also fix #33. Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  20. 67e355d5 deps: bump golang.org/x/net from 0.22.0 to 0.23.0 (#40) dependabot[bot] authored at GitHub comitted at
  21. 8a548643 readme: fix a thing Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  22. 68f08e38 git: fix getDisplayName Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  23. 72a658a3 routes: ignore files Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  24. 68184129 nix: fix docker build Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  25. 03124550 css: dark theme Marco Andronaco authored at GitHub comitted at
  26. 8a0ebe22 git: hide .git extension Marco Andronaco authored at GitHub comitted at
  27. 9d1d6aae templates: Add link to tar gz handler endpoint Gabriel A. Giovanini authored at Anirudh Oppiliappan comitted at
  28. acac8d47 routes: Add handler to generate tar gz file Gabriel A. Giovanini authored at Anirudh Oppiliappan comitted at
  29. 86b2bf47 git: Add function to generate tar file from repo Gabriel A. Giovanini authored at Anirudh Oppiliappan comitted at
  30. 7e3307ef nix: init flake Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  31. 21627fed readme: misc updates Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  32. a13ced49 re-add accidentally removed code for raw file view lillian authored at Anirudh Oppiliappan comitted at
  33. 892ba7e5 readme: remove frivolous line from notes Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  34. cd22584c routes: switch to net/http router 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. Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  35. a87f88a5 routes: add raw file view Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  36. bdfc9732 deps: bump go-git 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> dependabot[bot] authored at GitHub comitted at
  37. b2b18250 templates: add missing title to repo page Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  38. 30c0f3ee log errors from git.Open Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  39. 8f9e7f14 fix broken mailto: link in commit template Gil Poiares-Oliveira authored at GitHub comitted at
  40. 0191fc88 contrib: add systemd service file Akilesh Kannan authored at GitHub comitted at
  41. dc07fff4 deps: revert go-gitdiff bump Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  42. 847910c2 deps: bump Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  43. d1774f5a css: fix table overflow Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  44. 4f5d35ff how did that happen Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  45. 5dc6516d bump x/net Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  46. 1574bbec cleaner titles by nilix Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  47. d5a33e91 fix buffer overflow in countlines for files greater than 32k Signed-off-by: Derek Stevens <nilix@nilfm.cc> Derek Stevens authored at Anirudh Oppiliappan comitted at
  48. c90b2b51 contrib: docker support (#20) Gil Poiares-Oliveira authored at GitHub comitted at
  49. 22cf7a4a templates: fix tags Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  50. b78354ae tree: directories first, add size column, fix .. Signed-off-by: Derek Stevens <nilix@nilfm.cc> Derek Stevens authored at Anirudh Oppiliappan comitted at
  51. ee800624 fix line count for files that don't end in a newline Signed-off-by: Derek Stevens <nilix@nilfm.cc> Derek Stevens authored at Anirudh Oppiliappan comitted at
  52. ee5ab32a utils: Add helper to get all repos 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. Daniele Sluijters authored at Anirudh Oppiliappan comitted at
  53. ee459fce docs: Expand on repo.ignore Make it clear the expectation is the paths are relative to scanPath. Daniele Sluijters authored at Anirudh Oppiliappan comitted at
  54. 8586d930 config: Ensure we always have an absolute path Having this consistent across the code is handy when we're building paths, counting separators and other path manipulation. Daniele Sluijters authored at Anirudh Oppiliappan comitted at
  55. 1e7b6381 readme: tiny thing Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  56. de046690 only add go meta import tag if go.mod exists in repo root This is a multipart message in MIME format. Pretty self-explanitory :3 Signed-off-by: Derek Stevens <nilix@nilfm.cc> Derek Stevens authored at Anirudh Oppiliappan comitted at
  57. 3060c752 sort tags and deduplicate This sorts the tags reverse-chronologically. If any tags have the same name (shouldn't happen but it does in some of my repos), we use whichever one is "newer". Signed-off-by: Derek Stevens <nilix@nilfm.cc> Derek Stevens authored at Anirudh Oppiliappan comitted at
  58. e782f36f add style tweaks Signed-off-by: Derek Stevens <nilix@nilfm.cc> Derek Stevens authored at Anirudh Oppiliappan comitted at
  59. 7a512b1d markdown: more file exts, fix img Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  60. 49b8b292 css: fix ul padding in readme Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  61. 95dec0f0 routes: render markdown readmes in repo index (#11) James Mills authored at GitHub comitted at
  62. 0547b042 css: set repo desc font weight to normal Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  63. 5912a0bc css: bottom padding in refs pre Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  64. 845cce8e css: lose grid layout in refs Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  65. 08c49d4d unveil: remove git executable and /dev/null Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  66. fa66c4fa git: pure go git clone Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  67. 983dabb3 css: wrap refs pre Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  68. 30559cd9 readme: unveil and ideas Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  69. f661e6e4 config: add repo.ignore Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  70. 2b57b6e0 unveil: /dev/null Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  71. 2fe14eca unveil: reorder Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  72. d58151db css: reduce pre font size Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  73. a64f9d8f css: set pre font lol Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  74. d6b8143f css: ui-monospace ref: https://stackoverflow.com/a/64133415 Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  75. 6e6648e3 unveil: add git executable Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  76. 0ed4b29f clean up long line Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  77. 45d1c6c2 unveil: cleanup code in main.go zak authored at Anirudh Oppiliappan comitted at
  78. 8c129f88 unveil: log each call zak authored at Anirudh Oppiliappan comitted at
  79. 4aa8cbff unveil: initial commit zak authored at Anirudh Oppiliappan comitted at
  80. d0f5d874 css: change iOS mono font Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  81. 86eb6431 templates: improve this & parent commit Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  82. 13757407 Link to parent commit file version in commit view It makes sense for [oldfile] in [oldfile]->[newfile] to link to the previous version. This is also how cgit behaves. phire authored at Anirudh Oppiliappan comitted at
  83. e5d35c4d css: scroll file content x-axis only - we don't need any overflow scrolling for the y-axis. - set overflow-x to 'auto' so that the scroll bar only shows when the content does overflow. zak authored at Anirudh Oppiliappan comitted at
  84. 42bce066 readme: add note clarifying cloning Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  85. 150d81df diff: scroll diff on overflow Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  86. 2f508f86 add license closes #2 Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  87. 263a1509 diff: show diff type Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  88. 194ec63d file: separate content and line numbers Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  89. 2b9b2bdb css: add bg to readme/file content Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  90. d1a2847a index: turn off logging, it's too noisy Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  91. 203fb6c5 readme: clarify license Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  92. e0e4c1eb css: scroll file content Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  93. f3c20bcb decrease prominence of author info in ui Alexander Cobleigh authored at Anirudh Oppiliappan comitted at
  94. 27ed90c5 unveil: clarify its uselessness Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  95. a0524401 git: check for binary files Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  96. 8ba1a960 add favicon Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  97. 9a8041a2 readme: more info Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  98. fc65017b config: fix yaml Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  99. df0962a3 all: no more pretty urls Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  100. 232a3603 templates: message under tag name Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  101. 99a092b8 css: default monospace font Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  102. 089ada4c config: fix go-import pretty url Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  103. 0e6eaa21 css: single column index on small screens Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  104. d0d636aa all: go-import, clone url Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  105. 2e3c3103 log: cleaner view Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  106. 8f8f205c routes: skip unopenable dirs Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  107. 08255439 config: scan path Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  108. 85d1bf73 routes: sort repo index by last idle Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  109. 7fe98772 templates: add title tags Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  110. 5ea7cae9 unveil: init Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  111. 60298a69 git: rework diff to fetch initial commit Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  112. e4d12fc6 templates: unified repo-header Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  113. 3e6a7201 git, templates: diff view Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  114. 5091695e templates: repo and log Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  115. 4eaaf451 css: wrong name Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  116. 9649b3ed templates: index rework Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  117. d083d5d7 routes: serve static content from /static Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  118. b833d2f7 readme: some bs Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  119. f8829d9e routes: disable git push Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  120. abe30076 routes: wildcard multiplex route at the end Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  121. 1b27f32c routes: multiplex git and web ui Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  122. 1872ca72 routes: description and humanized time to index Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  123. d879c2df template: line numbers for file view Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  124. eda8b58d git: find main branch from config Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  125. 551c6637 deps: bump go-git Now builds without cgo. Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  126. 462c7ddc config: server host and port Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  127. 60e1092d templates: tree and log links for tags Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  128. 7a6ff356 routes: refs view Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  129. 01f27147 routes: index view Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  130. 82b8afe1 routes: render readme Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  131. 7d99afc5 templates: fix 404 and 500 Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  132. f04137f8 template: render diff header lines Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  133. c165c447 git, routes: commit diff view Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  134. ce71721c routes, templates: tree and log views Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  135. e0f34796 git: fix trees Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  136. ac6ca71f routes: file content view Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  137. ab30497e git: file content at ref Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  138. 6857a2f0 routes: split repo index and files views Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  139. d62fb144 git: fetch files only using ref Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  140. 856f6680 all: init Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at