Wykres commitów

8 Commity (58c8f95e5410e2c36df092b4432dc4f7c5f67edb)

Autor SHA1 Wiadomość Data
Alain St-Denis 58c8f95e54 Add audio and video media objects and much more. 2022-08-19 17:01:44 +00:00
Jason Robinson 01dac38921 Add configuration for Matrix appservice registration file
Includes a function to print it out in YAML.

Currently requires Django configured.
2020-12-21 23:09:29 +02:00
Jason Robinson e39896b958 Forgot to ensure ActivityPub support is always on. Release 0.18.1. 2019-10-06 15:03:52 +03:00
Jason Robinson 7dad9c8109 Add tags found on raw_content when sending ActivityPub entities
Tags are added as "type: Hashtag" objects into the payload object.

Refs: https://git.feneas.org/socialhome/socialhome/issues/522
2019-09-03 22:51:41 +03:00
Jason Robinson 353ae9ff9d Add Accept entity and ActivityPub follow auto-Accept flow
When receiving an ActivityPub Follow, send back an Accept activity
automatically. Due to application hook needed to fetch sending
user private key (for signing), this is only available if Django
is installed since currently application hooks exist only for
Django configuration.

Django applications should include a new configuration item
"get_private_key_function" which points to a function which takes
a user identifier (fid, handle or guid) and returns a private key
in RSA object format.
2019-03-17 03:17:10 +02:00
Jason Robinson e099d993a8 Disable ActivityPub limited features by default when on Django
Allow enabling by setting the FEDERATION "activitypub" key to True.
This is done to not break compatibility for new users for
platforms which prefer activitypub.
2019-01-29 21:42:57 +02:00
Jason Robinson c3f59e832e Change activitypub_object_view get_object_function call signature
Pass now full request object instead of the object ID. This allows
the app to check permissions for the object.
2018-10-10 22:43:17 +03:00
Jason Robinson 251f558428 Move test settings and utils for Django to tests root
Fix first AS2 view decorator test.
2018-09-29 12:12:34 +03:00