Skip to content

Commit

Permalink
Multiple Change
Browse files Browse the repository at this point in the history
  • Loading branch information
drolean committed Jan 19, 2018
1 parent 7336638 commit c69942f
Show file tree
Hide file tree
Showing 68 changed files with 15,374 additions and 10,067 deletions.
4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
* text=auto
*.css linguist-vendored
*.scss linguist-vendored
*.js linguist-vendored
CHANGELOG.md export-ignore
README.md export-ignore
.travis.yml export-ignore
7 changes: 4 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
/node_modules
/public/storage
/storage/*.key
/vendor
/.idea
Homestead.json
Homestead.yaml
.env
Homestead.yaml
/bower_components
npm-debug.log
yarn-error.log
.env
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
## 1.2.0 - 2018-01-19

- Removed bower packages
- Added all plugins to NPM
- Removed not utilized packages, configs, files
- Upgrade some packages (NPM, Composer)
- KNOW BUG (Fontawesome not loaded correctly)

## 1.1 - 2017-10-21

- Fixed Force HTTPS Scheme
- Change Bootstrap from BOWER to NPM
-Session encrypt default is false

## 1.0 - 2017-10-21

- Initial release
12 changes: 7 additions & 5 deletions app/Http/Controllers/Backend/PermissionsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

namespace App\Http\Controllers\Backend;

use Route;
use App\Http\Controllers\Controller;
use App\Models\Permission;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\Cache;
use Route;

class PermissionsController extends Controller
{
Expand Down Expand Up @@ -40,8 +40,8 @@ public function create()
*/
public function store(Request $request)
{
$Permissao = new Permission;
$Permissao->name = $request->input('name');
$Permissao = new Permission;
$Permissao->name = $request->input('name');
$Permissao->label = $request->input('label');
$Permissao->save();

Expand Down Expand Up @@ -119,12 +119,14 @@ public function getGerar()
if (starts_with($Rota->getName(), 'admin')) {
$filterRouter = ['admin.empresas*', 'admin.permissio*', 'admin.super*', 'admin.profile*'];

if (! array_has($filterRouter, $Rota->getName())) {
if (!array_has($filterRouter, $Rota->getName())) {
Permission::firstorCreate(['name' => $Rota->getName()]);
}
}
}

Cache::forget('Permissions');

return redirect()->back()->with('success', 'Lista de permissões gerada com sucesso!');
}
}
34 changes: 0 additions & 34 deletions app/Listeners/LogSMS.php

This file was deleted.

2 changes: 1 addition & 1 deletion app/Models/Companie.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,6 @@ public function getLogoAttribute($value)
return '/images/'.$value;
}

return asset('/logo-color.png');
return asset('/logo.png');
}
}
27 changes: 0 additions & 27 deletions bower.json

This file was deleted.

11 changes: 4 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
{
"name": "laravel/laravel",
"description": "The Laravel Framework.",
"keywords": ["framework", "laravel"],
"name": "drolean/Starter-Kit-Laravel",
"description": "Laravel Starter Kit Admin Panel.",
"keywords": ["php", "framework", "laravel"],
"license": "MIT",
"type": "project",
"require": {
"php": ">=5.6.4",
"php": ">=7.0.0",
"fideloper/proxy": "~3.3",
"garygreen/pretty-routes": "^0.0",
"intervention/image": "^2.3",
"lakshmaji/plivo": "^1.2",
"laravel-notification-channels/webpush": "^1.0",
"laravel/framework": "5.5.*",
"laravel/socialite": "^3.0",
Expand All @@ -18,7 +16,6 @@
"laravolt/avatar": "^1.8",
"pragmarx/google2fa": "^1.0",
"pusher/pusher-php-server": "^3.0",
"spatie/laravel-backup": "^5.0",
"vinkla/hashids": "^3.1"
},
"require-dev": {
Expand Down
177 changes: 0 additions & 177 deletions config/backup.php

This file was deleted.

Loading

0 comments on commit c69942f

Please sign in to comment.