-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Register custom ActivityPub transformer for the GatherPress Event post-type #615
base: develop
Are you sure you want to change the base?
Conversation
Wow! Supercool, you already started @Menrath. |
Some questions:
Still unclear: |
He @Menrath , it is really, really cool, you followed -somehow- my invitation and provided questions and solutions as well.
Shouldn't be much of a big deal to strip out some of the GatherPress blocks from the passed data.
I'm a huge fan of "decisions, not options", that's why I propose enabling this by default and providing a filter, not an option, to unset this default. And on the ActivityPub plugin side of things, aren't the transformers listed there either?
What are docs, specs or repos you're studying? I'd like to jump in a little deeper and could maybe help doing this studies? Best regards |
Hello @Menrath , I was thinking about setting up a WordPress Playground with all the necessary pieces to being able to test the full stack using https://browser.pub/ What do you think, could this work? |
I want to make a correction on the answer, I gave before. Now, after contributing a while to GatherPress and getting to know the inner workings better, I suggested in #688, the plugin should wrap all functionality in
… using a post_type_support on the (recently renamed) |
I also stumbled upon https://browser.pub recently. Not sure yet if we will be able to use it for automated tests anytime soon. I don't test anything online at the moment. I have my local docker-setup with self-signed certs that do the trick. This issues I saved for later... I made some findings: automatically enabling ActivityPub for a certain (new) post type should be handled with care. It changes the nature content spreads, and at least I met some who would find that not O.K. And GatherPress already has some great admin notification classes (I got inspired by those for my own projects). I would be a pleasure to implement a notification about that. This PR currently only targets the publishing side of ActivityPub. This is also fine for now, but maybe for future work: How is the join-logic implemented in GatherPress. Is it dynamic enough, like there is a "join-by-account", "join-by-mail (anonymous), where each of those implements a same interface or abstract. Because then adding a further option "join-by-ActivityPub" would be also possible. |
Thank you so much André @Menrath and sorry I had missed your reply here. I talked about ActivityPub with Matthias @pfefferle when we met last week at WordCamp Karlsruhe and we talked about the progress of that. As you mention, "enabling ActivityPub for a certain (new) post type should be handled with care". I agree and we activated the event post type in the ActivityPub settings on our gatherpress.org site (@[email protected]) and yes the events appear on the Fediverse, but as if they were posts, not events (obviously). It would be great if they were discovered with the event format and federated on Mobilizon-type (and how it's related to the Event Federation plugin) I certainely lack knowledge and I trust you all for the development side of things :D |
@patriciabt Hey! No problem! Thanks for coming back to this topic! I'll reverted this PR back to draft, because I already made quite some improvements within the ActivityPub Event Bridge WordPress plugin regarding its GatherPress support. I want to include those in this PR later but did not find the time yet. Nevertheless the code from this project could easily be re-used here. If you would like to you could also try it out and give some feedback, I'd by happy to hear about it. Improvements:
Automatic enabling of ActivityPub support for event post type: Handle joins: |
Description of the Change
This draft pull request drafts proper ActivityPub support for the GatherPress events.
Closes #569
How to test the Change
TODO
Changelog Entry
Credits
@Menrath
Checklist: