Wykres commitów

7 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 bdc44ac59c Don't always crash generating payloads if Django is installed but not configured 2020-02-22 01:32:19 +02: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 16e1b69061 Create top level Django url config and utilities 2018-08-11 23:41:15 +03:00