+2
css/_partials/_post.scss
+2
css/_partials/_post.scss
+1
css/main.scss
+1
css/main.scss
+33
css/themes/seoul.scss
+33
css/themes/seoul.scss
···
+4
-4
css/themes/tempus.scss
+4
-4
css/themes/tempus.scss
······
+15
-9
index.php
+15
-9
index.php
·········$latte->render('./templates/_partials/feedPosts.latte', array_merge(Flight::get('standardParams'), [if (!array_key_exists('feed', $_GET)) Flight::json(["error" => "missing feed uri in query"]);-if (!preg_match('/^at:\/\/(did:plc:[a-z0-9]+)\/app.bsky.feed.generator\/([a-z0-9]+)$/', $_GET['feed'], $_out)) Flight::json(["error" => "malformed at-uri representing feed"]);+if (!preg_match('/^at:\/\/(did:plc:[a-z0-9]+)\/app.bsky.feed.generator\/([a-z0-9]+)$/', $_GET['feed'], $_out)) Flight::json(["error" => "malformed at-uri representing feed", "feed" => $_GET['feed']]);-/*$latte->render('./templates/_partials/feedPosts.latte', array_merge(Flight::get('standardParams'), [+$latte->render('./templates/_partials/feedPosts.latte', array_merge(Flight::get('standardParams'), [
+28
-17
js/feed.mjs
+28
-17
js/feed.mjs
···+if (document.querySelector('main').classList.contains('feed') && document.querySelectorAll('.postsList > .post').length > 0) {
+1
js/main.mjs
+1
js/main.mjs
+19
js/refresh.mjs
+19
js/refresh.mjs
···
+19
-17
js/userposts.mjs
+19
-17
js/userposts.mjs
···if (document.querySelector('main').classList.contains("profile") && document.querySelectorAll('.postsList > .post').length > 0) {
+54
-21
lib/bskyToucher.php
+54
-21
lib/bskyToucher.php
···-function makeRequest(string $method, string $uri, array $opts = [], float $timeout = 5.0, int $maxRetries = 5): ResponseInterface {+function makeRequest(string $method, string $uri, array $opts = [], float $timeout = 5.0, int $maxRetries = 5): ResponseInterface|Exception {···-function getSlingshotData(string $repo, string $collection, string $rkey, bool $reverse = false): object|bool {+function getSlingshotData(string $repo, string $collection, ?string $rkey = 'self', ?array $params = []): object|bool {···+function getFeedSkeleton(string $didweb, string $atUri, ?string $offset = null): object|bool {+preg_match('/at:\/\/(did:plc:[a-z0-9]+)\/app.bsky.feed.post\/([a-z0-9]+)/', $feed->post, $uriComponents);···+$slingshotRecord = $this->getSlingshotData($rec->did, $rec->collection, $rec->rkey, ['reverse' => true]);-function getUserPosts(string $did, $auth = false, $cursor = null, $newer = false):array|bool {+function getUserPosts(string $did, ?string $cursor = null, bool $auth = false, bool $newer = false): array|bool {···-function getFeed(string $atUri, ?string $cursor = null, ?string $userAuth = null, ?bool $newer = false, int $limit = 15):array|bool {+function getFeed(string $atUri, ?string $cursor = null, ?string $userAuth = null, ?bool $newer = false, int $limit = 15):object|bool {+preg_match('/^at:\/\/(did:plc:[a-z0-9\.]+)\/app.bsky.feed.generator\/([a-z0-9]+)$/', $atUri, $uriComponents);······+'content' => property_exists($post->value, 'text') ? $this->applyFacets($post->value->text, $facets) : '',
+3
-1
templates/feed.latte
+3
-1
templates/feed.latte
···{include '_partials/feedHeader.latte', displayName: $feedName, description: $feedDescription, avatar: $feedAvatar, creatorDisplay: $feedAuthorName, creatorHandle: $feedAuthorHandle, creatorPds: $feedAuthorPds, creatorDid: $feedAuthorDid, feedAtUri: $feedAtUri}