Refactor: Make sure uploaders are fully modular
Uploaders are modular. Ideally you should be able to write a module, drop it in the code somewhere, and it should be able to run without extra changes.
In !3654 I noticed that some stuff leaks out in lib/pleroma/upload.ex
(more specifically base_url/0
, but check for others as well).
We may also want to check if we want to make the description
part of the modules, similar like how is done for MRF.
Once !3654 is merged, we should probably fix that up.