Commit Graph
2269 Commits
Author SHA1 Message Date
Bharat Mediratta af3d5acbcd Merge branch 'master' of github.com:gallery/gallery3 2010-09-01 22:00:40 -07:00
Bharat Mediratta 80e9fcaf47 Don't use $.remove() to get rid of items from the uploadify queue;
that breaks uploadify and causes it to be unable to upload any new
items.  Fixes ticket #1324.
2010-09-01 22:00:26 -07:00
Tim Almdal 1f621d9827 Refine the patch for #1216. If the admin user changes their email address update the sendmail from and reply_to fields in advanced settings. Also change this if the identity provider has changed. 2010-09-01 21:24:41 -07:00
Bharat Mediratta 78c590ebae Don't use HTTP_HOST to get the hostname. We force that to
"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-31 21:07:43 -07:00
Tim Almdal f80aff7434 Merge branch 'master' of git@github.com:gallery/gallery3 2010-08-31 20:46:49 -07:00
Tim Almdal e09c6dbd5e Patch for ticket #1216. Move the values that were in the sendmail config file and store them as gallery module variables. Requires a version number bump to 37. 2010-08-31 20:45:09 -07:00
mamouneyyaandBharat Mediratta 318a94a5ef flip the float value for RTL 2010-09-01 10:59:00 +08:00
Bharat Mediratta db769b76ab Expire completed uploads and introduce a text message that says how
many photos have been uploaded successfully.  This is to pave the way
for retry code later on.
2010-08-31 00:03:46 -07:00
Bharat Mediratta 953d63555c Detect Flash and put up a reasonable message if your browser doesn't
have Flash installed.  Fixes ticket #1268.
2010-08-30 22:19:57 -07:00
Bharat Mediratta bc0d5e79cb Revert "Change the theme option page to display using tabs if the site theme has an admin page."
This reverts commit d66c496fb1.

Conflicts:

	modules/gallery/helpers/theme.php
	modules/gallery/views/admin_theme_options.html.php
	themes/admin_wind/css/screen.css
2010-08-29 23:09:52 -07:00
Bharat Mediratta ab598b2931 Put the theme CSS at the end of the module CSS so that the theme has
the final say.  Fixes ticket #1315.
2010-08-29 21:15:58 -07:00
Bharat Mediratta 2c717b18d3 Don't concatenate two strings together as an argument for t() or t2();
the l10n_scanner cannot parse it properly and drops those from the
localization list.  Fixes ticket #1284.
2010-08-29 20:04:02 -07:00
Bharat Mediratta 0879a26e1c Put a message in the logs when we find a string that's not
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-29 19:55:21 -07:00
Bharat Mediratta 2018831015 1) Rename "Cancel All" -> "Cancel uploads" to clarify what we're
talking about and follow our capitalization standards.
2) Grey out the Done button when uploads are in progress.
Fixes ticket #1302.
2010-08-29 16:39:01 -07:00
Bharat Mediratta 4c8445852d Bump gallery module to v36 and add a favicon_url variable, which we
expose in Admin > Appearance > Theme Options and defaults to
lib/images/favicon.ico.

Thix fixes ticket #1312.
2010-08-29 16:27:32 -07:00
Bharat Mediratta 24b511b44a Move theme::get_edit_form_admin into admin_theme_options since that's
the only place where it's used and the theme helper is loaded on every
page view.
2010-08-29 16:03:09 -07:00
Bharat Mediratta 6a13a238bb Convert the "parents" variable from a result iterator to an array so
that the theme can call empty() on it.  Fixes #1318.
2010-08-29 11:45:27 -07:00
Bharat Mediratta a08cd0db4e Add a "visible_title_length" variable that defaults to 15 and use that
as the max title length when we do title truncation in the wind theme.
Bump the gallery module to 35.
2010-08-28 21:58:28 -07:00
Bharat Mediratta 3ff91e5e33 Null out Item_Model::$data_file in Item_Model::save() when we're
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-25 10:05:21 -07:00
Bharat Mediratta 545c069786 Delete old SWFupload code. We replaced it with uploadify ages ago. 2010-08-24 21:27:34 -07:00
Bharat Mediratta dc80cde379 Add "captcha_protect_form" event that the recaptcha module grabs and
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-22 13:00:08 -07:00
Bharat Mediratta adc4061125 Use better error messages in form validation. 2010-08-22 12:49:01 -07:00
Bharat Mediratta 04add75f6f Get rid of the move dialog and move option. Instead, replace it with
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-22 00:27:24 -07:00
Bharat Mediratta c6a28a93dd Put up a warning and don't accept movie files if we don't have ffmpeg.
This fixes ticket #973.
2010-08-21 15:11:06 -07:00
Bharat Mediratta 4a01aaddc9 Verify that the ffmpeg path still exists by using file_exists(). This
is a lightweight way to catch the case where ffmpeg gets deleted.
Fixes ticket #1303.
2010-08-21 15:10:46 -07:00
Bharat Mediratta 7c1a716f01 Merge branch 'master' of github.com:gallery/gallery3 2010-08-21 14:06:51 -07:00
Bharat Mediratta 3e0b42573e Set the "secure" bit on cookies if we're using HTTPS. Fixes ticket #1217. 2010-08-21 14:06:30 -07:00
Tim AlmdalandBharat Mediratta 65801cf2e0 Fix a typo to the case correction. 2010-08-21 14:05:29 -07:00
Tim AlmdalandBharat Mediratta 33e76f5e33 Correct incorrect case on dialog title. 2010-08-21 14:05:29 -07:00
Tim Almdal 68b598d4fa Remove style information regarding the permission dialog from the gallery.css to the wind/screen.css. This should make it easier for themes to style the dialog. 2010-08-19 19:48:44 -07:00
Tim Almdal ea2808f48f Fix a typo to the case correction. 2010-08-16 22:03:23 -07:00
Tim Almdal de91d0fe4f Merge branch 'master' of git@github.com:gallery/gallery3 2010-08-16 21:54:40 -07:00
Tim Almdal 9592f2f2e6 Correct incorrect case on dialog title. 2010-08-16 21:54:32 -07:00
Bharat Mediratta ff1d8aea2f We use UTF-8 everywhere. Fixes ticket #1285. 2010-08-15 01:59:54 -07:00
Bharat Mediratta a1be33f6ab Verified. 2010-08-15 00:46:02 -07:00
Bharat Mediratta 6563ad1393 Return the right content type for album thumbnails (based on the album cover's mime type) 2010-08-14 22:00:53 -07:00
Bharat Mediratta dbe595f15e Always use the data resource to return thumbs, resizes and full sizes.
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-14 16:10:32 -07:00
Bharat Mediratta b562751fdb Don't expose members of an item that are not viewable by the end user.
This leaks item ids, but no other information about the item.  Fixes
ticket #1292.
2010-08-14 15:45:16 -07:00
Bharat Mediratta 50e3230d79 Add a key on access_caches.item_id. Without this, the Fix task query
to find missing access_caches is very slow.  Bump Gallery module to v34.
2010-08-14 15:10:07 -07:00
Bharat Mediratta d9f8c8a295 Rebuild access_caches rows if they're missing, as necessary. Fixes ticket #1289. 2010-08-14 14:56:28 -07:00
Bharat Mediratta 524554c65b Send back the content length of files. This fixes streaming movies. Fixes ticket #974. 2010-08-11 21:02:57 -07:00
Bharat Mediratta 9de371e1b3 Use the data_rest implementation to proxy access to raw
thumb/resize/full data files when permissions are in play.
2010-08-09 22:55:58 -07:00
Bharat Mediratta 3c18762fda Change the way that this works. Now instead of sending back the image
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 22:54:57 -07:00
Bharat Mediratta f0d8aef0ea "Content-type" --> "Content-Type". 2010-08-09 22:51:14 -07:00
Bharat Mediratta 0ff81c7ded The root album's edit form doesn't have a name field, so don't count
on it being there in update().  Fixes ticket #1281.
2010-08-09 15:18:25 -07:00
Tim Almdal 58bf479f4c Merge branch 'master' of git@github.com:gallery/gallery3 2010-08-08 17:29:29 -07:00
Tim Almdal 1ad1f9517f Fix for ticket #1279. In admin themes sanitize the theme name before checking that theme.info exists. 2010-08-08 17:29:22 -07:00
Bharat Mediratta acb1faaa59 Cache the group ids for a day to trade off performance for security updates.
Fixes ticket #1227.
2010-08-08 17:25:31 -07:00
Bharat Mediratta 6a8c1f5e85 whitespace fix. 2010-08-08 17:19:51 -07:00
Bharat Mediratta bd541342b9 Add gallery stats in addition to platform stats. 2010-08-08 17:07:13 -07:00