diff --git a/src/Bus/BusCommand.php b/src/Bus/BusCommand.php index b4a432b..0b77ef8 100644 --- a/src/Bus/BusCommand.php +++ b/src/Bus/BusCommand.php @@ -3,7 +3,7 @@ /* * This file is part of SeAT * - * Copyright (C) 2015, 2016, 2017, 2018 Leon Jacobs + * Copyright (C) 2015, 2016, 2017, 2018, 2019 Leon Jacobs * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/Bus/CharacterTokenShouldUpdate.php b/src/Bus/CharacterTokenShouldUpdate.php index c6b2509..9922f68 100644 --- a/src/Bus/CharacterTokenShouldUpdate.php +++ b/src/Bus/CharacterTokenShouldUpdate.php @@ -3,7 +3,7 @@ /* * This file is part of SeAT * - * Copyright (C) 2015, 2016, 2017, 2018 Leon Jacobs + * Copyright (C) 2015, 2016, 2017, 2018, 2019 Leon Jacobs * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/Bus/CorporationTokenShouldUpdate.php b/src/Bus/CorporationTokenShouldUpdate.php index ca47706..84ac333 100644 --- a/src/Bus/CorporationTokenShouldUpdate.php +++ b/src/Bus/CorporationTokenShouldUpdate.php @@ -3,7 +3,7 @@ /* * This file is part of SeAT * - * Copyright (C) 2015, 2016, 2017, 2018 Leon Jacobs + * Copyright (C) 2015, 2016, 2017, 2018, 2019 Leon Jacobs * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/Commands/Esi/Dispatch.php b/src/Commands/Esi/Dispatch.php index 82ba5aa..05f3c93 100644 --- a/src/Commands/Esi/Dispatch.php +++ b/src/Commands/Esi/Dispatch.php @@ -3,7 +3,7 @@ /* * This file is part of SeAT * - * Copyright (C) 2015, 2016, 2017, 2018 Leon Jacobs + * Copyright (C) 2015, 2016, 2017, 2018, 2019 Leon Jacobs * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/Commands/Esi/Ping.php b/src/Commands/Esi/Ping.php index 9558876..5397f66 100644 --- a/src/Commands/Esi/Ping.php +++ b/src/Commands/Esi/Ping.php @@ -3,7 +3,7 @@ /* * This file is part of SeAT * - * Copyright (C) 2015, 2016, 2017, 2018 Leon Jacobs + * Copyright (C) 2015, 2016, 2017, 2018, 2019 Leon Jacobs * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/Commands/Esi/Update/Characters.php b/src/Commands/Esi/Update/Characters.php index 77c94a8..f5f86bd 100644 --- a/src/Commands/Esi/Update/Characters.php +++ b/src/Commands/Esi/Update/Characters.php @@ -3,7 +3,7 @@ /* * This file is part of SeAT * - * Copyright (C) 2015, 2016, 2017, 2018 Leon Jacobs + * Copyright (C) 2015, 2016, 2017, 2018, 2019 Leon Jacobs * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/Commands/Esi/Update/Corporations.php b/src/Commands/Esi/Update/Corporations.php index 7f68def..9ae192d 100644 --- a/src/Commands/Esi/Update/Corporations.php +++ b/src/Commands/Esi/Update/Corporations.php @@ -3,7 +3,7 @@ /* * This file is part of SeAT * - * Copyright (C) 2015, 2016, 2017, 2018 Leon Jacobs + * Copyright (C) 2015, 2016, 2017, 2018, 2019 Leon Jacobs * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/Commands/Esi/Update/EsiStatus.php b/src/Commands/Esi/Update/EsiStatus.php index a3d00f8..1a84984 100644 --- a/src/Commands/Esi/Update/EsiStatus.php +++ b/src/Commands/Esi/Update/EsiStatus.php @@ -3,7 +3,7 @@ /* * This file is part of SeAT * - * Copyright (C) 2015, 2016, 2017, 2018 Leon Jacobs + * Copyright (C) 2015, 2016, 2017, 2018, 2019 Leon Jacobs * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/Commands/Esi/Update/PublicInfo.php b/src/Commands/Esi/Update/PublicInfo.php index c14f540..87f9823 100644 --- a/src/Commands/Esi/Update/PublicInfo.php +++ b/src/Commands/Esi/Update/PublicInfo.php @@ -3,7 +3,7 @@ /* * This file is part of SeAT * - * Copyright (C) 2015, 2016, 2017, 2018 Leon Jacobs + * Copyright (C) 2015, 2016, 2017, 2018, 2019 Leon Jacobs * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -26,6 +26,8 @@ use Seat\Eveapi\Jobs\Alliances\Alliances; use Seat\Eveapi\Jobs\Alliances\Members; use Seat\Eveapi\Jobs\Character\Affiliation; +use Seat\Eveapi\Jobs\Character\PublicCorporationHistory; +use Seat\Eveapi\Jobs\Character\PublicInfo as PublicInfoJob; use Seat\Eveapi\Jobs\Market\Prices; use Seat\Eveapi\Jobs\Sovereignty\Map; use Seat\Eveapi\Jobs\Sovereignty\Structures; @@ -63,5 +65,7 @@ public function handle() Affiliation::withChain([new Names])->dispatch(); Alliances::withChain([new Members])->dispatch(); Prices::dispatch(); + PublicCorporationHistory::dispatch(); + PublicInfoJob::dispatch(); } } diff --git a/src/Commands/Esi/Update/ServerStatus.php b/src/Commands/Esi/Update/ServerStatus.php index 28347d0..4f7417d 100644 --- a/src/Commands/Esi/Update/ServerStatus.php +++ b/src/Commands/Esi/Update/ServerStatus.php @@ -3,7 +3,7 @@ /* * This file is part of SeAT * - * Copyright (C) 2015, 2016, 2017, 2018 Leon Jacobs + * Copyright (C) 2015, 2016, 2017, 2018, 2019 Leon Jacobs * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/Commands/EsiJobMakeCommand.php b/src/Commands/EsiJobMakeCommand.php index 4aa5233..2f3f640 100644 --- a/src/Commands/EsiJobMakeCommand.php +++ b/src/Commands/EsiJobMakeCommand.php @@ -3,7 +3,7 @@ /* * This file is part of SeAT * - * Copyright (C) 2015, 2016, 2017, 2018 Leon Jacobs + * Copyright (C) 2015, 2016, 2017, 2018, 2019 Leon Jacobs * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/Commands/Eve/Update/Sde.php b/src/Commands/Eve/Update/Sde.php index 37c32a3..be719bf 100644 --- a/src/Commands/Eve/Update/Sde.php +++ b/src/Commands/Eve/Update/Sde.php @@ -3,7 +3,7 @@ /* * This file is part of SeAT * - * Copyright (C) 2015, 2016, 2017, 2018 Leon Jacobs + * Copyright (C) 2015, 2016, 2017, 2018, 2019 Leon Jacobs * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/Commands/Seat/Admin/Diagnose.php b/src/Commands/Seat/Admin/Diagnose.php index a1d1aa7..a96c784 100644 --- a/src/Commands/Seat/Admin/Diagnose.php +++ b/src/Commands/Seat/Admin/Diagnose.php @@ -3,7 +3,7 @@ /* * This file is part of SeAT * - * Copyright (C) 2015, 2016, 2017, 2018 Leon Jacobs + * Copyright (C) 2015, 2016, 2017, 2018, 2019 Leon Jacobs * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/Commands/Seat/Admin/Email.php b/src/Commands/Seat/Admin/Email.php index 38b0d58..acc152c 100644 --- a/src/Commands/Seat/Admin/Email.php +++ b/src/Commands/Seat/Admin/Email.php @@ -3,7 +3,7 @@ /* * This file is part of SeAT * - * Copyright (C) 2015, 2016, 2017, 2018 Leon Jacobs + * Copyright (C) 2015, 2016, 2017, 2018, 2019 Leon Jacobs * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/Commands/Seat/Admin/Login.php b/src/Commands/Seat/Admin/Login.php index f85eb5e..0900f79 100644 --- a/src/Commands/Seat/Admin/Login.php +++ b/src/Commands/Seat/Admin/Login.php @@ -3,7 +3,7 @@ /* * This file is part of SeAT * - * Copyright (C) 2015, 2016, 2017, 2018 Leon Jacobs + * Copyright (C) 2015, 2016, 2017, 2018, 2019 Leon Jacobs * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/Commands/Seat/Admin/Maintenance.php b/src/Commands/Seat/Admin/Maintenance.php index 8a88e57..c09117e 100644 --- a/src/Commands/Seat/Admin/Maintenance.php +++ b/src/Commands/Seat/Admin/Maintenance.php @@ -3,7 +3,7 @@ /* * This file is part of SeAT * - * Copyright (C) 2015, 2016, 2017, 2018 Leon Jacobs + * Copyright (C) 2015, 2016, 2017, 2018, 2019 Leon Jacobs * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/Commands/Seat/Cache/Clear.php b/src/Commands/Seat/Cache/Clear.php index 7cdf97e..9726501 100644 --- a/src/Commands/Seat/Cache/Clear.php +++ b/src/Commands/Seat/Cache/Clear.php @@ -3,7 +3,7 @@ /* * This file is part of SeAT * - * Copyright (C) 2015, 2016, 2017, 2018 Leon Jacobs + * Copyright (C) 2015, 2016, 2017, 2018, 2019 Leon Jacobs * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/Commands/Seat/Queue/Status.php b/src/Commands/Seat/Queue/Status.php index 3ee6d1d..7f48a98 100644 --- a/src/Commands/Seat/Queue/Status.php +++ b/src/Commands/Seat/Queue/Status.php @@ -3,7 +3,7 @@ /* * This file is part of SeAT * - * Copyright (C) 2015, 2016, 2017, 2018 Leon Jacobs + * Copyright (C) 2015, 2016, 2017, 2018, 2019 Leon Jacobs * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/Commands/Seat/Version.php b/src/Commands/Seat/Version.php index df7a94d..95b744d 100644 --- a/src/Commands/Seat/Version.php +++ b/src/Commands/Seat/Version.php @@ -3,7 +3,7 @@ /* * This file is part of SeAT * - * Copyright (C) 2015, 2016, 2017, 2018 Leon Jacobs + * Copyright (C) 2015, 2016, 2017, 2018, 2019 Leon Jacobs * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/Config/console.config.php b/src/Config/console.config.php index ed3d6a9..e6ac53a 100644 --- a/src/Config/console.config.php +++ b/src/Config/console.config.php @@ -3,7 +3,7 @@ /* * This file is part of SeAT * - * Copyright (C) 2015, 2016, 2017, 2018 Leon Jacobs + * Copyright (C) 2015, 2016, 2017, 2018, 2019 Leon Jacobs * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -22,6 +22,6 @@ return [ - 'version' => '3.0.2', + 'version' => '3.0.4', ]; diff --git a/src/ConsoleServiceProvider.php b/src/ConsoleServiceProvider.php index c8844f2..85b322a 100644 --- a/src/ConsoleServiceProvider.php +++ b/src/ConsoleServiceProvider.php @@ -3,7 +3,7 @@ /* * This file is part of SeAT * - * Copyright (C) 2015, 2016, 2017, 2018 Leon Jacobs + * Copyright (C) 2015, 2016, 2017, 2018, 2019 Leon Jacobs * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -22,7 +22,6 @@ namespace Seat\Console; -use Illuminate\Support\ServiceProvider; use Seat\Console\Commands\Esi\Dispatch; use Seat\Console\Commands\Esi\Ping; use Seat\Console\Commands\Esi\Update\Characters as CharactersUpdater; @@ -39,8 +38,9 @@ use Seat\Console\Commands\Seat\Cache\Clear; use Seat\Console\Commands\Seat\Queue\Status; use Seat\Console\Commands\Seat\Version; +use Seat\Services\AbstractSeatPlugin; -class ConsoleServiceProvider extends ServiceProvider +class ConsoleServiceProvider extends AbstractSeatPlugin { /** * Bootstrap the application services. @@ -91,4 +91,54 @@ public function register() $this->mergeConfigFrom( __DIR__ . '/Config/console.config.php', 'console.config'); } + + /** + * Return the plugin public name as it should be displayed into settings. + * + * @return string + */ + public function getName(): string + { + return 'SeAT Console'; + } + + /** + * Return the plugin repository address. + * + * @return string + */ + public function getPackageRepositoryUrl(): string + { + return 'https://github.com/eveseat/console'; + } + + /** + * Return the plugin technical name as published on package manager. + * + * @return string + */ + public function getPackagistPackageName(): string + { + return 'console'; + } + + /** + * Return the plugin vendor tag as published on package manager. + * + * @return string + */ + public function getPackagistVendorName(): string + { + return 'eveseat'; + } + + /** + * Return the plugin installed version. + * + * @return string + */ + public function getVersion(): string + { + return config('console.config.version'); + } }