Alexis Sellier
71edcfe7f2
Replace RAD_DEBUG with RAD_SEED
...
The latter is strictly more powerful.
2023-01-25 17:09:16 +01:00
xphoniex
2125128b5f
httpd: Remove lastCommit in /tree for entries
...
Signed-off-by: xphoniex <dj.2dixx@gmail.com >
2023-01-25 15:35:24 +01:00
xphoniex
9d8c5f404b
httpd: Clean up json.rs
...
Signed-off-by: xphoniex <dj.2dixx@gmail.com >
2023-01-25 15:35:24 +01:00
xphoniex
f9e519296d
httpd: Change sha1 into id
...
Signed-off-by: xphoniex <dj.2dixx@gmail.com >
2023-01-25 15:35:24 +01:00
xphoniex
05da23b707
httpd: Use commits/commit instead of headers/header
...
Signed-off-by: xphoniex <dj.2dixx@gmail.com >
2023-01-25 15:35:24 +01:00
xphoniex
24d19b69d2
httpd: change committerTime into committer.time
...
Signed-off-by: xphoniex <dj.2dixx@gmail.com >
2023-01-25 15:35:24 +01:00
xphoniex
59e3afac67
httpd: Update axum from 0.5.x to 0.6.x
...
Signed-off-by: xphoniex <dj.2dixx@gmail.com >
2023-01-18 14:09:48 +00:00
Han Xu
64a933dccd
httpd: Dogfood the new radicle-surf API
...
Signed-off-by: Han Xu <keepsimple@gmail.com >
2023-01-18 14:22:01 +01:00
Alexis Sellier
c5841cefb6
Rename profile::Paths to profile::Home
...
This makes the intent clearer.
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2023-01-17 11:01:36 +01:00
Alexis Sellier
1072fd1efc
Speed up node E2E tests
...
By allowing the node to run using a `MockSigner`, we speed up tests
significantly, since PBKDF2 doesn't need to run.
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2023-01-17 11:01:36 +01:00
xphoniex
d98073a55d
httpd: Add api tests
...
Signed-off-by: xphoniex <dj.2dixx@gmail.com >
2023-01-12 20:30:53 +01:00
Alexis Sellier
134bb7a847
cob: Create proper OpId type
...
To still access a comment's author, we add a new `author` field.
2022-12-31 09:58:51 +01:00
xphoniex
a93803c8ca
httpd: Use TraceLayer on uppermost router
...
This allows prefix of each route e.g. `/api/*` to be visible in logs.
Signed-off-by: xphoniex <dj.2dixx@gmail.com >
2022-12-26 15:56:21 +01:00
xphoniex
8e688fef34
Update radicle-git to 79a94721366490053e2d8ac1c1afa14fb0c25f09
...
Signed-off-by: xphoniex <dj.2dixx@gmail.com >
2022-12-23 13:22:55 +01:00
Alexis Sellier
10d450c751
cob: Implement comment edit action
...
This implementation intentionally preserves all edits such that
they may be displayed in an application as an edit history.
Signed-off-by: Alexis Sellier <alexis@radicle.xyz >
2022-12-16 12:32:20 +01:00
Adam Szkoda
3d94893737
Build container images for deployment
...
Signed-off-by: Adam Szkoda <adaszko@gmail.com >
2022-12-14 17:15:40 +01:00
Adam Szkoda
ec4a766bee
Do not install OpenSSL as it's statically linked
2022-12-14 17:15:40 +01:00
Adam Szkoda
821bcf1ce8
Put fully static binaries into containers
2022-12-14 17:15:40 +01:00
Adam Szkoda
2bd0a6f68d
Dockerize services
...
Signed-off-by: Adam Szkoda <adaszko@gmail.com >
2022-12-14 17:15:40 +01:00
Alexis Sellier
cc942024ce
Make Doc type payload generic
2022-12-09 22:05:38 +01:00
xphoniex
0b138f2c0c
httpd: Use HashSet instead of BTreeSet
...
Signed-off-by: xphoniex <dj.2dixx@gmail.com >
2022-12-09 10:49:28 +01:00
xphoniex
a40d53743d
httpd: Conform response from issue handlers to previous model
...
Signed-off-by: xphoniex <dj.2dixx@gmail.com >
2022-12-09 10:49:09 +01:00
Alexis Sellier
3f4aecfadf
Rename patch/issue "status"
...
This reverts to the previous naming, since after serialization
we would otherwise end up with `{ status: { status: closed } }`.
Signed-off-by: Alexis Sellier <alexis@radicle.xyz >
2022-12-09 10:44:59 +01:00
Alexis Sellier
864f0022e2
Remove delegate names from identity doc
...
We are working on other mechanisms to help identify keys, and this
is just redundant.
Also update some of the CLI examples to create a canonical example
for documentation.
Signed-off-by: Alexis Sellier <alexis@radicle.xyz >
2022-12-07 12:16:00 +01:00
Alexis Sellier
b22c152ed9
cob: Move clock out of Issue
...
The clock shouldn't be part of the issue state, but rather
the local "actor" state.
Signed-off-by: Alexis Sellier <alexis@radicle.xyz >
2022-12-01 12:05:44 +01:00
xphoniex
da4287258b
httpd: implement IntoResponse for api error variants
...
Signed-off-by: xphoniex <dj.2dixx@gmail.com >
2022-11-30 13:06:03 +00:00
xphoniex
591b86aee5
Migrate /v1/stats route
...
Signed-off-by: xphoniex <dj.2dixx@gmail.com >
2022-11-30 13:06:03 +00:00
xphoniex
3b50828f41
Migrate /projects: issues, issue handlers
...
Signed-off-by: xphoniex <dj.2dixx@gmail.com >
2022-11-30 13:06:03 +00:00
xphoniex
02ab60ac55
Migrate /projects: remotes, remote, blob, readme handlers
...
Signed-off-by: xphoniex <dj.2dixx@gmail.com >
2022-11-30 13:06:03 +00:00
xphoniex
45751c56c6
Migrate /projects: history and tree handlers
...
Signed-off-by: xphoniex <dj.2dixx@gmail.com >
2022-11-30 13:06:03 +00:00
xphoniex
de1f84b792
Migrate /projects: root, project, commit, activity handlers
...
Signed-off-by: xphoniex <dj.2dixx@gmail.com >
2022-11-30 13:06:03 +00:00
xphoniex
2d49f8bbff
Migrate /v1/delegates route
...
Signed-off-by: xphoniex <dj.2dixx@gmail.com >
2022-11-30 13:06:03 +00:00
xphoniex
b26562f2c5
Migrate /v1/sessions route
...
Signed-off-by: xphoniex <dj.2dixx@gmail.com >
2022-11-30 13:06:03 +00:00
xphoniex
ae2a35abb9
Migrate /v1/, /v1/node routes to heartwood
...
Signed-off-by: xphoniex <dj.2dixx@gmail.com >
2022-11-30 13:06:03 +00:00
Sebastian Martinez
f971d777f2
Add missing moved and copied file operations to Changeset
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-11-17 17:50:19 +01:00
Rūdolfs Ošiņš
becfd5d8c5
Upgrade dependencies
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-06-28 12:07:33 +02:00
Rūdolfs Ošiņš
3f7a58c489
Handle app URL translation into seed BaseUrl in one place
...
To make the code easier to reason about we handle all app URL encoding
and decoding and the related seed BaseUrl extraction in a single place.
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-06-28 10:51:59 +02:00
Rūdolfs Ošiņš
bc25367ecb
Add remote count to PeerSelector
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-06-28 09:31:08 +02:00
Rūdolfs Ošiņš
eba977e14e
Add icon to Source tab
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-06-28 09:31:08 +02:00
Rūdolfs Ošiņš
149a5d6fb5
Fix comment schema
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-06-27 18:21:21 +02:00
Sebastian Martinez
72bcfdee5a
Add ability to expand a commit message
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-06-27 17:47:55 +02:00
Sebastian Martinez
0e6be19373
Add patch reviewers in sidebar
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-06-27 17:23:37 +02:00
Sebastian Martinez
31be78144f
Fix padding issues of project headers on mobile
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-06-27 10:19:56 +02:00
Sebastian Martinez
ba57506d6d
Update svelte to version 4
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-06-26 14:13:22 +02:00
Sebastian Martinez
d51f08d6af
Expand browser tree when navigation through relative file links
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-06-26 13:48:49 +02:00
Sebastian Martinez
ecabe9b7a8
Escape html tags in marked found outside of code blocks
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-06-26 13:00:20 +02:00
Sebastian Martinez
ab222edc52
Reverse commit ordering in patch revisions
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-06-23 13:06:40 +02:00
Sebastian Martinez
44a76ea74f
Removing CODEOWNERS file
...
We currently match all files, so it isn't useful at the moment.
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-06-23 12:39:05 +02:00
Rūdolfs Ošiņš
d4650ab482
Simplify project view component
...
We refactor the project view by moving all sub-view related variables
into the respective sub-views.
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-06-20 14:59:58 +02:00
Sebastian Martinez
7dab02c273
Change .eslintrc file format to js and add tsconfigRootDir
...
Depending on the environment and the code editor, there can be issues
for eslint to find the tsconfig.json file.
To avoid that we can define the base folder with `tsconfigRootDir`
refs: https://github.com/typescript-eslint/typescript-eslint/issues/251
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-06-19 15:36:17 +02:00