Commit Graph
2086 Commits
Author SHA1 Message Date
Yorgos Saslis 730f7ae1fc build: switch to build args over env vars in dockerfile
`--env` is a podman-specific feature. While it is clear that podman is a requirement here, switching these to build arguments better expresses intent.

These values are meant to be configurable at build time, which is exactly what build arguments are for, while environment variables are meant to persist in the image built.

Additionally, this removes unused env vars.

Signed-off-by: Yorgos Saslis <yorgos.work@proton.me>
2024-06-20 20:20:21 +02:00
Sebastian Martinez a4e0d21bad Reduce flakiness of some e2e tests 2024-06-20 16:43:44 +02:00
Sebastian Martinez b09a705f58 Overhaul peer and branch selector 2024-06-20 16:43:30 +02:00
Rūdolfs Ošiņš 173ede84d5 Rename user facing strings with "project" -> "repository" 2024-06-20 15:28:59 +02:00
Rūdolfs Ošiņš 2f1a5dcdfe Rename http-server -> radicle-httpd
So that the directory name matches the crate name.
2024-06-20 11:44:44 +02:00
Sebastian Martinez 05632a15d7 http: Add repo search by name 2024-06-18 12:43:46 +02:00
Sebastian Martinez 06e33f4a79 Add reproducible build pipeline 2024-06-14 11:50:02 +02:00
Rūdolfs Ošiņš 6d87823ce0 Tweak copyable IDs 2024-06-12 15:49:03 +02:00
Sebastian Martinez adc6c6c290 Add http-server npm scripts 2024-06-07 12:22:28 +02:00
Sebastian Martinez 23107912af Exclude http-server from eslint and tsconfig 2024-06-07 12:22:28 +02:00
Sebastian Martinez 2ee8bae82e Rename httpd-client to http-client 2024-06-07 12:22:28 +02:00
Sebastian Martinez f87c09c634 http: Add GitHub workflow for http-server test and linting 2024-06-07 12:22:28 +02:00
Sebastian Martinez 8ea62a692a Merge heartwood/radicle-httpd folder into the radicle-explorer repo 2024-06-07 11:51:27 +02:00
cloudhead 3581eb5cf4 Bump crate versions
We bump the versions of the crates required to publish a new version of
`radicle-httpd` in preparation of moving it out of the repo.
2024-06-05 16:51:55 +02:00
Sebastian Martinez 4e5ce7eca3 Shut autocomplete off in TextInput component 2024-06-04 20:11:50 +02:00
Sebastian Martinez f0cf894d23 Fix wrong icon in IconSmall
Help and Info where the same icon
2024-06-04 20:11:50 +02:00
Sebastian Martinez 6695660a17 Add delegates and node scope policies to Sidebar 2024-06-04 20:11:50 +02:00
Sebastian Martinez d34d8f5eab httpd: Add /raw route to get file at canonical head
Instead of requiring to specify a commit to obtain a file through the
/raw route, this commit allows to prefix `/head` to get the file at the
current canonical head commit.
2024-06-04 14:19:11 +02:00
Alexis Sellier bee6c4568f node: Simplify configuration
This is a change to the `config.json` file which removes certain options
that are best not touched and changes some options to make them easier
to work with.

1. We change the default journaling mode to "wal" and remove the config
   option.
2. We remove the option to set the peer connection "target", as it's not
   a good idea to set this to a different value, as it affects the
   network.
3. We combine seeding policy & scope, since there's no need to set the
   scope when the policy is "block". In that case, we always want to
   block "all" remotes. The new policy configuration has the following
   schema:

   { seedingPolicy: { default: "block" | "allow", scope?: "all" | "followed" } }

   The "scope" key is not used when "default" is set to "block".

4. We add an `extra` field to the node config for options that are not
   recognized. We use this to warn the user.
2024-06-04 14:08:15 +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 655ccf1d0f Add a new plain marked instance 2024-06-03 20:31:50 +02:00
Sebastian Martinez 3d13bc03ae Navigate seed nodes from explore section 2024-05-29 16:32:40 +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
Thomas Scholtes 3b1b4a5b38 Set package name in package.json
Otherwise, `npm install` writes the directory name into
`package-lock.json`. In my case, this was still `radicle-interface`.
2024-05-27 09:21:08 +02:00
Thomas Scholtes 0e359d42d1 Run httpd-client tests in node environment
This prevents polyfills being installed that break node-only
libraries. Also silences warnings when a vite server is not running
while running the tests.
2024-05-27 09:21:08 +02:00
Lorenz Leutgeb fb32e01a2f Connect to .onion via HTTP instead of HTTPS 2024-05-24 11:09:09 +02:00
Rūdolfs Ošiņš bd5519116a Add seed count badge to project cards 2024-05-23 15:02:32 +02:00
Sebastian Martinez 77cc3ce031 Rename radicle-interface ocurrences to radicle-explorer 2024-05-22 17:45:06 +02:00
Rūdolfs Ošiņš a609fe192a Force Twitter/X to update OpenGraph image 2024-05-22 12:39:21 +02:00
Rūdolfs Ošiņš 87c019d172 Switch to small Twitter/X cards 2024-05-22 12:18:51 +02:00
d4a69b433c radicle: Fix file limit setting for FreeBSD
On FreeBSD systems, the file limits are of type `i64` in comparison to
`u64` on Linux systems.

Also fix `rad web` command name on Windows and FreeBSD.

Co-authored-by: cloudhead <cloudhead@radicle.xyz>
Co-authored-by: Shawn Webb <shawn.webb@hardenedbsd.org>
2024-05-21 13:48:44 +02:00
Sebastian Martinez 15e258dad5 Add a configure section to the README 2024-05-17 15:35:00 +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 7833dd2ffe Remove testIgnore from playwright 2024-05-17 13:11:46 +02:00
Rūdolfs Ošiņš ce8d6f6dd4 Prevent double scroll-bar on landing page 2024-05-16 17:18:25 +02:00
Rūdolfs Ošiņš a27d8be36a Fix issue/patch page sidebar line not reaching screen edge 2024-05-16 17:18:25 +02:00
Rūdolfs Ošiņš a5e390ef59 Align node/connect/authenticate popover positioning 2024-05-16 16:44:24 +02:00
Rūdolfs Ošiņš 538b0ccac8 Fix issue/patch placeholder centering on mobile 2024-05-16 16:18:10 +02:00
Rūdolfs Ošiņš 0400af2470 Fix reaction selector popover alignment 2024-05-16 15:54:50 +02:00
Rūdolfs Ošiņš 67da51f964 Tweak issue/patch assignee/label/embed layout 2024-05-16 15:45:48 +02:00
cloudhead e9c5c02106 node: Improve Tor configuration flexibility
*Breaking change* The `tor` configuration field is no longer
supported. Users must remove that field from their config.

Allows for a mixed mode, where regular addresses bypass the Tor proxy,
while onion addresses go through it.

When `onion.mode` is set to "forward", Tor connections are fowarded to
the global proxy, and if it isn't set, to the OS's DNS resolution.

For mixed mode, a global proxy simply isn't set, so that IP/DNS is not
proxied.
2024-05-16 14:53:52 +02:00
Rūdolfs Ošiņš 3f4c65321d Make code blocks full-width in issues/patches and comments 2024-05-16 14:04:37 +02:00
Rūdolfs Ošiņš 70f61170c9 Fix wrapping in comment counter 2024-05-16 10:29:47 +02:00
Rūdolfs Ošiņš 77f0976abb Fix section subheader mobile wrapping on landing page 2024-05-16 10:23:55 +02:00
Rūdolfs Ošiņš fbc1272d56 Wrap long words in issue/patch titles 2024-05-16 10:23:55 +02:00
Rūdolfs Ošiņš 9841587ec1 Hide issue/patch edit buttons in non-experimental mode 2024-05-16 10:23:55 +02:00
Rūdolfs Ošiņš 5c07399ab5 Tweak issue/patch titles/labels 2024-05-16 10:23:55 +02:00