Commit Graph
3517 Commits
Author SHA1 Message Date
Rūdolfs Ošiņš a4cecc8519 explorer: Fix math rendering in markdown
The sanitizer allowlist added in 4c31a8134 strips all of KaTeX's markup,
leaving only the flat text of each formula. We now typeset math after
sanitizing instead of loosening the allowlist for spans and styles.
2026-10-22 16:29:42 +02:00
Rūdolfs Ošiņš 0279ab0910 explorer: Add file extension to vite plugin import
Vite 8.3 warns about extensionless imports in the config, since its
native config loader, planned as the default, can't resolve them.
2026-10-22 16:27:24 +02:00
Rūdolfs Ošiņš 29ba8447a2 Document dependency updates under the cooldown
Plain `cargo update` and `npm audit fix --force` bypass or ignore the
cooldown, and nothing told people or agents which commands respect it.
2026-10-22 16:27:24 +02:00
Rūdolfs Ošiņš 543a7a03f9 explorer: Fix cargo audit advisories
rustls-webpki 0.103.16 and webpki-roots 1.0.10 are the first releases
with the fixes for RUSTSEC-2026-0382 and RUSTSEC-2026-0381, but are
still in the cooldown. We reviewed their diffs against upstream and
allow them until they're old enough.
2026-10-22 16:27:24 +02:00
Rūdolfs Ošiņš 0869e2c44d explorer: Add cargo cooldown config
Desktop already holds back crates younger than 7 days, explorer had
nothing equivalent so `cargo update` pulled in fresh releases.
2026-10-22 16:27:24 +02:00
Rūdolfs Ošiņš 6c797ebf1d explorer: Fix npm audit advisories
mermaid 11 pins katex ^0.16, which is affected by GHSA-238p-pmpm-9mq7.
Like desktop, we now depend on katex directly and override mermaid's
copy, instead of jumping to mermaid 12.

Also takes vitest 4.1.12 a few hours before it clears the cooldown.
2026-10-22 16:27:24 +02:00
Rūdolfs Ošiņš d9191cad26 desktop: Fix npm audit advisories
Takes vitest 4.1.12 a few hours before it clears the 7-day cooldown,
to fix GHSA-qxg6-89mg-rqv8 and GHSA-xp26-3454-mjgp in @vitest/mocker.
2026-10-22 16:27:24 +02:00
Daniel Norman 68d7a33579 ci: fix explorer pipeline 2026-10-22 14:48:27 +02:00
Rūdolfs Ošiņš 5c22442477 Update READMEs for the monorepo layout 2026-10-22 11:06:34 +02:00
Rūdolfs Ošiņš 853d45bbcd Run ryph setup for explorer from explorer/ 2026-10-22 11:06:34 +02:00
Rūdolfs Ošiņš 7f92fbc48d Fix explorer scripts for the explorer/ location 2026-10-22 11:06:34 +02:00
Rūdolfs Ošiņš e80e257ee4 Run explorer CI from explorer/ 2026-10-22 11:06:34 +02:00
Rūdolfs Ošiņš 6c0ddd64dc Split agent and contributor docs by project 2026-10-22 11:06:33 +02:00
Rūdolfs Ošiņš fd4436bb8f Rename CLAUDE.md to AGENTS.md 2026-10-22 11:06:33 +02:00
Rūdolfs Ošiņš 79a7c23979 Give explorer its own .gitignore 2026-10-22 11:06:33 +02:00
Rūdolfs Ošiņš e37521c739 Move explorer into explorer/
Makes explorer and desktop sibling projects, as proposed in ADR 1.
This commit only moves files; paths in CI, scripts and docs are fixed
in the following commits.
2026-10-22 11:06:33 +02:00
Rūdolfs Ošiņš 954222cb11 Add ADRs for repository layout and shared UI code
Most copy-pasting between the two front-ends happens in UI code. These
propose making explorer and desktop siblings and sharing code from
source, without an npm workspace for now.
2026-10-22 11:06:33 +02:00
Rūdolfs Ošiņš 4a84871ee7 httpd: Return 400 for malformed archive refs
A ref name git rejects outright, like `foo..bar`, still yielded a 500.
It's a client error, same as a malformed SHA in `/{rid}/{sha}`.
2026-10-22 10:27:53 +02:00
Jörg Thalheim cc67fd894a httpd: Return 404 for unknown archive refs
/raw/<rid>/archive/<ref> passed the git2 error from
resolve_reference_from_short_name straight through, so a typo in the
branch name or a commit SHA in place of a ref yielded a 500. Map
ErrorCode::NotFound to 404 like we already do for the object lookup.

Signed-off-by: Jörg Thalheim <joerg@thalheim.io>
2026-10-22 09:53:03 +02:00
Ada e41de09a55 Fade garden promo flower behind overlapping text
Ryph-Run: r-02c72dd80d
2026-10-21 17:15:43 +02:00
Brandon Oxendine 2f337534f4 Widen the side padding of worded switches 2026-10-20 15:58:21 +02:00
Brandon Oxendine 41e5b96b09 Add right-click menu to issue and patch lists 2026-10-20 15:44:56 +02:00
Ioannis T. 95405a07cb Keep newlines when copying source lines
Fixes 956f736acc
2026-10-20 15:26:47 +02:00
Brandon Oxendine 0a9d106f7e Truncate sidebar repo header label when narrow
Fixes: 3d47fc649c
2026-10-20 13:44:41 +02:00
Brandon Oxendine 7dd1ad2e55 Keep list search usable in narrow windows
The patch and issue list topbars decided whether to show filter labels
from the viewport width, which ignores the sidebar. With the search
input open, the filters left it almost no room, and in narrower
windows the actions were pushed past the window edge.

Make the topbar a size container and show filter labels based on its
own width. While searching, collapse inactive filters to icons and give
the input a fixed width. When there is still not enough room, the
filters scroll and fade out at the clipped edge.

Fixes: 0d6def4600
2026-10-20 13:34:00 +02:00
Brandon Oxendine 2fd961c6c3 Add monospace fallback to JetBrains Mono fonts
When users block web fonts, code was rendered in the browser's default
sans-serif font because the JetBrains Mono code font tokens had no
generic fallback. Add `monospace` as a fallback so code stays
monospaced.

Fixes: 8942cea33a
2026-10-20 12:27:29 +02:00
Daniel Norman a2b11f9d68 Fix visual snapshot tests 2026-10-19 18:33:14 +02:00
Brandon Oxendine 02dfecf66d Use new UI kit icons in empty states 2026-10-19 18:14:10 +02:00
Daniel Norman a79322aff4 Install zstd in ci pipeline
- Add install_zstd step before the build
- Fix test_archive_tar_zst panicking on CI
2026-10-19 18:07:43 +02:00
Brandon Oxendine 095b4f2fc0 Add copy link and highlight to comments
Opening a comment link expands the revision the comment is in, even if
the link is opened while already on the page, and scrolls to it.

This also fixes scrolling to URL fragments that aren't valid CSS
selectors, such as comment ids starting with a digit.
2026-10-19 18:02:19 +02:00
Georgios Jason Efstathiou 722a83af54 ryph: add clippy and rustfmt to the pinned toolchain
The root's plain rust-toolchain pin installs with the minimal profile,
so the explorer clippy warm step failed without clippy.
2026-10-19 17:57:49 +02:00
Jörg Thalheim fe29d7275b httpd: Batch search reindexing, ignore seed events
A peer with a bad connection kept reconnecting and re-announcing all
its seeded repos, ~27k SeedDiscovered/SeedDropped events per hour on
my node. Every event triggered a meili upsert until meilisearch sat
at 100% cpu and its task queue timed out.

Seed events only affect the seedingCount ranking field and the
periodic rescan updates that anyway, so drop them. Collect the
remaining events and reindex each touched repo once every 30s
(RADICLE_SEARCH_BATCH_SECS).
2026-10-19 17:20:44 +02:00
Rūdolfs Ošiņš 86b5a3d1ce Open redaction accordion in redacted artifacts test
The redaction reason sits in a collapsed accordion, so the test failed
consistently against a local httpd. Only local runs execute the release
tests, which is why it went unnoticed.
2026-10-19 16:50:08 +02:00
Jörg Thalheim 7d9be54317 httpd: Add tar.zst archive downloads
Support /raw/<rid>/archive/<ref>.tar.zst next to the existing tar,
tar.gz and zip formats. Git has no builtin zstd tar format, so
register one via tar.tar.zst.command. Needs the zstd binary in PATH.
2026-10-19 16:37:59 +02:00
Guillaume 783fa6be64 Fix emoji in markdown code blocks
Emoji in code blocks were missing from both the rendered code and the
copied text. twemoji replaces them with images, but highlighting and the
copy button work from the block's text content, which leaves images out.
We now turn the images back into text first.
2026-10-19 15:42:13 +02:00
Brandon Oxendine 44c4c37fc7 Match toggle button colors to Raw button 2026-10-19 15:13:09 +02:00
Brandon Oxendine 967f7a99b8 Use title case in repo page titles 2026-10-19 15:00:35 +02:00
Brandon Oxendine 53b616e028 Title the commits page "Commits"
The commits page set its browser tab title to "history", while the
breadcrumb and page content call it "Commits". Use "Commits" in the
title too.
2026-10-19 14:58:39 +02:00
Brandon Oxendine f22d3b5502 Use arrow icon for seed node view links 2026-10-19 14:54:26 +02:00
Daniel Norman f095a3ae11 Point AppImage GTK plugin at amd64 libs
Set LD_GTK_LIBRARY_PATH: the updated plugin finds the arm64 lib dir via
dpkg-architecture.
2026-10-19 14:05:06 +02:00
Daniel Norman 3bbf11d55b Install xdg-utils in release image
Fix AppImage bundling: the Tauri bundler needs /usr/bin/xdg-mime.
2026-10-19 14:04:55 +02:00
Brandon Oxendine ce3ef34de8 Add pin to sidebar repo context menu 2026-10-19 10:31:36 +02:00
ioannis 002f109b0a Fix breadcrumb label wrapping on long titles
Fixes 2345768492
2026-10-16 15:36:22 +02:00
Georgios Jason Efstathiou 7962e614fd Pull the universal image from quay.io
ghcr.io/drips-network/ryph-universal is no longer pullable, which fails
every environment build; quay.io/ryph/ryph-universal:1 is the same
image's public home.
2026-10-14 00:01:54 +02:00
Rūdolfs Ošiņš cf5e92f919 Save Rust CI caches only on master
Every patch saved its own Rust caches, up to 3 GB per patch, which
pushed the repo past GitHub's 10 GB cache limit and evicted the ones
master builds rely on. Patches now restore master's caches, and
line-table-only debug info keeps the builds and caches smaller.
2026-10-13 17:23:20 +02:00
Rūdolfs Ošiņš 92cedb0d3f Fix desktop unit tests in CI
Vitest's Rolldown picked up the root tsconfig.json, which extends a
package only the explorer installs, so the tests failed to start when
only desktop's dependencies were installed.
2026-10-13 17:23:20 +02:00
Rūdolfs Ošiņš 520e20c835 Run CI only for the components a push changes
Desktop-only patches no longer run the explorer and Rust checks, and
explorer patches no longer run the desktop e2e suite.
2026-10-13 17:23:20 +02:00
Rūdolfs Ošiņš af75a7010e Ask for component labels on patches
With explorer, desktop and httpd in one repo, the labels show at a
glance which projects a patch touches.
2026-10-13 17:23:20 +02:00
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ņš d83ed92a84 Remove Rust docs from CI
They aren't useful to us, and building them is the slowest step. We
did the same for desktop.
2026-10-13 17:23:20 +02:00