Automated update of .build_number to 296 for branch master
Last update: 7e710366de1514c900807881aaf2fdd42a467fe9 (1 commits ago)
#1965 - Improve sanity checks and copy/convert/process logic for rotate and resize.
- resize: ensured that resize is skipped *only* if the metadata is valid or the options are well-defined and would upscale. Then, if resize is skipped, check to see if it still needs to be converted. Previous conditions would allow a small PNG to get copied to a JPG, and would allow a corrupted JPG to be copied to the output.
- rotate: add checks for empty file or empty options.
- use get_file_metadata instead of direct getimagesize call.
- add unit tests for rotate and resize, including some for corrupted input files and missing options.
#1951 - Make metadata generation more flexible (photo and movie helpers).
- added photo_get_file_metadata and movie_get_file_metadata events
- modified photo::get_file_metadata and movie::get_file_metadata to use them
- ensure that non-readable files throw exceptions
- redirected other photo metadata calls in core to photo::get_file_metadata (the helper function already exists, but in many places getimagesize is still called directly)
- added some unit tests (neither of the functions above had one)
Merge pull request #96 from shadlaws/fix_1951

#1951 - Make metadata generation more flexible (photo and movie helpers).
Automated update of .build_number to 297 for branch master
Last update: 776fe75ceb93f8eb729d13d58fb411d6ceeb9270 (1 commits ago)
Merge pull request #103 from shadlaws/fix_1965

#1965 - Improve sanity checks and copy/convert/process logic for rotate and resize
Automated update of .build_number to 298 for branch master
Last update: 066f4cdf8e44585790711797baf9130511d4203d (1 commits ago)
#1946, 1947 - Make altered names/slugs more user-friendly, make conflict-finding code check filenames with no extensions
- Reduced from four places that alter names/slugs to two (one to populate empty slugs, one to handle conflicting names/slugs).
- For empty slugs, fill with generic human-readable name (e.g. "photo") instead of random value.
- For conflicting names/slugs, add suffix that's sequential (e.g. "-01"), only using random after 99 conflicts.
- Made conflict-finding code check filenames with no extensions.
- Renamed _randomize_name_or_slug_on_conflict to _check_and_fix_conflicts.
- Added unit tests.  Also cleaned up existing unit tests to reflect new logic and removed a redundant test.
- Added installer logic to correct existing items now considered in conflict.
- Revised gallery_task to look for duplicate names based on new criteria.
#1966 - "Fix your Gallery" shows 60/59 items completed.
- Fixed counter in gallery_task::fix that was often one too many.

For FIX_STATE_RUN_MISSING_ACCESS_CACHES, changed this:
$stack = explode(" ", $task->get("stack"));
To this:
$stack = array_filter(explode(" ", $task->get("stack")));
Merge pull request #91 from shadlaws/fix_1946_1947

#1946, 1947 - Make altered names/slugs more user-friendly, make conflict-finding code check filenames with no extensions
Automated update of .build_number to 299 for branch master
Last update: 847a825b2527584662da277fd6a47921287cbbf4 (1 commits ago)
Merge pull request #104 from shadlaws/fix_1966

#1966 - "Fix your Gallery" shows 60/59 items completed.
Automated update of .build_number to 300 for branch master
Last update: c508fc4a45f0af94c89ba7f0ac1533244a7f35a3 (1 commits ago)
Merge branch 'master' into 3.0.x
Automated update of .build_number to 257 for branch 3.0.x
Last update: 3f1bfa7551648071ea935031363076e9866d62eb (1 commits ago)