mirror of https://gitlab.com/bashrc2/epicyon
Construction of absolute actor path
parent
cfbe453b06
commit
d10a87eaf7
32
daemon.py
32
daemon.py
|
@ -9864,7 +9864,9 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
minimize_all_images, None,
|
minimize_all_images, None,
|
||||||
self.server.buy_sites)
|
self.server.buy_sites)
|
||||||
|
|
||||||
actor_absolute = self._get_instance_url(calling_domain) + actor
|
actor_absolute = \
|
||||||
|
self._get_instance_url(calling_domain) + \
|
||||||
|
'/users/' + self.post_to_nickname
|
||||||
|
|
||||||
actor_path_str = \
|
actor_path_str = \
|
||||||
actor_absolute + '/' + timeline_str + '?page=' + \
|
actor_absolute + '/' + timeline_str + '?page=' + \
|
||||||
|
@ -9990,7 +9992,9 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
self.post_to_nickname,
|
self.post_to_nickname,
|
||||||
curr_session, proxy_type)
|
curr_session, proxy_type)
|
||||||
|
|
||||||
actor_absolute = self._get_instance_url(calling_domain) + actor
|
actor_absolute = \
|
||||||
|
self._get_instance_url(calling_domain) + \
|
||||||
|
'/users/' + self.post_to_nickname
|
||||||
|
|
||||||
actor_path_str = \
|
actor_path_str = \
|
||||||
actor_absolute + '/' + timeline_str + '?page=' + \
|
actor_absolute + '/' + timeline_str + '?page=' + \
|
||||||
|
@ -10443,7 +10447,9 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
print('WARN: unable to locate file for liked post ' +
|
print('WARN: unable to locate file for liked post ' +
|
||||||
like_url)
|
like_url)
|
||||||
|
|
||||||
actor_absolute = self._get_instance_url(calling_domain) + actor
|
actor_absolute = \
|
||||||
|
self._get_instance_url(calling_domain) + \
|
||||||
|
'/users/' + self.post_to_nickname
|
||||||
|
|
||||||
actor_path_str = \
|
actor_path_str = \
|
||||||
actor_absolute + '/' + timeline_str + \
|
actor_absolute + '/' + timeline_str + \
|
||||||
|
@ -10644,7 +10650,9 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
# clear the icon from the cache so that it gets updated
|
# clear the icon from the cache so that it gets updated
|
||||||
if self.server.iconsCache.get('like_inactive.png'):
|
if self.server.iconsCache.get('like_inactive.png'):
|
||||||
del self.server.iconsCache['like_inactive.png']
|
del self.server.iconsCache['like_inactive.png']
|
||||||
actor_absolute = self._get_instance_url(calling_domain) + actor
|
actor_absolute = \
|
||||||
|
self._get_instance_url(calling_domain) + \
|
||||||
|
'/users/' + self.post_to_nickname
|
||||||
|
|
||||||
actor_path_str = \
|
actor_path_str = \
|
||||||
actor_absolute + '/' + timeline_str + \
|
actor_absolute + '/' + timeline_str + \
|
||||||
|
@ -10880,7 +10888,9 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
print('WARN: unable to locate file for emoji reaction post ' +
|
print('WARN: unable to locate file for emoji reaction post ' +
|
||||||
reaction_url)
|
reaction_url)
|
||||||
|
|
||||||
actor_absolute = self._get_instance_url(calling_domain) + actor
|
actor_absolute = \
|
||||||
|
self._get_instance_url(calling_domain) + \
|
||||||
|
'/users/' + self.post_to_nickname
|
||||||
|
|
||||||
actor_path_str = \
|
actor_path_str = \
|
||||||
actor_absolute + '/' + timeline_str + \
|
actor_absolute + '/' + timeline_str + \
|
||||||
|
@ -11101,7 +11111,9 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
print('WARN: Unreaction post not found: ' +
|
print('WARN: Unreaction post not found: ' +
|
||||||
reaction_post_filename)
|
reaction_post_filename)
|
||||||
|
|
||||||
actor_absolute = self._get_instance_url(calling_domain) + actor
|
actor_absolute = \
|
||||||
|
self._get_instance_url(calling_domain) + \
|
||||||
|
'/users/' + self.post_to_nickname
|
||||||
|
|
||||||
actor_path_str = \
|
actor_path_str = \
|
||||||
actor_absolute + '/' + timeline_str + \
|
actor_absolute + '/' + timeline_str + \
|
||||||
|
@ -11372,7 +11384,9 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
# self._post_to_outbox(bookmark_json,
|
# self._post_to_outbox(bookmark_json,
|
||||||
# self.server.project_version, None,
|
# self.server.project_version, None,
|
||||||
# curr_session, proxy_type)
|
# curr_session, proxy_type)
|
||||||
actor_absolute = self._get_instance_url(calling_domain) + actor
|
actor_absolute = \
|
||||||
|
self._get_instance_url(calling_domain) + \
|
||||||
|
'/users/' + self.post_to_nickname
|
||||||
|
|
||||||
actor_path_str = \
|
actor_path_str = \
|
||||||
actor_absolute + '/' + timeline_str + \
|
actor_absolute + '/' + timeline_str + \
|
||||||
|
@ -11539,7 +11553,9 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
else:
|
else:
|
||||||
print('WARN: Unbookmarked post not found: ' +
|
print('WARN: Unbookmarked post not found: ' +
|
||||||
bookmark_filename)
|
bookmark_filename)
|
||||||
actor_absolute = self._get_instance_url(calling_domain) + actor
|
actor_absolute = \
|
||||||
|
self._get_instance_url(calling_domain) + \
|
||||||
|
'/users/' + self.post_to_nickname
|
||||||
|
|
||||||
actor_path_str = \
|
actor_path_str = \
|
||||||
actor_absolute + '/' + timeline_str + \
|
actor_absolute + '/' + timeline_str + \
|
||||||
|
|
Loading…
Reference in New Issue