legit

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

Commits at 3994d554079c971206f6ee8f73c1bb16af6db574

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