Commit Graph
154 Commits
Author SHA1 Message Date
Rūdolfs Ošiņš c72494f620 Enable localhost connections in radicle-explorer
Allow radicle-explorer to connect to a locally running radicle-httpd via
https://app.radicle.xyz/nodes/localhost. This was previously disabled to
encourage use of Radicle Desktop, but is now useful for testing the new
always-on node in local development environments.

Remove support for /nodes/radicle.local, an undocumented and unused convention.

Fix remote node loading when Cloudflare URL-encodes port separator (: → %3A).
2026-01-12 14:38:50 -06:00
Sebastian Martinez 5cf657249f Update heartwood-release to 1.4.0 2025-09-15 13:28:18 +02:00
Rūdolfs Ošiņš be5605acde httpd: Release 0.20.0 2025-07-18 14:16:04 +02:00
Sebastian Martinez f54222326a httpd: Release 0.19.1 2025-06-06 12:36:24 +02:00
Sebastian Martinez d6e700cdd4 httpd: Release 0.19.0 2025-06-04 11:25:11 +02:00
Sebastian Martinez cfba4d40f6 Update heartwood-release to 1.2.0 2025-06-04 11:03:15 +02:00
Sebastian Martinez b77c0862b8 Update heartwood-release and radicle-httpd-release to latest versions 2024-12-05 15:30:03 +01:00
Sebastian Martinez f456731f42 Fix radicle-httpd tests for radicle 1.1.0 2024-12-05 14:13:56 +01:00
Matthew O'Gorman 2075c320f3 Add markdown support to node descriptions
Instead of escaping all html by svelte, we should pass the node
description through the markdown parser and sanitize the parsed content.
2024-11-28 16:43:11 +01:00
Sebastian Martinez 9586853a99 Add visual test for outdated reviews 2024-10-12 10:56:50 +00:00
Sebastian Martinez 9bdfba11d1 Update heartwood release to 1.0.0 2024-09-30 15:02:50 +02:00
Sebastian Martinez 30647fbb26 Update heartwood and radicle-httpd releases 2024-08-29 11:02:04 +02:00
Sebastian Martinez a34056b2bf Remove sinon in favor of existing APIs of playwright and vitest
We where using `sinon` in the `playwright` tests to simulate a different
time, which since `playwright@1.45.0` can be done with the Clock API
calling `page.clock.setFixedTime`.

And to test the mutex executor we can use the vitest utils spy function
`vi.fn()` instead of `sinon.spy()`
2024-08-29 10:11:04 +02:00
Sebastian Martinez 868f7b1e2d Rename files from project(s) to repo(s) 2024-08-22 09:43:06 +02:00
Sebastian Martinez cf08c83913 Update naming of project(s) to repo(s) 2024-08-22 09:43:06 +02:00
Rūdolfs Ošiņš 06cc5595c8 Upgrade eslint 2024-08-19 15:25:31 +02:00
Sebastian Martinez e005cd784e Update heartwood to rc.13 2024-08-02 08:00:26 -03:00
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
Sebastian Martinez c4aa4f04f2 http: Update crate to 0.14.0 and api version to 3.0.0 2024-07-12 10:44:32 +02:00
Sebastian Martinez cf995c09c1 Fix radicle-httpd tests for release instead of build from source 2024-07-09 15:39:58 +02:00
Sebastian Martinez dd61f5cf5c Remove local httpd features and experimental features
Updates API version to 2.0.0
2024-07-04 11:48:41 +02:00
Sebastian Martinez fda384bc14 Remove tests relying on rad-web 2024-06-28 08:55:13 +02:00
Sebastian Martinez 894ab2e0aa Update node config 2024-06-21 13:24:11 +02:00
Sebastian Martinez b09a705f58 Overhaul peer and branch selector 2024-06-20 16:43:30 +02:00
Sebastian Martinez 2ee8bae82e Rename httpd-client to http-client 2024-06-07 12:22:28 +02:00
Sebastian Martinez 29d340961b Add a new e2e test case for commit messages with double colons 2024-06-03 20:31:50 +02:00
Sebastian Martinez 0c7ea70c1b Update eslint config to flat config
Since the legacy config is being deprecated at the end of 2024, we
should start moving to the eslint flat config.

I avoided the tseslint config helper function so we avoid wrapping
magic.

This seems to have triggered more checking since any checks in svelte
files have appeared and the $$Generic type that is being deprecated had
to be rewritten.

Also fixes some any types that weren't caught previously
2024-05-27 17:35:16 +02:00
Thomas Scholtes ffd49e82ee Update execa
The execa update allows us two simplify two things

1. Output collection in a log file with a prefix can be done through
   `stdout` and `stderr` options of `execa`.
2. We don’t need to ensure that all subprocesses are killed when the
   main process exits. `execa` takes care of this
2024-05-27 09:29:10 +02:00
Thomas Scholtes 04de7e7526 Remove unnecessary stops of httpd in tests 2024-05-27 09:21:08 +02:00
Sebastian Martinez 46e514dcd8 Refactor config json into a virtual module 2024-05-17 15:35:00 +02:00
Sebastian Martinez 13a6925bcf Remove sinon fake timers out of the window object 2024-05-17 13:11:47 +02:00
Sebastian Martinez ec0aa4d982 Update heartwood to rc.8 2024-05-03 08:34:08 +02:00
Sebastian Martinez 2fc03f3312 Add apiVersion to config and httpd request
We have a new apiVersion value in the config json that needs to be
changed for each breaking change on httpd so we can simulate a new
resource to the cache and get it cleared.

Also improves the ResponseParseError giving the user more information
on, if the node or the web client is outdated
2024-05-03 08:34:08 +02:00
Sebastian Martinez eef0c1b0c7 Update node config schema for relay property 2024-05-02 23:47:25 +02:00
Sebastian Martinez c8e91ac218 Update test suite to use heartwood releases instead of commits
Remove extra line at heartwood-release
2024-05-02 11:25:42 +02:00
Sebastian Martinez 207ec7782a Modify RAD env vars based on heartwood rc.6 2024-04-30 11:39:35 +02:00
Sebastian Martinez 7adcea4148 Update components and interfaces for radicle-surf v0.21 2024-04-24 16:50:14 +02:00
Rūdolfs Ošiņš ab9e6e9d2b Bump heartwood version 2024-03-27 16:03:52 +01:00
Sebastian Martinez 4c569a1e3d Update heartwood and nix flake 2024-03-26 12:38:59 +01:00
Sebastian Martinez 5b30269c7c Add support for submodules and update heartwood 2024-03-11 19:13:22 +01:00
Sebastian Martinez 192524fe90 Add experimental switch in settings
Hide all read/write functionality behind this setting.
2024-03-07 10:35:21 +01:00
Sebastian Martinez 9b425e534b Update heartwood version 2024-03-04 16:52:46 +01:00
Sebastian Martinez 0cd667c925 Add supportWebsite config param 2024-02-15 09:38:28 -03:00
Sebastian Martinez bdd83644a6 Add CONTINUE_ON_ERRORS test flag
This allows when debugging tests to avoid that the test ends before
having an opportunity to debug what really went wrong.
2024-02-15 09:38:28 -03:00
Sebastian Martinez 2b3b8bc0de Add redirection to project depending on rad-web cwd 2024-02-07 11:47:08 +00:00
Sebastian Martinez fca515ab00 Bump heartwood and nix flake lock 2024-02-02 13:33:10 +01:00
Sebastian Martinez f0758de9f3 Add reactions to patch revisions
- Also adapts to the new reactions API schema everywhere.
2024-02-02 13:33:07 +01:00
Georgios Jason Efstathiou b1411ae4a5 Implement new landing page 2024-02-01 17:29:40 +00:00
Sebastian Martinez ef7a2659b5 Fixes e2e test suite relation with seed.radicle.garden
- Due to missing preferredSeed config option we where trying to connect to
seed.radicle.garden on the fixture creation.
- This commit also starts first nodes before httpds due to the config
being updated by the node.
2024-01-29 17:17:03 +01:00
Rūdolfs Ošiņš 65e906fd07 Bump heartwood version
This fixes the landing page not showing local projects anymore.
2024-01-25 11:58:53 +00:00