Commit 48a28855 authored by jaywink's avatar jaywink

Bump federation to get support for shares over ActivityPub

parent 92da1f03
Pipeline #2110 passed with stages
in 15 minutes and 2 seconds
......@@ -5,7 +5,7 @@
# ./compile-requirements.sh
#
-e git+https://github.com/jaywink/django-markdownx.git@ae0d882891972a79334fde0af2a06b66714b101a#egg=django-markdownx==2.0.28.1
-e git+https://git.feneas.org/jaywink/federation.git@0489caf151d276f4dfade7b8af60792f611616a7#egg=federation==0.18.0-dev.1
-e git+https://git.feneas.org/jaywink/federation.git@25a1ae660cc7c45400487c2174e33f1941f7a36f#egg=federation==0.18.0-dev.1
-e git+https://github.com/jaywink/pyembed.git@6f8c1cc98d61ee3083e9803255e4b2cc90b5a0dd#egg=pyembed==1.3.3.1
-e git+https://github.com/rtfd/recommonmark.git@c410abb565a3c4ad4de0ce204ab2fa2db8031cf1#egg=recommonmark==0.4.0
alabaster==0.7.12 # via sphinx
......
......@@ -51,7 +51,7 @@ whoosh
# - GIF upload (upstream rejected)
-e git+https://github.com/jaywink/django-markdownx.git@ae0d882891972a79334fde0af2a06b66714b101a#egg=django-markdownx==2.0.28.1
-e git+https://git.feneas.org/jaywink/federation.git@0489caf151d276f4dfade7b8af60792f611616a7#egg=federation==0.18.0-dev.1
-e git+https://git.feneas.org/jaywink/federation.git@25a1ae660cc7c45400487c2174e33f1941f7a36f#egg=federation==0.18.0-dev.1
# Own pyembed fork for some tweaks:
# - passing additional options (TODO make PR)
......
......@@ -5,7 +5,7 @@
# ./compile-requirements.sh
#
-e git+https://github.com/jaywink/django-markdownx.git@ae0d882891972a79334fde0af2a06b66714b101a#egg=django-markdownx==2.0.28.1
-e git+https://git.feneas.org/jaywink/federation.git@0489caf151d276f4dfade7b8af60792f611616a7#egg=federation==0.18.0-dev.1
-e git+https://git.feneas.org/jaywink/federation.git@25a1ae660cc7c45400487c2174e33f1941f7a36f#egg=federation==0.18.0-dev.1
-e git+https://github.com/jaywink/pyembed.git@6f8c1cc98d61ee3083e9803255e4b2cc90b5a0dd#egg=pyembed==1.3.3.1
arrow==0.14.2
asgi-redis==1.4.3
......
......@@ -278,6 +278,10 @@ def process_entity_share(entity, profile):
target_content = Content.objects.fed(entity.target_id, share_of__isnull=True).get()
except Content.DoesNotExist:
# Try fetching. If found, process and then try again
logger.debug(
"process_entity_share - trying to fetch %s, %s, %s, %s, %s",
entity.target_id, entity.target_guid, entity.target_handle, entity.entity_type, sender_key_fetcher,
)
remote_target = retrieve_remote_content(
entity.target_id,
guid=entity.target_guid,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment