Commit Graph
5935 Commits
Author SHA1 Message Date
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 91fab0fcf5 Compiled version of http://github.com/gallery/gallery3-flex/commit/88efbd77b45ae888b035295a8034229c645267c2 2010-08-22 00:26:52 -07:00
Bharat Mediratta 4d55166eba Fix a bug where we were using names in a string context resulting in
sending the wrong custom headers back. Fixed the names of the headers
to be slightly more meta. Fixes #1305

Implemented in gallery3-flex bea5f67efa93a3921eec8cd03a15d68f513f1dc0
2010-08-21 16:52:46 -07:00
Bharat Mediratta ae618840b6 Tighten up whitespace. 2010-08-21 15:25:06 -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
Chad KiefferandBharat Mediratta 3fc08dfd4c Added text and submit classes to search form input and submit buttons, respectively. Fixed the width of the search form in IE. Button height's off in IE 8 compatbility mode. 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
Bharat Mediratta 21a0f832b6 Merge branch 'master' of github.com:gallery/gallery3 2010-08-17 22:33:30 -07:00
Bharat Mediratta 387d30da76 use HTTP_HOST instead of SERVER_NAME so that we're sending requests
back to the same canonical domain that we came from.  Else Flash makes
crossdomain.xml requests, fails, and falls over.

Fixes ticket #1298.
2010-08-17 22:32:47 -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
Chad Kieffer 8c2ed0d681 Added text and submit classes to search form input and submit buttons, respectively. Fixed the width of the search form in IE. Button height's off in IE 8 compatbility mode. 2010-08-16 22:39:54 -06: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 d2c59740b1 Updated organize SWF to understand data resources. 2010-08-15 00:00:31 -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 b6a377bc82 Update install.sql for gallery module version 3. This was left out of
779d91cca0 but it doesn't cause any real
damage, it just means that anybody who got the code in the intervening
window and did an initial install required an upgrade as well.
2010-08-14 15:08:38 -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 a8c7234c5e Merge branch 'master' of github.com:gallery/gallery3 2010-08-14 14:02:41 -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
Tim Almdal c90996341a Fix for ticket #1288. Add a containing <ul> element for the footer on the admin page. Also respect the "show credits" variable setting. 2010-08-11 08:02:16 -07:00
Bharat Mediratta a94bb19798 Force the charset to UTF-8 when viewing the HTML form of REST output. 2010-08-09 23:01:47 -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 d5dbd1677f "Server Add" -> "Server add"
(Sentence capitalization)
2010-08-09 21:22:54 -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
Bharat Mediratta b6a5014047 Fix a pagination bug. Fixes ticket #1280. 2010-08-09 00:29:28 -07:00
Bharat Mediratta 541a084cc1 "REST api" --> "REST API". 2010-08-08 21:51:26 -07:00
Bharat Mediratta 0014745d4a Add a button to the user profile page to let you reset your REST API
key.  This is useful if you think it's been compromised in some way.
Fixes ticket #1226.
2010-08-08 21:49:30 -07:00
Bharat Mediratta 639d31a2c1 If the imported item from Gallery 2 has a preferred derivative with a
rotation, then rotate the imported image accordingly.  Fixes ticket #1274..
2010-08-08 21:17:16 -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 c3ad4b5374 Whitespace fix 2010-08-08 17:14:09 -07:00
Bharat Mediratta e85b345eda Visually separate the G2 comment's subject and body when we blend them
into the G3 comment body.  Fixes ticket #1269.
2010-08-08 17:10:00 -07:00
Bharat Mediratta bd541342b9 Add gallery stats in addition to platform stats. 2010-08-08 17:07:13 -07:00
Bharat Mediratta 2dda8e22a7 Use the gallery helper date/time functions wherever we format date
time for the browser.  Fixes ticket #1278.
2010-08-08 16:54:31 -07:00
Bharat Mediratta cdb6306d7e Backdate the created/updated dates for imported comments. Fixes ticket #1215. 2010-08-08 16:50:02 -07:00