Sebastian Martinez
067295ed05
Remove collapsing sidebar from visual tests
2024-05-09 12:14:44 +02:00
Shawn Webb
e0c75d4204
Fix shebang lines for a few scripts
...
On the BSDs, bash is typically installed in /usr/local/bin.
Signed-off-by: Shawn Webb <shawn.webb@hardenedbsd.org >
2024-05-08 20:34:47 +00:00
Sebastian Martinez
3fd5d513a8
Decouple stats from tree response
2024-05-07 14:30:34 +02:00
Sebastian Martinez
5657811467
Set custom httpd port in Settings
2024-05-07 12:28:59 +02:00
Sebastian Martinez
ff8b26df55
Center content blob on files for bigger screens
2024-05-07 11:51:20 +02:00
Sebastian Martinez
047ef0499f
Wrap body text when code block
...
This change allows the text in issues and patches to be text when there
is also a code block around.
Sets it back to `auto` when in mobile
2024-05-06 16:43:08 +02:00
Rūdolfs Ošiņš
698a833e42
Overhaul app responsiveness
...
We introduce more breakpoints to cover mobile, small-desktop,
medium-desktop and large-desktop viewports.
2024-05-06 16:43:05 +02:00
dnlklmn
9404c3092a
Emphasize seed name in r/o section header
2024-05-06 13:03:10 +02:00
dnlklmn
9358798f8f
Use seedling icon for seeds in the breadcrumbs
2024-05-06 13:03:10 +02:00
Sebastian Martinez
230243e772
Make entire CommitButton clickable
...
Instead of having the Link component inside the Button component, we
should do it the other way around, that way the entire Button is
clickable and links somewhere.
2024-05-06 12:23:24 +02:00
Sebastian Martinez
f50521ca23
Update httpd tests to use happy-dom as environment
...
Since we require the httpd client to query config.json we need the tests
to understand what the window object is
2024-05-03 08:34:08 +02:00
Sebastian Martinez
ec0aa4d982
Update heartwood to rc.8
2024-05-03 08:34:08 +02:00
Sebastian Martinez
2fc03f3312
Add apiVersion to config and httpd request
...
We have a new apiVersion value in the config json that needs to be
changed for each breaking change on httpd so we can simulate a new
resource to the cache and get it cleared.
Also improves the ResponseParseError giving the user more information
on, if the node or the web client is outdated
2024-05-03 08:34:08 +02:00
Sebastian Martinez
f5a28960bd
Add alias to project delegates and threshold
2024-05-02 23:58:44 +02:00
Sebastian Martinez
70b16e5861
Decouple stats from tree endpoint response
2024-05-02 23:58:44 +02:00
Sebastian Martinez
eef0c1b0c7
Update node config schema for relay property
2024-05-02 23:47:25 +02:00
cloudhead
0632b2419b
node: Further increase the rate-limit defaults
...
The rate-limitter gets hit on connect, due to historical gossip messages
being exchanged. This results in a high initial burst that needs to be
accounted for.
2024-05-02 13:43:09 +02:00
Sebastian Martinez
26b4ee064c
httpd: Add apiVersion to root handler and node information
...
This will help consumers of the httpd to check if they are on the right
version of the API
2024-05-02 13:09:00 +02:00
Sebastian Martinez
a2189cabe4
httpd: Add threshold to project info
2024-05-02 14:43:12 +02:00
Sebastian Martinez
a736c5975f
httpd: Add alias to project delegates
2024-05-02 14:43:12 +02:00
Sebastian Martinez
54636b448c
httpd: Decouple repo stats from tree endpoint
2024-05-02 14:41:27 +02:00
Sebastian Martinez
824ea2e630
Add failed download handling back to install-binaries script
2024-05-02 12:20:07 +02:00
cloudhead
bddfaeec80
node: New relay configuration for nodes
...
Relay now has three values: "always", "never" and "auto".
The first two operate like the previous `true`/`false`. The
new (default) value turns relaying on for nodes with public (external)
addresses and off for nodes without. This should reduce redundant traffic on
the network, that was causing the rate limiters to trigger.
2024-05-02 11:45:29 +02:00
Michael Raitza
26f44b43ca
Change update-flake to use heartwood release tags
...
Until canonical tags are available, release tags are served via cloudhead's NID.
2024-05-02 11:25:42 +02:00
Sebastian Martinez
c8e91ac218
Update test suite to use heartwood releases instead of commits
...
Remove extra line at heartwood-release
2024-05-02 11:25:42 +02:00
cloudhead
2c64b36291
node: Increase default rate-limiter config
...
With the increase in traffic on the network after launch, the old
defaults don't make sense anymore.
Longer term, we should look into throttling outgoing messages as well,
prioritizing original messages over relayed messages.
2024-05-01 11:06:28 +02:00
Sebastian Martinez
207ec7782a
Modify RAD env vars based on heartwood rc.6
2024-04-30 11:39:35 +02:00
cloudhead
f9bdd3bce2
Remove outdated Dockerfiles
2024-04-29 18:02:07 +02:00
cloudhead
24c02f8811
node: Add log to node config
2024-04-29 15:59:17 +02:00
Sebastian Martinez
297c4b8ee1
Update tests to handle querystrings in page.route handlers
2024-04-29 13:22:55 +02:00
Sebastian Martinez
0eab6dafa6
Add bust_cache querystring variable
2024-04-29 13:22:14 +02:00
Sebastian Martinez
aed7d3ce46
Update node metadata test
...
Heartwood rc.5 wasn't built with the rc.5 label.
2024-04-29 13:21:46 +02:00
Sebastian Martinez
643d61ae2b
Remove unused fetchOkNoContent fn
2024-04-29 12:29:28 +02:00
cloudhead
3460da65c1
Tidy up environment variables
...
* Try to use constants instead of strings
* Move crypto seed override out of radicle-crypto
* Use GIT_COMMITTER_DATE for commit overrides
* Use RAD_LOCAL_TIME as general time override
* Allow variables to be used in release mode
2024-04-26 10:38:54 +02:00
cloudhead
9495414adb
node: Support "transparent" Tor
...
This allows for configuring your node such that `.onion` addresses
encountered are treated as regular DNS names.
2024-04-26 10:37:41 +02:00
Sebastian Martinez
36b3fb8032
Update flake to new heartwood version
2024-04-24 16:50:14 +02:00
Sebastian Martinez
7adcea4148
Update components and interfaces for radicle-surf v0.21
2024-04-24 16:50:14 +02:00
Sebastian Martinez
3d38d79c77
Update radicle-surf to 0.21
2024-04-24 11:51:25 +02:00
Sebastian Martinez
d413650ebc
Filter peers without branches in the router
...
This way we make sure the remote count is the same and the behavior
between files tab and commit tab is the same
2024-04-22 15:36:00 +02:00
Sebastian Martinez
e475596ec0
Remove private project visual test
...
Currently the httpd doesn't serve private projects, so this test fails
everytime.
We should look at it again once we figured out how to serve private
projects securely.
2024-04-16 11:40:09 +02:00
Sebastian Martinez
152b7fa179
httpd: Remove diff and branches from history route
2024-04-10 11:44:00 +02:00
cloudhead
712b53d6a8
radicle: Implement remote_refs_at
...
Implement this function on `RemoteRepository`, and move `repositories`
to the trait level.
This function will be used to quickly get the `RefsAt` of all repository
remotes.
2024-04-05 21:59:28 +02:00
Sebastian Martinez
0c46e67f88
Handle absolute markdown links with leading slash
...
This commit also handles relative linking when there is no path yet.
Aka not having `/tree/..` in the URL.
2024-04-04 22:24:53 +02:00
Sebastian Martinez
7420c7ade6
Add You to your alias in peer selector
2024-04-04 18:29:36 +02:00
Sebastian Martinez
187a67e03e
Underline markdown links that have emojis
2024-04-04 13:37:37 +02:00
cloudhead
3a0571c285
radicle: Switch error type for repository methods
...
This simplifies error handling for the next commit.
2024-04-03 14:25:02 +02:00
Rūdolfs Ošiņš
127efc49a5
Revert "Handle absolute markdown links with leading slash"
...
This reverts commit 2efd0ad58e .
There's a bug with root-level links in markdown docs.
2024-03-29 16:48:28 +01:00
Sebastian Martinez
2efd0ad58e
Handle absolute markdown links with leading slash
2024-03-29 11:54:54 +01:00
dnlklmn
d6f3d17805
Alignment fix
2024-03-27 22:29:25 +01:00
dnlklmn
4c8f64111b
Make IconButton bigger
2024-03-27 20:23:03 +01:00