amybones
amybones commented on pull request FoundKeyGang/FoundKey#309 2023-03-22 22:14:32 +00:00
activitypub: process Move activities and movedTo field on actors

tl;dr about your specific question: signatures are verified in the handler for the inbox queue, specifically [starting from this line](https://akkoma.dev/FoundKeyGang/FoundKey/src/commit/f1d7357e

amybones approved FoundKeyGang/FoundKey#309 2023-03-22 21:53:49 +00:00
activitypub: process Move activities and movedTo field on actors

Per discussion in preview review everything looks good to me, for whatever that's worth :)

amybones commented on pull request FoundKeyGang/FoundKey#309 2023-03-22 21:52:48 +00:00
activitypub: process Move activities and movedTo field on actors

Got it. Thanks for clarifying the data model, I see now what's happening there :) As I said, I'm still getting familiar with the code base.

amybones commented on pull request FoundKeyGang/FoundKey#309 2023-03-22 21:50:53 +00:00
activitypub: process Move activities and movedTo field on actors

Aha. Okay, I missed that bubbling up to a retry, thanks!

amybones commented on pull request FoundKeyGang/FoundKey#309 2023-03-21 23:07:21 +00:00
activitypub: process Move activities and movedTo field on actors

Do we expect this to be a common case? If no, it might be worth adding a warning log so that some data about how often this happens can be collected. The log can always be removed if it appears to be frequent. I bring this up since in my deployment of foundkey I've added some warning logs to a place to try and help me track down (which I'm not done doing so no PRs here) what I think are some bugs.

amybones commented on pull request FoundKeyGang/FoundKey#309 2023-03-21 23:07:21 +00:00
activitypub: process Move activities and movedTo field on actors

This would prevent cycles of a -> b -> a, right? It's uncommon but I've seen people do cycles like this in the past when, e.g. they move and then the instance they move to winds up blocking an instance they have a lot of connections with, or in the case of mastodon.lol their new instance shuts down.

amybones commented on pull request FoundKeyGang/FoundKey#309 2023-03-21 23:07:21 +00:00
activitypub: process Move activities and movedTo field on actors

The only reason I can think of to not auto accept is if the local user has follow requests turned on, right? But even then, if they already accepted the original request, then it feels silly to make them accept again. If it's technically difficult to do here for some reason, in which case it seems fine to leave this as a todo.

amybones suggested changes for FoundKeyGang/FoundKey#309 2023-03-21 23:07:21 +00:00
activitypub: process Move activities and movedTo field on actors

Overall this looks good. There's only one thing that stands out as a possible bug to me.

amybones commented on pull request FoundKeyGang/FoundKey#309 2023-03-21 23:07:21 +00:00
activitypub: process Move activities and movedTo field on actors

Something that might be worth refactoring in this PR but is otherwise fine: The CSS class text is used several times with a local override of opacity: 0.6 it might be worth factoring out a dedicated CSS class for this like dim-notification-text or even just a class that only applies the opacity. IIRC this will help a bit with rendering performance.

amybones commented on pull request FoundKeyGang/FoundKey#309 2023-03-21 23:07:21 +00:00
activitypub: process Move activities and movedTo field on actors

I understand having a warning in the log, but I'm not totally convinced that deleting the movedTo information makes sense to me?

amybones commented on pull request FoundKeyGang/FoundKey#309 2023-03-21 20:47:23 +00:00
activitypub: process Move activities and movedTo field on actors

Nobody has reviewed this pull request yet and I feel unable to review my own code.

I've been getting familiar with the code and would be open to doing a code review for you if that would help…

amybones commented on pull request FoundKeyGang/FoundKey#309 2023-03-21 20:30:04 +00:00
activitypub: process Move activities and movedTo field on actors

I'm curious what's blocking merging this with the big mastodon.lol shutdown foundkey not processing these is kinda screwing up my experience 😔

amybones pushed to fix-instance-info-blocking at amybones/FoundKey 2023-02-03 00:27:16 +00:00
f46be696b8 fix: load admin/meta in instance-info so blocking/silencing works
17324e1e94 server: add unique constraint for registry items
8b98c9f2f4 server: remove unused 'domain' column
be30e70344 server: add more OpenGraph data, remove custom misskey meta tags
39fb7e5946 server: improve OpenGraph data for note attachments
Compare 7 commits »
amybones pushed to main at amybones/FoundKey 2023-02-03 00:26:51 +00:00
17324e1e94 server: add unique constraint for registry items
8b98c9f2f4 server: remove unused 'domain' column
be30e70344 server: add more OpenGraph data, remove custom misskey meta tags
39fb7e5946 server: improve OpenGraph data for note attachments
75b14124f2 server: improve variable naming
Compare 6 commits »
amybones created branch spooky/main in amybones/FoundKey 2023-02-03 00:26:51 +00:00
amybones pushed to spooky/main at amybones/FoundKey 2023-02-03 00:26:51 +00:00
f46be696b8 fix: load admin/meta in instance-info so blocking/silencing works
amybones pushed to main at amybones/FoundKey 2023-01-31 00:40:17 +00:00
953de3e4b2 adjust mailmap
2d32bc33d7 server: fix error for invalid URLs in profile fields
bb3ec8bafe Revert "server: fix user deletion race condition"
6fd80816fa client: remove unused property from MFM component
cc83cbe523 server: fix user deletion race condition
Compare 25 commits »
amybones created branch fix-instance-info-blocking in amybones/FoundKey 2023-01-31 00:37:42 +00:00
amybones pushed to fix-instance-info-blocking at amybones/FoundKey 2023-01-31 00:37:42 +00:00
dc63c14c69 fix: load admin/meta in instance-info so blocking/silencing works
953de3e4b2 adjust mailmap
2d32bc33d7 server: fix error for invalid URLs in profile fields
bb3ec8bafe Revert "server: fix user deletion race condition"
6fd80816fa client: remove unused property from MFM component
Compare 10 commits »
amybones created repository amybones/FoundKey 2023-01-21 09:49:43 +00:00