summaryrefslogtreecommitdiff
path: root/modules/gallery
AgeCommit message (Collapse)Author
2010-08-31Don't use HTTP_HOST to get the hostname. We force that toBharat Mediratta
"example.com" when we are using the CLI so we'll get inconsistent behavior between CLI and the web interface. For now hardcode it to be example.com so that it's clear. But to do it right we need an after_install step which actually fixes it up. And probably an after_upgrade step as well.
2010-08-31Merge branch 'master' of git@github.com:gallery/gallery3Tim Almdal
2010-08-31Patch for ticket #1216. Move the values that were in the sendmail config ↵Tim Almdal
file and store them as gallery module variables. Requires a version number bump to 37.
2010-09-01flip the float value for RTLmamouneyya
2010-08-31Expire completed uploads and introduce a text message that says howBharat Mediratta
many photos have been uploaded successfully. This is to pave the way for retry code later on.
2010-08-30Detect Flash and put up a reasonable message if your browser doesn'tBharat Mediratta
have Flash installed. Fixes ticket #1268.
2010-08-29Revert "Change the theme option page to display using tabs if the site theme ↵Bharat Mediratta
has an admin page." This reverts commit d66c496fb1007bbd0b1640496808000c573d95fd. Conflicts: modules/gallery/helpers/theme.php modules/gallery/views/admin_theme_options.html.php themes/admin_wind/css/screen.css
2010-08-29Put the theme CSS at the end of the module CSS so that the theme hasBharat Mediratta
the final say. Fixes ticket #1315.
2010-08-29Don't concatenate two strings together as an argument for t() or t2();Bharat Mediratta
the l10n_scanner cannot parse it properly and drops those from the localization list. Fixes ticket #1284.
2010-08-29Put a message in the logs when we find a string that's notBharat Mediratta
concatenated. Concatenating them is not easy because the two strings can have different quoting (single vs. double quotes) and may have to be treated separately in the code. Fixes ticket #1321
2010-08-291) Rename "Cancel All" -> "Cancel uploads" to clarify what we'reBharat Mediratta
talking about and follow our capitalization standards. 2) Grey out the Done button when uploads are in progress. Fixes ticket #1302.
2010-08-29Bump gallery module to v36 and add a favicon_url variable, which weBharat Mediratta
expose in Admin > Appearance > Theme Options and defaults to lib/images/favicon.ico. Thix fixes ticket #1312.
2010-08-29Move theme::get_edit_form_admin into admin_theme_options since that'sBharat Mediratta
the only place where it's used and the theme helper is loaded on every page view.
2010-08-29Convert the "parents" variable from a result iterator to an array soBharat Mediratta
that the theme can call empty() on it. Fixes #1318.
2010-08-28Add a "visible_title_length" variable that defaults to 15 and use thatBharat Mediratta
as the max title length when we do title truncation in the wind theme. Bump the gallery module to 35.
2010-08-25Null out Item_Model::$data_file in Item_Model::save() when we'reBharat Mediratta
creating a new item, else the item_created event will trigger subsequent saves which will think that they need to post an item_updated_data_file event. Partial fix for #1286
2010-08-24Delete old SWFupload code. We replaced it with uploadify ages ago.Bharat Mediratta
2010-08-22Add "captcha_protect_form" event that the recaptcha module grabs andBharat Mediratta
uses to add a captcha to the end of the first group in the form. If there are no groups, it adds the captcha at the end of the form. Updated user_profile and comment forms to use it.
2010-08-22Use better error messages in form validation.Bharat Mediratta
2010-08-22Get rid of the move dialog and move option. Instead, replace it withBharat Mediratta
a call to Organize with the appropriate album open. I have not yet figured out how to get the SWF code to highlight the active image, but that's coming. Partial fix for #1204.
2010-08-21Put up a warning and don't accept movie files if we don't have ffmpeg.Bharat Mediratta
This fixes ticket #973.
2010-08-21Verify that the ffmpeg path still exists by using file_exists(). ThisBharat Mediratta
is a lightweight way to catch the case where ffmpeg gets deleted. Fixes ticket #1303.
2010-08-21Merge branch 'master' of github.com:gallery/gallery3Bharat Mediratta
2010-08-21Set the "secure" bit on cookies if we're using HTTPS. Fixes ticket #1217.Bharat Mediratta
2010-08-21Fix a typo to the case correction.Tim Almdal
2010-08-21Correct incorrect case on dialog title.Tim Almdal
2010-08-19Remove style information regarding the permission dialog from the ↵Tim Almdal
gallery.css to the wind/screen.css. This should make it easier for themes to style the dialog.
2010-08-16Fix a typo to the case correction.Tim Almdal
2010-08-16Merge branch 'master' of git@github.com:gallery/gallery3Tim Almdal
2010-08-16Correct incorrect case on dialog title.Tim Almdal
2010-08-15We use UTF-8 everywhere. Fixes ticket #1285.Bharat Mediratta
2010-08-15Verified.Bharat Mediratta
2010-08-14Return the right content type for album thumbnails (based on the album ↵Bharat Mediratta
cover's mime type)
2010-08-14Always use the data resource to return thumbs, resizes and full sizes.Bharat Mediratta
That way the client does not have to differentiate between RESTful request types and raw request types. If there's a public raw url, return that as well.
2010-08-14Don't expose members of an item that are not viewable by the end user.Bharat Mediratta
This leaks item ids, but no other information about the item. Fixes ticket #1292.
2010-08-14Add a key on access_caches.item_id. Without this, the Fix task queryBharat Mediratta
to find missing access_caches is very slow. Bump Gallery module to v34.
2010-08-14Rebuild access_caches rows if they're missing, as necessary. Fixes ticket ↵Bharat Mediratta
#1289.
2010-08-11Send back the content length of files. This fixes streaming movies. Fixes ↵Bharat Mediratta
ticket #974.
2010-08-09Use the data_rest implementation to proxy access to rawBharat Mediratta
thumb/resize/full data files when permissions are in play.
2010-08-09Change the way that this works. Now instead of sending back the imageBharat Mediratta
metadata and the data itself JSON encoded, we just send back the raw data with the right Content-Type. This, combined with code in Item_Model::as_restful_array() that swaps in /rest/data urls as appropriate, means that the RESTful payload has consistent urls when permissions are in play.
2010-08-09"Content-type" --> "Content-Type".Bharat Mediratta
2010-08-09The root album's edit form doesn't have a name field, so don't countBharat Mediratta
on it being there in update(). Fixes ticket #1281.
2010-08-08Merge branch 'master' of git@github.com:gallery/gallery3Tim Almdal
2010-08-08Fix for ticket #1279. In admin themes sanitize the theme name before ↵Tim Almdal
checking that theme.info exists.
2010-08-08Cache the group ids for a day to trade off performance for security updates.Bharat Mediratta
Fixes ticket #1227.
2010-08-08whitespace fix.Bharat Mediratta
2010-08-08Add gallery stats in addition to platform stats.Bharat Mediratta
2010-08-08Use the gallery helper date/time functions wherever we format dateBharat Mediratta
time for the browser. Fixes ticket #1278.
2010-08-08Verified.Bharat Mediratta
2010-08-08Verified.Bharat Mediratta