Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@TomCasavant
Copy link
Contributor

@TomCasavant TomCasavant commented Nov 8, 2024

Closes #191

  • Fixed express.json to handle application/ld+json as well
  • Set headers for AP endpoints to use Content-Type application/activity+json
  • Fixed issue with Follow Message guid in AP objects (we were returning the internal guid rather than the URL path to the AP object)
  • When fetching users/user inboxes we were appending '.json' to the URL, changed it so we specify the content type of the request (because many AP servers do not accept the '.json')
  • Modified webfinger endpoint

Edit:
View of user profile from bluesky which previously couldn't be bridged:
image

View of bluesky follower which previously would be ignored:
image

@TomCasavant
Copy link
Contributor Author

Also probably fixes #124 and #185 (I have tested none of the mentioned AP servers in either of those issue) and addresses some of the concerns in #197

@ckolderup
Copy link
Owner

thanks Tom! I'll be home for like three days the middle of next week between back-to-back trips and will try to give this a look during that time.

@kvibber
Copy link

kvibber commented Dec 24, 2024

FYI, I pulled this branch into my server's copy of the code, and now I'm able to federate both ways with GoToSocial, Snac, and Bridgy Fed (including full federation with Bluesky across the bridge), none of which worked before. (Also Akkoma, but I don't remember if that one worked before.)

Correction: It mostly works. With Postmarks following a GoToSocial user, the GTS user's posts show up as by @undefined@gts-server-name on the Network page. But it is following, and comments by GTS users display correctly on individual bookmark pages.

@stefanhayden
Copy link
Contributor

this also fixed the issue I was having here #201

@jze
Copy link
Contributor

jze commented May 3, 2025

It would be really nice if this pull request was accepted. Without it, it doesn't seem to be possible to follow the account from Fediverse (at least not Mastodon and Friendica).

@andypiper
Copy link
Collaborator

@ckolderup any plans to revisit the open PRs here / can any of us help with maintenance?

@ckolderup
Copy link
Owner

Hey-- things have been rough lately, but I know I'm overdue here. I'll try to carve out some time today or tomorrow to take a look at this and the handful of other open PRs. Thanks everyone for the nudge.

Copy link
Owner

@ckolderup ckolderup left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this looks fine to me! I also tested it out myself using a Glitch instance to double-check and following & receiving new posts all worked smoothly for me on a mastodon.social test account. Thanks Tom and apologies to everyone for the delay!

@ckolderup ckolderup merged commit d2cfe21 into ckolderup:main May 6, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unable to follow @[email protected] user

6 participants