radicle-heartwood-lfs/radicle-httpd/src
Sebastian Martinez 0e0ff38ff7
httpd: Fix commit count in repo stats in history route
Instead of using always the repo HEAD for the commit count with
`repo::stats` we should use `repo::stats_from` and pass the `parent`
commit.

This way we allow e.g. a commit history for a peer with lesser commits
to be counted correctly.

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-07-25 12:34:03 +02:00
..
api httpd: Fix commit count in repo stats in history route 2023-07-25 12:34:03 +02:00
api.rs node: Add access to routing.db on `profile` 2023-06-02 13:42:44 +02:00
axum_extra.rs httpd: Add `/raw` route 2023-02-23 06:16:37 +00:00
error.rs httpd: Separate `Error` types of git route and `/raw` 2023-03-13 16:25:26 +01:00
git.rs httpd: Separate `Error` types of git route and `/raw` 2023-03-13 16:25:26 +01:00
lib.rs httpd: Move `404` test from `git` to root router 2023-03-13 16:25:26 +01:00
main.rs Add `-h` flag to binaries 2023-07-25 11:58:39 +02:00
raw.rs httpd: Add `CorsLayer` to `/raw` endpoint 2023-03-23 11:07:58 +01:00
test.rs cli: Make key encryption optional 2023-07-20 10:40:15 +02:00
tracing_extra.rs httpd: Use `radicle-term` instead of `radicle-cli::terminal` 2023-03-07 14:49:18 +01:00