salmonaction.php | |
SalmonAction | Superclass handler for receiving salmon messages |
SalmonAction | Superclass for handling incoming salmon messages |
prepare | Performs a variety of pre-processing integrity checks |
handle | Check the posted activity type and break out to appropriate processing. |
isInstanceBlocked | Returns true if the sending instance is blocked by this one |
handlePost | Placeholder handler for a handler to inherit post handling |
handleFollow | Placeholder handler for a handler to inherit follow handling |
handleUnfollow | Placeholder handler for a handler to inherit unfollow handling |
handleShare | Placeholder handler for a handler to inherit repost handling |
handleJoin | Placeholder handler for a handler to inherit group joining handling |
handleLeave | Placeholder handler for a handler to inherit group leaving handling |
handleTag | Placeholder handler for a handler to inherit hashtagging handling |
handleUntag | Placeholder handler for a handler to inherit un-hashtagging handling |
handleUpdateProfile | Remote user sent us an update to their profile. |
ensureProfiles | Make sure we have a profile for the originating actor |
saveNotice | Saves a notice received by aslmon |
Superclass handler for receiving salmon messages
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/.
https://www.gnu.org/licenses/agpl.html
Superclass handler for receiving salmon messages
Tested with PHP 7
Superclass for handling incoming salmon messages
prepare | Performs a variety of pre-processing integrity checks |
handle | Check the posted activity type and break out to appropriate processing. |
isInstanceBlocked | Returns true if the sending instance is blocked by this one |
handlePost | Placeholder handler for a handler to inherit post handling |
handleFollow | Placeholder handler for a handler to inherit follow handling |
handleUnfollow | Placeholder handler for a handler to inherit unfollow handling |
handleShare | Placeholder handler for a handler to inherit repost handling |
handleJoin | Placeholder handler for a handler to inherit group joining handling |
handleLeave | Placeholder handler for a handler to inherit group leaving handling |
handleTag | Placeholder handler for a handler to inherit hashtagging handling |
handleUntag | Placeholder handler for a handler to inherit un-hashtagging handling |
handleUpdateProfile | Remote user sent us an update to their profile. |
ensureProfiles | Make sure we have a profile for the originating actor |
saveNotice | Saves a notice received by aslmon |
Performs a variety of pre-processing integrity checks
protected function prepare( array $args = array() )
Check the posted activity type and break out to appropriate processing.
protected function handle()
Returns true if the sending instance is blocked by this one
protected function isInstanceBlocked()
Placeholder handler for a handler to inherit post handling
function handlePost()
Placeholder handler for a handler to inherit follow handling
function handleFollow()
Placeholder handler for a handler to inherit unfollow handling
function handleUnfollow()
Placeholder handler for a handler to inherit repost handling
function handleShare()
Placeholder handler for a handler to inherit group joining handling
function handleJoin()
Placeholder handler for a handler to inherit group leaving handling
function handleLeave()
Placeholder handler for a handler to inherit hashtagging handling
function handleTag()
Placeholder handler for a handler to inherit un-hashtagging handling
function handleUntag()
Remote user sent us an update to their profile.
function handleUpdateProfile()
Make sure we have a profile for the originating actor
function ensureProfiles()
Saves a notice received by aslmon
function saveNotice()