Don't allow cancels from certain states (#396)

* Don't allow cancels from certain states

* Unused imports

* Don't reset the state doubly

* Move SetUserActive into listener; code cleanup

* Unused imports

* Add missing files into htaccess

* Move Command contract to correct folder
This commit is contained in:
Nabeel S
2019-09-16 13:08:26 -04:00
committed by GitHub
parent 41baefbf4a
commit aedb1f22b6
61 changed files with 231 additions and 138 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
namespace App\Console\Commands;
use App\Console\Command;
use App\Contracts\Command;
use App\Facades\Utils;
use GuzzleHttp\Client;
use Illuminate\Database\Eloquent\Collection;
+1 -1
View File
@@ -2,7 +2,7 @@
namespace App\Console\Commands;
use App\Console\Command;
use App\Contracts\Command;
use Illuminate\Support\Facades\Artisan;
class ComposerCommand extends Command
+1 -1
View File
@@ -2,7 +2,7 @@
namespace App\Console\Commands;
use App\Console\Command;
use App\Contracts\Command;
use Illuminate\Support\Facades\Log;
use Tivie\OS\Detector;
+1 -1
View File
@@ -2,7 +2,7 @@
namespace App\Console\Commands;
use App\Console\Command;
use App\Contracts\Command;
use App\Models\Acars;
use App\Models\Airline;
use App\Models\Pirep;
+1 -1
View File
@@ -2,7 +2,7 @@
namespace App\Console\Commands;
use App\Console\Command;
use App\Contracts\Command;
use Modules\Installer\Services\ConfigService;
/**
+1 -1
View File
@@ -2,7 +2,7 @@
namespace App\Console\Commands;
use App\Console\Command;
use App\Contracts\Command;
use App\Services\ImportService;
class ImportCsv extends Command
+1 -1
View File
@@ -2,7 +2,7 @@
namespace App\Console\Commands;
use App\Console\Command;
use App\Contracts\Command;
class ImportFromClassic extends Command
{
+1 -1
View File
@@ -2,7 +2,7 @@
namespace App\Console\Commands;
use App\Console\Command;
use App\Contracts\Command;
use App\Models\Enums\NavaidType;
use App\Models\Navdata;
+1 -1
View File
@@ -2,7 +2,7 @@
namespace App\Console\Commands;
use App\Console\Command;
use App\Contracts\Command;
use GuzzleHttp\Client;
class TestApi extends Command
+1 -1
View File
@@ -2,7 +2,7 @@
namespace App\Console\Commands;
use App\Console\Command;
use App\Contracts\Command;
use App\Services\VersionService;
use Symfony\Component\Yaml\Yaml;
+1 -1
View File
@@ -2,7 +2,7 @@
namespace App\Console\Commands;
use App\Console\Command;
use App\Contracts\Command;
use DB;
use Symfony\Component\Yaml\Yaml;
+1 -1
View File
@@ -2,7 +2,7 @@
namespace App\Console\Commands;
use App\Console\Command;
use App\Contracts\Command;
use App\Services\DatabaseService;
/**