Version 5.1 - All the GraphQL #32

Closed
timw4mail wants to merge 1160 commits from develop into master
5 changed files with 9 additions and 5 deletions
Showing only changes of commit 69991a126a - Show all commits

View File

@ -1,5 +1,9 @@
# Changelog
## Version 5.1
* Added session check, so when coming back to a page, if the session is expired, the page will refresh.
* Updated logging config so that much fewer, much smaller files are generated.
## Version 5
* Updated PHP requirement to 7.4
* Added anime watching history view

View File

@ -26,7 +26,7 @@
</head>
<body class="<?= $escape->attr($url_type) ?> list">
<?php include 'setup-check.php' ?>
<header tabindex="0">
<header>
<?php
include 'main-menu.php';
if(isset($message) && is_array($message))

View File

@ -55,7 +55,7 @@ use Aviat\AnimeClient\API\Kitsu;
$character = $component->character(
$item['character']['canonicalName'],
$url->generate('character', ['slug' => $item['character']['slug']]),
$helper->picture(getLocalImg($item['character']['image']['original']))
$helper->picture(getLocalImg($item['character']['image']['original'] ?? null))
);
$medias = [];
foreach ($item['media'] as $sid => $series)

View File

@ -119,7 +119,7 @@ final class Kitsu {
break;
default:
continue 2;
// Do Nothing
}
}
@ -328,7 +328,7 @@ final class Kitsu {
}
}
// Don't return the canonical titles
// Don't return the canonical title
array_shift($valid);
return $valid;
@ -356,7 +356,7 @@ final class Kitsu {
}
}
// Don't return the canonical titles
// Don't return the canonical title
array_shift($valid);
return $valid;