Releases: AsgardCms/Platform
Releases · AsgardCms/Platform
2.5.0
Added
- Core: Adding a
EntityIsChanging
interface to use on events which are triggered before a create / update action - Core: Create an
AbstractEntityHook
containing base logic for entity hooks - Core: Trigger the
EditorIsRendering
event on assets view composer and send editor variable to view - Core: New configuration value
wysiwyg-handler
inconfig/asgard/core/core.php
to change the editor in backend - Core: New handler
RenderMarkdown
if you want to render markdown on aContentIsRendering
event - Core: New
@editor('fieldname', 'fieldlabel, 'content', 'locale')
blade directive to include a textarea. The lastlocale
parameter is optional and can be omitted for non translatable textarea. - Core: New
BuildingSidebar
hook used to add sidebar elements (backend) this will replace theSidebarExtender
classes - Core: Creating helper trait
CanGetSidebarClassForModule
, to get the sidebar class for a module - Core: Adding Docker support. Run
./dcp up
to get started. - Tag: Create and trigger events when tags are created and updated
- Tag: Trigger event before a tag is created (
TagIsCreating
) allow data to be changed - Tag: Trigger event before a tag is updated (
TagIsUpdating
) allow data to be changed - Translation: New cache driver specifically for translations, making translations always cached
- User: Trigger an event (
UserIsUpdating
) before a user is updated - User: Trigger an event (
RoleIsCreating
) before a role is created - User: Trigger an event (
RoleIsUpdating
) before a role is updated - User: Adding a sentinel guard allowing usage of the Auth:: facade and native auth related methods
- Workshop: Module scaffold command now also generates form requests
- Dashboard: New Sidebar event handler class replacing the old
SidebarExtender
class - Media:
FileWasCreated
event - Media:
FileWasUpdated
event - Media:
FileIsCreating
hookable event - Media:
FileIsUpdating
hookable event - Media: New Sidebar event handler class replacing the old
SidebarExtender
class - Menu: Trigger event before a menu is created (
MenuIsCreating
) allow data to be changed - Menu: Trigger event before a menu is updated (
MenuIsUpdating
) allow data to be changed - Menu: Trigger event before a menu item is created (
MenuItemIsCreating
) allow data to be changed - Menu: Trigger event before a menu item is updated (
MenuItemIsUpdating
) allow data to be changed - Menu: New Sidebar event handler class replacing the old
SidebarExtender
class - Page: Trigger event before a page is created (
PageIsCreating
) allow data to be changed - Page: Trigger event before a page is updated (
PageIsUpdating
) allow data to be changed - Setting: Normalise the setting was created event
- Setting: Normalise the setting was updated event
- Setting: Trigger
SettingIsCreating
hook - Setting: Trigger
SettingIsUpdating
hook - Setting: New Sidebar event handler class replacing the old
SidebarExtender
class - AdminLTE:
js-stack
andcss-stack
stacks - AdminLTE: New CKEditor skin to better integrate with bootstrap
Changed
- Core: Adding more core modules (tag, translation and page). Preventing them to be disabled.
- Core: Splitting up the
EditorIsRendering
hook to its own view composer, avoiding binding the (expensive)AssetsViewComposer
on every view & partial - Core: Stop making DB queries on console mode
- Tag: Using the @Push js stacks over the scripts section
- Tag: Using the @Push css stacks over the styles section
- Tag: Sidebar is now loaded via the
BuildingSidebar
hook - Translation: Using the @Push js stacks over the scripts section
- Translation: Using the @Push css stacks over the styles section
- Translation: No more 1 query per translation. Translations are group together to greatly reduce the query amount.
- Translation: Sidebar is now loaded via the
BuildingSidebar
hook - User: Using the @Push js stacks over the scripts section
- User: Using the @Push css stacks over the styles section
- User: Sidebar is now loaded via the
BuildingSidebar
hook - Workshop: Using the @Push js stacks over the scripts section
- Workshop: Using the @Push css stacks over the styles section
- Workshop: Register module migrations by default to ease testing in service provider
- Workshop: SidebarExtender class has been removed in favor of new Sidebar event handlers
- Workshop: Register the sidebar event handler in service provider
- Workshop: Sidebar is now loaded via the
BuildingSidebar
hook - Dashboard: Using the @Push js stacks over the scripts section
- Dashboard: Using the @Push css stacks over the styles section
- Media: Using the @Push js stacks over the scripts section
- Media: Using the @Push css stacks over the styles section
- Menu: Using the @Push js stacks over the scripts section
- Menu: Using the @Push css stacks over the styles section
- Page: Requiring the editor assets via hook
- Page: Making editor textarea dynamic
- Page: Using the new
@editor
blade directive for the body textarea field - Page: Remove the ckeditor inclusion on create/edit view stubs
- Page: Using the @Push js stacks over the scripts section
- Page: Using the @Push css stacks over the styles section
- Page: Sidebar is now loaded via the
BuildingSidebar
hook - Setting: Using the @Push js stacks over the scripts section
- Setting: Using the @Push css stacks over the styles section
Removed
- Workshop: Removing ckeditor from the default scaffolded views, now included via
EditorIsRendering
hook
Log
2.4.0
Added
- User: Trigger an event (
UserIsCreating
) before a user is created, allowing customising its data via listeners - Media: new blade directive for thumbnails
@thumbnail('path', 'thumbnailName')
- Workshop: Add the ability to set custom stubs folder used by generated modules
Changed
- User: Testing password hashing
- User: Moved the
CanFindUserWithBearerToken
to theTrait
namespace - Media: Ability to set the field name for media directives (single & multiple), as forth argument
- Media: Fixing URL generation in case of S3, remove first
- Adminlte: Moved to using laravel.mix
- Adminlte: Dependencies are now handled by NPM instead of Bower
- Flatly: Moved to using laravel.mix
Log
2.3.0
Added
- New command:
php artisan asgard:download:module asgardcms/contact --migrations --seeds --assets
- New command:
php artisan asgard:delete:module ModuleName --migrations
Changed
- Fixed:
createWithRoles
method on theSentinelUserRepository
now doesn't hash the password anymore, this is now handled inside the create method. - Registered the Laravel Tinker service provider in
app.php
Related
AsgardCMS now has an installer for quicker application setup. Read all about it on the documentation: https://asgardcms.com/docs/v2/getting-started/installation#install-asgardcms
asgardcms new Blog