Commit Graph
2316 Commits
Author SHA1 Message Date
Sebastian Martinez f576028bfb httpd: Add /nodes/:nid and /nodes/:nid/inventory endpoints to get info on other nodes 2024-02-01 17:29:10 +01:00
Sebastian Martinez 9abad78582 httpd: Add review ids to review json 2024-02-01 17:25:18 +01:00
Rūdolfs Ošiņš 3a293a9862 Fix branch selector icon alignment 2024-02-01 13:20:49 +00:00
dnlklmn 232e6f1b5a Prevent sidebar content animation when switching themes 2024-02-01 09:40:30 +00:00
Sebastian Martinez 4496b80b3e cli: Display rad-web in rad --help
Only show `rad-web` in help, if we are able to run the binary.
2024-01-31 13:30:40 +01:00
Sebastian Martinez 7b9350e154 httpd: Add reactions to revisions, improve json for comment reactions
Instead of using tuples and lots of arrays, this commit tries to use
`BTreeMap`s to provide more context to review, issues, patch and other
comments.

Also the returned object by the httpd is more aligned with what is
needed by the consumer, so less recomputation is needed for display.
2024-01-31 12:14:05 +01:00
Michael Raitza ab982e934e Add a flake to build the web frontend
Includes the twemoji assets and a check output that runs all tests
except e2e.

Updates to test/support/heartwood-version must also be reflected in
flake.nix in inputs.heartwood.url.
2024-01-29 18:58:44 +00:00
Rūdolfs Ošiņš f9b1e5bf79 Install deps regardless of cache hit 2024-01-29 18:54:25 +00:00
Sebastian Martinez ef7a2659b5 Fixes e2e test suite relation with seed.radicle.garden
- Due to missing preferredSeed config option we where trying to connect to
seed.radicle.garden on the fixture creation.
- This commit also starts first nodes before httpds due to the config
being updated by the node.
2024-01-29 17:17:03 +01:00
Sebastian Martinez 06f43a82a9 Change font in TextInput component 2024-01-26 14:45:01 +00:00
Sebastian Martinez a585c2264a Display CobStateButton in every Patch tab 2024-01-26 14:44:56 +00:00
Sebastian Martinez e31b5efe7d Set Sidebar state from localStorage 2024-01-26 14:44:49 +00:00
cloudhead e9be685edf Fix code around default policies
Make the code a little clearer and ensure that we are always calling the
`Config` and not the `Store`, so that we fallback on the default policy.
2024-01-25 21:11:08 +01:00
Sebastian Martinez 7fdcd816d1 Add missing absolute timestamps back as title tooltip 2024-01-25 17:05:07 +00:00
Sebastian Martinez d50f0ca434 Don't push empty project description to page title 2024-01-25 16:25:47 +00:00
Sebastian Martinez 27dcde41b0 Update actions in github workflow to v4 2024-01-25 16:14:16 +00:00
Sebastian Martinez 908c10b3a9 Update dependencies 2024-01-25 16:14:16 +00:00
cloudhead 646fb7a24b httpd: Don't show unseeded repos 2024-01-25 16:31:28 +01:00
Rūdolfs Ošiņš 65e906fd07 Bump heartwood version
This fixes the landing page not showing local projects anymore.
2024-01-25 11:58:53 +00:00
Sebastian Martinez 9ee2a4578f Add share button 2024-01-24 21:58:18 +01:00
Sebastian Martinez 9ca438ad8e Run patch editing sequentially 2024-01-24 13:50:56 +00:00
dnlklmn e0154ef94d Animate sidebar 2024-01-24 13:34:38 +00:00
dnlklmn 060a7f1b54 Tweak commit header 2024-01-24 12:25:47 +00:00
dnlklmn 14716208e4 Add border below issue header 2024-01-24 12:25:47 +00:00
dnlklmn acf970709e Remove gap between in-line tabs 2024-01-24 12:25:47 +00:00
Fintan Halpenny 5b3d7b7652 radicle: pinned repositories configuration
Introduce pinned repositories to the `profile::Config`, i.e.
`config.json`.

This is used for pinning repositories in the httpd `/projects` handle.

To allow returning all repositories, an `all` query parameter is also
included.

This is non-backwards compatible change, since we introduce the `show`
query parameter which, if not supplied, will default to `pinned`.

Signed-off-by: Fintan Halpenny <fintan.halpenny@gmail.com>
X-Clacks-Overhead: GNU Terry Pratchett
2024-01-24 10:55:27 +01:00
Rūdolfs Ošiņš da2ff236b2 Remove unfinished contributor tab from project source view 2024-01-23 14:52:24 +00:00
Sebastian Martinez 196beca898 Change titles to font-weight semibold 2024-01-23 10:14:37 +01:00
cloudhead 92182a879b cob: Distinguish between commit parents
Previously, COB change commits would not distinguish between their
parents. This means that they would try to load source code commits
(eg. for patch COBs) and then fail since those commits wouldn't have a
manifest or `Rad-Resource`.

We introduce a backwards compatible change here which is that parent
oids that are not COB commits are accompanied by a commit trailer called
`Rad-Related`. This is for all related content that should be pulled in
but is not part of the change graph proper.

When building the change graph, we simply ignore commits that are marked
as "related".
2024-01-22 21:20:01 +01:00
cloudhead 9a36d11ccf Rename Id to RepoId
Rename the type to make it clearer and consistent with `NodeId`.
2024-01-22 15:51:44 +01:00
dnlklmn 20f895df6e Fix reactions spacing 2024-01-19 18:51:37 +00:00
dnlklmn b8b2bb5031 Add connectors between issue blocks 2024-01-19 18:51:37 +00:00
dnlklmn 6e1f3dea8b Make issue/patch body stand out more via background color 2024-01-19 18:51:01 +00:00
dnlklmn c32cf7c559 Convert assignee/label box to a right-hand sidebar
This is in single issue and patch views.
2024-01-19 18:49:51 +00:00
Sebastian Martinez 10170d79e5 Add local switch and contextual help to sidebar 2024-01-19 17:01:01 +00:00
Sebastian Martinez ff593e6567 Make timestamps --color-foreground 2024-01-19 16:43:10 +01:00
Sebastian Martinez 8f126d3903 Change commit ids to color-foreground-dim 2024-01-19 16:43:10 +01:00
Sebastian Martinez 7a3a525542 Add httpd hostname and port to Authenticate popover 2024-01-19 14:54:37 +01:00
Sebastian Martinez f18b91d669 Update heartwood and schemas 2024-01-19 12:10:37 +01:00
Sebastian Martinez 60efd13ff3 web: Using connect address in auth_url
Due to only using the `options.listen` address in the creation of the
`auth_url` we aren't able to authenticate with an existing httpd instance
if the instance isn't the default value.
2024-01-19 11:27:16 +01:00
Rūdolfs Ošiņš bd4e56956e Fix peer selector popover positioning 2024-01-18 21:59:54 +00:00
Sebastian Martinez 7b25d5ba56 Distinguish git commits from radicle ids 2024-01-18 18:49:39 +00:00
dnlklmn f3966b00b8 Unify tabs
Make activity/changes tabs look like the files/commits/contributors tabs look
on the source page.
2024-01-18 13:09:39 +00:00
cloudhead bd65b57503 General dependency update
Left out some of the `gix-*` dependencies to be done separately after
review.
2024-01-18 13:30:26 +01:00
Sebastian Martinez c683ac3711 Fix sidebar e2e visual test collapsing 2024-01-18 13:16:28 +01:00
Sebastian Martinez c76c8e7ab8 Change actions to who what when 2024-01-17 17:00:10 +00:00
Sebastian Martinez 64d7fbcf56 Add min-width: 0 to cob content
This allows content that shows a code block to shrink so title can wrap
on desktop.
2024-01-17 16:51:31 +00:00
cloudhead defb71c339 node: Increase process ulimit on start
Users have been having issues with the process soft file limit.
We set that to a reasonably high value to avoid problems.
2024-01-17 17:34:25 +01:00
Rūdolfs Ošiņš 5f82eb894b Show "Local Node" breadcrumb on node page only 2024-01-17 14:17:44 +00:00
dnlklmn c44b6e55e1 Tweak patch list 2024-01-17 13:58:05 +00:00