Commit Graph
2103 Commits
Author SHA1 Message Date
Sebastian Martinez fda384bc14 Remove tests relying on rad-web 2024-06-28 08:55:13 +02:00
Sebastian Martinez 0b1ccb5836 Remove rad-web from install-binaries script 2024-06-28 08:55:13 +02:00
Sebastian Martinez 13cd3aa1b2 http: release radicle-httpd v0.12.0 2024-06-27 11:54:24 +02:00
Sebastian Martinez 7fc2edd10f http: Update radicle crate dependency to 0.11.1 2024-06-27 11:54:24 +02:00
Sebastian Martinez a55bef7e88 http: Remove of radicle-cli dependency 2024-06-27 11:54:24 +02:00
Sebastian Martinez 0b5a45207e http: Removal of rad-web
rad-web requires the radicle-cli dependency which we shouldn't require
in radicle-httpd.
2024-06-27 11:54:24 +02:00
Rūdolfs Ošiņš 5ed0565177 Tweak copyable ID UX
- don't keep the tooltip open when hovering over it
- offset the tooltip to the right, so it doesn't overlap with other
  content
- tweak colors so it pops out of the background more
- tweak elevation shadows to stand out more
- don't show node ID DID in popover
2024-06-26 13:52:15 +02:00
Konstantinos Maninakis b0bd692dd4 Add syntax highlighting for new file types 2024-06-24 17:54:45 +02:00
Konstantinos Maninakis b9eddb69b7 Add syntax highlighting for additional grammars 2024-06-24 17:54:45 +02:00
Sebastian Martinez 0901f04ffd Start using new marked renderer syntax 2024-06-24 14:08:58 +02:00
Sebastian Martinez 58566535aa Update dependencies 2024-06-24 14:08:58 +02:00
Sebastian Martinez 473f893b2b http: release radicle-httpd v0.11.0 2024-06-21 14:19:43 +02:00
Sebastian Martinez ae17e8c643 Reduce flakiness related to peer branch selector 2024-06-21 14:19:43 +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
Sebastian Martinez 894ab2e0aa Update node config 2024-06-21 13:24:11 +02:00
Sebastian Martinez abcf8f34a1 http: Add version and help flag 2024-06-21 12:10:44 +02:00
Sebastian Martinez b68ea537b6 http: Update env vars for build process
Use the standard `SOURCE_DATE_EPOCH` instead of `GIT_COMMIT_TIME`.
Set `GIT_HEAD` properly.
2024-06-20 20:52:24 +02:00
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