FrozenNode/Laravel-Administrator — pull request #697 by frzsombor (2014-09-22 12:02:36+00:00)
Title: Fixing edit field problems (both visual and security) and other enhancements

Closes #369
Closes #408
Closes #467
Closes #696

List of fixes and modifications:
- Do not check (here & here) if a field is editable because we still want to display it's value in an 'uneditable' format
- Security: do not save a field into the model if it is not editable (see: #696) (also closes #369)
- Skip validating filters on uneditable fields as we don't want to save them anyway (see above)
- Fix bool values: if - for some reason - false (zero) was stored as a string in database, (string)"0" resulted in true (see #467)
- edit_fields "editable" option is now working right and displays value for fields:

"image" or "datetime" (see #408) + "file", "color", "enum" ( 'Option Name (Value)' displayed), "password" ('***' displayed for passwords)
- Hide "characters left" if a field is not editable (here & here & here & here)

Added strings to language files (display these if a file/image is neither editable, nor uploaded):

'no_image_uploaded' => 'No image uploaded',
'no_file_uploaded' => 'No file uploaded',