Changelog

v3.3.6

  • NEW: Added crud.update.after Eventy hook to the admin SettingController

v3.3.5

  • REMOVED: Enso Mailer has been removed from Enso Core

v3.3.4

  • FIXED: Updated EnsoFieldOrderableRelationship to handle the updated response structure.

v3.3.3

  • FIXED: Directory capitalisation: routes v Routes

v3.3.2

  • FIXED: Added SelectableUrlField import to pre-built enso-admin.js
  • FIXED: When ControlsTemplateRecords remove a template field, it also removes any associated validation rules.

v3.3.1

  • FIXED: ListResource also keys by the config value enso.settings.select_label_by.
  • IMPROVED: Move SiteMenu config to it's own publishable file.
  • IMPROVED: Renamed SiteMenu crud_name for consistency.
  • IMPROVED: ControlsProtectedRecords trait allows for overriding the section that the identifier field is in.
  • NEW: ControlsTemplatedRecords CrudController trait to automatically remove template field if model has custom template.

v3.3.0

  • IMPROVED Breaking change: File structure of crud configuration files has been improved.
  • NEW: SelectableUrlField has been added to allow CMS users to intuitively add links to existing content.

v3.2.9

  • IMPROVED: Add better Crud validation rule getters and setters
  • NEW: When a Crud filter returns an empty array, it is removed from the list of filters.

v3.2.5

  • IMPROVED: Updated IsCrudModel and applied to all core models.
  • IMPROVED: Responsive helper now has 2xl size.
  • IMPROVED: Nav & Footer templates now have menu-based conditionals.
  • IMPROVED: LocationField now usable in flexible content.

v3.2.4

  • NEW: Can override viewing unpublished pages with a permission.
  • IMPROVED: Updated IsPublishable trait to allow for unpublishing, if desired.
  • IMPROVED: Page Crud uses correct interface.
  • IMPROVED: Improved some page-related installable files.
  • REMOVED: PagePublishController.

v3.2.3

  • IMPROVED: SiteMenus now supports url prefixes such as mailto: and tel:

v3.2.1

  • IMPROVED: Added Crud Filters as classes.

v3.2.0

  • IMPROVED: Removed return type from Publish column and made helper methods return $this.
  • IMPROVED: Remove Mandrill from core requirements as it's only needed for the Mailer.

v3.1.19

  • IMPROVED: Changed .editorconfig to use 4 spaces in blade files

v3.1.18

  • NEW: Added CustomHTMLField

v3.1.17

  • IMPROVED: User::getUsername now returns an empty string if username is null

v3.1.16

  • FIX: Date inputs on Safari were not displaying the date

v3.1.15

  • IMPROVED: Allow the use of usePage so that unpublished or non-existent pages can be allowed.
  • IMPROVED: Pages disabledSlugs system has been revised into a trait so that it can be applied to any crud.
  • NEW: Implements page-specific templates as part of core Ensō.

v3.1.14

  • IMPROVED: 'Login As' button removed from current User record edit page.
  • IMPROVED: User 'Home' now redirects to that User's edit page.
  • IMPROVED: Binding extensions of Fields & Sections to the IoC container is now accounted for in relevant ::make() calls.
  • IMPROVED: Row alignment calculation extrated to standalone trait.
  • FIX: EnsoMenu visible items can now be equal to max items.

v3.1.5

  • FIX: Fix resize logic when images are too small in both height and width.

v3.1.4

  • IMPROVED - Make getResizeUrl return getUrl if file type is somehow not image.

v3.1.3

  • NEW: Add target selection to FlexibleContent buttons

v3.1.2

  • IMPROVED: Use Purifier settings from config

v3.1.1

  • IMPROVED: Make ImageSection use FileUploadFieldResumable

v3.1.0

  • FIXED - Breaking change Updated Flex rows' unpack() methods to all have the same signature and return objects, not arrays.

v3.0.13

  • NEW: Allow setting custom Vue component for CRUD fields

v3.0.12

  • NEW: Make the admin area's mix manifest overridable by using the enso.crud.manifest_directory config setting.
  • NEW: Bypass global scopes in CRUD routes and fields

v3.0.10

  • NEW: Added alerts on backend when site is not in production or is in production AND in debug mode.

v3.0.9

  • IMPROVED: Add more validation to SiteMenu and fix the way that menu item targets are being saved.
  • FIXED: Fixed seeded SiteMenu slugs
  • IMPROVED: Make MetaSection use Morph Map if appropriate.

v3.0.8

  • IMPROVED: Add error handling to ColorTheif getColor call

v3.0.7

  • IMPROVED: Remove redundant svg-store package and update Yarn packages.
  • IMPROVED: Don't purify TextField and TextareaField content by default. Sanitisation for these fields usually happens when outputting on the page so this change better reflects real-world use.

v3.0.6

  • FIXED: newCollection was incorrectly applied to the Category crud when it should have been applied to the model. This has been rectified.
  • NEW: If Enso::route() parameter is empty an exception is now thrown. This change should make it easier to debug when an invalid item is set in the config.
  • NEW: Added some helper methods to the EnsoCrud facade for getting model/config/controller class names. Also a query method to directly create a query on a crud model.
  • NEW: Publishable cruds now have a "save and [un]publish" button as well as the regular save button.
  • NEW: Added a new Publish index column type.
  • IMPROVED: Updated the help text on the Hero row spec to mention that images are used, even if a video is provided.
  • IMPROVED: Now if there is only one row spec ina flexible content field the "add row" button will immediately add a row, rather than showing a dropdown with one item.
  • IMPROVED: DividerField and StaticTextField will no longer attempt to save content when a crud is saved, because they don't have content. This was unlikely to cause an issue but is fixed anyway.
  • IMPROVED: FlexibleContentField now respects the max rows option.
  • IMPROVED: The route name in the Config::slugRoute method used name_singular. It now uses name_plural, inline with the usual route naming scheme.
  • IMPROVED: If a file uploader has maxFiles=1 then selecting a file will immediately start the upload process.
  • IMPROVED: Admin CSS has been improved and tidied up. Buttons should look better now, especially their hover/focus/active states.

v3.0.5

  • NEW: Add a max depth option to nested cruds.
  • NEW: Create BelongsToCategory and BelongsToManyCategories traits.
  • NEW: Added a --taxonomy option to the make:crud command and generally tidied up the code for that command.
  • NEW: Added a trait to preserve children of nested cruds when a parent item is deleted.
  • IMPROVED: Extracted the "disabled slugs" and "per-slug fields" code from Pages and made it reuseable.

v3.0.4

  • FIXED: Only show "rearrange" button on nested cruds.

v3.0.3

  • NEW: Create abstract TaxonomyController.
  • NEW: Add slugRoute method to Config.
  • NEW: Added newCollection method to Category.

v3.0.2

  • NEW: Add drag-and-drop interface for nestable Cruds.

v3.0.1

  • FIX: Bug in backend js.

v3.0.0

  • NEW: Added PageSeeder for Home and Holding Page pages.
  • NEW: Create default route files to be installed by enso:install comand.
  • NEW: Added holding page middleware and controller.
  • NEW: Add pre-compiled JS and CSS allowing us to remove a bunch of node modules that were only used for backend stuff.
  • NEW: Add a default layouts/app.blade.php.
  • IMPROVED: Moved Analytics to a separate package.
  • IMPROVED: Renamed database directories to be captialised as per PSR-4.
  • IMPROVED: Prefixed vendor:publish names with enso-, e.g. enso-assets.