Per-user upload limit / quota and media management
Peertube doesn't seem to have a limit on upload size, but it does have a per-user quota. This would be cool to implement in pleroma for instances that don't mind huge filesizes but don't want users to abuse the huge upload limit and give admins more control on upload folder growth rate. However users should be able to manage their uploads, i.e. have ability to delete some old media in order to upload new.
What needs to be done is two parts, basically:
- API and UI (in PleromaFE) for managing user uploads and display the permitted quota
- User upload quota in BE
- Error to client when quota would be exceeded
- Option to set different quotas for specific users
- Option to set automatic quota increase for users
- I.e. do not allow huge uploads for new users, increase quota every month if usage is > N%