Commit Graph
2201 Commits
Author SHA1 Message Date
Sebastian Martinez 2bbcc2f9d1 http: Make the rust github workflow throw errors instead of warnings
Instead of failing silently, warnings should be treated as errors and be
fixed before merging a patch.
2024-09-04 08:00:35 +02:00
Sebastian Martinez 9dd61d3bf3 http: Apply warnings from clippy 2024-09-04 07:24:34 +02:00
Sebastian Martinez 1ded8b4462 http: Update dependencies
Also removes some dependencies that wheren't used anymore.
2024-09-04 07:24:34 +02:00
Sebastian Martinezandmountdisk <mountdisk@icloud.com.> 900506bf4b Fix some typos
Co-authored-by: mountdisk <mountdisk@icloud.com.>
2024-09-03 15:37:13 +02:00
Sebastian Martinez 5fb6b3e43c Use on base in Revision components 2024-09-03 15:25:44 +02:00
Sebastian Martinez fc83829ef6 http: Decouple api responses from heartwood crates 2024-09-03 15:22:22 +02:00
Sebastian Martinez 3d4d76cf53 http: Move querystring structs into own module 2024-09-03 15:22:22 +02:00
Sebastian Martinez 859d22319f http: Run cargo fmt 2024-09-03 15:22:22 +02:00
Rūdolfs Ošiņš 596c3b0e9b Update dependencies 2024-09-03 14:00:06 +02:00
Sebastian Martinez 82ca7c3eae Missing build argument in build script 2024-08-29 11:02:05 +02:00
Sebastian Martinez 7711476dae Update types to latest heartwood release 2024-08-29 11:02:04 +02:00
Sebastian Martinez 30647fbb26 Update heartwood and radicle-httpd releases 2024-08-29 11:02:04 +02:00
Sebastian Martinez 139bab5809 http: Update radicle crate to v0.13.0 2024-08-29 11:02:04 +02:00
Sebastian Martinez a34056b2bf Remove sinon in favor of existing APIs of playwright and vitest
We where using `sinon` in the `playwright` tests to simulate a different
time, which since `playwright@1.45.0` can be done with the Clock API
calling `page.clock.setFixedTime`.

And to test the mutex executor we can use the vitest utils spy function
`vi.fn()` instead of `sinon.spy()`
2024-08-29 10:11:04 +02:00
Sebastian Martinez 7c9f1a018f Update heartwood version in nix flake 2024-08-27 16:52:14 +02:00
Joseph Goulden 413bc50efa Fix flake npmDepsHash 2024-08-27 16:52:01 +02:00
Rūdolfs Ošiņš 2891f0b795 Update dependencies 2024-08-27 15:07:08 +02:00
Sebastian Martinez 995e23936b http: Update naming for delegate dids
The usage of the term `delegate` when handling a DID isn't explicit
enough, so this commit changes the places where the word `delegate` is
used when actually it's a DID.
2024-08-23 08:58:06 +02:00
Sebastian Martinez 02234eac1d Update apiVersion to 5.0.0 2024-08-22 15:50:42 +02:00
Sebastian Martinez 52e1cf3f97 http: Update radicle-httpd to 0.16.0 2024-08-22 15:45:28 +02:00
Sebastian Martinez 6c2d1d755e Update schemas and usage of project payload 2024-08-22 09:45:50 +02:00
Sebastian Martinez c798e5d4e9 http: Modify payloads fields
Don't require a repo to have a `xyz.radicle.project` payload.
If there are issues with obtaining the repo `head`, issue count or patch
count, filter that repo from the list.
2024-08-22 09:44:51 +02:00
Sebastian Martinez 868f7b1e2d Rename files from project(s) to repo(s) 2024-08-22 09:43:06 +02:00
Sebastian Martinez cca65a0b89 Make visibility in the repoSchema required 2024-08-22 09:43:06 +02:00
Sebastian Martinez b84cace48f Refactor usage of authorSchema 2024-08-22 09:43:06 +02:00
Sebastian Martinez cf08c83913 Update naming of project(s) to repo(s) 2024-08-22 09:43:06 +02:00
Sebastian Martinez 4fda686bad http: Rename files from projects to repos 2024-08-21 23:37:37 +02:00
Sebastian Martinez 5d7eb71eab http: Rename LoC with projects ocurrences to repos 2024-08-21 23:37:37 +02:00
Rūdolfs Ošiņš 06cc5595c8 Upgrade eslint 2024-08-19 15:25:31 +02:00
Rūdolfs Ošiņš 7d738f91a2 Update dependencies 2024-08-19 12:26:23 +02:00
Sebastian Martinez 98857582f3 Reduce requests in patch view 2024-08-09 16:19:49 +02:00
Sebastian Martinez f914d94038 Reduce requests when switching between History and Source view
Adds the same `previousLoadedRoute` strategy used in source views to the
commit listing view.

Since we where re-fetching the project endpoint, node, policies and
other things in between tabs, also adds takes the tree type from one tab
to the other since it's immutable
2024-08-09 13:50:47 +02:00
Rūdolfs Ošiņš 5174cda6f2 Add bookmarking ability to seed selector 2024-08-09 12:20:06 +02:00
Rūdolfs Ošiņš 853829ea28 Update dependencies 2024-08-08 23:45:06 +02:00
Rūdolfs Ošiņš 96bafffb34 Use lodash import style that leads to smaller bundle sizes 2024-08-08 16:21:33 +02:00
Dawid Ciężarkiewicz 5444875e71 http: Display simple info page on / 2024-08-08 11:50:51 +02:00
Sebastian Martinez 06fa429ea3 Fix peer branch selector gaps 2024-08-05 12:58:29 -03:00
Sebastian Martinez 4de9724f9e Improve external markdown link test
By using `page.route` we weren't changing the response of
`https://example.com` since we where only changing it on the initial
page.

By using `context` we are able to change the response for any request to
that site on all playwright pages.
2024-08-02 08:02:15 -03:00
Sebastian Martinez e005cd784e Update heartwood to rc.13 2024-08-02 08:00:26 -03:00
Sebastian Martinez a1dc7fc2ef Add user page 2024-07-31 12:33:05 -03:00
Sebastian Martinez ab71fdcc1d Add Placeholder to empty node page 2024-07-31 12:28:50 -03:00
Sebastian Martinez 8d30407de6 Add firefox to the clipboard tests 2024-07-29 15:00:31 -03:00
Sebastian Martinez a73c5490b1 Handle disabled localStorage gracefully
Instead of failing with a cryptic error in the dev console, this commit
allows the app to keep working and skips the localStorage persistance if
no localStorage is available.
2024-07-29 16:48:59 +02:00
Rūdolfs Ošiņš 514359e1b9 Fix merge issue 2024-07-29 15:54:38 +02:00
Rūdolfs Ošiņš 1ff3890fa8 Clean up icons 2024-07-29 15:30:27 +02:00
Sebastian Martinez a23c704c24 http: Use pinned repo length for per_page unwrap instead of fixed number
This allows us to avoid querying the repo stats and relying on maybe bad
routing tables and take the hardcoded pinned repo array in case of
querying for pinned repos.
2024-07-29 07:55:54 -03:00
Rūdolfs Ošiņš f4c773c81b Show dismiss button when a specific commit has been selected 2024-07-26 15:15:01 +02:00
Rūdolfs Ošiņš e31ca2d0aa Update dependencies 2024-07-26 08:22:53 -03:00
Rūdolfs Ošiņš c0049f83ba Redesign node view and use it as the landing-page 2024-07-26 10:20:01 +02:00
Sebastian Martinez 266afb17c8 Expand internal file markdown test case
Additionally to navigate the file links we should guarantee that
circling back to the source without a path shouldn't break navigation.
2024-07-23 15:52:23 +02:00