legit

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

Commits at f88130687c1ddf2ea92639018946386d02b29c76

  1. f8813068 Format go file with dprint Shota FUJI authored at Shota FUJI comitted at
  2. 8c3d0a22 Format CSS files with dprint Shota FUJI authored at Shota FUJI comitted at
  3. ce2a0949 Use tab indentation for HTML and CSS HTML are all gone and CSS are completely rewritten. Shota FUJI authored at Shota FUJI comitted at
  4. f81ee57d Setup dprint, code formatter Running `go fmt <module>` is a lot. I often forgot to run that. dprint, on the other hand, formats everything by default. A chance of missing to run is significantly lower. Shota FUJI authored at Shota FUJI comitted at
  5. 130a2337 Disable go-import `go-import` does not work with `.git` extension and current routing logic cannot handle `foo -> foo.git` lookup. <https://github.com./icyphox/legit/issues/34> Shota FUJI authored at Shota FUJI comitted at
  6. 369d05c6 Fix most of the links are 404-ed on repository with .git suffix Shota FUJI authored at Shota FUJI comitted at
  7. 64314274 Align header and aside to top on three-column layout It looked good when there is enough main content, otherwise awkward due to misalign-feel. Shota FUJI authored at Shota FUJI comitted at
  8. 5b33be2d Style commit page Shota FUJI authored at Shota FUJI comitted at
  9. 1afd9b7c Style blob (file view) page Shota FUJI authored at Shota FUJI comitted at
  10. 33c4026a Remove unused functions Shota FUJI authored at Shota FUJI comitted at
  11. 4d770943 Refactor simple slice lookup to slices.Contains gopls screaming this refactor everytime I open this file. It was annoying. Shota FUJI authored at Shota FUJI comitted at
  12. 50d100f7 Style repo tree (files) page Shota FUJI authored at Shota FUJI comitted at
  13. 8f3f5233 Style repository log (commits) page Shota FUJI authored at Shota FUJI comitted at
  14. 35e0cec5 Move commit summary style to global page I want to use that style in commits page too. Shota FUJI authored at Shota FUJI comitted at
  15. 3a7d5238 Style repository refs page Shota FUJI authored at Shota FUJI comitted at
  16. 4a2e9702 Remove link underline by default My strategy is to put underline for user content (README) and hide for everything else. This change reflects the intent well. Shota FUJI authored at Shota FUJI comitted at
  17. 546e9b51 Turn default branch name to link to refs page "Refs" is not obvious name, especially for users who are GitHub/GitLab but git and its concept. Shota FUJI authored at Shota FUJI comitted at
  18. 19ee3c69 Style repository summary page Shota FUJI authored at Shota FUJI comitted at
  19. da924f05 Style repository list page Shota FUJI authored at Shota FUJI comitted at
  20. 7814915e Fix favicon not showing Shota FUJI authored at Shota FUJI comitted at
  21. 9fd428e4 Style the new templates Still ugly but viewable, at least. Shota FUJI authored at Shota FUJI comitted at
  22. 475d5104 Fix repository list uses author date instead of committer date The latter is the important one. This is how git and vast majority of its ecosystem behaves. Shota FUJI authored at Shota FUJI comitted at
  23. 14bdcf67 Cleanup routes and templates * Define data structure passed to templates in `routes/data.go`, to easily modify templates without reading whole handler code. * Rewrite HTML templates to bare-bones ones to make future modifications easy and clean. * Fix several markup problems, such as quirk mode and invalid tag hierarchy. Shota FUJI authored at Shota FUJI comitted at
  24. 3848e3b4 routes: Pass precise datetime to index page Displaying relative datetime without absolute one is confusing and/or frustrating. title attribute should include timezone for more accuracy, but it's enough for now. I have a plan to write a new template from scratch. Shota FUJI authored at Shota FUJI comitted at
  25. 041d8a56 Create `.editorconfig` file For consistent code styles. I mostly wrote down the current code style. Shota FUJI authored at Shota FUJI comitted at
  26. 5acac24d deps: bump go-git to v5.13.2 Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  27. 658e1edc all: use securejoin for path joining Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  28. 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
  29. 9b685c8d css: tiny fix for darkmode Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at
  30. ec84ea1c routes: sanitize readme content for non markdown files Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at