Commit Graph
31 Commits
Author SHA1 Message Date
Rūdolfs Ošiņš 14162868f2 httpd: Release 0.23.0 2026-01-21 09:40:35 -06:00
Rūdolfs OšiņšandFintan Halpenny 7dfca539b4 httpd: Add SIGHUP config reloading
Enable hot-reloading of web configuration (pinned repos, avatar, banner,
description) by sending SIGHUP to the process, eliminating the need for
server restarts when updating these settings.

Co-authored-by: Fintan Halpenny <fintan.halpenny@gmail.com>
2026-01-20 15:55:21 -06:00
Rūdolfs Ošiņš fadd614636 httpd: Release 0.22.0 2026-01-07 13:24:49 -06:00
Sebastian Martinez 8c2f15d619 httpd: Release 0.21.0 2025-12-23 12:57:43 +01:00
Sebastian Martinez 4d062d8347 httpd: Add axum-listener and use axum for unix-sockets directly 2025-12-23 12:33:43 +01:00
Rūdolfs Ošiņš 97ad0a865e httpd: Make radicle-httpd work with unix sockets 2025-12-19 17:48:22 +01:00
Defelo 23d608d433 Guess mime type based on path
Try to determine the mime type of a file first based on its path, then
based on its content.

The previous behavior (looking only at the file content) inferred a
mime type of `text/xml` for `.svg` files (instead of `image/svg+xml`)
which prevented them from being shown when embedded e.g. in a markdown
document.
2025-09-15 12:53:33 +02:00
Sebastian Martinez d5cf0612d5 httpd: Update dependencies
Required:
- removing the #[async_trait] declarations since that has been
stabilized in rust.
- axum 0.8.0 introduced new endpoints declarations with curly brackets.
2025-08-15 14:12:35 +02:00
Sebastian Martinez 2727615b53 Bump radicle crate to 0.18.0 2025-08-15 13:22:49 +02:00
Rūdolfs Ošiņš be5605acde httpd: Release 0.20.0 2025-07-18 14:16:04 +02:00
Rūdolfs Ošiņš 4cd680d464 Bump radicle crate to 0.16.1 2025-07-18 12:13:24 +02:00
Sebastian Martinez f54222326a httpd: Release 0.19.1 2025-06-06 12:36:24 +02:00
Sebastian Martinez d6e700cdd4 httpd: Release 0.19.0 2025-06-04 11:25:11 +02:00
Sebastian Martinez 11bf9d7200 Bump heartwood crates to latest versions 2025-06-04 10:32:50 +02:00
Sebastian Martinez fbb9dd64db Update authors and bump crate version to 0.18.2 2025-05-27 10:29:36 +02:00
Sebastian Martinez 0d7a96e3b0 httpd: Bump version numbers 2025-02-04 11:32:28 -06:00
Sebastian Martinez ef46915d77 httpd: Infer mime type of file blob in file_by_oid handler
Instead of relying on the mime_type query string the endpoint should try
to infer the file type.
2025-02-04 11:32:28 -06:00
Sebastian Martinez be0ecd7347 Bump httpd version numbers to 0.18.0 2024-12-05 14:13:56 +01:00
Sebastian Martinez cb7e01105b Update radicle-httpd to latest radicle crate 2024-12-05 09:21:19 +01:00
Rūdolfs Ošiņš f815b2dbca Bump httpd version numbers
Bump httpd version numbers
2024-11-11 18:30:39 +01: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 Martinez 139bab5809 http: Update radicle crate to v0.13.0 2024-08-29 11:02:04 +02:00
Sebastian Martinez 52e1cf3f97 http: Update radicle-httpd to 0.16.0 2024-08-22 15:45:28 +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
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
Sebastian Martinez ec671872fe http: Update crate to v0.13.0 2024-07-04 11:48:41 +02:00
Sebastian Martinez ea6a7fb028 http: Remove session and all read-write endpoints
Updates API version to 2.0.0 and crate to 0.13.0
2024-07-03 14:04:07 +02:00
Sebastian Martinez eb767f5e2f http: release radicle-httpd v0.12.1 2024-06-28 22:08:22 +02:00
Sebastian Martinez 13cd3aa1b2 http: release radicle-httpd v0.12.0 2024-06-27 11:54:24 +02:00
Sebastian Martinez 473f893b2b http: release radicle-httpd v0.11.0 2024-06-21 14:19:43 +02:00
Rūdolfs Ošiņš 2f1a5dcdfe Rename http-server -> radicle-httpd
So that the directory name matches the crate name.
2024-06-20 11:44:44 +02:00