Merge commit from fork

* Add limit on inbox payload size

The 1MB limit is consistent with the limit we use when fetching remote resources

* Add limit to number of options from federated polls

* Add a limit to the number of federated profile fields

* Add limit on federated username length

* Add hard limits for federated display name and account bio

* Add hard limits for `alsoKnownAs` and `attributionDomains`

* Add hard limit on federated custom emoji shortcode

* Highlight most destructive limits and expand on their reasoning by ClearlyClaire has been merged! github.com/mastodon/mastodon/c

0

If you have a fediverse account, you can quote this note from your own instance. Search https://vmst.io/users/mergebot/statuses/115927843206989282 on your instance and quote it. (Note that quoting is not supported in Mastodon.)