all repos — legit @ 0793d8870465693ddcf99f09377bbe0f62c67907

Unnamed repository; edit this file 'description' to name the repository.

CHANGELOG.md (view raw)

  1# Changelog
  2
  3All notable changes to this project are documented in this file.
  4
  5The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
  6and this project adheres to [Semantic
  7Versioning](https://semver.org/spec/v2.0.0.html).
  8
  9## [Unreleased]
 10
 11### Added
 12
 13- Viper config loading with environment variable overrides (`LEGIT_*` prefix)
 14- Build-time version and date embedding via ldflags, shown in `--help` and
 15  `--version`
 16- GoReleaser configuration for cross-platform builds
 17
 18### Changed
 19
 20- Complete Swiss-style CSS redesign: crimson red accent, heavy typography,
 21  pill-style nav buttons, card-based sections with left red borders, full dark
 22  mode, responsive mobile layout
 23- Project restructured to standard Go layout (`cmd/legit/`, `internal/`)
 24- Module path migrated to `codeberg.org/maxwelljensen/legit`
 25- Config library switched from `gopkg.in/yaml.v3` to viper
 26- Flag parsing switched from stdlib `flag` to `go-arg`
 27- Templates restructured: `repoheader` moved inside `<body>` in all 6
 28  templates, missing `</li>` close tags added to nav elements
 29
 30### Fixed
 31
 32- Log page: commit message column no longer squashed by `commit-info`
 33  (widened message column to 1.3fr, reduced padding, tightened
 34  commit-info line-height)
 35- Index page: empty descriptions no longer break date alignment (`&nbsp;`
 36  fallback, restructured grid with `.index-idle` class)
 37- Tree page: mode column now handles long mode strings without wrapping
 38  (`minmax(10ch, auto)`)
 39- Text overlapping with `commit-info` on long commit messages resolved
 40- nav.html: stray `</a>` tag after `</li>` on refs link removed
 41- Minor README formatting errors corrected
 42
 43## [0.2.6] - 2026-05-12
 44
 45### Added
 46
 47- Reference links displayed in commit log page (#54)
 48- Symlink resolution when scanning for git repositories (#59)
 49
 50### Fixed
 51
 52- Malformed HTML in templates (#61)
 53- Correct reader variable used in git operations (#58)
 54
 55### Changed
 56
 57- Default scan path updated to `/var/git` (#60)
 58- Dependency bumps: go-git v5.13.2, golang.org/x/crypto v0.31.0
 59- Path joining hardened with securejoin across all routes
 60- Code quality: all golangci-lint issues resolved (errcheck, errorlint,
 61gocritic, godoclint, perfsprint, staticcheck, unused, usestdlibvars)
 62
 63## [0.2.5] - 2025-01-26
 64
 65### Changed
 66
 67- CSS: font stack updated to system fonts, custom font features removed
 68- CSS: colours, dark mode refinements
 69- Routes: README content sanitised for non-Markdown files (uses &lt;pre&gt;)
 70
 71## [0.2.4] - 2024-10-06
 72
 73### Added
 74
 75- Syntax highlighting via chroma with configurable style
 76(`meta.syntaxHighlight`)
 77- Unlisted repositories (`repo.unlisted`)
 78- Annotated lightweight tag support
 79- Docker build and push workflow (ghcr.io)
 80- Dockerfile and docker-compose.yml updates
 81
 82### Changed
 83
 84- Dependencies bumped
 85- README reworded with Docker image references
 86
 87## [0.2.3] - 2024-07-13
 88
 89### Added
 90
 91- Archive download handler (tar.gz via `/{name}/archive/{file}`)
 92- Dark theme CSS
 93- Nix flake for reproducible builds and Docker image
 94- Repository ignore support (`repo.ignore`)
 95- `.git` extension stripped from display names
 96
 97### Changed
 98
 99- Routing switched to Go 1.22+ `net/http` pattern-based router
100- Git HTTP smart protocol switched from go-git to system `git-upload-pack`
101- Template updated with archive download links
102
103### Fixed
104
105- Raw file view accidentally removed code re-added
106- `getDisplayName` now works correctly for repos with `.git` suffix