MVC.Template v1.4.0 Release Notes

Release Date: 2015-07-06 // almost 7 years ago
  • ➕ Added

    • ➕ Added greater than attribute for client and server side validation of numeric model values.
    • ➕ Added support for redirecting if user is authorized to action with specified route values.
    • ➕ Added digits attribute for client and server side validation of digit like model values.
    • ➕ Added required attribute to view properties which represent required properties.
    • ➕ Added missing attribute usage declaration to authorization specific attributes.
    • ➕ Added support for locking accounts by editing their "is locked" state.
    • ➕ Added support for focusing first visible and editable text input.
    • ➕ Added support for writing audit logs using specific account.
    • ➕ Added support for localized grid's number filter validation.
    • ➕ Added not editable email property to account edit view.
    • ➕ Added support for scaffolding default object mapping.
    • ➕ Added support for audit logging the seed method.

    👌 Improved

    • Wrapped every view content in full width grid column, for easier partial width column usage.
    • Made rendering any authorized html easier, by exposing is authorized for method to views.
    • Made datalist controller session read only, to avoid blocking asynchronous ajax requests.
    • 🚚 Moved authentication tooltips to bottom position, so that they would not hide any content.
    • Made widget title icon wider, so it would share a same width with the first action column.
    • 🐎 Increased audit performance, by disabling automatic changes detection in audit context.
    • 📦 Moved account recovery mail sending to controller, to avoid MVC package dependency.
    • 🌐 Made datalist's get data method non action, so it can not be accessed from the web.
    • Made label text alignment consistent between required and not required labels.
    • 🔄 Change how account specific resources are translated in Lithuanian language.
    • 🚚 Moved controller specific scripts before shared ones, to allow overriding.
    • 📇 Renamed "Name" properties names to "Title" ones in all model classes.
    • 🐎 Increased performance of checking if attribute is defined on a member.
    • Made every return from grid columns add methods return not nullable.
    • 👍 Made scaffolded variable names shorter, for better readability.
    • 👌 Improved efficiency of base model and base view creation.
    • 🔄 Changed all database datetime columns to datetime2.
    • 🐎 Increased simple string concatenation performance.
    • 📇 Renamed all sidebar instances with menu ones.
    • 🐎 Increased authorization provider performance.
    • 🐎 Increased datalist's filter by id performance.
    • 🐎 Increased empty string check performance.
    • 🐎 Increased resource provider performance.
    • 🌲 Made audit log entries parsable by code.

    🛠 Fixed

    • 🛠 Fixed, clicking sidebar on ~765 window width resulting in fading instead of sliding menus.
    • 🛠 Fixed, integer attribute not including values starting with a "+" sign as a valid integers.
    • 🛠 Fixed, integer attribute including values starting with a "=" symbol as a valid integers.
    • 🛠 Fixed, account validator tests not completely covering account authentication logic.
    • 🛠 Fixed, account roles not being refreshed after creating or deleting an account.
    • 🛠 Fixed, profile breadcrumb being shown as editing/deleting home page.
    • 🛠 Fixed, jQueryUI overriding bootstrap's tooltip and button plugins.
    • 🛠 Fixed, html not being valid, then using bootstrap's tooltip plugin.
    • 🛠 Fixed, bootstrap usage errors which were identified by bootlint.
    • 🛠 Fixed, actions with empty area, not being authorized correctly.
    • 🛠 Fixed, display names of properties not always being localized.
    • 🛠 Fixed, singleton DI tests only testing IAuthorizationProvider.
    • 🛠 Fixed, BCrypt implementation crashing on null values.
    • 🛠 Fixed, some audit logger tests not testing anything.

    ✂ Removed

    • ✂ Removed HttpContext.Current dependency from data list implementations.
    • ✂ Removed HttpContext.Current dependency from mvc grid extensions.
    • ✂ Removed unnecessary namespace from scaffolded controller class.
    • ✂ Removed view model mutability from the service layer.
    • ✂ Removed testing context from release configuration.
    • ✂ Removed area regions from scaffolded members.