pleroma-cherry-picks #209

Merged
floatingghost merged 7 commits from pleroma-cherry-picks into develop 2022-09-11 19:28:07 +00:00
No description provided.
floatingghost added 7 commits 2022-09-11 19:15:55 +00:00
Non-Create/Listen activities had their associated object field
normalized and fetched, but only to use their `id` field, which is both
slow and redundant. This also failed on Undo activities, which delete
the associated object/activity in database.

Undo activities will now render properly and database loads should
improve ever so slightly.
User keys are now generated on user creation instead of "when needed",
to prevent race conditions in federation and a few other issues. This
migration will generate keys missing for local users.
This fixes a race condition bug where keys could be regenerated
post-federation, causing activities and HTTP signatures from an user to
be dropped due to key differences.
When generating OpenGraph and TwitterCard metadata for a post, the
summary field will be used first if it is set to generate the post
description.
As this plug is called on every request, this should reduce load on the
database by not requiring to select on the users table every single
time, and to instead use the by-ID user cache whenever possible.
Use set of pregenerated RSA keys
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
b4261b0335
Randomness is a huge resource sink, so let's just use
a some that we made earlier
floatingghost merged commit dbe678cb06 into develop 2022-09-11 19:28:07 +00:00
floatingghost deleted branch pleroma-cherry-picks 2022-09-11 19:28:07 +00:00
Sign in to join this conversation.
No description provided.