Skip to content

Releases: AsgardCms/Platform

2.5.0

25 Jul 16:24
a30fdc4
Compare
Choose a tag to compare

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 in config/asgard/core/core.php to change the editor in backend
  • Core: New handler RenderMarkdown if you want to render markdown on a ContentIsRendering event
  • Core: New @editor('fieldname', 'fieldlabel, 'content', 'locale') blade directive to include a textarea. The last locale parameter is optional and can be omitted for non translatable textarea.
  • Core: New BuildingSidebar hook used to add sidebar elements (backend) this will replace the SidebarExtender 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 and css-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

  • view commit • Preparing 2.5.0 release
  • view commit • Using new sidebar event listener for Core module
  • view commit • Using new sidebar event listener for Workshop module
  • view commit • Using new sidebar event listener for User module
  • view commit • Using new sidebar event listener for Translation module
  • view commit • Adding changelog item
  • view commit • Stop making DB queries on console mode (#356)
  • view commit • Using new sidebar event listener for tag module
  • view commit • Adding changelog item
  • view commit • Adding a ckeditor skin to better integrate with bootstrap.
  • view commit • add https to app docker image (#354)
  • view commit • Use standard ports in docker-compose + rename network (#352)
  • view commit • Fix redirect after login (#353)
  • view commit • Fix broken workshop when module name contains dash (#351)
  • view commit • Using new sidebar event listener
  • view commit • Fixing module name
  • view commit • Using a sidebar event listener for menu module
  • view commit • Making existing sidebar event listeners to use the abstract sidebar class remove duplicate logic
  • view commit • Register the Media sidebar via event hook. Remove old sidebar extender
  • view commit • Create an abstract sidebar class to avoid repetition
  • view commit • Setting default db host to 127.0.0.1
  • view commit • Search for db_host of 127.0.0.1 instead of localhost, which is now used in the .env.example fi...
  • Read more

    2.4.0

    11 Jul 07:39
    23e2e98
    Compare
    Choose a tag to compare

    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 the Trait 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

  • view commit • Preparing 2.4.0 release
  • view commit • Publish the new workshop configuration key
  • view commit • CS: PSR1/2
  • view commit • Adding changelog item
  • view commit • Trigger an event before a user is created, allowing customising its data via listeners
  • view commit • Adding workshop changelog
  • view commit • Testing the feature of overwriting stub views.
  • view commit • Testing the feature of overwriting stub views. Using realpath instead of base_path, leaving more options open
  • view commit • Create a stub route files to overwrite default routes stub
  • view commit • Add custom stubs folder (#344)
  • view commit • Update php-cs-fixer configuration file to use v2
  • view commit • Adding changelog item for adminlte theme
  • view commit • Preparing 2.4.0 changelog for adminlte theme
  • view commit • Updating and compiling assets
  • view commit • Migrate Adminlte theme to laravel mix
  • view commit • Preparing 2.4 changelog for media
  • view commit • Creating a @thumbnail blade directive
  • view commit • Preparing the user changelog
  • view commit • Show build status on 2.0 branch
  • view commit • Move build icon at start
  • view commit • Using a flat badge
  • view commit • Adding back a proper readme file
  • view commit • Updating changelog for adminlte theme, removing 1.0 mentions
  • view commit • Preparing next flatly release
  • view commit • Updating changelogs for v2
  • view commit • User: Move the CanFindUserWithBearerToken trait to Trait namespace
  • view commit • Reading the AWS credentials from environment file
  • view commit • Get the url from the configured filesystem and remove the first slash of the path
  • view commit • Flatly with Laravel Mix (#340)
  • view commit • Update MediaSingleDirective.php (#338)
  • view commit • Merge branch 'master' into 2.0
  • view commit • Using field name for both Media Blade Directives (#337)
  • view commit • Making sure the hashed password is correct
  • 2.3.0

    02 Jul 11:39
    f6d00a3
    Compare
    Choose a tag to compare

    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 the SentinelUserRepository 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
    

    Log

  • view commit • Incrementing version
  • view commit • Adding missing docblock on Downloader class
  • view commit • Download module command: Adding optional option to download a specific branch
  • view commit • Catch any possible exception and display its error message, stopping console command execution.
  • view commit • Throw an exception in case no releases were found. Refactor to have access to the release version earlier, giving the ability to output the downloaded version.
  • view commit • Remove module permissions when remove a module
  • view commit • Creating a PermissionsRemover class to remove all module permissions from roles and users
  • view commit • Register laravel tinker service provider
  • view commit • Avoid hashing passwords 2 times with using createWithRoles method, which calls the create() method.
  • view commit • Allow assets publishing on module download command. Add a --demo flag that runs all optional flags.
  • view commit • Adding a confirm message to delete:module command, to prevent accidental deletions
  • view commit • Create and register a command to delete modules
  • view commit • Adding options to migrate and/or seed the downloaded module
  • view commit • Creating a downloader class
  • view commit • Register the download command
  • view commit • Creating a command to download modules
  • 2.2.0

    29 Jun 15:54
    a8f1796
    Compare
    Choose a tag to compare

    Changed

  • view commit • Removing the page counter as it doesn't serve any purpose besides costing a query
  • view commit • Loging in the user found via the bearer token. Failsafe if the user isn't set on a revision to use empty string. Fixes #308
  • view commit • Create a helper trait to find a user by the given Bearer token
  • view commit • CS: PSR1/2
  • view commit • Publishing the debugbar
  • view commit • Using the app singleton key instead of repeating the same logic
  • view commit • Optimising the checking and loading of module translations
  • view commit • Only registering the menus for the frontend part.
  • view commit • Binding as a singleton in an asgard key if we're on the backend or not
  • view commit • Using correct docblock
  • view commit • Testing event trigger on page deletion
  • view commit • Testing that the page events are triggered
  • 2.1.0

    28 Jun 12:48
    cf91ffd
    Compare
    Choose a tag to compare

    Added

    • Testing the UserRepository
    • Testing the RoleRepository

    Changed

    • Fixed whereKey in translation module, since laravel 5.4 this searches on id column
    • Fixed tags not being removed probably on update & delete

    2.0.4

    22 Jun 12:56
    969a147
    Compare
    Choose a tag to compare

    Fixed

    • Translations now read from the database again if present. (PR #331 )

    2.0.3

    16 Jun 19:55
    f450282
    Compare
    Choose a tag to compare

    Changed

    • Fixed calls to ->route()->getParameter() to ->route()->parameter() in form requests. (Fixes #330 )

    2.0.2

    15 Jun 17:42
    1af34ec
    Compare
    Choose a tag to compare

    Fixed

    • Linking media to entities works again. No more wildcard listeners, but listening directly to interfaces. No changes for end user.

    2.0.1

    14 Jun 16:22
    Compare
    Choose a tag to compare

    Fixed

    • Update to Laravel 5.4 Sessions:Symfony Compatibility (PR #328 )

    2.0.0

    14 Jun 16:19
    73af6cf
    Compare
    Choose a tag to compare