Version 5.1 - All the GraphQL #32
@ -1,5 +1,9 @@
|
|||||||
# Changelog
|
# 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
|
## Version 5
|
||||||
* Updated PHP requirement to 7.4
|
* Updated PHP requirement to 7.4
|
||||||
* Added anime watching history view
|
* Added anime watching history view
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
</head>
|
</head>
|
||||||
<body class="<?= $escape->attr($url_type) ?> list">
|
<body class="<?= $escape->attr($url_type) ?> list">
|
||||||
<?php include 'setup-check.php' ?>
|
<?php include 'setup-check.php' ?>
|
||||||
<header tabindex="0">
|
<header>
|
||||||
<?php
|
<?php
|
||||||
include 'main-menu.php';
|
include 'main-menu.php';
|
||||||
if(isset($message) && is_array($message))
|
if(isset($message) && is_array($message))
|
||||||
|
@ -55,7 +55,7 @@ use Aviat\AnimeClient\API\Kitsu;
|
|||||||
$character = $component->character(
|
$character = $component->character(
|
||||||
$item['character']['canonicalName'],
|
$item['character']['canonicalName'],
|
||||||
$url->generate('character', ['slug' => $item['character']['slug']]),
|
$url->generate('character', ['slug' => $item['character']['slug']]),
|
||||||
$helper->picture(getLocalImg($item['character']['image']['original']))
|
$helper->picture(getLocalImg($item['character']['image']['original'] ?? null))
|
||||||
);
|
);
|
||||||
$medias = [];
|
$medias = [];
|
||||||
foreach ($item['media'] as $sid => $series)
|
foreach ($item['media'] as $sid => $series)
|
||||||
|
@ -119,7 +119,7 @@ final class Kitsu {
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
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);
|
array_shift($valid);
|
||||||
|
|
||||||
return $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);
|
array_shift($valid);
|
||||||
|
|
||||||
return $valid;
|
return $valid;
|
||||||
|
Loading…
Reference in New Issue
Block a user