Commit Graph
2123 Commits
Author SHA1 Message Date
Sebastian Martinez ec671872fe http: Update crate to v0.13.0 2024-07-04 11:48:41 +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 ea6a7fb028 http: Remove session and all read-write endpoints
Updates API version to 2.0.0 and crate to 0.13.0
2024-07-03 14:04:07 +02:00
Sebastian Martinez 166934514e Change node param with seedingPolicies 2024-07-02 12:49:35 +02:00
Sebastian Martinez b8171e3a3f Simplify sidebar context boxes
Also starts removing features that relied on the web client handling
local httpd instances
2024-07-02 12:49:35 +02:00
Sebastian Martinez e4b15e7254 Remove InlineMarkdown component 2024-07-01 13:05:08 +02:00
Sebastian Martinez 4b579d13a9 Add InlineTitle component
This new component doesn't rely on marked.js but escapes any special
characters and then replaces any backtick with a <code> HTML tag to
render any inline codeblocks in all titles.
2024-07-01 13:05:08 +02:00
Sebastian Martinez beaf6adbbf Update tsconfig target to es2021
This gives us support for String.replaceAll
2024-07-01 13:04:18 +02:00
Richard Levitte 02057b5b08 http: accept .org as repository README extension 2024-07-01 11:52:33 +02:00
Sebastian Martinez eb767f5e2f http: release radicle-httpd v0.12.1 2024-06-28 22:08:22 +02:00
Sebastian Martinez f21a80167c Display user agent instead of version 2024-06-28 21:43:32 +02:00
Sebastian Martinez ce842b0ca4 Update api version to 1.2.0
In the node endpoint the version field has been renamed to agent
2024-06-28 21:43:32 +02:00
Sebastian Martinez fe5ec4432a http: Change /api/v1/node version to node user agent
We used the `RADICLE_VERSION` env variable to display the node version,
which as of recently matched always the `radicle-httpd` version.
Since the separation this isn't the case anymore, and the user agent
seems a more reliable metric.
2024-06-28 21:43:32 +02:00
Sebastian Martinez b0f3c6318b flake: Test radicle-httpd in flake check
Also use the tested binary when running checks for radicle-explorer.
2024-06-28 14:38:19 +02:00
Sebastian Martinez 630aafba2f flake: Use normal heartwood binaries for testing 2024-06-28 14:38:19 +02:00
Sebastian Martinez 89677cf96c flake: Add radicle-httpd package 2024-06-28 14:38:19 +02:00
Sebastian Martinez 99427690eb flake: Update flake 2024-06-28 14:38:19 +02:00
Sebastian Martinez e326f48cbf Update seeding policy schema 2024-06-28 13:59:35 +02:00
Sebastian Martinez 37a88bbb83 http: Add node endpoint tests 2024-06-28 13:59:35 +02:00
Sebastian Martinez b39389c1a1 http: Add repo policy endpoint 2024-06-28 13:59:35 +02:00
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