Alexis Sellier
cc942024ce
Make Doc type payload generic
2022-12-09 22:05:38 +01:00
xphoniex
0b138f2c0c
httpd: Use HashSet instead of BTreeSet
...
Signed-off-by: xphoniex <dj.2dixx@gmail.com >
2022-12-09 10:49:28 +01:00
xphoniex
a40d53743d
httpd: Conform response from issue handlers to previous model
...
Signed-off-by: xphoniex <dj.2dixx@gmail.com >
2022-12-09 10:49:09 +01:00
Alexis Sellier
3f4aecfadf
Rename patch/issue "status"
...
This reverts to the previous naming, since after serialization
we would otherwise end up with `{ status: { status: closed } }`.
Signed-off-by: Alexis Sellier <alexis@radicle.xyz >
2022-12-09 10:44:59 +01:00
Alexis Sellier
864f0022e2
Remove delegate names from identity doc
...
We are working on other mechanisms to help identify keys, and this
is just redundant.
Also update some of the CLI examples to create a canonical example
for documentation.
Signed-off-by: Alexis Sellier <alexis@radicle.xyz >
2022-12-07 12:16:00 +01:00
Alexis Sellier
b22c152ed9
cob: Move clock out of Issue
...
The clock shouldn't be part of the issue state, but rather
the local "actor" state.
Signed-off-by: Alexis Sellier <alexis@radicle.xyz >
2022-12-01 12:05:44 +01:00
xphoniex
da4287258b
httpd: implement IntoResponse for api error variants
...
Signed-off-by: xphoniex <dj.2dixx@gmail.com >
2022-11-30 13:06:03 +00:00
xphoniex
591b86aee5
Migrate /v1/stats route
...
Signed-off-by: xphoniex <dj.2dixx@gmail.com >
2022-11-30 13:06:03 +00:00
xphoniex
3b50828f41
Migrate /projects: issues, issue handlers
...
Signed-off-by: xphoniex <dj.2dixx@gmail.com >
2022-11-30 13:06:03 +00:00
xphoniex
02ab60ac55
Migrate /projects: remotes, remote, blob, readme handlers
...
Signed-off-by: xphoniex <dj.2dixx@gmail.com >
2022-11-30 13:06:03 +00:00
xphoniex
45751c56c6
Migrate /projects: history and tree handlers
...
Signed-off-by: xphoniex <dj.2dixx@gmail.com >
2022-11-30 13:06:03 +00:00
xphoniex
de1f84b792
Migrate /projects: root, project, commit, activity handlers
...
Signed-off-by: xphoniex <dj.2dixx@gmail.com >
2022-11-30 13:06:03 +00:00
xphoniex
2d49f8bbff
Migrate /v1/delegates route
...
Signed-off-by: xphoniex <dj.2dixx@gmail.com >
2022-11-30 13:06:03 +00:00
xphoniex
b26562f2c5
Migrate /v1/sessions route
...
Signed-off-by: xphoniex <dj.2dixx@gmail.com >
2022-11-30 13:06:03 +00:00
xphoniex
ae2a35abb9
Migrate /v1/, /v1/node routes to heartwood
...
Signed-off-by: xphoniex <dj.2dixx@gmail.com >
2022-11-30 13:06:03 +00:00