summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-01-25Automated update of .build_number to 297 for branch masterAutomatic Build Number Updater
Last update: 776fe75ceb93f8eb729d13d58fb411d6ceeb9270 (1 commits ago)
2013-01-25Merge pull request #96 from shadlaws/fix_1951Bharat Mediratta
#1951 - Make metadata generation more flexible (photo and movie helpers).
2013-01-26#1951 - Make metadata generation more flexible (photo and movie helpers).shadlaws
- 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)
2013-01-25#1965 - Improve sanity checks and copy/convert/process logic for rotate and ↵shadlaws
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.
2013-01-25Automated update of .build_number to 296 for branch masterAutomatic Build Number Updater
Last update: 7e710366de1514c900807881aaf2fdd42a467fe9 (1 commits ago)
2013-01-25Fix an assignment-instead-of-comparison bug. I wish PHP had a betterBharat Mediratta
warning system for this stuff. In this case it's innocuous because the UI only allows you to rearrange stuff inside a single album, so the assignment doesn't do anything. Fixes #1914.
2013-01-25Automated update of .build_number to 295 for branch masterAutomatic Build Number Updater
Last update: c71f3091d2c3d87467640c0d7a0e701c259dd519 (1 commits ago)
2013-01-25Merge pull request #102 from shadlaws/fix_1964Bharat Mediratta
#1964 - TMPPATH is mis-defined in index.php.
2013-01-25Automated update of .build_number to 294 for branch masterAutomatic Build Number Updater
Last update: ba3b0c06b0874faeed0eaa62e507c8d44f2a68f5 (1 commits ago)
2013-01-25Follow-on to 8e954cf5f0be61eb9ac6fa6e8f04ee6dcf4aaf23 - use HTTP_HOST if ↵Bharat Mediratta
there's no SERVER_NAME
2013-01-25Automated update of .build_number to 293 for branch masterAutomatic Build Number Updater
Last update: 0397497ba0a019548eaf909e7ef61a53008d9403 (2 commits ago)
2013-01-25Use SERVER_NAME instead of HTTP_HOST. Fixes #1963.Bharat Mediratta
2013-01-25Properly escape backslashes. Fixes #1962.Bharat Mediratta
2013-01-25Automated update of .build_number to 292 for branch masterAutomatic Build Number Updater
Last update: 4c1dc8457e82bd8960e10416981b5dadfc3aebe4 (1 commits ago)
2013-01-25Merge pull request #100 from shadlaws/fix_1956Bharat Mediratta
#1956 - Escape LIKE queries (for _ and %).
2013-01-25#1964 - TMPPATH is mis-defined in index.php.shadlaws
- fixed mis-definition of TMPPATH, which was resulting in something like .../gallery/var//tmp/
2013-01-25#1956 - Escape LIKE queries (for _ and %).shadlaws
In MySQL queries, _ and % characters are treated as wildcards (similar to ? and *, respectively). - Added escape_for_like function to MY_Database.php - Added unit test to Database_Test - Corrected the five unescaped instances in the code using this function.
2013-01-24Automated update of .build_number to 291 for branch masterAutomatic Build Number Updater
Last update: 4926615cd01ff829324b61ac3e8f61f32f52a36b (1 commits ago)
2013-01-24Follow-on to b50768142745dc4bfd8a9460c7490ddd00e3b06a - add a defaultBharat Mediratta
value for lock_timeout so that folks who get the latest code but don't run the upgrader don't get burned by a SQL error.
2013-01-24Automated update of .build_number to 290 for branch masterAutomatic Build Number Updater
Last update: 31807a59a5160a816718fbea1b1659398a2110bb (13 commits ago)
2013-01-24Merge branch 'master' of github.com:gallery/gallery3Bharat Mediratta
2013-01-24If profiling is enabled, dump out profiling data instead of proxiedBharat Mediratta
images so that we can see how efficient our proxying is. Follow-on for #1959.
2013-01-24Add back a comment that I accidentally removed in the last commit.Bharat Mediratta
2013-01-24Automated update of .build_number to 289 for branch masterAutomatic Build Number Updater
Last update: c9a30e3b7e3b85b645a987d7024572345091364a (1 commits ago)
2013-01-24Merge pull request #99 from shadlaws/fix_1955Bharat Mediratta
#1955 - Make unit test photos unique.
2013-01-24Automated update of .build_number to 288 for branch masterAutomatic Build Number Updater
Last update: 3e451d6edc6ab3586ef730e4458ca0b2d55f5170 (1 commits ago)
2013-01-24Merge pull request #101 from shadlaws/fix_1960Bharat Mediratta
#1960 - Add unit test to look for extra spaces at end of line
2013-01-24#1955 - Make unit test photos unique.shadlaws
- Added test::random_unique_photo and test::random_unique_photo_unsaved to uniquify test photos. - Uniquified the black dot of test.jpg by coloring it with the six-digit hex code already used to name the random photos (e.g. "name_a48801.jpg"). - Modified four tests in Item_Model_Test that check photo file contents to use new functions to guarantee uniqueness.
2013-01-24#1960 - Add unit test to look for extra spaces at end of lineshadlaws
- Added no_extra_spaces_at_end_of_line_test to File_Structure_Test. - Updated Gallery_Filters to exclude testing code that isn't ours. - Removed existing extra spaces. New test now passes.
2013-01-23Automated update of .build_number to 287 for branch masterAutomatic Build Number Updater
Last update: 31807a59a5160a816718fbea1b1659398a2110bb (10 commits ago)
2013-01-23Merge branch 'master' of github.com:gallery/gallery3Bharat Mediratta
2013-01-23Extract reweighting logic out of Organize_Controller intoBharat Mediratta
item::reweight_all_children as an API and write a test for it. Work in progress on #1914.
2013-01-23Automated update of .build_number to 286 for branch masterAutomatic Build Number Updater
Last update: 31807a59a5160a816718fbea1b1659398a2110bb (8 commits ago)
2013-01-23Merge branch 'master' of github.com:gallery/gallery3Bharat Mediratta
2013-01-23Add a cache buster to all data_rest urls, add caching headers to allBharat Mediratta
data_rest responses, and check cache validity. Fixes #1909.
2013-01-23Automated update of .build_number to 285 for branch masterAutomatic Build Number Updater
Last update: 31807a59a5160a816718fbea1b1659398a2110bb (6 commits ago)
2013-01-23Merge branch 'master' of github.com:gallery/gallery3Bharat Mediratta
2013-01-23After finding a test in Item_Model_Test that didn't end in the string ↵Bharat Mediratta
"_test" and fixing it in 9ba9f3953132c5c5de9efb0a4724c7b9300dc9ea I decided to write a test to make sure that we don't have any other overlooked tests. We don't.
2013-01-23Fix comment typo.Bharat Mediratta
2013-01-23Automated update of .build_number to 284 for branch masterAutomatic Build Number Updater
Last update: 31807a59a5160a816718fbea1b1659398a2110bb (3 commits ago)
2013-01-23Merge branch 'master' of github.com:gallery/gallery3Bharat Mediratta
2013-01-23Update golden files after 80d6a895edb1cfc3dd0bcacd0d2c63b40c04670cBharat Mediratta
2013-01-23Automated update of .build_number to 283 for branch masterAutomatic Build Number Updater
Last update: 31807a59a5160a816718fbea1b1659398a2110bb (1 commits ago)
2013-01-23Add a "can_add" permission bit similar to the "can_edit" bit to the RESTful ↵Bharat Mediratta
array representation of Item_Model. Fixes #1903.
2013-01-23Automated update of .build_number to 282 for branch masterAutomatic Build Number Updater
Last update: d928064f0b7b4f12ce1371d7e0e61f6832f09a01 (2 commits ago)
2013-01-23Merge branch 'master' of github.com:gallery/gallery3Bharat Mediratta
2013-01-23Enable the profiler and debug output if var/PROFILE exists. ThisBharat Mediratta
provides a quick/easy way for server admins to provide profile output. Fixes #1959.
2013-01-23Automated update of .build_number to 281 for branch masterAutomatic Build Number Updater
Last update: d928064f0b7b4f12ce1371d7e0e61f6832f09a01 (1 commits ago)
2013-01-23Merge pull request #97 from mikeage/organize_tag2Bharat Mediratta
Add batch tagging via the organize module
2013-01-23 #1952 Add bulk tagging to the Organize module.Mike Miller
Allow a user to highlight one or more items (images, videos, or albums), and enter a tag (or tags, comma delimited) and apply it to all of the selected items. The code is based on the batchtag module. If the tags module is not enabled, no changes to the Organize UI will be shown.