MVC.Template v1.2.0 Release Notes

Release Date: 2015-01-02 // over 7 years ago
  • ➕ Added

    • ➕ Added new model state dictionary extension to add formatted error messages to expressions.
    • ➕ Added string lengths to properties which are not intended to be max length in the database.
    • ➕ Added account service test, to checking if user can login by ignoring username casing.
    • ➕ Added string property lengths to view models according to the models they represent.
    • ➕ Added equal to attribute for client and server side validation of model fields equality.
    • ➕ Added additional delete method to repository for deleting already tracked entities.
    • ➕ Added support for specifying different action as an authorization point.
    • ➕ Added virtual log method for logging already created loggable entities.
    • ➕ Added support for rendering header responsively down to 150 width.
    • ➕ Added support for filtering out model data, while returning views.
    • ➕ Added missing id field binding exclusions to post methods.
    • ➕ Added support for changing html title, from action views.
    • ➕ Added missing id route value to routes without areas.
    • ➕ Added support for rendering breadcrumb responsively.
    • ➕ Added .woff mime type to web server configuration.
    • ➕ Added support for responsive widget box title.
    • ➕ Added support for not trimming string fields.
    • ➕ Added custom authentication cookie name.

    👌 Improved

    • 👌 Improved data manipulation syntax, by removing unnecessary calls to repository.
    • 🔄 Changed creation date property protection level from private to protected.
    • Replaced string compare method usage with faster equals alternative.
    • Replaced AccountView with ProfileDeleteView in profile delete action.
    • 👌 Improved MvcSiteMap structure and removed unnecessary classes.
    • 🚚 Moved action tiles to shared directory for easier access from views.
    • Replaced role privilege deletion by id with actual object deletion.
    • ✅ Disabled entity tracking then testing data manipulation functions.
    • Made content, form and privilege resources more customizable.
    • Lowered privilege string properties size from maximum to 128.
    • Lowered various properties protection levels on controllers.
    • Made table widget box titles more natural to read.
    • Replaced String.Empty usages with "".
    • 🐎 Increased tests performance.

    🛠 Fixed

    • 🛠 Fixed, inherited property resources not being loaded unless inherited type titles are specified.
    • 🛠 Fixed, two menu actions with same area and controller combination, both shown as active.
    • 🛠 Fixed, mixing action and model columns resulting in inconsistent left border rendering.
    • 🛠 Fixed, switching languages with query string resulting in different queries after switch.
    • 🛠 Fixed, right side of the languages dropdown not being visible on smaller screens.
    • 🛠 Fixed, changing language on route patterns with id values, results in null ids.
    • 🛠 Fixed, repositories having the same model name are not returned correctly.
    • 🛠 Fixed, PT-Sans font being rendered differently, on different zoom levels.
    • 🛠 Fixed, required label not being rendered for not nullable value types.
    • 🛠 Fixed, login username not being populated after failed login attempt.
    • 🛠 Fixed, account role title is shown as "Name", but should be "Role".

    ✂ Removed

    • ✂ Removed hard dependency on LinkAction enumeration in grid action links.
    • ✂ Removed hard dependency on LinkAction enumeration in widget buttons.
    • ✂ Removed most of the HttpContext.Current usages from service classes.
    • ✂ Removed HttpContext.Current dependency from resources provider.
    • ✂ Removed most of the html helpers used to render client site views.
    • ✂ Removed virtual declaration on scaffolded service functions.
    • ✂ Removed unused privilege and role privilege views.
    • ✂ Removed inconclusive method usages from tests.
    • ✂ Removed unnecessary nulls from the code base.
    • ✂ Removed foreign key indexes from log tables.
    • ✂ Removed unnecessary AContext class.
    • ✂ Removed unused object mappings.
    • ✂ Removed LinkAction enumeration.
    • ✂ Removed static TestId property.
    • ✂ Removed .NET extensions.