67 Commits
Author SHA1 Message Date
Rūdolfs Ošiņš c516cfa9fa Prefix explorer CI with explorer-
Desktop's GitHub workflows are already prefixed `desktop-`. With both
projects in one repo, the prefix shows which project a workflow or
Buildkite step belongs to.
2026-10-13 17:23:20 +02:00
Rūdolfs Ošiņš 0442f85d56 Add check:ci script
Runs the checks from the GitHub workflows in one go, like desktop's
`scripts/check-ci`, and logs them to `tests/tmp/check-ci.log`.
2026-10-13 17:23:20 +02:00
Rūdolfs Ošiņš e5e79605d6 Keep root lint checks out of desktop/
ESLint picks up desktop's own config for its files, which only works
with desktop's dependencies installed. Desktop is linted by its own
`scripts/check-js`.
2026-10-13 16:53:36 +02:00
Daniel NormanandRūdolfs Ošiņš b1acb3eb4d Integrate radicle-artifact into explorer
- Add release read API to httpd as cargo feature enabled by default
- Add Releases and Release views to the UI
- Filter out redacted artifacts and mark delegate authors
- Degrade releases UI gracefully with older radicle-httpd versions
- Hide fully redacted releases
- Skip releases in the list endpoint when every artifact was redacted by
  its author or a delegate, so no empty release entries are shown
- Keep them reachable with showRedacted=true and by release id
- Add e2e tests for the release routes

Co-Authored-By: Rūdolfs Ošiņš <rudolfs@osins.org>
2026-08-28 16:33:14 +02:00
Daniel Norman 8f2ddcf489 Cache npm dependencies in Buildkite
- Add twemoji as npm dependency instead of build download
- Package build assets with a Vite plugin instead of scripts
- Keep the eslint and prettier caches in one directory
2026-08-26 17:44:04 +02:00
Rūdolfs Ošiņš 3c2935704f Upgrade npm dependencies
This also upgrades dompurify to the latest version, outside our cooldown
window, for a security fix (verified safe with extra security checks).

Newer dompurify versions expose a bug where happy-dom renders one of our
custom elements incorrectly in tests, unlike real browsers. Switch the unit
test environment from happy-dom to jsdom to fix the failing tests.
2026-07-16 11:34:41 +02:00
Georgios Jason Efstathiou b201ddd501 radicle-search: Add search backend and httpd endpoints 2026-07-13 10:53:17 +02:00
Georgios Jason Efstathiou dded3703ee Annotate the test-e2e-docker bash 3.2 array guard
Add quick explainer for odd bash 3.2 workaround in docker harness.
2026-06-03 17:57:38 +02:00
Georgios Jason EfstathiouandClaude Opus 4.8 3414b6a5e2 Fix test-e2e-docker under bash 3.2 on macOS
The non-local path leaves EXTRA_ENV as an empty array, and expanding
"${EXTRA_ENV[@]}" under `set -u` errors with "unbound variable" on
bash 3.2 (the version shipped on macOS), aborting before the suite
runs. Guard the expansion with ${EXTRA_ENV[@]+...} so an empty array
expands to nothing instead.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-03 17:11:43 +02:00
Georgios Jason Efstathiou a304fa471b Run e2e tests in a Docker container 2026-05-29 13:35:13 +02:00
Rūdolfs Ošiņš b21faa104a Rename radicle.xyz -> radicle.dev where possible 2026-04-23 10:21:39 +02:00
Rūdolfs Ošiņš 7e725f3bdf Move public deployment from app.radicle.xyz to radicle.network 2026-04-23 00:08:23 +02:00
Rūdolfs Ošiņš 1003b165e5 ci: Allow binaries to be downloaded via redirect
By specifying `--location`, `curl` will follow redirects.
2026-04-23 00:07:31 +02:00
Rūdolfs Ošiņš 4eae95ab44 Allow running e2e test suite against a locally built httpd
This allows us to easily test httpd changes without doing a release
first and then updating the radicle-httpd-release file.
2026-02-26 16:36:07 -06:00
Rūdolfs Ošiņš 4c20d626e8 Add script for app.radicle.xyz deployments
Our Cloudflare deployments via GitHub broke. We can run deployments
manually to app.radicle.xyz via:

  npm run deploy

This also takes care of injecting the plausible.io script.
2026-01-09 16:55:19 -06:00
Sebastian Martinez f966ef1773 Add .prettierignore
Don't run prettier on a rust crate
2025-06-26 15:52:37 +02:00
Sebastian Martinez 50318285f8 Update svelte to v5.0
Only do the minimal changes possible to be able to keep updating
dependencies.
2025-02-04 11:42:02 -06:00
Sebastian Martinez 9a50ae0354 http: Rename compressed and extracted files from radicle to radicle-httpd 2024-07-22 13:06:01 -03: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 0b1ccb5836 Remove rad-web from install-binaries script 2024-06-28 08:55:13 +02:00
Sebastian Martinez 59a38e4191 Update install binaries script
radicle-httpd and rad-web have been removed from the files.radicle.xyz
tar files, so we should build them to always have the web client be
compatible with the httpd
2024-06-21 14:19:16 +02:00
Shawn Webb e0c75d4204 Fix shebang lines for a few scripts
On the BSDs, bash is typically installed in /usr/local/bin.

Signed-off-by:	Shawn Webb <shawn.webb@hardenedbsd.org>
2024-05-08 20:34:47 +00:00
Sebastian Martinez 824ea2e630 Add failed download handling back to install-binaries script 2024-05-02 12:20:07 +02:00
Michael Raitza 26f44b43ca Change update-flake to use heartwood release tags
Until canonical tags are available, release tags are served via cloudhead's NID.
2024-05-02 11:25:42 +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
Michael Raitza 18ef797f41 Fixes scripts/update-flake
Avoid using BASE64 characters for separating substitution patterns.
2024-03-04 16:01:48 +01:00
Michael Raitza 414c6cafda Add update script for heartwood version and flake
Use this script to update tests/support/heartwood-version and keep the
flake in sync with it.

Alternatively, run the script as

    scripts/update-flake $(cat tests/support/heartwood-version)

to bring the flake back into sync.

This also updates the flake.lock and the updates the state of the npm
dependencies when run from a nix-enabled system.
2024-02-05 15:05:32 +01:00
Michael Raitza ab982e934e Add a flake to build the web frontend
Includes the twemoji assets and a check output that runs all tests
except e2e.

Updates to test/support/heartwood-version must also be reflected in
flake.nix in inputs.heartwood.url.
2024-01-29 18:58:44 +00:00
Thomas Scholtes fe39475403 Update heartwood 2023-12-04 10:44:37 +01:00
Sebastian Martinez 94985d0489 Fix HMR issue with customElements 2023-11-15 15:46:15 +01:00
Sebastian Martinez def558033c Add ability to install local binaries
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-08-24 09:23:36 +02:00
Thomas Scholtes 50dd25a6b8 Use ESlint warnings and Prettier config
* We remove all styling related lints and use `eslint-config-prettier`.
  There’s no need to bother developers with styling lints because
  Prettier already takes care of that. (This is the [recommended
  integration with Prettier][1])

* We use the “warning” level for lints that are code style related. This
  allows developers to distinguish issues that need to be fixed now
  (like type errors) and issues that can be fixed later (like style
  errors). We do enforce all lints on CI by settings
  `--max-warnings=0`.

[1]: https://prettier.io/docs/en/integrating-with-linters.html

Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm>
2023-07-11 11:08:27 +02:00
Thomas Scholtes 40f2b3e516 Tests automatically use heartwood binaries from local test folder
It’s not necessary anymore to add the folder with the heartwood test
binaries to `PATH` before running the end-to-end tests.

Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm>
2023-06-29 11:34:53 +02:00
Rūdolfs Ošiņš ee61864642 Cache eslint and prettier
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-05-30 09:53:30 +02:00
Sebastian Martinez d5d665f070 Reduce e2e tests flakiness
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-05-23 10:56:47 +02:00
Sebastian Martinez c32b303744 Add CLI tooling to create seed fixtures on the fly
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-05-12 14:23:10 +02:00
Sebastian Martinez d8d049518b Improve patch timeline and add description
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-05-10 09:15:19 +02:00
Rūdolfs Ošiņš c8c251fabd Add httpd-client api library
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-04-11 15:31:08 +02:00
Adam Szkoda 7caa83e1b6 Migrate off of Google Cloud Storage
Signed-off-by: Adam Szkoda <adaszko@gmail.com>
2023-04-07 11:25:02 +02:00
Sebastian Martinez 3ea6a07dc4 Update seed fixture to latest heartwood commit
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-03-14 11:13:15 +01:00
Sebastian Martinez e8325294fa Join check and check-format scripts into one
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-03-14 10:35:57 +01:00
Rūdolfs Ošiņš 2bad94457c Migrate to the heartwood protocol stack
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-03-03 14:23:46 +01:00
Rūdolfs Ošiņš b8b203514b Add connect to node button in header
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-02-13 11:19:47 +01:00
Rūdolfs Ošiņš 6287f1f916 Use radicle-httpd from our public download location
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-01-31 16:49:31 +01:00
xphoniex 9fae5ebb33 Update heartwood fixture and re-enable tests
Signed-off-by: xphoniex <dj.2dixx@gmail.com>
2023-01-30 14:27:46 +00:00
xphoniex b9ae9614c0 Update JSON scheme for heartwood
Signed-off-by: xphoniex <dj.2dixx@gmail.com>
2023-01-27 10:39:57 +00:00
Adam Szkoda ace5118d53 Update radicle-httpd bucket path
Signed-off-by: Adam Szkoda <adaszko@gmail.com>
2023-01-27 07:31:31 +00:00
Adam Szkoda 8df7d66419 Download radicle-httpd executable for e2e tests
Signed-off-by: Adam Szkoda <adaszko@gmail.com>
2023-01-09 15:25:12 +01:00
xphoniexandRūdolfs Ošiņš f72405a3e4 Add support for Heartwood
Co-authored-by: Rūdolfs Ošiņš <rudolfs@osins.org>
Signed-off-by: xphoniex <dj.2dixx@gmail.com>
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-01-04 11:20:14 +01:00
Rūdolfs Ošiņšandxphoniex 4bb34023c2 Add Heartwood translation layer for file diffs
Co-authored-by: xphoniex <dj.2dixx@gmail.com>
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-12-29 09:58:59 +01:00