Aeledfyr 95339a8338 Create a mock file host for dev, Fix mod creation route (#38)
* fix(mod-creation): fix actix server data & mod creation route

* feat(file-host): implement mock file hosting

This implements a mock file hosting system backed by the system's
filesystem.  It mirrors the API of the backblaze integration, but
puts the files directly on disk in the path specified by the
MOCK_FILE_PATH environment variable (defaults to /tmp/modrinth).

The mock file hosting is enabled by default using cargo features
to allow people to work on modrinth without access to a valid
backblaze account and setup.  To enable backblaze, specify the
cargo feature "backblaze" when running, ex. `cargo run --features
backblaze`.

* feat(file-hosting): implement basic backblaze API error handling

* fix(mod-creation): fix extension parsing, use base62 ids for paths
fix(file-hosting): reduce unnecessary allocations

* fix: fix auth with docker mongodb

* fix: fix failing checks

* fix: remove testing files
2020-07-16 21:06:58 -07:00
2020-07-02 14:00:04 +02:00
2020-07-02 14:00:04 +02:00
2020-06-30 19:23:52 +02:00
2020-06-30 19:23:52 +02:00
2020-06-30 19:23:52 +02:00
2020-05-27 11:03:19 -07:00
2020-07-01 08:43:44 +02:00

labrinth banner

Modrinth's labratory for its backend service & API!

Documentation coming soon™.

Description
A modern launcher based on Modrinth. No built-in/external advertising or telemetry. Fully compatible with the original Modrinth without broken mechanics.
Readme 118 MiB
Languages
Rust 45.9%
Vue 37.2%
TypeScript 11.3%
HTML 2.6%
JavaScript 1.5%
Other 1.4%