- Add support for checking the tracking table from `radicle-httpd` to
get a more precise information if the project is being tracked by the
local node.
- If a user isn't authenticated with their local httpd instance, we
still show the Popover to explain how to do it on the CLI
We change the instructions to connect to a local node to use the
simplified authentication flow.
Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm>
Following the heartwood release 6ca7da2 we also rename tracking
to seeding, and update our `radicle-httpd` endpoints and configs.
Also updates test suites to handle new CLI commands.
Instead of relying on the `exit-hook` dependency, we should listen to
`exit`, `SIGINT`, `SIGTERM` and other exceptions, and kill all running
processes.
We currently use all three ways of importing lodash.
The one that provides us with the smalles bundle size is.
```
import isEqual from "lodash/isEqual";
```
So we should use that everywhere
When setting up the global fixtures we need to ensure that the peers
that create changes sync their changes to the seed (palm). The only
thing necessary is for the peer to discover palm as the seed for the
project. Then `git push rad --all` will sync all changes to palm.
It’s not necessary to listen for any other event and we remove the
corresponding calls to `waitForEvent` or `waitForRoutes`.
In fact, these calls never did anything besides sleep since the
implementation of `waitForEvent` was faulty. We fix that, too.
Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm>
We stop asking for confirmation to remove the folders containing the
static generated fixtures. All the data is programatically generated so
it’s not a big deal if it is lost. In any case the data is retained
after a test run and only deleted before the next test run.
Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm>
* The log prefix now includes the command name in addition to the peer
name. This allows us to distinguish `radicle-node` and `radicle-httpd`
logs as well as the output of commands.
* We also log prettify the JSON event log so it is easier to debug.
* Don’t log ouput of `waitForRoutes`
Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm>
The update resulted in changes to all issue and patch IDs. We adapt the
tests so that they do not rely on fixed IDs.
Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm>
Instead of showing the node id with a clipboard that copies a possible
wrong port number, this commit adds the externalAddresses config to the
node detail view, so node operators can define which externalAddresses
should show up.
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
Co-authored-by: Rūdolfs Ošiņš <rudolfs@osins.org>
Also does some refactoring for `action`, `editable` and other variables
we were using which weren't very clear
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
- This commit doesn't change the way syntax highlighting is done.
- But due to changes in `radicle-httpd` we can highlight the entire
files of a changeset, and then replace the plain text lines with
highlighted ones.
- Also highlights only the files currently visible of a changeset.
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>