Releases: darryldecode/laravelbackend
IMPROVEMENT
WHAT'S NEW:
- Added Before Backend Access Hook
UPGRADE GUIDE:
1st Run:
composer update "darryldecode/laravelbackend"
2nd, on config/backend/backend.php:
add this:
/*
* Before Backend Access Hook
*
* Here you can check if user is in groups or has permissions to redirect to any route
* you want when it does not matches your criteria to access the backend
*/
'before_backend_access' => function($user) {
}
IMPROVEMENT ON AUTH VIEWS[PATCH]
WHAT'S NEW:
- Allow to customize the views for login form for backend and reset password..
UPGRADE GUIDE:
1st Run:
composer update "darryldecode/laravelbackend"
2nd Run:
php artisan vendor:publish --provider="Darryldecode\Backend\BackendServiceProvider" --tag="views"
IMPROVEMENT ON AUTH VIEWS
WHAT'S NEW:
- Allow to customize the views for login form for backend and reset password..
UPGRADE GUIDE:
1st Run:
composer update "darryldecode/laravelbackend"
2nd Run:
php artisan vendor:publish --provider="Darryldecode\Backend\BackendServiceProvider" --tag="views"
IMPROVEMENT ON USERS API
CHANGE LOG:
- added
queryHook
parameter when using QueryUsersCommand
UPGRADE GUIDE:
composer update "darryldecode/laravelbackend"
FIXES
UPGRADE GUIDE:
composer update "darryldecode/laravelbackend"
Fix missing orderBy on Querying users command..
EDITOR IMPROVEMENTS
WHAT'S NEW:
- New MCE editor button for uploaded files
UPGRADE GUIDE:
1st Run:
composer update "darryldecode/laravelbackend"
2nd Run:
php artisan vendor:publish --provider="Darryldecode\Backend\BackendServiceProvider" --tag="public" --force
Great Improvements
UPGRADE GUIDE:
1st Run:
If you have custom components or widgets, open the Component.php or Widget.php file and implement the required new abstract methods:
/**
* you can add scripts or css links here on header
*
* @return array
*/
public function getHeaderScripts()
{
/*
NOTE:
css and js are important keys to identify whether a link is a javascript or css
notice that forward slash in the beginning is present. Don't miss that!
example:
array(
'css' => array(
'/my-component/css/component-style.css',
'/my-component/css/component-style2.css',
),
'js' => array(
'/my-component/js/component-js.js',
'/my-component/js/component-js.js',
)
);
*/
return array();
}
/**
* you can add scripts or css links here on footer
*
* @return array
*/
public function getFooterScripts()
{
/*
NOTE:
css and js are important keys to identify whether a link is a javascript or css
notice that forward slash in the beginning is present. Don't miss that!
example:
array(
'js' => array(
'/my-component/js/component-js.js',
'/my-component/js/component-js.js',
)
);
*/
return array();
}
2nd Run:
composer update "darryldecode/laravelbackend"
BUG FIXES
UPGRADE GUIDE:
composer update "darryldecode/laravelbackend"
IMPROVEMENTS & FIXES
Change Log:
- Added Dynamic Model creation for creating user and creating content
- Fixed some failing tests
UPGRADE GUIDE:
composer update "darryldecode/laravelbackend"
Improvements
Change Log:
- when creating a user, make last_name field required and update its tests
- add backend authentication event hooks (backend.auth.success and backend.auth.logout )
UPGRADE GUIDE:
composer update "darryldecode/laravelbackend"