Queue handler for exporting (federating) Activities
the micro-blogging software
Copyright © 2016-2017, Maiyannah Bishop
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see http://www.gnu.org/licenses/.
An activity verb in class form, and the related scaffolding.
This file also now consolidates the ActivityContext, ActivityImporter, ActivityMover, ActivitySink, and ActivitySource classes, formerly at /lib/<class>.php
ActivityObject is a noun in the activity universe basically, from the original file: A noun-ish thing in the activity universe
The activity streams spec talks about activity objects, while also having a tag activity:object, which is in fact an activity object. Aaaaaah!
This is just a thing in the activity universe. Can be the subject, object, or indirect object (target!) of an activity verb. Rotten name, and I’m propagating it. sigh It’s large enough that I’ve left it seperate in activityobject.php
Tested with PHP 7
function handle( $data )
function moveActivity( $act, $sink, $user, $remote )
Log some data
protected function log( $level, $message )