added tagging to jobs

This commit is contained in:
2021-04-27 00:49:49 +09:00
parent fdbc7ddf1b
commit ae4436d3f1
25 changed files with 312 additions and 94 deletions

View File

@@ -190,4 +190,13 @@ class PurgeUsers implements ShouldQueue
} }
} }
} }
/**
* Set the tags for Horzion
*
* @var array
*/
public function tags() {
return ['Data', 'PurgeUsers'];
}
} }

View File

@@ -37,4 +37,13 @@ class ItemPricesUpdate implements ShouldQueue
$moonHelper->FetchNewPrices(); $moonHelper->FetchNewPrices();
} }
/**
* Set the tags for Horzion
*
* @var array
*/
public function tags() {
return ['Eve', 'ItemPricesUpdate'];
}
} }

View File

@@ -62,4 +62,13 @@ class UpdateAllianceWalletJournalJob implements ShouldQueue
UpdateAllianceWalletJournalPage::dispatch(1, $config['primary'], $i)->onQueue('journal'); UpdateAllianceWalletJournalPage::dispatch(1, $config['primary'], $i)->onQueue('journal');
} }
} }
/**
* Set the tags for Horzion
*
* @var array
*/
public function tags() {
return ['UpdateAllianceWalletJournal', 'Finances'];
}
} }

View File

@@ -77,7 +77,7 @@ class UpdateAllianceWalletJournalPage implements ShouldQueue
* the failed page is the first page. * the failed page is the first page.
*/ */
try { try {
$journals = $esi->page($currentPage) $journals = $esi->page($this->page)
->invoke('get', '/corporations/{corporation_id}/wallets/{division}/journal/', [ ->invoke('get', '/corporations/{corporation_id}/wallets/{division}/journal/', [
'corporation_id' => $corpId, 'corporation_id' => $corpId,
'division' => $division, 'division' => $division,
@@ -141,4 +141,13 @@ class UpdateAllianceWalletJournalPage implements ShouldQueue
//Return as completed //Return as completed
return 0; return 0;
} }
/**
* Set the tags for Horzion
*
* @var array
*/
public function tags() {
return ['UpdateAllianceWalletJournalPage', 'Finances'];
}
} }

View File

@@ -53,4 +53,13 @@ class UpdateItemPrices implements ShouldQueue
//Fetch new prices from fuzzwork.co.uk for the item pricing schemes //Fetch new prices from fuzzwork.co.uk for the item pricing schemes
$moonHelper->FetchNewPrices(); $moonHelper->FetchNewPrices();
} }
/**
* Set the tags for Horzion
*
* @var array
*/
public function tags() {
return ['UpdateItemPrices', 'Finances'];
}
} }

View File

@@ -151,4 +151,13 @@ class FetchMiningTaxesLedgers implements ShouldQueue
} while($currentPage <= $totalPages); } while($currentPage <= $totalPages);
} }
/**
* Set the tags for Horzion
*
* @var array
*/
public function tags() {
return ['FetchMiningTaxesLedgers', 'MiningTaxes', 'MiningTaxesLedgers'];
}
} }

View File

@@ -57,6 +57,7 @@ class FetchMiningTaxesObservers implements ShouldQueue
//Declare variables //Declare variables
$config = config('esi'); $config = config('esi');
$lookup = new LookupHelper; $lookup = new LookupHelper;
$sHelper = new StructureHelper($config['primary'], $config['corporation']);
$esiHelper = new Esi; $esiHelper = new Esi;
//Check for the esi scope //Check for the esi scope
@@ -66,6 +67,12 @@ class FetchMiningTaxesObservers implements ShouldQueue
return; return;
} }
if(!$esiHelper->HaveEsiScope($config['primary'], 'esi-universe.read_structures.v1')) {
Log::critical('Esi scope esi-universe.read_structures.v1 was not found for FetchMiningTaxesObserversJob.');
print("Esi scopes not found 2");
return;
}
$char = $lookup->GetCharacterInfo($config['primary']); $char = $lookup->GetCharacterInfo($config['primary']);
//Get the refresh token for the character //Get the refresh token for the character
@@ -82,23 +89,36 @@ class FetchMiningTaxesObservers implements ShouldQueue
//Run through the mining observers, and add them to the database //Run through the mining observers, and add them to the database
foreach($resp as $observer) { foreach($resp as $observer) {
if($observer->observer_id > 1030000000000) { if($observer->observer_id > 1030000000000) {
//Get the observer name from esi as well
$structureInfo = $sHelper->GetStructureInfo($observer->observer_id);
//See if the observer is found in the database
$found = Observer::where([ $found = Observer::where([
'observer_id' => $observer->observer_id, 'observer_id' => $observer->observer_id,
])->count(); ])->count();
//If found, then update the structure
if($found > 0) { if($found > 0) {
Observer::where([ Observer::where([
'observer_id' => $observer->observer_id, 'observer_id' => $observer->observer_id,
])->update([ ])->update([
'observer_id' => $observer->observer_id, 'observer_id' => $observer->observer_id,
'observer_type' => $observer->observer_type, 'observer_type' => $observer->observer_type,
'observer_name' => $observerName,
'last_updated' => $observer->last_updated, 'last_updated' => $observer->last_updated,
'solar_system_id' => $structureInfo->solar_system_id,
'solar_system_name' => $sHelper->GetSolarSystemName($structureInfo->solar_system_id),
]); ]);
} else { } else {
//Add a new observer into the observer table
$newObs = new Observer; $newObs = new Observer;
$newObs->observer_id = $observer->observer_id; $newObs->observer_id = $observer->observer_id;
$newObs->observer_type = $observer->observer_type; $newObs->observer_type = $observer->observer_type;
$newObs->observer_name = $observerName;
$newObs->last_updated = $observer->last_updated; $newObs->last_updated = $observer->last_updated;
$newObs->solar_system_id = $structureInfo->solar_system_id;
$newObs->solar_system_name = $sHelper->GetSolarSystemName($structureInfo->solar_system_id);
$newObs->save(); $newObs->save();
} }
} }
@@ -179,6 +199,6 @@ class FetchMiningTaxesObservers implements ShouldQueue
* @var array * @var array
*/ */
public function tags() { public function tags() {
return ['FetchMiningObservers']; return ['FetchMiningObservers', 'MiningTaxes'];
} }
} }

View File

@@ -65,4 +65,13 @@ class PreFetchMiningTaxesLedgers implements ShouldQueue
FetchMiningTaxesLedgers::dispatch($config['primary'], $config['corporation'], $obs->observer_id)->onQueue('miningtaxes'); FetchMiningTaxesLedgers::dispatch($config['primary'], $config['corporation'], $obs->observer_id)->onQueue('miningtaxes');
} }
} }
/**
* Set the tags for Horzion
*
* @var array
*/
public function tags() {
return ['PreFetchMiningTaxesLedgers', 'MiningTaxes', 'MiningTaxesLedgers'];
}
} }

View File

@@ -120,4 +120,13 @@ class ProcessMiningTaxesLedgers implements ShouldQueue
return 0; return 0;
} }
/**
* Set the tags for Horzion
*
* @var array
*/
public function tags() {
return ['ProcessMiningTaxesLedgers', 'MiningTaxes', 'MiningTaxesLedgers'];
}
} }

View File

@@ -120,4 +120,13 @@ class ProcessMiningTaxesPayments implements ShouldQueue
} }
/**
* Set the tags for Horzion
*
* @var array
*/
public function tags() {
return ['ProcessMiningTaxesPayments', 'MiningTaxes', 'Payments'];
}
} }

View File

@@ -200,17 +200,22 @@ class SendMiningTaxesInvoices implements ShouldQueue
private function CreateInvoice($charId, $ledgers, &$mailDelay) { private function CreateInvoice($charId, $ledgers, &$mailDelay) {
$invoice = array(); $invoice = array();
$ores = array(); $ores = array();
$characters = array();
$totalPrice = 0.00; $totalPrice = 0.00;
$body = null; $body = null;
$lookup = new LookupHelper; $lookup = new LookupHelper;
if(sizeof($ledgers) > 0) { if(sizeof($ledgers) > 0) {
foreach($ledgers as $ledger) { foreach($ledgers as $ledger) {
if(!isset($ores[$row['type_id']])) { if(!isset($ores[$ledger['type_id']])) {
$ores[$row['type_id']] = 0; $ores[$ledger['type_id']] = 0;
}
$ores[$ledger['type_id']] = $ores[$ledger['type_id']] + $ledger['quantity'];
$totalPrice = $totalPrice + $ledger['amount'];
if(!isset($characters[$ledger['character_name']])) {
$characters[$ledger['character_name']] = $ledger['character_name'];
} }
$ores[$row['type_id']] = $ores[$row['type_id']] + $row['quantity'];
$totalPrice = $totalPrice + $row['amount'];
} }
$invoiceAmount = round(($totalPrice * $config['mining_tax']), 2); $invoiceAmount = round(($totalPrice * $config['mining_tax']), 2);
@@ -224,7 +229,7 @@ class SendMiningTaxesInvoices implements ShouldQueue
$numberMiningTax = number_format(($config['mining_tax'] * 100.00), 2, ".", ","); $numberMiningTax = number_format(($config['mining_tax'] * 100.00), 2, ".", ",");
//Create the mail body //Create the mail body
$body .= "Dear Miner,<br><br>"; $body .= "Dear " . $charName . ",<br><br>";
$body .= "Mining Taxes are due for the following ores mined from alliance moons: <br>"; $body .= "Mining Taxes are due for the following ores mined from alliance moons: <br>";
foreach($ores as $ore => $quantity) { foreach($ores as $ore => $quantity) {
$oreName = $lookup->ItemIdToName($ore); $oreName = $lookup->ItemIdToName($ore);
@@ -242,11 +247,16 @@ class SendMiningTaxesInvoices implements ShouldQueue
$body .= $oreName . ": " . number_format(round($quantity * $config['mining_tax']), 0, ".", ",") . "<br>"; $body .= $oreName . ": " . number_format(round($quantity * $config['mining_tax']), 0, ".", ",") . "<br>";
} }
$body .= "<br>"; $body .= "<br>";
$body .= "Characters Processed: <br>";
foreach($characters as $character) {
$body .= $character['character_name'] . "<br>";
}
$body .= "<br>";
$body .= "<br>Sincerely,<br>Warped Intentions Leadership<br>"; $body .= "<br>Sincerely,<br>Warped Intentions Leadership<br>";
//Check if the mail body is greater than 2000 characters. If greater than 2,000 characters, then //Check if the mail body is greater than 2000 characters. If greater than 2,000 characters, then
if(strlen($body) > 2000) { if(strlen($body) > 2000) {
$body = "Dear Miner,<br><br>"; $body = "Dear " . $charName . "<br><br>";
$body .= "Total Value of Ore Mined: " . number_format($totalPrice, 2, ".", ",") . " ISK."; $body .= "Total Value of Ore Mined: " . number_format($totalPrice, 2, ".", ",") . " ISK.";
$body .= "<br><br>"; $body .= "<br><br>";
$body .= "Please remit " . number_format($invoiceAmount, 2, ".", ",") . " ISK to Spatial Forces by " . $dateDue . "<br>"; $body .= "Please remit " . number_format($invoiceAmount, 2, ".", ",") . " ISK to Spatial Forces by " . $dateDue . "<br>";
@@ -303,12 +313,21 @@ class SendMiningTaxesInvoices implements ShouldQueue
'main_id' => $charId, 'main_id' => $charId,
])->get(); ])->get();
$altCount = UserAlt::where([
'main_id' => $charId,
])->count();
$rows = Ledger::where([ $rows = Ledger::where([
'character_id' => $charId, 'character_id' => $charId,
'invoiced' => 'No', 'invoiced' => 'No',
])->get(); ])->get();
if($rows->count() > 0) { $mainCount = Ledger::where([
'character_id' => $charId,
'invoiced' => 'No',
])->count();
if($mainCount > 0) {
foreach($rows as $row) { foreach($rows as $row) {
array_push($ledgers, [ array_push($ledgers, [
'character_id' => $row->character_id, 'character_id' => $row->character_id,
@@ -325,26 +344,33 @@ class SendMiningTaxesInvoices implements ShouldQueue
} }
} }
if($alts->count() > 0) { if($altCount > 0) {
foreach($alts as $alt) { foreach($alts as $alt) {
$rows = Ledger::where([ $rows = Ledger::where([
'character_id' => $alt->character_id, 'character_id' => $alt->character_id,
'invoiced' => 'No', 'invoiced' => 'No',
])->get(); ])->get();
foreach($rows as $row) { $rowCount = Ledger::where([
array_push($ledgers, [ 'character_id' => $alt->character_id,
'character_id' => $row->character_id, 'invoiced' => 'No',
'character_name' => $row->character_name, ])->count();
'observer_id' => $row->observer_id,
'last_updated' => $row->last_updated, if($rowCount > 0) {
'type_id' => $row->type_id, foreach($rows as $row) {
'ore_name' => $row->ore_name, array_push($ledgers, [
'quantity' => $row->quantity, 'character_id' => $row->character_id,
'amount' => $row->amount, 'character_name' => $row->character_name,
'invoiced' => $row->invoiced, 'observer_id' => $row->observer_id,
'invoice_id' => $row->invoice_id, 'last_updated' => $row->last_updated,
]); 'type_id' => $row->type_id,
'ore_name' => $row->ore_name,
'quantity' => $row->quantity,
'amount' => $row->amount,
'invoiced' => $row->invoiced,
'invoice_id' => $row->invoice_id,
]);
}
} }
} }
} }
@@ -352,4 +378,13 @@ class SendMiningTaxesInvoices implements ShouldQueue
//Return the ledgers //Return the ledgers
return $ledgers; return $ledgers;
} }
/**
* Set the tags for Horzion
*
* @var array
*/
public function tags() {
return ['MiningTaxes', 'SendMiningTaxesInvoices', 'Invoices'];
}
} }

View File

@@ -81,4 +81,13 @@ class UpdateMiningTaxesLateInvoices15th implements ShouldQueue
} }
} }
} }
/**
* Set the tags for Horzion
*
* @var array
*/
public function tags() {
return ['UpdateMiningTaxesLateInvoices', 'MiningTaxes', 'Invoices'];
}
} }

View File

@@ -81,4 +81,13 @@ class UpdateMiningTaxesLateInvoices1st implements ShouldQueue
} }
} }
} }
/**
* Set the tags for Horzion
*
* @var array
*/
public function tags() {
return ['UpdateMiningTaxesLateInvoices', 'MiningTaxes', 'Invoices'];
}
} }

View File

@@ -73,9 +73,8 @@ class StructureHelper {
} }
} }
private function GetSolarSystemName($systemId) { public function GetSolarSystemName($systemId) {
//Declare some variables //Declare some variables
$esiHelper = new Esi;
$lookup = new LookupHelper; $lookup = new LookupHelper;
$solar = $lookup->SystemIdToName($systemId); $solar = $lookup->SystemIdToName($systemId);

View File

@@ -25,5 +25,7 @@ class Observer extends Model
'observer_id', 'observer_id',
'observer_type', 'observer_type',
'observer_name', 'observer_name',
'solar_system_name',
'solar_system_id',
]; ];
} }

View File

@@ -0,0 +1,10 @@
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class RentalInvoice extends Model
{
//
}

View File

@@ -0,0 +1,10 @@
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class RentalLedger extends Model
{
//
}

View File

@@ -0,0 +1,10 @@
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class RentalPayment extends Model
{
//
}

View File

@@ -0,0 +1,10 @@
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class RentalStructure extends Model
{
//
}

View File

@@ -41,7 +41,6 @@ class CreateMiningTaxTables extends Migration
$table->dateTime('last_updated'); $table->dateTime('last_updated');
$table->unsignedBigInteger('observer_id'); $table->unsignedBigInteger('observer_id');
$table->string('observer_type'); $table->string('observer_type');
$table->string('observer_name');
$table->timestamps(); $table->timestamps();
}); });
} }

View File

@@ -0,0 +1,44 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class ModifyMiningTaxTables extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
if(Schema::hasTable('alliance_mining_tax_observers')) {
Schema::table('alliance_mining_tax_observers', function(Blueprint $table) {
$table->string('observer_name')->nullable();
$table->unsignedBigInteger('solar_system_id')->nullable();
$table->string('solar_system_name')->nullable();
$table->enum('corp_rented', [
'No',
'Yes',
])->default('No');
});
}
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
//Drop the newly created columns
Schema::table('alliance_mining_tax_observers', function(Blueprint $table) {
$table->dropColumn(['observer_name']);
$table->dropColumn(['solar_system_id']);
$table->dropColumn(['solar_system_name']);
$table->dropColumn(['corp_rented']);
});
}
}

View File

@@ -42,8 +42,6 @@ namespace Composer\Autoload;
*/ */
class ClassLoader class ClassLoader
{ {
private $vendorDir;
// PSR-4 // PSR-4
private $prefixLengthsPsr4 = array(); private $prefixLengthsPsr4 = array();
private $prefixDirsPsr4 = array(); private $prefixDirsPsr4 = array();
@@ -59,13 +57,6 @@ class ClassLoader
private $missingClasses = array(); private $missingClasses = array();
private $apcuPrefix; private $apcuPrefix;
private static $registeredLoaders = array();
public function __construct($vendorDir = null)
{
$this->vendorDir = $vendorDir;
}
public function getPrefixes() public function getPrefixes()
{ {
if (!empty($this->prefixesPsr0)) { if (!empty($this->prefixesPsr0)) {
@@ -309,17 +300,6 @@ class ClassLoader
public function register($prepend = false) public function register($prepend = false)
{ {
spl_autoload_register(array($this, 'loadClass'), true, $prepend); spl_autoload_register(array($this, 'loadClass'), true, $prepend);
if (null === $this->vendorDir) {
return;
}
if ($prepend) {
self::$registeredLoaders = array($this->vendorDir => $this) + self::$registeredLoaders;
} else {
unset(self::$registeredLoaders[$this->vendorDir]);
self::$registeredLoaders[$this->vendorDir] = $this;
}
} }
/** /**
@@ -328,10 +308,6 @@ class ClassLoader
public function unregister() public function unregister()
{ {
spl_autoload_unregister(array($this, 'loadClass')); spl_autoload_unregister(array($this, 'loadClass'));
if (null !== $this->vendorDir) {
unset(self::$registeredLoaders[$this->vendorDir]);
}
} }
/** /**
@@ -391,16 +367,6 @@ class ClassLoader
return $file; return $file;
} }
/**
* Returns the currently registered loaders indexed by their corresponding vendor directories.
*
* @return self[]
*/
public static function getRegisteredLoaders()
{
return self::$registeredLoaders;
}
private function findFileWithExtension($class, $ext) private function findFileWithExtension($class, $ext)
{ {
// PSR-4 lookup // PSR-4 lookup

View File

@@ -16,12 +16,10 @@ return array(
'App\\Console\\Commands\\Files\\MoonFormatter' => $baseDir . '/app/Console/Commands/Files/MoonFormatter.php', 'App\\Console\\Commands\\Files\\MoonFormatter' => $baseDir . '/app/Console/Commands/Files/MoonFormatter.php',
'App\\Console\\Commands\\Files\\UpdateItemCompositionFromSDECommand' => $baseDir . '/app/Console/Commands/Files/UpdateItemCompositionFromSDECommand.php', 'App\\Console\\Commands\\Files\\UpdateItemCompositionFromSDECommand' => $baseDir . '/app/Console/Commands/Files/UpdateItemCompositionFromSDECommand.php',
'App\\Console\\Commands\\Finances\\UpdateAllianceWalletJournal' => $baseDir . '/app/Console/Commands/Finances/UpdateAllianceWalletJournal.php', 'App\\Console\\Commands\\Finances\\UpdateAllianceWalletJournal' => $baseDir . '/app/Console/Commands/Finances/UpdateAllianceWalletJournal.php',
'App\\Console\\Commands\\MiningTaxes\\MiningTaxesDataCleanup' => $baseDir . '/app/Console/Commands/MiningTaxes/MiningTaxesDataCleanup.php', 'App\\Console\\Commands\\MiningTaxes\\ExecuteMiningTaxesLedgersCommand' => $baseDir . '/app/Console/Commands/MiningTaxes/ExecuteMiningTaxesLedgersCommand.php',
'App\\Console\\Commands\\MiningTaxes\\MiningTaxesInvoices' => $baseDir . '/app/Console/Commands/MiningTaxes/MiningTaxesInvoices.php', 'App\\Console\\Commands\\MiningTaxes\\ExecuteMiningTaxesObserversCommand' => $baseDir . '/app/Console/Commands/MiningTaxes/ExecuteMiningTaxesObserversCommand.php',
'App\\Console\\Commands\\MiningTaxes\\MiningTaxesInvoicesNew' => $baseDir . '/app/Console/Commands/MiningTaxes/MiningTaxesInvoicesNew.php', 'App\\Console\\Commands\\MiningTaxes\\ExecuteProcesssMiningTaxesPaymentsCommand' => $baseDir . '/app/Console/Commands/MiningTaxes/ExecuteProcesssMiningTaxesPaymentsCommand.php',
'App\\Console\\Commands\\MiningTaxes\\MiningTaxesLedgers' => $baseDir . '/app/Console/Commands/MiningTaxes/MiningTaxesLedgers.php', 'App\\Console\\Commands\\MiningTaxes\\ExecuteSendMiningTaxesInvoiceCommand' => $baseDir . '/app/Console/Commands/MiningTaxes/ExecuteSendMiningTaxesInvoiceCommand.php',
'App\\Console\\Commands\\MiningTaxes\\MiningTaxesObservers' => $baseDir . '/app/Console/Commands/MiningTaxes/MiningTaxesObservers.php',
'App\\Console\\Commands\\MiningTaxes\\MiningTaxesPayments' => $baseDir . '/app/Console/Commands/MiningTaxes/MiningTaxesPayments.php',
'App\\Console\\Commands\\Structures\\GetStructuresCommand' => $baseDir . '/app/Console/Commands/Structures/GetStructuresCommand.php', 'App\\Console\\Commands\\Structures\\GetStructuresCommand' => $baseDir . '/app/Console/Commands/Structures/GetStructuresCommand.php',
'App\\Console\\Commands\\SupplyChain\\EndSupplyChainContractCommand' => $baseDir . '/app/Console/Commands/SupplyChain/EndSupplyChainContractCommand.php', 'App\\Console\\Commands\\SupplyChain\\EndSupplyChainContractCommand' => $baseDir . '/app/Console/Commands/SupplyChain/EndSupplyChainContractCommand.php',
'App\\Console\\Kernel' => $baseDir . '/app/Console/Kernel.php', 'App\\Console\\Kernel' => $baseDir . '/app/Console/Kernel.php',
@@ -38,6 +36,8 @@ return array(
'App\\Http\\Controllers\\Logistics\\FuelController' => $baseDir . '/app/Http/Controllers/Logistics/FuelController.php', 'App\\Http\\Controllers\\Logistics\\FuelController' => $baseDir . '/app/Http/Controllers/Logistics/FuelController.php',
'App\\Http\\Controllers\\MiningTaxes\\MiningTaxesAdminController' => $baseDir . '/app/Http/Controllers/MiningTaxes/MiningTaxesAdminController.php', 'App\\Http\\Controllers\\MiningTaxes\\MiningTaxesAdminController' => $baseDir . '/app/Http/Controllers/MiningTaxes/MiningTaxesAdminController.php',
'App\\Http\\Controllers\\MiningTaxes\\MiningTaxesController' => $baseDir . '/app/Http/Controllers/MiningTaxes/MiningTaxesController.php', 'App\\Http\\Controllers\\MiningTaxes\\MiningTaxesController' => $baseDir . '/app/Http/Controllers/MiningTaxes/MiningTaxesController.php',
'App\\Http\\Controllers\\MoonRental\\MoonRentalAdminController' => $baseDir . '/app/Http/Controllers/MoonRental/MoonRentalAdminController.php',
'App\\Http\\Controllers\\MoonRental\\MoonRentalController' => $baseDir . '/app/Http/Controllers/MoonRental/MoonRentalController.php',
'App\\Http\\Controllers\\SRP\\SRPAdminController' => $baseDir . '/app/Http/Controllers/SRP/SRPAdminController.php', 'App\\Http\\Controllers\\SRP\\SRPAdminController' => $baseDir . '/app/Http/Controllers/SRP/SRPAdminController.php',
'App\\Http\\Controllers\\SRP\\SRPController' => $baseDir . '/app/Http/Controllers/SRP/SRPController.php', 'App\\Http\\Controllers\\SRP\\SRPController' => $baseDir . '/app/Http/Controllers/SRP/SRPController.php',
'App\\Http\\Controllers\\Test\\TestController' => $baseDir . '/app/Http/Controllers/Test/TestController.php', 'App\\Http\\Controllers\\Test\\TestController' => $baseDir . '/app/Http/Controllers/Test/TestController.php',
@@ -51,16 +51,23 @@ return array(
'App\\Http\\Middleware\\TrimStrings' => $baseDir . '/app/Http/Middleware/TrimStrings.php', 'App\\Http\\Middleware\\TrimStrings' => $baseDir . '/app/Http/Middleware/TrimStrings.php',
'App\\Http\\Middleware\\TrustProxies' => $baseDir . '/app/Http/Middleware/TrustProxies.php', 'App\\Http\\Middleware\\TrustProxies' => $baseDir . '/app/Http/Middleware/TrustProxies.php',
'App\\Http\\Middleware\\VerifyCsrfToken' => $baseDir . '/app/Http/Middleware/VerifyCsrfToken.php', 'App\\Http\\Middleware\\VerifyCsrfToken' => $baseDir . '/app/Http/Middleware/VerifyCsrfToken.php',
'App\\Jobs\\Commands\\Data\\PurgeUsersJob' => $baseDir . '/app/Jobs/Commands/Data/PurgeUsersJob.php', 'App\\Http\\Requests\\Request' => $baseDir . '/app/Http/Requests/Request.php',
'App\\Jobs\\Commands\\Eve\\ItemPricesUpdateJob' => $baseDir . '/app/Jobs/Commands/Eve/ItemPricesUpdateJob.php', 'App\\Jobs\\Commands\\Data\\PurgeUsers' => $baseDir . '/app/Jobs/Commands/Data/PurgeUsers.php',
'App\\Jobs\\Commands\\Eve\\ProcessSendEveMailJob' => $baseDir . '/app/Jobs/Commands/Eve/ProcessSendEveMailJob.php', 'App\\Jobs\\Commands\\Eve\\ItemPricesUpdate' => $baseDir . '/app/Jobs/Commands/Eve/ItemPricesUpdate.php',
'App\\Jobs\\Commands\\Eve\\ProcessSendEveMailJobRL' => $baseDir . '/app/Jobs/Commands/Eve/ProcessSendEveMailJobRL.php', 'App\\Jobs\\Commands\\Eve\\SendEveMail' => $baseDir . '/app/Jobs/Commands/Eve/SendEveMail.php',
'App\\Jobs\\Commands\\Finances\\UpdateItemPricesJob' => $baseDir . '/app/Jobs/Commands/Finances/UpdateItemPricesJob.php', 'App\\Jobs\\Commands\\Eve\\SendEveMailRL' => $baseDir . '/app/Jobs/Commands/Eve/SendEveMailRL.php',
'App\\Jobs\\Commands\\MiningTaxes\\FetchMiningTaxesLedgersJob' => $baseDir . '/app/Jobs/Commands/MiningTaxes/FetchMiningTaxesLedgersJob.php', 'App\\Jobs\\Commands\\Finances\\UpdateAllianceWalletJournalJob' => $baseDir . '/app/Jobs/Commands/Finances/UpdateAllianceWalletJournalJob.php',
'App\\Jobs\\Commands\\MiningTaxes\\FetchMiningTaxesObserversJob' => $baseDir . '/app/Jobs/Commands/MiningTaxes/FetchMiningTaxesObserversJob.php', 'App\\Jobs\\Commands\\Finances\\UpdateAllianceWalletJournalPage' => $baseDir . '/app/Jobs/Commands/Finances/UpdateAllianceWalletJournalPage.php',
'App\\Jobs\\Commands\\MiningTaxes\\ProcessMiningTaxesLedgersJob' => $baseDir . '/app/Jobs/Commands/MiningTaxes/ProcessMiningTaxesLedgersJob.php', 'App\\Jobs\\Commands\\Finances\\UpdateItemPrices' => $baseDir . '/app/Jobs/Commands/Finances/UpdateItemPrices.php',
'App\\Jobs\\Commands\\MiningTaxes\\ProcessMiningTaxesPaymentsJob' => $baseDir . '/app/Jobs/Commands/MiningTaxes/ProcessMiningTaxesPaymentsJob.php', 'App\\Jobs\\Commands\\MiningTaxes\\FetchMiningTaxesLedgers' => $baseDir . '/app/Jobs/Commands/MiningTaxes/FetchMiningTaxesLedgers.php',
'App\\Jobs\\Commands\\MiningTaxes\\SendMiningTaxesInvoicesJob' => $baseDir . '/app/Jobs/Commands/MiningTaxes/SendMiningTaxesInvoicesJob.php', 'App\\Jobs\\Commands\\MiningTaxes\\FetchMiningTaxesObservers' => $baseDir . '/app/Jobs/Commands/MiningTaxes/FetchMiningTaxesObservers.php',
'App\\Jobs\\Commands\\MiningTaxes\\PreFetchMiningTaxesLedgers' => $baseDir . '/app/Jobs/Commands/MiningTaxes/PreFetchMiningTaxesLedgers.php',
'App\\Jobs\\Commands\\MiningTaxes\\ProcessMiningTaxesLedgers' => $baseDir . '/app/Jobs/Commands/MiningTaxes/ProcessMiningTaxesLedgers.php',
'App\\Jobs\\Commands\\MiningTaxes\\ProcessMiningTaxesPayments' => $baseDir . '/app/Jobs/Commands/MiningTaxes/ProcessMiningTaxesPayments.php',
'App\\Jobs\\Commands\\MiningTaxes\\SendMiningTaxesInvoices' => $baseDir . '/app/Jobs/Commands/MiningTaxes/SendMiningTaxesInvoices.php',
'App\\Jobs\\Commands\\MiningTaxes\\SendMiningTaxesInvoicesOld' => $baseDir . '/app/Jobs/Commands/MiningTaxes/SendMiningTaxesInvoicesOld.php',
'App\\Jobs\\Commands\\MiningTaxes\\UpdateMiningTaxesLateInvoices15th' => $baseDir . '/app/Jobs/Commands/MiningTaxes/UpdateMiningTaxesLateInvoices15th.php',
'App\\Jobs\\Commands\\MiningTaxes\\UpdateMiningTaxesLateInvoices1st' => $baseDir . '/app/Jobs/Commands/MiningTaxes/UpdateMiningTaxesLateInvoices1st.php',
'App\\Jobs\\Commands\\SupplyChain\\EndSupplyChainContractJob' => $baseDir . '/app/Jobs/Commands/SupplyChain/EndSupplyChainContractJob.php', 'App\\Jobs\\Commands\\SupplyChain\\EndSupplyChainContractJob' => $baseDir . '/app/Jobs/Commands/SupplyChain/EndSupplyChainContractJob.php',
'App\\Library\\Esi\\Esi' => $baseDir . '/app/Library/Esi/Esi.php', 'App\\Library\\Esi\\Esi' => $baseDir . '/app/Library/Esi/Esi.php',
'App\\Library\\Helpers\\AssetHelper' => $baseDir . '/app/Library/Helpers/AssetHelper.php', 'App\\Library\\Helpers\\AssetHelper' => $baseDir . '/app/Library/Helpers/AssetHelper.php',

View File

@@ -25,7 +25,7 @@ class ComposerAutoloaderInitc3f953f8a7291d41a76e1664339777c9
require __DIR__ . '/platform_check.php'; require __DIR__ . '/platform_check.php';
spl_autoload_register(array('ComposerAutoloaderInitc3f953f8a7291d41a76e1664339777c9', 'loadClassLoader'), true, true); spl_autoload_register(array('ComposerAutoloaderInitc3f953f8a7291d41a76e1664339777c9', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__))); self::$loader = $loader = new \Composer\Autoload\ClassLoader();
spl_autoload_unregister(array('ComposerAutoloaderInitc3f953f8a7291d41a76e1664339777c9', 'loadClassLoader')); spl_autoload_unregister(array('ComposerAutoloaderInitc3f953f8a7291d41a76e1664339777c9', 'loadClassLoader'));
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());

View File

@@ -566,12 +566,10 @@ class ComposerStaticInitc3f953f8a7291d41a76e1664339777c9
'App\\Console\\Commands\\Files\\MoonFormatter' => __DIR__ . '/../..' . '/app/Console/Commands/Files/MoonFormatter.php', 'App\\Console\\Commands\\Files\\MoonFormatter' => __DIR__ . '/../..' . '/app/Console/Commands/Files/MoonFormatter.php',
'App\\Console\\Commands\\Files\\UpdateItemCompositionFromSDECommand' => __DIR__ . '/../..' . '/app/Console/Commands/Files/UpdateItemCompositionFromSDECommand.php', 'App\\Console\\Commands\\Files\\UpdateItemCompositionFromSDECommand' => __DIR__ . '/../..' . '/app/Console/Commands/Files/UpdateItemCompositionFromSDECommand.php',
'App\\Console\\Commands\\Finances\\UpdateAllianceWalletJournal' => __DIR__ . '/../..' . '/app/Console/Commands/Finances/UpdateAllianceWalletJournal.php', 'App\\Console\\Commands\\Finances\\UpdateAllianceWalletJournal' => __DIR__ . '/../..' . '/app/Console/Commands/Finances/UpdateAllianceWalletJournal.php',
'App\\Console\\Commands\\MiningTaxes\\MiningTaxesDataCleanup' => __DIR__ . '/../..' . '/app/Console/Commands/MiningTaxes/MiningTaxesDataCleanup.php', 'App\\Console\\Commands\\MiningTaxes\\ExecuteMiningTaxesLedgersCommand' => __DIR__ . '/../..' . '/app/Console/Commands/MiningTaxes/ExecuteMiningTaxesLedgersCommand.php',
'App\\Console\\Commands\\MiningTaxes\\MiningTaxesInvoices' => __DIR__ . '/../..' . '/app/Console/Commands/MiningTaxes/MiningTaxesInvoices.php', 'App\\Console\\Commands\\MiningTaxes\\ExecuteMiningTaxesObserversCommand' => __DIR__ . '/../..' . '/app/Console/Commands/MiningTaxes/ExecuteMiningTaxesObserversCommand.php',
'App\\Console\\Commands\\MiningTaxes\\MiningTaxesInvoicesNew' => __DIR__ . '/../..' . '/app/Console/Commands/MiningTaxes/MiningTaxesInvoicesNew.php', 'App\\Console\\Commands\\MiningTaxes\\ExecuteProcesssMiningTaxesPaymentsCommand' => __DIR__ . '/../..' . '/app/Console/Commands/MiningTaxes/ExecuteProcesssMiningTaxesPaymentsCommand.php',
'App\\Console\\Commands\\MiningTaxes\\MiningTaxesLedgers' => __DIR__ . '/../..' . '/app/Console/Commands/MiningTaxes/MiningTaxesLedgers.php', 'App\\Console\\Commands\\MiningTaxes\\ExecuteSendMiningTaxesInvoiceCommand' => __DIR__ . '/../..' . '/app/Console/Commands/MiningTaxes/ExecuteSendMiningTaxesInvoiceCommand.php',
'App\\Console\\Commands\\MiningTaxes\\MiningTaxesObservers' => __DIR__ . '/../..' . '/app/Console/Commands/MiningTaxes/MiningTaxesObservers.php',
'App\\Console\\Commands\\MiningTaxes\\MiningTaxesPayments' => __DIR__ . '/../..' . '/app/Console/Commands/MiningTaxes/MiningTaxesPayments.php',
'App\\Console\\Commands\\Structures\\GetStructuresCommand' => __DIR__ . '/../..' . '/app/Console/Commands/Structures/GetStructuresCommand.php', 'App\\Console\\Commands\\Structures\\GetStructuresCommand' => __DIR__ . '/../..' . '/app/Console/Commands/Structures/GetStructuresCommand.php',
'App\\Console\\Commands\\SupplyChain\\EndSupplyChainContractCommand' => __DIR__ . '/../..' . '/app/Console/Commands/SupplyChain/EndSupplyChainContractCommand.php', 'App\\Console\\Commands\\SupplyChain\\EndSupplyChainContractCommand' => __DIR__ . '/../..' . '/app/Console/Commands/SupplyChain/EndSupplyChainContractCommand.php',
'App\\Console\\Kernel' => __DIR__ . '/../..' . '/app/Console/Kernel.php', 'App\\Console\\Kernel' => __DIR__ . '/../..' . '/app/Console/Kernel.php',
@@ -588,6 +586,8 @@ class ComposerStaticInitc3f953f8a7291d41a76e1664339777c9
'App\\Http\\Controllers\\Logistics\\FuelController' => __DIR__ . '/../..' . '/app/Http/Controllers/Logistics/FuelController.php', 'App\\Http\\Controllers\\Logistics\\FuelController' => __DIR__ . '/../..' . '/app/Http/Controllers/Logistics/FuelController.php',
'App\\Http\\Controllers\\MiningTaxes\\MiningTaxesAdminController' => __DIR__ . '/../..' . '/app/Http/Controllers/MiningTaxes/MiningTaxesAdminController.php', 'App\\Http\\Controllers\\MiningTaxes\\MiningTaxesAdminController' => __DIR__ . '/../..' . '/app/Http/Controllers/MiningTaxes/MiningTaxesAdminController.php',
'App\\Http\\Controllers\\MiningTaxes\\MiningTaxesController' => __DIR__ . '/../..' . '/app/Http/Controllers/MiningTaxes/MiningTaxesController.php', 'App\\Http\\Controllers\\MiningTaxes\\MiningTaxesController' => __DIR__ . '/../..' . '/app/Http/Controllers/MiningTaxes/MiningTaxesController.php',
'App\\Http\\Controllers\\MoonRental\\MoonRentalAdminController' => __DIR__ . '/../..' . '/app/Http/Controllers/MoonRental/MoonRentalAdminController.php',
'App\\Http\\Controllers\\MoonRental\\MoonRentalController' => __DIR__ . '/../..' . '/app/Http/Controllers/MoonRental/MoonRentalController.php',
'App\\Http\\Controllers\\SRP\\SRPAdminController' => __DIR__ . '/../..' . '/app/Http/Controllers/SRP/SRPAdminController.php', 'App\\Http\\Controllers\\SRP\\SRPAdminController' => __DIR__ . '/../..' . '/app/Http/Controllers/SRP/SRPAdminController.php',
'App\\Http\\Controllers\\SRP\\SRPController' => __DIR__ . '/../..' . '/app/Http/Controllers/SRP/SRPController.php', 'App\\Http\\Controllers\\SRP\\SRPController' => __DIR__ . '/../..' . '/app/Http/Controllers/SRP/SRPController.php',
'App\\Http\\Controllers\\Test\\TestController' => __DIR__ . '/../..' . '/app/Http/Controllers/Test/TestController.php', 'App\\Http\\Controllers\\Test\\TestController' => __DIR__ . '/../..' . '/app/Http/Controllers/Test/TestController.php',
@@ -601,16 +601,23 @@ class ComposerStaticInitc3f953f8a7291d41a76e1664339777c9
'App\\Http\\Middleware\\TrimStrings' => __DIR__ . '/../..' . '/app/Http/Middleware/TrimStrings.php', 'App\\Http\\Middleware\\TrimStrings' => __DIR__ . '/../..' . '/app/Http/Middleware/TrimStrings.php',
'App\\Http\\Middleware\\TrustProxies' => __DIR__ . '/../..' . '/app/Http/Middleware/TrustProxies.php', 'App\\Http\\Middleware\\TrustProxies' => __DIR__ . '/../..' . '/app/Http/Middleware/TrustProxies.php',
'App\\Http\\Middleware\\VerifyCsrfToken' => __DIR__ . '/../..' . '/app/Http/Middleware/VerifyCsrfToken.php', 'App\\Http\\Middleware\\VerifyCsrfToken' => __DIR__ . '/../..' . '/app/Http/Middleware/VerifyCsrfToken.php',
'App\\Jobs\\Commands\\Data\\PurgeUsersJob' => __DIR__ . '/../..' . '/app/Jobs/Commands/Data/PurgeUsersJob.php', 'App\\Http\\Requests\\Request' => __DIR__ . '/../..' . '/app/Http/Requests/Request.php',
'App\\Jobs\\Commands\\Eve\\ItemPricesUpdateJob' => __DIR__ . '/../..' . '/app/Jobs/Commands/Eve/ItemPricesUpdateJob.php', 'App\\Jobs\\Commands\\Data\\PurgeUsers' => __DIR__ . '/../..' . '/app/Jobs/Commands/Data/PurgeUsers.php',
'App\\Jobs\\Commands\\Eve\\ProcessSendEveMailJob' => __DIR__ . '/../..' . '/app/Jobs/Commands/Eve/ProcessSendEveMailJob.php', 'App\\Jobs\\Commands\\Eve\\ItemPricesUpdate' => __DIR__ . '/../..' . '/app/Jobs/Commands/Eve/ItemPricesUpdate.php',
'App\\Jobs\\Commands\\Eve\\ProcessSendEveMailJobRL' => __DIR__ . '/../..' . '/app/Jobs/Commands/Eve/ProcessSendEveMailJobRL.php', 'App\\Jobs\\Commands\\Eve\\SendEveMail' => __DIR__ . '/../..' . '/app/Jobs/Commands/Eve/SendEveMail.php',
'App\\Jobs\\Commands\\Finances\\UpdateItemPricesJob' => __DIR__ . '/../..' . '/app/Jobs/Commands/Finances/UpdateItemPricesJob.php', 'App\\Jobs\\Commands\\Eve\\SendEveMailRL' => __DIR__ . '/../..' . '/app/Jobs/Commands/Eve/SendEveMailRL.php',
'App\\Jobs\\Commands\\MiningTaxes\\FetchMiningTaxesLedgersJob' => __DIR__ . '/../..' . '/app/Jobs/Commands/MiningTaxes/FetchMiningTaxesLedgersJob.php', 'App\\Jobs\\Commands\\Finances\\UpdateAllianceWalletJournalJob' => __DIR__ . '/../..' . '/app/Jobs/Commands/Finances/UpdateAllianceWalletJournalJob.php',
'App\\Jobs\\Commands\\MiningTaxes\\FetchMiningTaxesObserversJob' => __DIR__ . '/../..' . '/app/Jobs/Commands/MiningTaxes/FetchMiningTaxesObserversJob.php', 'App\\Jobs\\Commands\\Finances\\UpdateAllianceWalletJournalPage' => __DIR__ . '/../..' . '/app/Jobs/Commands/Finances/UpdateAllianceWalletJournalPage.php',
'App\\Jobs\\Commands\\MiningTaxes\\ProcessMiningTaxesLedgersJob' => __DIR__ . '/../..' . '/app/Jobs/Commands/MiningTaxes/ProcessMiningTaxesLedgersJob.php', 'App\\Jobs\\Commands\\Finances\\UpdateItemPrices' => __DIR__ . '/../..' . '/app/Jobs/Commands/Finances/UpdateItemPrices.php',
'App\\Jobs\\Commands\\MiningTaxes\\ProcessMiningTaxesPaymentsJob' => __DIR__ . '/../..' . '/app/Jobs/Commands/MiningTaxes/ProcessMiningTaxesPaymentsJob.php', 'App\\Jobs\\Commands\\MiningTaxes\\FetchMiningTaxesLedgers' => __DIR__ . '/../..' . '/app/Jobs/Commands/MiningTaxes/FetchMiningTaxesLedgers.php',
'App\\Jobs\\Commands\\MiningTaxes\\SendMiningTaxesInvoicesJob' => __DIR__ . '/../..' . '/app/Jobs/Commands/MiningTaxes/SendMiningTaxesInvoicesJob.php', 'App\\Jobs\\Commands\\MiningTaxes\\FetchMiningTaxesObservers' => __DIR__ . '/../..' . '/app/Jobs/Commands/MiningTaxes/FetchMiningTaxesObservers.php',
'App\\Jobs\\Commands\\MiningTaxes\\PreFetchMiningTaxesLedgers' => __DIR__ . '/../..' . '/app/Jobs/Commands/MiningTaxes/PreFetchMiningTaxesLedgers.php',
'App\\Jobs\\Commands\\MiningTaxes\\ProcessMiningTaxesLedgers' => __DIR__ . '/../..' . '/app/Jobs/Commands/MiningTaxes/ProcessMiningTaxesLedgers.php',
'App\\Jobs\\Commands\\MiningTaxes\\ProcessMiningTaxesPayments' => __DIR__ . '/../..' . '/app/Jobs/Commands/MiningTaxes/ProcessMiningTaxesPayments.php',
'App\\Jobs\\Commands\\MiningTaxes\\SendMiningTaxesInvoices' => __DIR__ . '/../..' . '/app/Jobs/Commands/MiningTaxes/SendMiningTaxesInvoices.php',
'App\\Jobs\\Commands\\MiningTaxes\\SendMiningTaxesInvoicesOld' => __DIR__ . '/../..' . '/app/Jobs/Commands/MiningTaxes/SendMiningTaxesInvoicesOld.php',
'App\\Jobs\\Commands\\MiningTaxes\\UpdateMiningTaxesLateInvoices15th' => __DIR__ . '/../..' . '/app/Jobs/Commands/MiningTaxes/UpdateMiningTaxesLateInvoices15th.php',
'App\\Jobs\\Commands\\MiningTaxes\\UpdateMiningTaxesLateInvoices1st' => __DIR__ . '/../..' . '/app/Jobs/Commands/MiningTaxes/UpdateMiningTaxesLateInvoices1st.php',
'App\\Jobs\\Commands\\SupplyChain\\EndSupplyChainContractJob' => __DIR__ . '/../..' . '/app/Jobs/Commands/SupplyChain/EndSupplyChainContractJob.php', 'App\\Jobs\\Commands\\SupplyChain\\EndSupplyChainContractJob' => __DIR__ . '/../..' . '/app/Jobs/Commands/SupplyChain/EndSupplyChainContractJob.php',
'App\\Library\\Esi\\Esi' => __DIR__ . '/../..' . '/app/Library/Esi/Esi.php', 'App\\Library\\Esi\\Esi' => __DIR__ . '/../..' . '/app/Library/Esi/Esi.php',
'App\\Library\\Helpers\\AssetHelper' => __DIR__ . '/../..' . '/app/Library/Helpers/AssetHelper.php', 'App\\Library\\Helpers\\AssetHelper' => __DIR__ . '/../..' . '/app/Library/Helpers/AssetHelper.php',