Commit Graph
2174 Commits
Author SHA1 Message Date
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
Sebastian Martinez 7a5d4566d3 Fix commit listing, adding new commits to list instead of replacing 2024-07-23 15:43:15 +02:00
Sebastian Martinez cbb6c557be Fix markdown relative links to / 2024-07-23 09:56:12 +02:00
Rūdolfs Ošiņš da14ca6505 Remove Post comment keyboard shortcut 2024-07-23 09:50:33 +02:00
Sebastian Martinez 9a50ae0354 http: Rename compressed and extracted files from radicle to radicle-httpd 2024-07-22 13:06:01 -03:00
Rūdolfs Ošiņš cd38ed1134 Tweak clone button icon placement 2024-07-22 13:33:54 +02:00
Rūdolfs Ošiņš 0a2dbe9e5d Add Checkout button to patch view 2024-07-19 14:51:20 +02:00
Rūdolfs Ošiņš c60b6451d3 http: Remove all authentication related code
We also remove the `/api/v1/profile` endpoint because that was only
supposed to be used with a local node and not publicly accessible. All
fields that are still used in the UI were moved to `/api/v1/node`.

We bump the API and crate versions since this is a breaking change.

squash or drop!: Small suggestion for improvement
2024-07-19 08:11:47 -03:00
Rūdolfs Ošiņš b105d06fae http: Only count publicly seeded repositories
Previously the /api/v1/stats endpoint would count any repository that is
in the storage regardless of whether the repository is publicly seeded or not.
2024-07-19 05:32:42 -03:00
Rūdolfs Ošiņš 662a5e24eb Update dependencies 2024-07-18 10:05:12 +02:00
Rūdolfs Ošiņš 472993c6df Simplify share button link resolution
We just use the radicleExplorer that is configured in the app config and
don't query the node for it. Besides simplifying things this also makes
the button work on iOS again, because we don't have the async http
request anymore.
2024-07-17 14:13:57 +02:00
Rūdolfs Ošiņš 87979c5feb Fix timestamp calculation when filtering patches 2024-07-17 07:26:53 +02:00
Rūdolfs Ošiņš 5e5e69771f Fix overflow problem in diff view
When selecting a range of lines and scrolling past the sticky header,
the selection would be on top of the header. This fixes it.
2024-07-16 15:06:21 +02:00
Rūdolfs Ošiņš 6f134ca6d6 Show base commit gray in compare dropdown 2024-07-15 17:44:49 +02:00
Sebastian Martinez 1775dd284d Rename missed state -> status occurrences 2024-07-15 14:43:15 +02:00
Sebastian Martinez 1a5830b54a Remove more unused patch and issue schemas 2024-07-15 14:42:56 +02:00
Sebastian Martinez c4aa4f04f2 http: Update crate to 0.14.0 and api version to 3.0.0 2024-07-12 10:44:32 +02:00
Rūdolfs Ošiņš b3bf6d17ff Show small disabled seed button on mobile 2024-07-10 15:37:08 +02:00
Sebastian Martinez b9704a0739 Remove session client and other non used methods from httpd-client 2024-07-10 12:17:39 +02:00
Sebastian Martinez 3d652d54d2 Check arch for podman build
Usually going with Darwin -> aarch64 and the rest fallback to amd64
isn't a bad choice, but I think we can do better by checking `arch` so a
device like a Raspberry which has an ARM CPU is able to run the build
script.
2024-07-10 10:42:51 +02:00
Sebastian Martinez cf995c09c1 Fix radicle-httpd tests for release instead of build from source 2024-07-09 15:39:58 +02:00
Rūdolfs Ošiņš 2b491a1d09 Reinstate Seed button 2024-07-06 19:59:25 +02:00
Sebastian Martinez 507580b6ee Render project description in Source view
This avoids diplaying escaped characters like & in a description
2024-07-05 11:43:27 +02:00
Sebastian Martinez 7347d031e7 http: Rename IssueState and PatchState to IssueStatus and PatchState 2024-07-04 15:21:10 +02:00
Sebastian Martinez 49a299f9e3 http: Rename state query param to status
This allows us to match the query param with the output that is
`{ "status": "open" | "merged" | ... }`
2024-07-04 15:18:38 +02:00
Sebastian Martinez 25a16869d7 http: Add All as state query option for cobs 2024-07-04 15:18:38 +02:00
Sebastian Martinez 76fb2e2dc6 http: Add missing issue and patch endpoint tests 2024-07-04 15:17:52 +02:00
Sebastian Martinez 6fd6375005 http: Add ssh keys and full did to nodes handler 2024-07-04 15:12:20 +02:00