legit

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

Commits at ec84ea1c0b363da438d5e8e3ec3c9a3d20ffb060

  1. ec84ea1c routes: sanitize readme content for non markdown files Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  2. 98546565 css: remove custom font features Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  3. 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
  4. 9691bbfa css: fix typo Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  5. 6d39fbcc css: update default font and colors Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  6. e108c4e9 deps: bump all Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  7. 3994d554 readme: reword, mention docker images Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  8. ad3e8f6b actions: build and push docker Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  9. 7b90e8ea docs: add info about syntaxHighlight usage Gabriel A. Giovanini authored at Anirudh Oppiliappan comitted at
  10. 34521a5b routes: add syntax highlight Gabriel A. Giovanini authored at Anirudh Oppiliappan comitted at
  11. de182443 deps: add chroma as dependency Gabriel A. Giovanini authored at Anirudh Oppiliappan comitted at
  12. 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
  13. 4447fcda git: add unlisted repositories Marco Andronaco authored at GitHub comitted at
  14. c75aa9f5 contrib: update docker-compose.yml as well Marco Andronaco authored at Anirudh Oppiliappan comitted at
  15. 49d83231 contrib: update Dockerfile Marco Andronaco authored at Anirudh Oppiliappan comitted at
  16. 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
  17. 67e355d5 deps: bump golang.org/x/net from 0.22.0 to 0.23.0 (#40) dependabot[bot] authored at GitHub comitted at
  18. 8a548643 readme: fix a thing Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  19. 68f08e38 git: fix getDisplayName Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  20. 72a658a3 routes: ignore files Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  21. 68184129 nix: fix docker build Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  22. 03124550 css: dark theme Marco Andronaco authored at GitHub comitted at
  23. 8a0ebe22 git: hide .git extension Marco Andronaco authored at GitHub comitted at
  24. 9d1d6aae templates: Add link to tar gz handler endpoint Gabriel A. Giovanini authored at Anirudh Oppiliappan comitted at
  25. acac8d47 routes: Add handler to generate tar gz file Gabriel A. Giovanini authored at Anirudh Oppiliappan comitted at
  26. 86b2bf47 git: Add function to generate tar file from repo Gabriel A. Giovanini authored at Anirudh Oppiliappan comitted at
  27. 7e3307ef nix: init flake Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  28. 21627fed readme: misc updates Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  29. a13ced49 re-add accidentally removed code for raw file view lillian authored at Anirudh Oppiliappan comitted at
  30. 892ba7e5 readme: remove frivolous line from notes Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  31. 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
  32. a87f88a5 routes: add raw file view Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  33. 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
  34. b2b18250 templates: add missing title to repo page Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  35. 30c0f3ee log errors from git.Open Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  36. 8f9e7f14 fix broken mailto: link in commit template Gil Poiares-Oliveira authored at GitHub comitted at
  37. 0191fc88 contrib: add systemd service file Akilesh Kannan authored at GitHub comitted at
  38. dc07fff4 deps: revert go-gitdiff bump Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  39. 847910c2 deps: bump Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  40. d1774f5a css: fix table overflow Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  41. 4f5d35ff how did that happen Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  42. 5dc6516d bump x/net Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  43. 1574bbec cleaner titles by nilix Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  44. 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
  45. c90b2b51 contrib: docker support (#20) Gil Poiares-Oliveira authored at GitHub comitted at
  46. 22cf7a4a templates: fix tags Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  47. b78354ae tree: directories first, add size column, fix .. Signed-off-by: Derek Stevens <nilix@nilfm.cc> Derek Stevens authored at Anirudh Oppiliappan comitted at
  48. 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
  49. 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
  50. 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
  51. 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
  52. 1e7b6381 readme: tiny thing Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  53. 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
  54. 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
  55. e782f36f add style tweaks Signed-off-by: Derek Stevens <nilix@nilfm.cc> Derek Stevens authored at Anirudh Oppiliappan comitted at
  56. 7a512b1d markdown: more file exts, fix img Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  57. 49b8b292 css: fix ul padding in readme Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  58. 95dec0f0 routes: render markdown readmes in repo index (#11) James Mills authored at GitHub comitted at
  59. 0547b042 css: set repo desc font weight to normal Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  60. 5912a0bc css: bottom padding in refs pre Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  61. 845cce8e css: lose grid layout in refs Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  62. 08c49d4d unveil: remove git executable and /dev/null Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  63. fa66c4fa git: pure go git clone Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  64. 983dabb3 css: wrap refs pre Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  65. 30559cd9 readme: unveil and ideas Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  66. f661e6e4 config: add repo.ignore Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  67. 2b57b6e0 unveil: /dev/null Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  68. 2fe14eca unveil: reorder Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  69. d58151db css: reduce pre font size Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  70. a64f9d8f css: set pre font lol Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  71. d6b8143f css: ui-monospace ref: https://stackoverflow.com/a/64133415 Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  72. 6e6648e3 unveil: add git executable Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  73. 0ed4b29f clean up long line Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  74. 45d1c6c2 unveil: cleanup code in main.go zak authored at Anirudh Oppiliappan comitted at
  75. 8c129f88 unveil: log each call zak authored at Anirudh Oppiliappan comitted at
  76. 4aa8cbff unveil: initial commit zak authored at Anirudh Oppiliappan comitted at
  77. d0f5d874 css: change iOS mono font Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  78. 86eb6431 templates: improve this & parent commit Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  79. 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
  80. 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
  81. 42bce066 readme: add note clarifying cloning Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  82. 150d81df diff: scroll diff on overflow Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  83. 2f508f86 add license closes #2 Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  84. 263a1509 diff: show diff type Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  85. 194ec63d file: separate content and line numbers Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  86. 2b9b2bdb css: add bg to readme/file content Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  87. d1a2847a index: turn off logging, it's too noisy Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  88. 203fb6c5 readme: clarify license Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  89. e0e4c1eb css: scroll file content Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  90. f3c20bcb decrease prominence of author info in ui Alexander Cobleigh authored at Anirudh Oppiliappan comitted at
  91. 27ed90c5 unveil: clarify its uselessness Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  92. a0524401 git: check for binary files Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  93. 8ba1a960 add favicon Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  94. 9a8041a2 readme: more info Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  95. fc65017b config: fix yaml Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  96. df0962a3 all: no more pretty urls Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  97. 232a3603 templates: message under tag name Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  98. 99a092b8 css: default monospace font Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  99. 089ada4c config: fix go-import pretty url Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  100. 0e6eaa21 css: single column index on small screens Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  101. d0d636aa all: go-import, clone url Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  102. 2e3c3103 log: cleaner view Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  103. 8f8f205c routes: skip unopenable dirs Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  104. 08255439 config: scan path Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  105. 85d1bf73 routes: sort repo index by last idle Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  106. 7fe98772 templates: add title tags Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  107. 5ea7cae9 unveil: init Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  108. 60298a69 git: rework diff to fetch initial commit Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  109. e4d12fc6 templates: unified repo-header Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  110. 3e6a7201 git, templates: diff view Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  111. 5091695e templates: repo and log Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  112. 4eaaf451 css: wrong name Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  113. 9649b3ed templates: index rework Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  114. d083d5d7 routes: serve static content from /static Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  115. b833d2f7 readme: some bs Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  116. f8829d9e routes: disable git push Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  117. abe30076 routes: wildcard multiplex route at the end Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  118. 1b27f32c routes: multiplex git and web ui Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  119. 1872ca72 routes: description and humanized time to index Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  120. d879c2df template: line numbers for file view Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  121. eda8b58d git: find main branch from config Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  122. 551c6637 deps: bump go-git Now builds without cgo. Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  123. 462c7ddc config: server host and port Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  124. 60e1092d templates: tree and log links for tags Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  125. 7a6ff356 routes: refs view Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  126. 01f27147 routes: index view Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  127. 82b8afe1 routes: render readme Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  128. 7d99afc5 templates: fix 404 and 500 Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  129. f04137f8 template: render diff header lines Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  130. c165c447 git, routes: commit diff view Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  131. ce71721c routes, templates: tree and log views Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  132. e0f34796 git: fix trees Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  133. ac6ca71f routes: file content view Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  134. ab30497e git: file content at ref Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  135. 6857a2f0 routes: split repo index and files views Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  136. d62fb144 git: fetch files only using ref Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  137. 856f6680 all: init Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at