#1994 - Make get_file_metadata throw an exception if photo or movie is unidentifiable/illegal.
- photo & movie helpers: modified to throw exceptions when file is known to be unidentifiable/illegal.
- item model: revised to work with exceptions and be more explicit when the data file is invalid.
- item model: removed duplicate get_file_metadata call for updated items.
- admin_watermarks controller: revised to work with exceptions (really cleans up logic here).
- graphics helper: revised to handle invalid placeholders (a nearly-impossible corner case, but still...).
- photo & movie helper tests: revised to work with exceptions, added new tests for illegal files with valid extensions.
- item model tests: revised to work with exceptions, added new tests for illegal files with valid extensions.
#1996 - Add blacklist to legal_file helper.
Adding a blacklist to legal_file could prevent possible security holes arising
from a contributed module that adds file types by user input (e.g. an admin screen).
#1997 - Update movie dimensions and mime type if previously set without FFmpeg.
- Added code to check/correct movie width, height, and mime in graphics::generate.
As the comment says in the commit, this isn't ideal, but doing it in an upgrade
script wouldn't be very ideal either.
Merge pull request #128 from shadlaws/fix_1994

#1994 - Make get_file_metadata throw an exception if photo or movie is unidentifiable/illegal.
Automated update of .build_number to 333 for branch master
Last update: f4ecb7e65850ca0cac9f7d963c34f7cd20ee9446 (1 commits ago)
Merge pull request #129 from shadlaws/fix_1996

#1996 - Add blacklist to legal_file helper.
Automated update of .build_number to 334 for branch master
Last update: bc8cd154c5bad64ed13a5c6662e9685fdabe2c79 (1 commits ago)
Merge pull request #130 from shadlaws/fix_1997

#1997 - Correct movie dimensions and mime type improperly set by contributed modules.
Automated update of .build_number to 335 for branch master
Last update: dce31266988a79c45ba41fca31cf95a520c7bff3 (1 commits ago)