Commit Graph
18 Commits
Author SHA1 Message Date
Rūdolfs Ošiņš b3cec1f314 Format *.ts, *.js, *.css, *.html, *.json and *.svelte
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-08-31 17:47:07 +02:00
Alexis Sellier f8083a24d1 Return correct api error status
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-05-18 15:45:47 +02:00
Sebastian Martinez e0ee26f2a1 Refactor api calls
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2022-05-18 15:45:47 +02:00
Alexis Sellier efb91c7e73 Updates for http-api verified commits change
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-04-07 13:29:59 +02:00
Sebastian Martinez 7a3958ab4a Improve error when http-api outdated
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2022-04-04 18:48:57 +02:00
Alexis Sellier 55ce9e8a33 Fix bug with default ports in api config
JavaScript brilliance strikes again:

  new URL("https://acme.com:443").port == ""

Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-03-01 20:29:06 +01:00
Alexis Sellier e6f4441be7 Revise seed config
No longer use `Config` to store the seed config.

Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-02-09 13:27:12 +01:00
Alexis Sellier 05ed8e15a0 Support for browsing seed projects
Eg. /seeds/seed.cloudhead.io/projects/:urn

Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-01-14 12:23:34 +01:00
Sebastian Martinez 72d5b3b34c Add seeds page
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2021-12-07 11:11:34 +01:00
Alexis Sellier 1b7a259515 Allow overriding eth.radicle.seed.host record
Adds two new records:

* eth.radicle.seed.api
* eth.radicle.seed.git

When specified, these override `eth.radicle.seed.host` for Git
and the HTTP API, respectively.

Signed-off-by: Alexis Sellier <self@cloudhead.io>
2021-11-23 13:06:39 +01:00
Alexis Sellier 2821409418 Show Seed ID on project page
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2021-09-22 18:14:21 +02:00
Alexis Sellier 75983dc98e Migrate to host/id based seed node records
Instead of having one record per service, we configure the host
and expect services to run on certain ports.
2021-09-14 15:08:13 +02:00
Alexis Sellier e39e425ec4 Allow trailing slashes in seed API 2021-08-22 21:48:15 +02:00
Alexis Sellier 50d2bc944f [eslint] Add rules matching codebase style 2021-06-14 10:52:00 +02:00
Alexis Sellier 86269546d5 Implement markdown rendering 2021-06-13 23:52:59 +02:00
Alexis Sellier 1c8c1b925e Get rid of null return values in API 2021-06-13 13:30:09 +02:00
Alexis Sellier b856676573 Improve project failed state 2021-06-11 10:44:10 +02:00
Alexis Sellier abde1640f5 Move API into its own module 2021-06-10 12:50:32 +02:00