d41a3b6
refactor(web): extract shared fields from structs
Click to expand commit body
Consolidates common data fields across web UI pages into reusable
BaseData, RepoBaseData, and PaginationData structs to reduce code
duplication and improve maintainability.
Implements: bug-7dfe278
Co-authored-by: Crush <crush@charm.land>
Amolith
and
Crush
created
8624ca2
fix: display full branch names in breadcrumbs
Click to expand commit body
Previously, the breadcrumb navigation would truncate all refs using
shortHash, causing branch names like "generate-promo-codes" to display
as just "generate".
This change adds an IsCommitHash field to template data structures and
updates the templates to conditionally apply shortHash only for actual
commit hashes while showing full names for branches and tags.
Implements: bug-bf0175a
Co-Authored-By: Crush <crush@charm.land>
Amolith
and
Crush
created
5acf52c
fix: detect MIME type for raw blob responses
Click to expand commit body
Replace hardcoded text/plain content-type with proper MIME type
detection using mime.TypeByExtension and http.DetectContentType
as fallback. Ensures binary files are served with correct types
while maintaining UTF-8 charset for text files.
Fixes: bug-74a99e4
c1f46b3
fix(tree): don't link current item in breadcrumb navigation
Click to expand commit body
Prevent the last breadcrumb item from being linked when viewing
a directory or file in the tree view. Follows the same pattern
already used in blob.html.
Fixes: bug-d8ce4b4
- Use Atkinson Hyperlegible as sans
- Use 0xProto first, JetBrains Mono second as mono
- Preserve existing Pico CSS fallbacks
Co-Authored-By: Crush <crush@charm.land>
86d4c48
feat: prioritize latest commit time for repo UpdatedAt
Click to expand commit body
Change the order of operations in UpdatedAt() to first try getting
the timestamp from the latest commit before falling back to the
last-modified file. This ensures more accurate update timestamps.
Co-Authored-By: Crush <crush@charm.land>
91e4b2b
chore(deps): bump the all group with 4 updates (#776)
Click to expand commit body
Bumps the all group with 4 updates: [github.com/alecthomas/chroma/v2](https://github.com/alecthomas/chroma), [github.com/charmbracelet/x/ansi](https://github.com/charmbracelet/x), [golang.org/x/crypto](https://github.com/golang/crypto) and [modernc.org/sqlite](https://gitlab.com/cznic/sqlite).
Updates `github.com/alecthomas/chroma/v2` from 2.22.0 to 2.23.0
- [Release notes](https://github.com/alecthomas/chroma/releases)
- [Commits](https://github.com/alecthomas/chroma/compare/v2.22.0...v2.23.0)
Updates `github.com/charmbracelet/x/ansi` from 0.11.3 to 0.11.4
- [Commits](https://github.com/charmbracelet/x/compare/ansi/v0.11.3...ansi/v0.11.4)
Updates `golang.org/x/crypto` from 0.46.0 to 0.47.0
- [Commits](https://github.com/golang/crypto/compare/v0.46.0...v0.47.0)
Updates `modernc.org/sqlite` from 1.43.0 to 1.44.2
- [Changelog](https://gitlab.com/cznic/sqlite/blob/master/CHANGELOG.md)
- [Commits](https://gitlab.com/cznic/sqlite/compare/v1.43.0...v1.44.2)
---
updated-dependencies:
- dependency-name: github.com/alecthomas/chroma/v2
dependency-version: 2.23.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: all
- dependency-name: github.com/charmbracelet/x/ansi
dependency-version: 0.11.4
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: all
- dependency-name: golang.org/x/crypto
dependency-version: 0.47.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: all
- dependency-name: modernc.org/sqlite
dependency-version: 1.44.2
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: all
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot]
and
dependabot[bot]
created
2368256
chore(deps): bump the all group with 3 updates (#775)
Click to expand commit body
Bumps the all group with 3 updates: [github.com/alecthomas/chroma/v2](https://github.com/alecthomas/chroma), [github.com/spf13/cobra](https://github.com/spf13/cobra) and [modernc.org/sqlite](https://gitlab.com/cznic/sqlite).
Updates `github.com/alecthomas/chroma/v2` from 2.21.1 to 2.22.0
- [Release notes](https://github.com/alecthomas/chroma/releases)
- [Commits](https://github.com/alecthomas/chroma/compare/v2.21.1...v2.22.0)
Updates `github.com/spf13/cobra` from 1.10.1 to 1.10.2
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](https://github.com/spf13/cobra/compare/v1.10.1...v1.10.2)
Updates `modernc.org/sqlite` from 1.42.2 to 1.43.0
- [Commits](https://gitlab.com/cznic/sqlite/compare/v1.42.2...v1.43.0)
---
updated-dependencies:
- dependency-name: github.com/alecthomas/chroma/v2
dependency-version: 2.22.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: all
- dependency-name: github.com/spf13/cobra
dependency-version: 1.10.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: all
- dependency-name: modernc.org/sqlite
dependency-version: 1.43.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: all
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot]
and
dependabot[bot]
created
28c4854
feat: add support for certificate reloading upon SIGHUP (#710)
Click to expand commit body
* feat: add support for certificate reloading upon SIGHUP
* fix: support certificate reloading for unix and add test
* fix(cmd): move cert reloader logic to the serve package
---------
Co-authored-by: Ayman Bagabas <ayman.bagabas@gmail.com>
* fix: require admin privileges for force delete of LFS locks
Move user context retrieval before the force flag check to ensure
proper authorization. Force deletions now require admin privileges,
preventing non-admin users from deleting locks owned by others.
Fixes GHSA-6jm8-x3g6-r33j (CVE-2026-22253)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* fix: improve comment clarity for force delete path
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Tomer Fichman
and
Claude Opus 4.5
created
62e2d5c
fix(ssh): ui: respect anon-access setting for the ui
* sec: escape ansi sequences on user input
fixes HSA-fv2r-r8mp-pg48
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
* Apply suggestion from @Tomer-PL
Co-authored-by: Tomer Fichman <tomer@irregular.com>
* chore: fmt
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
---------
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
Co-authored-by: Tomer Fichman <tomer@irregular.com>
The regex solution proposed in #737 is not sufficient.
I've added `--end-of-options` to the relevant commands in https://github.com/aymanbagabas/git-module/pull/1
so this reverts changes made in #737 and update git-module to include that fix.
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
Carlos Alexandro Becker
created
a73db1a
test: use a repo that doesn't change as much (#743)
Click to expand commit body
wizard tutorial last commit was 2y ago
catwalk get commits almost daily
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>