summaryrefslogtreecommitdiff
path: root/modules/gallery
AgeCommit message (Collapse)Author
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-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-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-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-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-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-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-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
2012-07-21Fix the access_cache rebuilding code to not load all missing access caches ↵Bharat Mediratta
into the stack, if you're missing enough it'll blow the stack (like, if you truncate the access_caches table). Fixes #1895.
2012-06-11Rename the comparator to something that makes more sense (to me), and make ↵Bharat Mediratta
it static. Follow-on to 5d9e71741754809ebe5f543eb874634e6fc8cc9d for #1859.
2012-06-11Checkpoint XSS golden fileBharat Mediratta
2012-06-11Follow-on to 3caf3cc323cd25b002aa8e44d871d4677da7a029 for #1866 - harden oneBharat Mediratta
more place and update the test.
2012-06-05Encode urls in 404 log entries. Fixes #1882.Bharat Mediratta
2012-06-05Clean file paths in Kohana_Exception::debug_path(). Fixes #1880.Bharat Mediratta
2012-06-05Do a better job of escaping filenames when uploading. Fixes #1881.Bharat Mediratta
2012-06-05Fix up syntax in the last change. Follow-on for #1879.Bharat Mediratta
2012-06-05Force Turn off the compress as most image file already compressed.Tony Fung
2012-06-04Second attempt to fix #1821 - first attempt caused an infinite loop in some ↵Bharat Mediratta
cases when zlib.output_compression is enabled.
2012-05-19Remove accidental double encoding.Bharat Mediratta
2012-05-19Create an ajax response framework that inserts <meta> tags to guardBharat Mediratta
against UTF-7, and create a $.gallery_autocomplete variant of jQuery's autocomplete that expects the first line to be a <meta> tag and discards it. More complete fix for #1871.
2012-05-17Smash multiple extensions down into a single one when accepting fileBharat Mediratta
uploads. Fixes #1872.
2012-05-16Revert "Convert any UTF-7 to UTF-8 so that fragment pages (like AJAX replies)"Bharat Mediratta
This will break many legal UTF-8 strings. This reverts commit 1c5c2e7de42f9e59932c81fb26c8416b2fef3fda.
2012-05-16Convert any UTF-7 to UTF-8 so that fragment pages (like AJAX replies)Bharat Mediratta
won't be mistakenly interpreted as UTF-7. Fixes #1869.
2012-05-16Oops, fix indentation in 99af395a01edac438cef4e42af1f4c26a3532accBharat Mediratta
2012-05-16Force the error page to UTF-8. Fixes #1868.Bharat Mediratta
2012-05-15Send back form errors wrapped in JSON. Fixes #1867.Bharat Mediratta
2012-05-15Don't allow new albums with a slug that matches a controller - put up aBharat Mediratta
message telling the user that it's a reserved address. Partial fix for #95.
2012-05-15Harden installer against bad characters in the database name or prefix. ↵Bharat Mediratta
Fixes #1866.
2012-05-15Follow-on to ce34e89c899a3fca6d647e99742c39b8b7a4f3e0 for #1865 -Bharat Mediratta
allow strings and coerce them to integers. It might be easier to just cast whatever comes in, but I'm worried that we'll accidentally cast an array to an int(1) without realizing it.
2012-05-15Different approach to resolving #1865, this replaces ↵Bharat Mediratta
6a6b3f90f36293a40cba091c3ac387abb64f3c1a which was rolled back.
2012-05-15Oops dropped a semicolon in e3d50dd8be9cd4bdefb42f41aa6ed96b6fece676Bharat Mediratta
2012-05-14Simplify dialog title for editing advanced settings. Fixes #1864.Bharat Mediratta
2012-05-14Force uploader status messages to be integers. Fixes #1863.Bharat Mediratta
2012-05-13Follow on for #1845 - handle paths with dots in them properly.Bharat Mediratta