torrust-index
torrust-index copied to clipboard
This repository serves as the backend for the Torrust Index project.
Resolves #448
Parent issue: #39 Handlers that require an optional user ID, check if the user found in the bearer token exists in the database in the handler, however, for handlers that...
We are getting this CI error due to the ordered-multimap package: ![image](https://github.com/torrust/torrust-index/assets/141633147/70d93999-b769-4a8f-ba4f-170506cc2342) I think it has been fixed in the v0.7.0, but we are using the 0.6.0. The dependency tree...
If you upload a torrent with only the field for version 2, you get a generic "Internal Server Error". We should show a message like "Invalid torrent. BitTorrent version 2...
In the `ServiceError` enum we only support a single error message with no extra data. ```rust #[derive(Debug, Display, PartialEq, Eq, Error)] #[allow(dead_code)] pub enum ServiceError { #[display(fmt = "internal server...
When you use an email that has already been used by another user you get a message like this: ![image](https://github.com/torrust/torrust-index/assets/58816/a1d6f8ee-55ba-4b6e-b92a-c91e03c79ed7) That allows users to easily check is a user with...
Relates to: https://github.com/torrust/torrust-index/issues/437 > Many websites that list a BitTorrent download also provide a HTTP or FTP URL for the same file. The files are identical. A WebSeeding BitTorrent client...
Relates to: https://github.com/torrust/torrust-index/issues/437 Add add `nodes6` field to torrent files. BEP 32: https://www.bittorrent.org/beps/bep_0032.html
The API endpoints return internal objects, for example: The endpoint to get all categories: `http://127.0.0.1:3000/v1/category` returns the struct [Category](https://github.com/torrust/torrust-index-backend/blob/develop/src/databases/database.rs#L28-L34): ```rust pub struct Category { pub category_id: i64, pub name: String,...
Relates to: https://github.com/torrust/torrust-tracker/issues/360 We are duplicating code for: ```rust pub struct InfoHash(pub [u8; 20]);` struct ``` - https://github.com/torrust/torrust-tracker/blob/develop/src/shared/bit_torrent/info_hash.rs#L136-L167 - https://github.com/torrust/torrust-index-backend/blob/develop/src/models/info_hash.rs#L136-L167 We should extract a common BitTorrent protocol crate for both...