takahe/users
Osma Ahvenlampi 5549d21528
Fix inbox processing errors from pinned posts and non-Mastodon servers (#596)
If a post (interaction) comes in from AP inbox but no local author profile exists,
fetch_actor will pull in both the identity AND its pinned posts, which the incoming
post might have been. This would case a database integrity violation. We check
for post existing again after syncing the actor.

Post processing also barfed on posts where content didn't follow Mastodon specs.
For example, Kbin sets tag names in 'tag' attribute, instead of 'name' attribute.
2023-07-12 09:49:30 -06:00
..
migrations Rework Stator to use a next field and no async 2023-07-07 15:14:06 -06:00
models Use 400 and 401 error codes as OAuth2 documents, accept 400 as webfinger error code (#597) 2023-07-10 10:19:20 -06:00
services Fix inbox processing errors from pinned posts and non-Mastodon servers (#596) 2023-07-12 09:49:30 -06:00
views Bugfix admin redirect fixes (#587) 2023-06-14 11:15:29 -06:00
__init__.py Initial commit (users and statuses) 2022-11-05 14:17:27 -06:00
admin.py Bookmarks (#537) 2023-03-11 11:17:20 -07:00
apps.py Better way to initialise things on setup. 2022-11-22 11:59:34 -07:00
context.py Implement server announcements 2023-01-13 16:12:05 -07:00
decorators.py UI/Domains Refactor 2023-05-03 22:42:37 -06:00
middleware.py UI/Domains Refactor 2023-05-03 22:42:37 -06:00
schemas.py Handle nodeinfo validation errors (#439) 2023-01-18 10:57:28 -07:00
shortcuts.py UI/Domains Refactor 2023-05-03 22:42:37 -06:00