Commit Graph
3488 Commits
Author SHA1 Message Date
Rūdolfs Ošiņš 915d309e14 Tolerate null agent in /node response
Public seeds return `"agent": null` because their deployed httpd
binaries can't parse i2p/onion rows that newer nodes write to the
address table — `AddressStore::get` fails and the handler falls back
to `None`. Allow null in the zod schema and hide the user-agent row
in the UI when it's missing.

Workaround until heartwood ships `StoreExt::agent_of` (reads only
the `agent` column, no address hydration) and httpd adopts it.
2026-05-21 12:33:15 +02:00
Rūdolfs Ošiņš 38b04536f7 Center checkmark icon in viewBox 2026-05-20 16:34:36 +02:00
Rūdolfs Ošiņš 40ad554978 Remove GitHub badges from README.md
We now have a bridge that publishes GitHub Action workflow runs as
native Radicle JobCobs directly on the repo. They're visible from
Radicle Desktop and radicle.network.
2026-05-20 14:10:14 +02:00
Rūdolfs Ošiņš 071338d4d0 Work around alias lookups not working
Aliases advertised via i2p/tor would not resolve when the features
aren't compiled in. This is only a workaround, it would be better to fix
upstream.
2026-05-20 11:01:28 +02:00
Rūdolfs Ošiņš 3057fd7644 Fix clippy lints for Rust 1.90 2026-05-19 17:40:37 +02:00
Daniel Norman ded800ed49 Add npm dependency cooldown 2026-05-19 17:19:52 +02:00
Rūdolfs Ošiņš 7ea1f580c8 Fix inbox show all and align group filters 2026-05-19 17:16:09 +02:00
Fintan Halpenny d00a99d670 nix: Use rustup toolchain
Wire up `crane` and `rust-overlay` to allow the `devShell` to take
advantage of the `rust-toolchain.toml` definitions, and provide Nix
developers with the correct toolchain.
2026-05-19 15:40:11 +01:00
Fintan Halpenny a8ba8f1274 nix: Update heartwood to 1.9.0
Update to the latest release, `1.9.0`, of the `heartwood` project.
Realistically, this should use `radicle-node` in nixpkgs, but this
will suffice for now.
2026-05-19 15:37:57 +01:00
Fintan Halpenny 2c91b1e083 nix: Update nixpkgs 25.11
Update the nixpkgs URL to point to the latest version: `25.11`.
2026-05-19 15:36:54 +01:00
Fintan Halpenny aa767003de crates: Use Edition 2024 2026-05-19 11:40:52 +01:00
Rūdolfs Ošiņš 7ae8d607fe httpd: Bump radicle to 0.24.0 and radicle-job to 0.6.0
These crates are interlocked: radicle-job 0.6.0 requires radicle
0.24.x, so they must be bumped together.
2026-05-18 18:04:52 +02:00
Rūdolfs Ošiņš 3afaa8469a httpd: Bump radicle-surf, radicle-term and radicle-crypto
Bump radicle-surf to 0.27.1
Bump radicle-term to 0.18.0
Bump radicle-crypto to 0.17.0
2026-05-18 17:51:18 +02:00
Rūdolfs Ošiņš 8f9877ac4f Fix formatting 2026-05-18 15:19:53 +02:00
Rūdolfs Ošiņš b76250ebca Fix regression where first revision wasn't editable 2026-05-18 15:11:00 +02:00
Lorenz Leutgeb 9a474a4258 tauri/config/bundle: Add category and homepage
To allow desktop environments to list the app alongside other
development tools, set the appropriate category in the Tauri bundle
configuration.

See:
 - https://radicle.zulipchat.com/#narrow/channel/392584-Feedback/topic/Purely.20eastetic.20change.20for.20radicle-desktop/with/595736519
2026-05-18 09:39:49 +02:00
Rūdolfs Ošiņš ca50bfee93 Correctly substitute emojis with twemoji in notification teasers 2026-05-15 10:33:03 +02:00
Rūdolfs Ošiņš 7cc041e803 Add fuzzy filter to inbox
This allows to selectively clear items by combining filtering with the
delete all notifications buttons.
2026-05-14 17:38:04 +02:00
Rūdolfs Ošiņš f60f7aac95 Add custom context menu for sidebar items 2026-05-14 15:33:11 +02:00
Rūdolfs Ošiņš dfe668c2cc Add reload button to sidebar 2026-05-14 14:58:06 +02:00
Rūdolfs Ošiņš 67108bd443 Disable native context menu
Prevents the browser/webview default context menu app-wide, while
preserving it for text selections and editable fields where the
native menu is still useful.
2026-05-14 14:58:06 +02:00
Rūdolfs Ošiņš 22170c7256 Expand All Repos section when navigating to a repo
When we land on a repo via notification inbox the repository wouldn't be
visible if the section was collapsed. Now we expand it and scroll into
view so we see which repository we're browsing.
2026-05-14 09:28:28 +02:00
Rūdolfs Ošiņš 15955af7fd Replace @radicle/gray-matter with js-yaml frontmatter parser 2026-05-13 13:58:07 +02:00
Rūdolfs Ošiņš 8c2c6703d3 Bump zod 3 -> 4 2026-05-13 13:58:07 +02:00
Rūdolfs Ošiņš a0836d40cc Bump vite 6 -> 8, vitest 3 -> 4, vite-plugin-svelte 5 -> 7 2026-05-13 13:58:07 +02:00
Rūdolfs Ošiņš 7312d056c7 Bump typescript 5 -> 6 2026-05-13 13:58:07 +02:00
Rūdolfs Ošiņš 3611241bb7 Bump eslint 9 -> 10 2026-05-13 13:58:07 +02:00
Rūdolfs Ošiņš 734cbc84b2 Bump eslint-plugin-simple-import-sort 12 -> 13 2026-05-13 13:58:07 +02:00
Rūdolfs Ošiņš 1879c3a8a9 Bump globals 16 -> 17, wait-on 8 -> 9, happy-dom 17 -> 20, marked 15 -> 18 2026-05-13 13:58:07 +02:00
Rūdolfs Ošiņš ab0bbfb94a Bump svelte 5.28 -> 5.55 2026-05-13 13:58:07 +02:00
Rūdolfs Ošiņš be72541272 Bump eslint-plugin-svelte 3.5 -> 3.17 2026-05-13 13:58:07 +02:00
Rūdolfs Ošiņš 7e0f3a478f Bump prettier 3.5 -> 3.8 2026-05-13 12:31:36 +02:00
Rūdolfs Ošiņš 3e01bafb71 Bump tauri 2.5/2.10 -> 2.11
Bump the @tauri-apps/* npm packages and the matching Rust crates
together. The Tauri CLI rejects builds when the @tauri-apps/api npm
package and the tauri Rust crate are on different major/minor versions,
so they must move in lockstep.
2026-05-13 12:31:36 +02:00
Rūdolfs Ošiņš d45cd37f48 Bump minor dep upgrades 2026-05-13 12:31:36 +02:00
Rūdolfs Ošiņš 2b001b59c8 Improve CI pipelines
- drop custom container, we don't want to maintain a hand-crafter
  container anymore
- use .nvmrc node version as single source of truth, also in gh actions
- bump playwright version, required to work on node >=24
2026-05-13 12:31:36 +02:00
Rūdolfs Ošiņš 2e5e7415c1 Bump node version v22 -> v24
This also gets rid of .tool-versions, making .nvmrc the single source of
truth.
2026-05-13 11:01:47 +02:00
Rūdolfs Ošiņš fe42175e8c Update npm dependencies with a 5 day cooldown 2026-05-12 17:05:27 +02:00
Rūdolfs Ošiņš 09840c0aa8 Mask error stack in visual snapshots
This prevents flakes in the visual test suite due to stack frame naming
mismatches in the command copy code box.

E.g.
```diff
-{"stack":"Error: Response error\n at Dx.fet
+{"stack":"Error: Response error\n at wx.fet
```
2026-05-12 16:50:43 +02:00
Rūdolfs Ošiņš 8a60f58ffc Allow patch authors to change the state of their patch 2026-05-12 12:00:04 +02:00
Daniel Norman 3fc73a0b89 Fix contributor filter in list_repos & repo_count
- the previous list_repos / repo_count predicates only matched
  SignedRefsInfo::Some, so a forked repo whose sigrefs predate the
  current FeatureLevel (NeedsMigration) was hidden from the
  contributor view and undercounted
- add is_contributor helper so the two call sites can't drift again
  (they already had — list_repos was inverted from repo_count after the
0.22 sigrefs refactor)

See discussion for more info
https://radicle.zulipchat.com/#narrow/channel/369277-heartwood/topic/.60SignedRefsInfo.3A.3ANeedsMigration.60.20and.20local.20signed.20refs/with/594265582
2026-05-12 11:35:52 +02:00
Daniel Norman 28e1ddd372 Remove unused create_repo handler
This handler wasn't being called by any code and diverges from a typical
`rad init` flow, as it creates an empty repo with an initial empty
commit. Removing this as it reduces maintenance burden
2026-05-12 11:35:52 +02:00
Daniel Norman 073a5fb574 Bump deps to radicle 0.24 / radicle-job 0.6
- bump radicle 0.22 -> 0.24, radicle-job 0.5.2 -> 0.6, and
  radicle-surf 0.27.0 -> 0.27.1 to match heartwood
- raise radicle-tauri rust-version to 1.86 for radicle-job 0.6's MSRV
- migrate to the 0.24 COB store API: signer moves onto the cache via
  WriteAs, so issues_mut/patches_mut take &signer and the per-call
  signer arg disappears from every issue/patch action method
- pass ReadOnly to JobsStore::open for radicle-job 0.6's new Access
  type param
- replace the removed Profile::socket() with home().socket_from_env()
  and the removed WriteRepository::set_head() with the
  set_canonical_symbolic_refs + set_default_branch_to_canonical_head
  pair used by rad::init
- split the old ssh::agent::Error into AgentError + ConnectError so
  Agent::connect failures still bubble through ?
- swap SignedRefsInfo::is_ok() (gone in 0.23) for an explicit
  matches!(_, Some(_)) on the new None/Some/NeedsMigration enum
2026-05-12 11:26:53 +02:00
Rūdolfs Ošiņš 071504fda7 Add repo pinning 2026-05-12 09:40:53 +02:00
Rūdolfs Ošiņš 9391cd072f Replace @radicle/gray-matter with js-yaml frontmatter parser 2026-05-07 23:04:55 +02:00
Rūdolfs Ošiņš 6fb702f886 Recover gracefully from mermaid render errors
When mermaid.render fails, suppress mermaid's "Syntax error"
overlay and show our own small warning above the original code
block so the source stays visible. Subsequent diagrams in the
same document still render.
2026-05-07 18:31:28 +02:00
Rūdolfs Ošiņš 9ebc5f6b3b Initialize mermaid only once
Hoist the dynamic import and initialize() into a
module-scoped promise. Previous code re-ran initialize()
on every afterUpdate that had a mermaid block.
2026-05-07 18:31:28 +02:00
Rūdolfs Ošiņš 0bcc2b4c2d Lazy-load mermaid
Switch to a dynamic import in afterUpdate and drop
manualChunks so Rolldown auto-splits the lazy chunk.
Eager bundle drops from 1.3 MB to 610 KB gzipped.
2026-05-07 18:31:28 +02:00
Rūdolfs Ošiņš 3b85f70f88 Force mermaid securityLevel to strict
'loose' allowed HTML and click directives in diagram labels,
bypassing the DOMPurify pass on the surrounding markdown.
2026-05-07 18:31:28 +02:00
Rūdolfs Ošiņš 9e268d9ac0 Scope DOMPurify config to call sites
Replace global setConfig with an exported sanitizeConfig passed
inline. The global config leaked into mermaid's internal
strict-mode sanitization, stripping valid SVG diagrams.
2026-05-07 18:31:28 +02:00
Delioos faadd2906b feat(markdown): mermaid diagram support 2026-05-07 18:31:28 +02:00