]> Untitled Git - lemmy.git/commit
Some fixes to federation.
authorDessalines <tyhou13@gmx.com>
Sat, 27 Jun 2020 01:12:41 +0000 (21:12 -0400)
committerDessalines <tyhou13@gmx.com>
Sat, 27 Jun 2020 01:12:41 +0000 (21:12 -0400)
commit86dc50f9f0f6ea98273eb3845d5486d2fad8c1ff
tree7925b5768db7fd7c53115d99a40d6bdf638c27ef
parent7d1c6e9a402c14833b94cd33f7f170ffcbc820ed
Some fixes to federation.

- Advanced code migrations now disable then re-enable triggers.
  Brings run time down to < 15 seconds, no need to thread them.
- Changing ap_ids and actor_ids in migrations to a fake url,
  so it doesn't break XsdAnyUri in activitystreams.
20 files changed:
docker/federation/docker-compose.yml
server/migrations/2020-03-26-192410_add_activitypub_tables/up.sql
server/migrations/2020-04-03-194936_add_activitypub_for_posts_and_comments/up.sql
server/migrations/2020-04-07-135912_add_user_community_apub_constraints/down.sql
server/migrations/2020-05-05-210233_add_activitypub_for_private_messages/up.sql
server/src/api/comment.rs
server/src/api/post.rs
server/src/api/user.rs
server/src/db/activity.rs
server/src/db/code_migrations.rs
server/src/db/comment.rs
server/src/db/comment_view.rs
server/src/db/community.rs
server/src/db/moderator.rs
server/src/db/password_reset_request.rs
server/src/db/post.rs
server/src/db/post_view.rs
server/src/db/private_message.rs
server/src/db/user.rs
server/src/db/user_mention.rs