gnu-social/plugins/ActivityPub
tenma 83f179989e [AP] Handle unlisted/followers-only notices
Note that this commit isn't intended to add support for sending such notes
in GS. Instead, we handle the reception, storage and direct reply to this
type of notices, in AP.

ActivityPubPlugin:
- Subscribe the event StartNoticeSave to hack answering non-public notes

Activitypub_create:
- Add 'directMessage' attribute to the Create activity, defaulting to false for now
- Update validation method: validate 'directMessage' and add debug

Activitypub_notice:
- Handle incoming unlisted/followers-only notes
- Add support for unlisted-replies
- Add method to verify private (direct) notices

inbox_handler:
- Add handler for CREATE Note
- Prepare logic for private-messaging
- Overall refactor: Class members were continuously being passed as function arguments without need

SharePlugin:
- Stop showing the announce button in non public posts
2021-07-16 19:44:34 +01:00
..
actions [ActivityPub] Caching of Following/Followers interactions and collections 2021-07-16 19:44:33 +01:00
classes [ActivityPub] Move models from 'classes' to 'lib/models' 2021-07-16 19:44:33 +01:00
doc [CORE] Add ActivityPub plugin 2021-07-16 19:44:33 +01:00
lib [AP] Handle unlisted/followers-only notices 2021-07-16 19:44:34 +01:00
locale [CORE] Add ActivityPub plugin 2021-07-16 19:44:33 +01:00
scripts [CORE] Add ActivityPub plugin 2021-07-16 19:44:33 +01:00
tests [CORE] Add ActivityPub plugin 2021-07-16 19:44:33 +01:00
ActivityPubPlugin.php [AP] Handle unlisted/followers-only notices 2021-07-16 19:44:34 +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 [CORE] Add ActivityPub plugin 2021-07-16 19:44:33 +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.

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