Giter VIP home page Giter VIP logo

addon-for-activitypub's Issues

(Author) profile "templates"?

Not sure how far along the main plugin is in this respect, but maybe we could have a simple associative array for the "profile fields," for instance?

return array(
  'Blog' => 'https://jan.boddez.net',
  'Location' => '๐Ÿ‡ง๐Ÿ‡ช๐Ÿ‡ณ๐Ÿ‡ฑ',
); 

Implements likes

Like, not accept likes, but federate them, i.e., turn Like posts into ActivityPub Like activities with a (remote) URL as their object.

Oughta be very similar to reposts. Like, transform Create activity into Like ... and exclude from outbox etc. Deletion of a Like post should result in an Undo of the Like activity.

Improve avatar caching/updates

Stop using WordPress' subdir in

$dir .= '/' . trim( $upload_dir['subdir'], '/' );

And instead just use the first two or so characters of the hash.

Also, don't base the hash on the image URL (which may change when an actor updates their avatar) and instead base it off the actor URL (which should be unique). That should allow us to keep up with future updates (by simply overwriting any existing image, as the actor URL and thus hash should not change).

"Don't federate post" filter

There's a filter in the main plugin somewhere, but it doesn't prevent, e.g., Mastodon from GETting the post.

Requires some changes to the ActivityPub plugin, first. Unless it doesn't.

In general, the plugin needs "disabled" in three different places:

  • POST requests need stopped to disable "active" federation
  • "Content negotiation" (for GET requests) needs bypassed so as not to return JSON
  • "Local-only" posts need to be excluded from outboxes and "featured" collections

Implement "reply posts"

Look for a u-in-reply-to URL. If one is found, and it's a page on our very own site, set an inReplyTo property accordingly.

If it isn't, fetch the remote page in the background. If it supports ActivityPub, set an inReplyTo property accordingly.

In fact, the second approach should cover also pages on our own site, so maybe we should prioritize it.

Completely remove IndieBlocks dependency

Anything microformats will be using php-mf directly, rather than depend on IB translating.

Going to be more difficult for the image store/cache. Not sure I want all that code duplicated across multiple plugins.

Unless I could somehow extract it out into an actual PHP library (i.e., a Composer package). But that would also mean getting rid of all the WP functions.

Boosts don't seem to federate to all followers

Could be me, but while boosts lead to a notification on the server of the person whose toot got boosted, I don't see them appear on another server (where I have an account that follows the blog).

Not super important, but ...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.