d01f44ee99
Make common_sql_weight employ standard SQL functions for the timestamp difference in seconds. Also replace UTC_TIMESTAMP in the MariaDB-specific part with CURRENT_TIMESTAMP as it is the only occurence and GNU social sets UTC as a default timezone. In a delete_orphan_files.php script simplify the main query considerably. In clean_profiles.php stop using COUNT as if it is ANY, that is unnecessary punishment for the database. Instead implement the anti-join with a left outer join. In Autocomplete and Activitypub_profile use joins instead of a WHERE OR anti-pattern for the semi-joins. In lib/ui/galleryaction.php replace a CROSS JOIN with an INNER JOIN. In actions/sup.php remove a redundant subquery: WHERE is applied before grouping either way. |
||
---|---|---|
.. | ||
actions | ||
classes | ||
doc | ||
lib | ||
locale | ||
scripts | ||
tests | ||
ActivityPubPlugin.php | ||
CONTRIBUTING.md | ||
COPYING | ||
phpunit.xml | ||
README.md |
ActivityPub plugin for GNU social
(c) 2018-2019 Free Software Foundation, Inc
This is the README file for GNU social's ActivityPub plugin. It includes general information about the plugin.
About
This plugin adds ActivityPub support to GNU social.
Additional functionality
The RemoteFollow plugin is recommended as it increases the UX significatively, it adds a remote follow button to user profiles.
Credits
Special thanks
License
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, in the file "COPYING". If not, see http://www.gnu.org/licenses/.
IMPORTANT NOTE: The GNU Affero General Public License (AGPL) has
*different requirements* from the "regular" GPL. In particular, if
you make modifications to the plugin source code on your server,
you *MUST MAKE AVAILABLE* the modified version of the source code
to your users under the same license. This is a legal requirement
of using the software, and if you do not wish to share your
modifications, *YOU MAY NOT USE THIS PLUGIN*.