Permalink
Browse files

Removing server templates whilst it is reworked

  • Loading branch information...
REBELinBLUE committed Jul 20, 2017
1 parent 3c9c41f commit 71ad2aa5d86bff14f2111145117e981f4475c01d
Showing with 77 additions and 1,297 deletions.
  1. +0 −38 app/Events/Observers/ServerTemplateObserver.php
  2. +0 −79 app/Http/Controllers/Admin/ServerTemplateController.php
  3. +18 −20 app/Http/Controllers/DeploymentController.php
  4. +0 −23 app/Http/Requests/StoreServerTemplateRequest.php
  5. +0 −3 app/Providers/EventServiceProvider.php
  6. +0 −3 app/Providers/RepositoryServiceProvider.php
  7. +0 −45 app/Repositories/Contracts/ServerTemplateRepositoryInterface.php
  8. +0 −33 app/Repositories/EloquentServerTemplateRepository.php
  9. +0 −39 app/ServerTemplate.php
  10. +0 −13 database/factories/ServerTemplateFactory.php
  11. +0 −31 database/migrations/2017_04_11_221151_add_server_template_table.php
  12. +0 −1 database/seeds/DatabaseSeeder.php
  13. +0 −30 database/seeds/ServerTemplateTableSeeder.php
  14. +0 −1 gulpfile.js
  15. +0 −284 public/build/js/{app-df40ca1cbf.js → app-737a2f2bb3.js}
  16. +1 −1 public/build/js/app.js.map
  17. +1 −1 public/build/rev-manifest.json
  18. +0 −274 resources/assets/js/serverTemplates.js
  19. +0 −9 resources/assets/js/servers.js
  20. +0 −1 resources/lang/en/app.php
  21. +1 −4 resources/lang/en/servers.php
  22. +0 −1 resources/views/_partials/sidebar.blade.php
  23. +0 −55 resources/views/admin/servers/dialog.blade.php
  24. +0 −51 resources/views/admin/servers/listing.blade.php
  25. +0 −1 resources/views/projects/details.blade.php
  26. +55 −89 resources/views/projects/dialogs/server.blade.php
  27. +0 −5 routes/admin.php
  28. +0 −128 tests/Integration/Admin/ServerTemplateControllerTest.php
  29. +1 −1 tests/Unit/Providers/RepositoryServiceProviderTest.php
  30. +0 −33 tests/Unit/Repositories/EloquentServerTemplateRepositoryTest.php

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.
@@ -16,7 +16,6 @@
use REBELinBLUE\Deployer\Repositories\Contracts\ProjectRepositoryInterface;
use REBELinBLUE\Deployer\Repositories\Contracts\ServerLogRepositoryInterface;
use REBELinBLUE\Deployer\ServerLog;
use REBELinBLUE\Deployer\ServerTemplate;
use REBELinBLUE\Deployer\View\Presenters\ServerLogPresenter;
/**
@@ -92,25 +91,24 @@ public function project($project_id)
});
return $this->view->make('projects.details', [
'title' => $project->name,
'deployments' => $this->deploymentRepository->getLatest($project_id),
'today' => $this->deploymentRepository->getTodayCount($project_id),
'last_week' => $this->deploymentRepository->getLastWeekCount($project_id),
'project' => $project,
'servers' => $project->servers,
'server_templates' => ServerTemplate::all(),
'channels' => $project->channels,
'heartbeats' => $project->heartbeats,
'sharedFiles' => $project->sharedFiles,
'configFiles' => $project->configFiles,
'checkUrls' => $project->checkUrls,
'variables' => $project->variables,
'optional' => $optional,
'tags' => $project->tags,
'branches' => $project->branches,
'route' => 'commands.step',
'target_type' => 'project',
'target_id' => $project->id,
'title' => $project->name,
'deployments' => $this->deploymentRepository->getLatest($project_id),
'today' => $this->deploymentRepository->getTodayCount($project_id),
'last_week' => $this->deploymentRepository->getLastWeekCount($project_id),
'project' => $project,
'servers' => $project->servers,
'channels' => $project->channels,
'heartbeats' => $project->heartbeats,
'sharedFiles' => $project->sharedFiles,
'configFiles' => $project->configFiles,
'checkUrls' => $project->checkUrls,
'variables' => $project->variables,
'optional' => $optional,
'tags' => $project->tags,
'branches' => $project->branches,
'route' => 'commands.step',
'target_type' => 'project',
'target_id' => $project->id,
]);
}

This file was deleted.

Oops, something went wrong.
@@ -25,14 +25,12 @@
use REBELinBLUE\Deployer\Events\Observers\HeartbeatObserver;
use REBELinBLUE\Deployer\Events\Observers\ProjectObserver;
use REBELinBLUE\Deployer\Events\Observers\ServerLogObserver;
use REBELinBLUE\Deployer\Events\Observers\ServerTemplateObserver;
use REBELinBLUE\Deployer\Events\UrlDown;
use REBELinBLUE\Deployer\Events\UrlUp;
use REBELinBLUE\Deployer\Events\UserWasCreated;
use REBELinBLUE\Deployer\Heartbeat;
use REBELinBLUE\Deployer\Project;
use REBELinBLUE\Deployer\ServerLog;
use REBELinBLUE\Deployer\ServerTemplate;
/**
* The event service provider.
@@ -69,6 +67,5 @@ public function boot()
Heartbeat::observe(HeartbeatObserver::class);
Project::observe(ProjectObserver::class);
ServerLog::observe(ServerLogObserver::class);
ServerTemplate::observe(ServerTemplateObserver::class);
}
}
@@ -16,7 +16,6 @@
use REBELinBLUE\Deployer\Repositories\Contracts\RefRepositoryInterface;
use REBELinBLUE\Deployer\Repositories\Contracts\ServerLogRepositoryInterface;
use REBELinBLUE\Deployer\Repositories\Contracts\ServerRepositoryInterface;
use REBELinBLUE\Deployer\Repositories\Contracts\ServerTemplateRepositoryInterface;
use REBELinBLUE\Deployer\Repositories\Contracts\SharedFileRepositoryInterface;
use REBELinBLUE\Deployer\Repositories\Contracts\TemplateRepositoryInterface;
use REBELinBLUE\Deployer\Repositories\Contracts\UserRepositoryInterface;
@@ -34,7 +33,6 @@
use REBELinBLUE\Deployer\Repositories\EloquentRefRepository;
use REBELinBLUE\Deployer\Repositories\EloquentServerLogRepository;
use REBELinBLUE\Deployer\Repositories\EloquentServerRepository;
use REBELinBLUE\Deployer\Repositories\EloquentServerTemplateRepository;
use REBELinBLUE\Deployer\Repositories\EloquentSharedFileRepository;
use REBELinBLUE\Deployer\Repositories\EloquentTemplateRepository;
use REBELinBLUE\Deployer\Repositories\EloquentUserRepository;
@@ -60,7 +58,6 @@ class RepositoryServiceProvider extends ServiceProvider
RefRepositoryInterface::class => EloquentRefRepository::class,
ServerLogRepositoryInterface::class => EloquentServerLogRepository::class,
ServerRepositoryInterface::class => EloquentServerRepository::class,
ServerTemplateRepositoryInterface::class => EloquentServerTemplateRepository::class,
SharedFileRepositoryInterface::class => EloquentSharedFileRepository::class,
TemplateRepositoryInterface::class => EloquentTemplateRepository::class,
UserRepositoryInterface::class => EloquentUserRepository::class,

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.
View

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 71ad2aa

Please sign in to comment.