legit

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

Commits at 99ef4012f6262d302df4c3354c4ca6bb47371f37

  1. 92a96a7e Setup JavaScript formatting I'm going to add ".js" files. Shota FUJI authored at Shota FUJI comitted at
  2. 46bb37d9 Fix typo in a code comment Shota FUJI authored at Shota FUJI comitted at
  3. 41a17d94 Set default tab width for <body> I'm going to make tab width user selectable. This is both as a temporary solution and as a default value. Shota FUJI authored at Shota FUJI comitted at
  4. d8ad037b Replace go module name Diverged enough. Shota FUJI authored at Shota FUJI comitted at
  5. f8813068 Format go file with dprint Shota FUJI authored at Shota FUJI comitted at
  6. 8c3d0a22 Format CSS files with dprint Shota FUJI authored at Shota FUJI comitted at
  7. 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
  8. 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
  9. 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
  10. 369d05c6 Fix most of the links are 404-ed on repository with .git suffix Shota FUJI authored at Shota FUJI comitted at
  11. 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
  12. 5b33be2d Style commit page Shota FUJI authored at Shota FUJI comitted at
  13. 1afd9b7c Style blob (file view) page Shota FUJI authored at Shota FUJI comitted at
  14. 33c4026a Remove unused functions Shota FUJI authored at Shota FUJI comitted at
  15. 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
  16. 50d100f7 Style repo tree (files) page Shota FUJI authored at Shota FUJI comitted at
  17. 8f3f5233 Style repository log (commits) page Shota FUJI authored at Shota FUJI comitted at
  18. 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
  19. 3a7d5238 Style repository refs page Shota FUJI authored at Shota FUJI comitted at
  20. 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
  21. 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
  22. 19ee3c69 Style repository summary page Shota FUJI authored at Shota FUJI comitted at
  23. da924f05 Style repository list page Shota FUJI authored at Shota FUJI comitted at
  24. 7814915e Fix favicon not showing Shota FUJI authored at Shota FUJI comitted at
  25. 9fd428e4 Style the new templates Still ugly but viewable, at least. Shota FUJI authored at Shota FUJI comitted at
  26. 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
  27. 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
  28. 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
  29. 041d8a56 Create `.editorconfig` file For consistent code styles. I mostly wrote down the current code style. Shota FUJI authored at Shota FUJI comitted at
  30. 5acac24d deps: bump go-git to v5.13.2 Anirudh Oppiliappan authored at Anirudh Oppiliappan comitted at