Age | Commit message (Collapse) | Author |
|
|
|
Last update: 4fc539651685d0c0b540c88f2a64e8ffe1f69646 (1 commits ago)
|
|
Replace = with ==
|
|
This was my mistake; I didn't test it thoroughly. It results in all g2 mappings being broken!
|
|
Last update: 9ed67350331ff32e6f42a53ad1ba09d1533e8af9 (1 commits ago)
|
|
#2001 - Make filename sanitizing more consistent.
|
|
Last update: 0302e4ec0ef04f1a11b20f3c60637246bf915b7f (1 commits ago)
|
|
#1988 - Add movie_allow_uploads option ("always", "never", or "autodetect").
|
|
Last update: e109f0b5113c1f8b33130866af44450ca4107ed4 (1 commits ago)
|
|
#1749, #1754, #1901 - Add debugging message if Zend Guard code obfuscation is enabled.
|
|
is enabled.
Zend Guard code obfuscation is enabled by default on many PHP 5.3+ installations,
but we don't use it and Kohana 2.4 is incompatible with it (see Trac tickets).
Rather than crash and/or hack core Kohana code, we can display an error message
to help the end user disable it.
|
|
- legal_file - added sanitize_filname() to sanitize photo/movie filenames.
- admin_watermarks - revised add() to use new function.
- item model - added _process_data_file_info() to validate the data file, get its metadata, and sanitize the item name.
- item model - revised save() for new items to use _process_data_file_info *before* the slug is checked.
- item model - revised save() for updated items to use _process_data_file_info.
- item model - revised save() for updated items to sanitize name if changed.
- uploader - removed call to smash_extensions (item model does this when it calls sanitize_filename).
- Legal_File_Helper_Test - added unit tests for sanitize_filename.
- Item_Model_Test - revised existing unit tests based on changes.
- Item_Model_Test - added new unit tests for names with legal but incorrect extensions.
- Averted take over by HAL with fix #2001...
|
|
- gallery_installer, module.info, install.sql - add movie_allow_uploads variable
- movie::allow_uploads (new) - return true if movie_allow_uploads is "always" or "autodetect" and FFmpeg found, false otherwise
- legal_file - use movie::allow_uploads instead of movie::find_ffmpeg
- Form_Uploadify - use movie::allow_uploads instead of movie::find_ffmpeg
|
|
Last update: 53ce9c85d16cef2d7e63d02a6b9e93d184787d3f (1 commits ago)
|
|
#1935 - Make FFmpeg easier to install.
|
|
Last update: 9c363abc419039eaf5bb40cce90c3f5bde9d4e76 (1 commits ago)
|
|
#2000 - Make legal_file::smash_extensions more robust.
|
|
Last update: a06faf61b40b458870bad5e66e2666c90032ee2d (2 commits ago)
|
|
- Fixed legal_file::smash_extensions.
- Added new unit test.
- Removed duplicated condition in existing unit test.
|
|
large sibling sets. Useful for the thumbnav module since we don't want to
iterate a thousand siblings to find the one we care about. Fixes #1999.
|
|
|
|
- system::find_binary - add Gallery's bin subdirectory to search
- system::find_binary - auto-fix permissions if found in Gallery's bin directory
|
|
Last update: dce31266988a79c45ba41fca31cf95a520c7bff3 (1 commits ago)
|
|
#1997 - Correct movie dimensions and mime type improperly set by contributed modules.
|
|
Last update: bc8cd154c5bad64ed13a5c6662e9685fdabe2c79 (1 commits ago)
|
|
#1996 - Add blacklist to legal_file helper.
|
|
Last update: f4ecb7e65850ca0cac9f7d963c34f7cd20ee9446 (1 commits ago)
|
|
#1994 - Make get_file_metadata throw an exception if photo or movie is unidentifiable/illegal.
|
|
- 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.
|
|
Last update: 40c5cba2dccdb217bd93274f65d16fd5558257fe (1 commits ago)
|
|
#1993 - Remove "failed" query string from upgrader redirect if there are no errors.
|
|
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).
|
|
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.
|
|
errors.
- Changed redirect if it finished without failures.
- No change to Upgrader_Controller::index(), since its behavior with an empty vs. undefined failed query is identical.
|
|
Last update: 1796a290c18a2e38c7714ac903c78ac54c373e6b (2 commits ago)
|
|
|
|
Don't try to use an array index on a function return, that's not supported
in PHP 5.3
|
|
Last update: 2fe80add2ed23516948c712cd899c03302c865fb (1 commits ago)
|
|
#1992 - Improve examples for thumb/resize/file path/url functions in item model
|
|
Documentation-only changes to examples used in:
- Item_Model::url
- Item_Model::abs_url
- Item_Model::file_path
- Item_Model::file_url
- Item_Model::resize_path
- Item_Model::resize_url
- Item_Model::thumb_path
- Item_Model::thumb_url
|
|
Last update: aed006a92e858cb9ca66dd021c07c5d80586169f (1 commits ago)
|
|
#1991 - Add options to graphics::mark_dirty to specify type and/or mime type
|
|
Last update: 1796a290c18a2e38c7714ac903c78ac54c373e6b (1 commits ago)
|
|
Follow-on to 949b8cda14ec037386da34c43248ebd60542f5da for #1982.
|
|
- graphics::mark_dirty - added $type and $mime_type as options.
- graphics::mark_dirty - used options to set additional where conditions.
|
|
- Add extra condition to Item_Model_Test::urls_test to test cache busters of missing files.
- Previous commit fixes unit test for empty album url, but now no test checks missing files.
|
|
Last update: f9aeb3b5cd4efb6bb92f034e82af93c8133df66c (5 commits ago)
|
|
|
|
|
|
Last update: 291059d86a5badb62360b88f5dccab4a07f47778 (1 commits ago)
|