Commit Graph
56 Commits
Author SHA1 Message Date
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
Rūdolfs Ošiņšandxphoniex 1a5430aced Rename URN -> ID
Co-authored-by: xphoniex <dj.2dixx@gmail.com>
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-12-27 15:43:46 +01:00
Sebastian Martinez e86accafae Handle errors in Browser.svelte
Updates also the seed fixture to fix some minor issues and add a
relative image markdown example

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-12-21 17:10:20 +01:00
Rūdolfs Ošiņš d7f8156725 Format yaml files with prettier
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-12-16 15:51:13 +01:00
Rūdolfs OšiņšandSebastian Martinez 9cb9332e88 Replace Cypress with Playwright
Playwright is more flexible and has better developer experience than Cypress.
We add end to end tests covering:

  - project source browsing
    - tree view
    - commit list view
    - commit view
  - routing
    - hash based
    - history API based
  - clipboard copy paste functionality
  - seed view
  - project search
  - landing page view
  - settings

Co-authored-by: Sebastian Martinez <me@sebastinez.dev>
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-12-01 15:54:56 +01:00
Sebastian Martinez 31e037eb16 Add postinstall scripts to build step
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-11-24 10:51:48 +01:00
Sebastian Martinez f38893407a Add hash routing
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-11-15 15:24:12 +01:00
Sebastian Martinez cd60ad7298 Convert emojis to twemojis
To provide the same emoji experience on all browsers and OS we use
Twemoji and replace all emojis where possible.

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-11-15 15:10:48 +01:00
Rūdolfs Ošiņš f215f9f4fd Make sure svelte-check checks component specs
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-10-07 17:48:06 +02:00
Sebastian Martinez a016e98169 Add katex render to Markdown
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-10-04 11:50:49 +02:00
Rūdolfs Ošiņš 687174a8e0 Add prettier
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-08-31 11:26:42 +02:00
Sebastian Martinez 286cb1cd21 Improve testing suite
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2022-03-24 15:05:15 +01:00