Version 5.1 - All the GraphQL #32

Closed
timw4mail wants to merge 1160 commits from develop into master
7 changed files with 26 additions and 39 deletions
Showing only changes of commit 3098fef20c - Show all commits

View File

@ -31,6 +31,13 @@ return array_merge($tomlConfig, [
'base_config_dir' => __DIR__, 'base_config_dir' => __DIR__,
'config_dir' => "{$APP_DIR}/config", 'config_dir' => "{$APP_DIR}/config",
// Routing defaults
'asset_path' => '/public',
'default_list' => 'anime',
'default_anime_list_path' => 'watching', // watching|plan_to_watch|on_hold|dropped|completed|all
'default_manga_list_path' => 'reading', // reading|plan_to_read|on_hold|dropped|completed|all
'default_view_type' => 'cover_view', // cover_view|list_view
// Template file path // Template file path
'view_path' => "{$APP_DIR}/views", 'view_path' => "{$APP_DIR}/views",

View File

@ -1,19 +0,0 @@
################################################################################
# Route config
#
# Default views and paths
################################################################################
# Path to public directory, where images/css/javascript are located,
# appended to the url
asset_path = "/public"
# Which list should be the default?
default_list = "anime" # anime or manga
# Default pages for anime/manga
default_anime_list_path = "watching" # watching|plan_to_watch|on_hold|dropped|completed|all
default_manga_list_path = "reading" # reading|plan_to_read|on_hold|dropped|completed|all
# Default view type (cover_view/list_view)
default_view_type = "cover_view"

View File

@ -2,7 +2,7 @@
# Cache Setup # # Cache Setup #
################################################################################ ################################################################################
# See https://git.timshomepage.net/timw4mail/banker for more information # See https://git.timshomepage.net/aviat/banker for more information
# Available drivers are apcu, memcache, memcached, redis or null # Available drivers are apcu, memcache, memcached, redis or null
# Null cache driver means no caching # Null cache driver means no caching

View File

@ -10,3 +10,21 @@ whose_list = "Tim"
# do you wish to show the anime collection? # do you wish to show the anime collection?
show_anime_collection = true show_anime_collection = true
# do you wish to show the manga collection?
show_manga_collection = false
################################################################################
# Default views and paths
################################################################################
# Path to public directory, where images/css/javascript are located,
# appended to the url
asset_path = "/public"
# Which list should be the default?
default_list = "anime" # anime or manga
# Default pages for anime/manga
default_anime_list_path = "watching" # watching|plan_to_watch|on_hold|dropped|completed|all
default_manga_list_path = "reading" # reading|plan_to_read|on_hold|dropped|completed|all

View File

@ -2,7 +2,6 @@
# Database Configuration # # Database Configuration #
################################################################################ ################################################################################
[collection]
type = "sqlite" type = "sqlite"
host = "" host = ""
user = "" user = ""

View File

@ -1,17 +0,0 @@
################################################################################
# Route config
#
# Default views and paths
################################################################################
# Path to public directory, where images/css/javascript are located,
# appended to the url
asset_path = "/public"
# Which list should be the default?
default_list = "anime" # anime or manga
# Default pages for anime/manga
default_anime_list_path = "watching" # watching|plan_to_watch|on_hold|dropped|completed|all
default_manga_list_path = "reading" # reading|plan_to_read|on_hold|dropped|completed|all

View File

@ -19,7 +19,6 @@ namespace Aviat\AnimeClient\Command;
use Aviat\AnimeClient\API\{ use Aviat\AnimeClient\API\{
FailedResponseException, FailedResponseException,
JsonAPI, JsonAPI,
Kitsu\Transformer\MangaListTransformer,
ParallelAPIRequest ParallelAPIRequest
}; };
use Aviat\AnimeClient\API\Anilist\Transformer\{ use Aviat\AnimeClient\API\Anilist\Transformer\{