Support Mastodon-Style metadata fields
We already display the data of Mastodon users by going through the source data (see Pleroma.Web.MastodonAPI.AccountView
). We should support it for local users, too, because it can be useful for rel=me.
Needed for #805 (closed).
Steps:
- Add 'meta_fields' field to User.Info
- Refactor current code to use meta_fields instead of using the source data directly
- Parse existing and incoming user data into those fields
- Modify our MastodonAPI to add support for creating and updating those fields.
Documentation: https://docs.joinmastodon.org/api/rest/accounts/#patch-api-v1-accounts-update-credentials https://docs.joinmastodon.org/api/entities/#account