summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2013-01-21#1954 - Skip buffer calls for unit tests of file_proxy and data_rest.shadlaws
Moved the "if (TEST_MODE)" statement before the buffer calls in file_proxy and data_rest. This has no impact on normal use, but will make the unit tests more compatible with different server/PHP configurations. Note: We do not have to skip setting the headers, which means we can build unit tests around them if we wish.
2013-01-21Update copyright to 2013. Fixes #1953.Bharat Mediratta
2013-01-20Merge pull request #95 from shadlaws/fix_1950Bharat Mediratta
#1950 - Replace bogus file overwrites from item model unit test.
2013-01-21Add unit tests for data_rest. While I'm in there, get rid of theBharat Mediratta
clause that returns nothing when the album has no album cover - we'll fail before that if the album's thumbnail is missing, and if it's not missing then we'll have something to serve even if it's out of date.
2013-01-20Add a long overdue test for File_Proxy_Controller that tests all the variousBharat Mediratta
edge case behaviors. It doesn't cover the various headers, but it does cover the permission based code paths.
2013-01-20#1950 - Replace bogus file overwrites from item model unit test.shadlaws
- modified rename_photo_test, rename_album_test, move_album_test, move_photo_test - unit tests still test file system integrity and pass
2013-01-20#1949 - Fix album thumb mime types given by data_rest and file_proxyshadlaws
Correct result: always "image/jpeg" Old data_rest result: mime of cover item Old file_proxy result: mime of album item (null)
2013-01-19Merge pull request #89 from shadlaws/fix_1942Bharat Mediratta
#1942 - Make data_rest and file_proxy more consistent
2013-01-19Merge pull request #88 from shadlaws/fix_1941Bharat Mediratta
#1941, 1948 - Fix possible warnings in movie and graphics helpers, add functions to convert between seconds and hh:mm:ss.dd (and their unit tests).
2013-01-20Simplify get_photo_types_by_extension_test and ↵Bharat Mediratta
get_movie_types_by_extension_test.
2013-01-19Merge pull request #93 from shadlaws/fix_1944Bharat Mediratta
#1944 - Fix possible warnings in legal_file::get_photo_types_by_extension and legal_file::get_movie_types_by_extension.
2013-01-20Change the logic for finding controllers to use glob() but drop anythingBharat Mediratta
that we can find is git-ignore'd.
2013-01-19#1942 - Make data_rest and file_proxy more consistent - several minor ↵shadlaws
documentation/formatting changes. No actual functionality changed here.
2013-01-19#1941, 1948 - Fix possible warnings in movie and graphics helpers, add ↵shadlaws
functions to convert between seconds and hh:mm:ss.dd. Also add unit tests for new movie helper functions.
2013-01-19#1944 - Fix possible warnings in legal_file::get_photo_types_by_extension ↵shadlaws
and legal_file::get_movie_types_by_extension. Added unit tests for these two functions, too.
2013-01-18#1943 - Make legal_file::change_extension more robust.shadlaws
Previously would fail with dots in the directory but no extension. Added unit tests to verify the new change works.
2013-01-17Update golden files.Bharat Mediratta
2013-01-17Follow-on to 94b26e506c339f50b8d094057bffc1877a79afa9 - make the new legal_fileBharat Mediratta
functions more robust when passed an unknown extension. Fixes Item_Model_Test.
2013-01-14Fix up some indentation.Bharat Mediratta
2013-01-13Tags by name (includes a G2 mapping)Mike Miller
2013-01-01#1919 - change `convert -v` to `convert -version`shadlaws
2012-12-30#1931, #1932, #1933, #1934 - movieplayer view and movie_img function in ↵shadlaws
items model Many changes to movieplayer view and movie_img function in items model: - include control bar height when dimensioning movie player - provide a default "guess" at height and width when they are set as zero in items table - resize movie player once the video is loaded based on its actual metadata - add get_movie_img event to provide flexibility for altering/replacing the default Flowplayer v3 --HG-- extra : rebase_source : 5d1e9bb66ebf3e3fed5e1b9ee63790a204f21450
2012-12-20Merge pull request #74 from mikemayer67/masterBharat Mediratta
Correction of event sent from Users_Controller::_get_change_email_form Fixes #1930
2012-12-18Check for "add" instead of "edit" in item_rest::post. Fixes #1929.Bharat Mediratta
2012-12-18[#1928 - Make thumbnail generation more flexible for movies (graphics and ↵shadlaws
movie helpers)] - graphics helper: add movie_extract_frame event to generate function (allows modules to add to the options sent to movie::extract_frame or to generate the thumbnail on their own without movie::extract_frame) - movie helper: add extra optional argument to movie::extract_frame (can add ffmpeg arguments and/or change the frame extract time) - gallery_installer: add movie_extract_time module variable, update to v53 - module.info: update to v53 - install.sql: update to v53
2012-12-17Minor whitespace fix.Bharat Mediratta
2012-12-16Merge builds 261 and 262 from origin.shadlaws
2012-12-16[#1924, #1925, #1927 - enhance compatibility with movies (movie helper) and ↵shadlaws
file types (legal_file helper)] bug fix: modify movie.php helper to take DAR (display aspect ratio) into account in get_file_metadata bug fix / enhancement: add duration to get_file_metadata output bug fix: modify movie.php helper to use correct resolution and duration from get_file_metadata in extract_frame bug fix: modify movie.php helper to be more robust against ffmpeg failures and limitations, including adding "-threads 1" argument if needed enhancement: modified to include ordered maps of extensions to MIME types (get_photo_types_by_extension and get_movie_types_by_extension functions), modified get_file_metadata in movie and photo helpers to use them gallery_installer, module.info, install.sql: updated to v52 with m4v mime correction code (was video/mp4)
2012-12-14fix, use $current->scoreChris Chilvers
2012-12-14search within the current album by defaultChris Chilvers
When searching, limit search results to the current album. In the search results screen, display which album was searched and provide a link to search the whole gallery.
2012-12-10bug fix: updated file_proxy.php to use legal_file helper instead of ↵shadlaws
hard-coded list of movie file extensions. bug fix: updated uploader.php to use legal_file helper instead of hard-coded list of movie file extensions. Fixes #1926
2012-12-09Eliminate the search context if we encounter an item that cannot beBharat Mediratta
found in the search results. Fixes #1923.
2012-11-13[#1907] Added code needed for the case when a user upgrades.chalbertgit
2012-11-13[#1907] Added administrative variable to set lock timeout.chalbertgit
2012-10-25Fixed event sent from User_Controller::_get_change_email_formMichael A Mayer
incorrect event: user_change_password_form corrected event: user_change_email_form
2012-10-08Merge pull request #73 from epeay/masterBharat Mediratta
[#1875] Active area of upload photo button less than 40% of text area only - not button
2012-10-08Fix the delete function on item_tags and tag_items collections toBharat Mediratta
remove all tags from an item, or remove all items from a tag as appropriate (ie, empty the collection). Fixes #1902.
2012-10-08Installer for comment module version 6 still set rss_visible to "both"Bharat Mediratta
not "all". Fix that now and rebuild the installer package. Fixes #1917.
2012-10-08Fix the recaptcha signup url. Fixes #1888.Bharat Mediratta
2012-10-08Updated Select Photos button hitbox to cover full visible button area.epeay
2012-09-28Add locale for Thai. Fixes #1916.Bharat Mediratta
2012-08-11the HTTP header Cache-Control must contain "public" in order to allow ↵Gerhard Schlager
caching of resources when HTTPS is used
2012-08-02Fix up per item feed urls. Fixes #1906.Bharat Mediratta
2012-07-23Update Flowplayer to 3.2.12 along with all associated files. AlsoBharat Mediratta
switch over to the byte-range version of pseudostreaming, let's see if that works better than what we have currently. Fixes #1899.
2012-07-21Avoid chaining after .gallery_autocomplete() - there are reports thatBharat Mediratta
it doesn't work with later versions of jQuery. Fixes #1889.
2012-07-21Sanitize the module name and don't allow storing values for illegalBharat Mediratta
module names. Fixes #1898.
2012-07-21Rename any files that have two dots in them to a legal name. ThisBharat Mediratta
fixes the bug where we made those files invalid in 3.0.4 without providing a clean upgrade path. Bump gallery module to 50. Fixes
2012-07-21Allow albums to have two (or more) dots in the name. Fixes #1897.Bharat Mediratta
2012-07-21Refill the path and url caches in the item model at the end of this task. ↵Bharat Mediratta
Fixes #1896.
2012-07-21Fix comment typo.Bharat Mediratta