cloudhead
74abd789c7
httpd: Fix private repo visibility
...
Make private repos invisible on all routes, including /raw endpoints
and Git clones.
2024-03-17 21:13:25 +01:00
Sebastian Martinez
9df1922f15
httpd: Add routes for handling embeds in issues
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-09-19 10:00:01 +02:00
cloudhead
8ea9921765
httpd: Better error output from git backend
2023-09-01 15:17:41 +02:00
xphoniex
3ee76c2891
httpd: Separate `Error` types of git route and `/raw`
...
Signed-off-by: xphoniex <dj.2dixx@gmail.com>
2023-03-13 16:25:26 +01:00
Alexis Sellier
6e90444406
httpd: Basic alias support for git
...
Allows cloning via git using an alias instead of the full RID.
Eg. `git clone https://seed.radicle.xyz/heartwood.git `
2023-03-12 18:31:19 +01:00
xphoniex
488468991c
httpd: Set a max allowed size of 4 MiB when serving files raw
...
Signed-off-by: xphoniex <dj.2dixx@gmail.com>
2023-03-07 09:37:02 +01:00
xphoniex
34b15f9f16
httpd: Add `/raw` route
...
Signed-off-by: xphoniex <dj.2dixx@gmail.com>
2023-02-23 06:16:37 +00:00
xphoniex
c1b6ceb141
httpd: Change `500` into `404` when project doesn't exist
...
Signed-off-by: xphoniex <dj.2dixx@gmail.com>
2023-02-22 17:06:32 +01:00
Alexis Sellier
2f6cf9c7a5
httpd: implement `git` fetch-only server
...
Introduces a new `radicle-httpd` crate which will serve as the basis
for heartwood's HTTP backend.
The first part of this is a git server which allows projects to be
fetched from storage using plain `git`.
Signed-off-by: Alexis Sellier <alexis@radicle.xyz>
2022-10-19 11:36:16 +02:00