gnu-social/plugins/ActivityPub
Alexei Sorokin d01f44ee99 [DATABASE] Some query improvements
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.
2021-07-16 19:44:36 +01:00
..
actions [ActivityPub] Properly handle Actor URIs by using events correctly 2021-07-16 19:44:36 +01:00
classes [DATABASE] Some query improvements 2021-07-16 19:44:36 +01:00
doc [CORE] Add ActivityPub plugin 2021-07-16 19:44:33 +01:00
lib [ActivityPub] Add TheFreeNetwork module's support in handling profile insertion 2021-07-16 19:44:36 +01:00
locale [CORE] Add ActivityPub plugin 2021-07-16 19:44:33 +01:00
scripts [SCRIPTS] Set PUBLICDIR in plugin scripts as well 2021-07-16 19:44:35 +01:00
tests [ActivityPub] Fix some bugs with onStartNoticeSearch 2021-07-16 19:44:35 +01:00
ActivityPubPlugin.php [ActivityPub] Remove TFN's deprecated Census event 2021-07-16 19:44:36 +01:00
CONTRIBUTING.md [CORE] Add ActivityPub plugin 2021-07-16 19:44:33 +01:00
COPYING [CORE] Add ActivityPub plugin 2021-07-16 19:44:33 +01:00
phpunit.xml [CORE] Add ActivityPub plugin 2021-07-16 19:44:33 +01:00
README.md [AP] Subscribe RemoteFollow plugin events for allowing following with the remote-follow button 2021-07-16 19:44:34 +01:00

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*.