+1
-1
README.md
+1
-1
README.md
···
+50
css/_partials/_feed.scss
+50
css/_partials/_feed.scss
···
+33
css/_partials/_post.scss
+33
css/_partials/_post.scss
·········
+27
-19
lib/bskyToucher.php
+27
-19
lib/bskyToucher.php
···+function getSlingshotData(string $repo, string $collection, string $rkey, bool $reverse = false): object|bool {···$ret = $this->makeRequest("GET", $this->slingshotBase."com.bad-example.identity.resolveMiniDoc", [···-function getConstellationLinkData($target, $collection, $path, $limit = 50, $offset = 0, $endpoint = ''):object|bool {+function getConstellationLinkData(string $target, string $collection, string $path, int $limit = 50, int $offset = 0, string $endpoint = ''): object|bool {···-\updatePostCache($post->postId, $post->did, $post->content, $post->embedType, json_encode($post->embeds));+\updatePostCache($post->postId, $post->author->did, $post->content, $post->embedType, json_encode($post->embeds));···-$ret = $this->getConstellationLinkData($post, "app.bsky.feed.like", ".subject.uri", 50, "/distinct-dids");+$ret = $this->getConstellationLinkData($post, "app.bsky.feed.like", ".subject.uri", 50, 0, "/distinct-dids");···-$ret = $this->getConstellationLinkData($post, "app.bsky.feed.repost", ".subject.uri", 50, "/distinct-dids");+$ret = $this->getConstellationLinkData($post, "app.bsky.feed.repost", ".subject.uri", 50, 0, "/distinct-dids");·········$feedData = $this->getSlingshotData($uriComponents->did, $uriComponents->collection, $uriComponents->rkey);-\updateFeedCache($atUri, $feedData->value->displayName, $feedData->value->description, $feedData->value->avatar->ref->{'$link'}, $uriComponents->did);+\updateFeedCache($atUri, $feedData->value->displayName, $feedData->value->description, $this->getMediaUrl($authorInfo->pds, $uriComponents->did, $feedData->value->avatar->ref->{'$link'}), $uriComponents->did);···-'thumb' => $this->getMediaUrl($authorData->pds, $authorData->did, $embeds->external->thumb->ref->{'$link'})+'thumb' => property_exists($embeds->external, 'thumb') ? $this->getMediaUrl($authorData->pds, $authorData->did, $embeds->external->thumb->ref->{'$link'}) : null
+1
-1
templates/_partials/embed_link.latte
+1
-1
templates/_partials/embed_link.latte
···
+8
-5
templates/_partials/embed_record.latte
+8
-5
templates/_partials/embed_record.latte
···-<a href="{$embed->profileLink}"><img src="{$embed->avatar}" alt="{$embed->displayName}'s user icon" /></a>+<a href="{$embed->post->author->profileLink}"><img src="{$embed->post->author->avatar}" alt="{$embed->post->author->displayName}'s user icon" /></a>+<div class="displayName"><a href="{$embed->post->author->profileLink}">{$embed->post->author->displayName}</a></div>+<div class="handle"><a href="{$embed->post->author->profileLink}">{$embed->post->author->handle}</a></div>