Skip to content

Commit

Permalink
Added some changes and fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian Wartner committed Aug 20, 2016
1 parent 1fdf199 commit 5d29269
Show file tree
Hide file tree
Showing 86 changed files with 7,659 additions and 3,784 deletions.
4 changes: 3 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,6 @@ PUSHER_KEY=
PUSHER_SECRET=
PUSHER_APP_ID=

GOOGLE_MAPS_KEY=
GOOGLE_MAPS_KEY=

BUGSNAG_API_KEY=4e416b07e3b6a0247c5a749864472e08
4 changes: 3 additions & 1 deletion .env.staging
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,6 @@ PUSHER_KEY=
PUSHER_SECRET=
PUSHER_APP_ID=

GOOGLE_MAPS_KEY=
GOOGLE_MAPS_KEY=

BUGSNAG_API_KEY=4e416b07e3b6a0247c5a749864472e08
4 changes: 4 additions & 0 deletions .idea/blade.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions .idea/composerJson.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions .idea/copyright/profiles_settings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/jsLibraryMappings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions .idea/libraries/phpmap_node_modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 23 additions & 0 deletions .idea/phpmap.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions .idea/webResources.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1,090 changes: 1,090 additions & 0 deletions .idea/workspace.xml

Large diffs are not rendered by default.

44 changes: 0 additions & 44 deletions app/Console/Commands/Search/ReindexCommand.php

This file was deleted.

10 changes: 4 additions & 6 deletions app/Console/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class Kernel extends ConsoleKernel
* @var array
*/
protected $commands = [
Commands\Search\ReindexCommand::class,
//
];

/**
Expand All @@ -24,8 +24,8 @@ class Kernel extends ConsoleKernel
*/
protected function schedule(Schedule $schedule)
{
$schedule->command('backup:clean')->daily()->at('01:00');
$schedule->command('backup:run')->daily()->at('02:00');
// $schedule->command('inspire')
// ->hourly();
}

/**
Expand All @@ -35,8 +35,6 @@ protected function schedule(Schedule $schedule)
*/
protected function commands()
{
// $this->command('build {project}', function ($project) {
// $this->info('Building project...');
// });
require base_path('routes/console.php');
}
}
5 changes: 4 additions & 1 deletion app/Http/Controllers/Api/Users/UserController.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ public function update(Request $request, $id)
*/
public function destroy($id)
{
//
$user = User::find($id);
$user->unsearchable();
$user->delete();
return redirect('/');
}
}
1 change: 0 additions & 1 deletion app/Http/Controllers/Auth/RegisterController.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ protected function create(array $data)
'lng' => $data['lng'],
'city' => $data['city'],
'country' => $data['country'],
'api_token' => str_random(20).'.'.str_random(5).'_'.str_random(15)
]);
}
}
16 changes: 16 additions & 0 deletions app/Http/Controllers/Backend/BackendController.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?php

namespace App\Http\Controllers\Backend;

use Illuminate\Http\Request;

use App\Http\Requests;
use App\Http\Controllers\Controller;

class BackendController extends Controller
{
public function index()
{
return view('backend.home');
}
}
87 changes: 87 additions & 0 deletions app/Http/Controllers/Backend/Blogs/ArticleController.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
<?php

namespace App\Http\Controllers\Backend\Blogs;

use Illuminate\Http\Request;

use App\Http\Requests;
use App\Http\Controllers\Controller;

class ArticleController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
//
}

/**
* Show the form for creating a new resource.
*
* @return \Illuminate\Http\Response
*/
public function create()
{
//
}

/**
* Store a newly created resource in storage.
*
* @param \Illuminate\Http\Request $request
* @return \Illuminate\Http\Response
*/
public function store(Request $request)
{
//
}

/**
* Display the specified resource.
*
* @param int $id
* @return \Illuminate\Http\Response
*/
public function show($id)
{
//
}

/**
* Show the form for editing the specified resource.
*
* @param int $id
* @return \Illuminate\Http\Response
*/
public function edit($id)
{
//
}

/**
* Update the specified resource in storage.
*
* @param \Illuminate\Http\Request $request
* @param int $id
* @return \Illuminate\Http\Response
*/
public function update(Request $request, $id)
{
//
}

/**
* Remove the specified resource from storage.
*
* @param int $id
* @return \Illuminate\Http\Response
*/
public function destroy($id)
{
//
}
}
Loading

0 comments on commit 5d29269

Please sign in to comment.