Commit Graph
14 Commits
Author SHA1 Message Date
Rūdolfs Ošiņš c60b6451d3 http: Remove all authentication related code
We also remove the `/api/v1/profile` endpoint because that was only
supposed to be used with a local node and not publicly accessible. All
fields that are still used in the UI were moved to `/api/v1/node`.

We bump the API and crate versions since this is a breaking change.

squash or drop!: Small suggestion for improvement
2024-07-19 08:11:47 -03:00
Rūdolfs Ošiņš b105d06fae http: Only count publicly seeded repositories
Previously the /api/v1/stats endpoint would count any repository that is
in the storage regardless of whether the repository is publicly seeded or not.
2024-07-19 05:32:42 -03:00
Sebastian Martinez 7347d031e7 http: Rename IssueState and PatchState to IssueStatus and PatchState 2024-07-04 15:21:10 +02:00
Sebastian Martinez 49a299f9e3 http: Rename state query param to status
This allows us to match the query param with the output that is
`{ "status": "open" | "merged" | ... }`
2024-07-04 15:18:38 +02:00
Sebastian Martinez 76fb2e2dc6 http: Add missing issue and patch endpoint tests 2024-07-04 15:17:52 +02:00
Sebastian Martinez 6fd6375005 http: Add ssh keys and full did to nodes handler 2024-07-04 15:12:20 +02:00
Sebastian Martinez ea6a7fb028 http: Remove session and all read-write endpoints
Updates API version to 2.0.0 and crate to 0.13.0
2024-07-03 14:04:07 +02:00
Richard Levitte 02057b5b08 http: accept .org as repository README extension 2024-07-01 11:52:33 +02:00
Sebastian Martinez fe5ec4432a http: Change /api/v1/node version to node user agent
We used the `RADICLE_VERSION` env variable to display the node version,
which as of recently matched always the `radicle-httpd` version.
Since the separation this isn't the case anymore, and the user agent
seems a more reliable metric.
2024-06-28 21:43:32 +02:00
Sebastian Martinez 37a88bbb83 http: Add node endpoint tests 2024-06-28 13:59:35 +02:00
Sebastian Martinez b39389c1a1 http: Add repo policy endpoint 2024-06-28 13:59:35 +02:00
Sebastian Martinez 7fc2edd10f http: Update radicle crate dependency to 0.11.1 2024-06-27 11:54:24 +02:00
Sebastian Martinez 0b5a45207e http: Removal of rad-web
rad-web requires the radicle-cli dependency which we shouldn't require
in radicle-httpd.
2024-06-27 11:54:24 +02:00
Rūdolfs Ošiņš 2f1a5dcdfe Rename http-server -> radicle-httpd
So that the directory name matches the crate name.
2024-06-20 11:44:44 +02:00