Commit Graph
2448 Commits
Author SHA1 Message Date
Bharat Mediratta 2a9335f71b Update version to beta 1 2009-06-05 17:45:42 -07:00
Bharat Mediratta 4375602640 Merge branch 'master' of git://github.com/gallery/gallery3 2009-06-05 17:44:57 -07:00
Bharat Mediratta 3275401f69 change the version to beta 1 2009-06-05 17:44:36 -07:00
Bharat Mediratta 816e0427e2 Merge branch 'master' of git://github.com/gallery/gallery3 2009-06-05 17:39:59 -07:00
Bharat Mediratta 275c25eb56 Add the exception message to the trace string when there's a graphics
failure.

Signed-off-by: Bharat Mediratta <bharat@menalto.com>
2009-06-06 08:39:07 +08:00
Bharat Mediratta c8351109fe Add the exception message to the trace string when there's a graphics
failure.
2009-06-05 17:37:49 -07:00
Andy Staudacher 4fcad78f54 Update golden file of Xss test 2009-06-05 16:10:08 -07:00
Bharat Mediratta 1d0c1ee87a Merge branch 'master' of git://github.com/gallery/gallery3 2009-06-05 15:59:06 -07:00
Bharat Mediratta 40c4ce1b8a Use ORIG_SCRIPT_PATH if it's available to detect the base url, for
compatibility with the CGI sapi.

Signed-off-by: Bharat Mediratta <bharat@menalto.com>
2009-06-06 02:47:17 +08:00
Bharat Mediratta b6a0bdb802 Use ORIG_SCRIPT_PATH if it's available to detect the base url, for
compatibility with the CGI sapi.
2009-06-05 11:45:18 -07:00
unostarandBharat Mediratta 73a0df1b16 corrected misprint
Signed-off-by: Bharat Mediratta <bharat@menalto.com>
2009-06-06 01:26:42 +08:00
unostarandBharat Mediratta 710d13aece Correct locale and local translation
Signed-off-by: Bharat Mediratta <bharat@menalto.com>
2009-06-06 01:26:41 +08:00
Bharat Mediratta 62a63676d4 Add Belarusian to the language list.
Signed-off-by: Bharat Mediratta <bharat@menalto.com>
2009-06-06 01:26:24 +08:00
Bharat Mediratta a46c4a6431 Localize the 'Add a comment' message
Signed-off-by: Bharat Mediratta <bharat@menalto.com>
2009-06-06 01:26:23 +08:00
Bharat Mediratta 7612c8d404 Localize the 'Advanced' menu item
Signed-off-by: Bharat Mediratta <bharat@menalto.com>
2009-06-06 01:26:22 +08:00
unostarandBharat Mediratta 1e4bf621f1 corrected misprint
Signed-off-by: Bharat Mediratta <bharat@menalto.com>
2009-06-06 01:25:11 +08:00
unostarandBharat Mediratta 72f4f21d60 Correct locale and local translation
Signed-off-by: Bharat Mediratta <bharat@menalto.com>
2009-06-06 01:25:08 +08:00
Bharat Mediratta 05d1bec594 Add Belarusian to the language list. 2009-06-05 00:58:25 -07:00
Bharat Mediratta b30645e36c Localize the 'Add a comment' message 2009-06-05 00:48:18 -07:00
Bharat Mediratta 76abcb7520 Localize the 'Advanced' menu item 2009-06-05 00:48:04 -07:00
Bharat Mediratta c7f49fd1ec Skip over busted images when rebuilding. Change graphics::generate()
to return true/false on whether or not it could rebuild the image
properly, then track the broke images in the task and ignore them.

Fixes ticket #344.
2009-06-04 23:20:54 -07:00
Bharat Mediratta 4f0a3fefa0 Fix a bug in Item_Model::get_position() where we incorrectly using the
grandparent id.  Oops.  This caused navigation from photo back up to
album to be broken.

Also update Photos_Controller to use the active sort order.. it was
still hardcoded to use the id.  It's more efficient now, yay.

Fixes ticket #340.
2009-06-04 22:11:08 -07:00
Bharat Mediratta 54927248b0 Updated for csrf in admin.html.php 2009-06-04 22:10:45 -07:00
Bharat Mediratta 85d3a962cc Change XXX to @todo 2009-06-04 21:44:15 -07:00
Bharat Mediratta 66c6c3df0e Convert single quotes to double quotes. 2009-06-04 21:43:21 -07:00
Bharat Mediratta 67f920d555 Add a csrf to the logout link. 2009-06-04 21:33:14 -07:00
Bharat Mediratta ac70a1b77a Fix internationalization to use one long string and placeholders.
Removed the <br/> though since we're trying to avoid structural HTML
in internationalized strings.
2009-06-04 18:49:45 -07:00
Bharat Mediratta 2d7d55014a Merge branch 'master' of git@github.com:gallery/gallery3 2009-06-04 18:41:41 -07:00
Bharat Mediratta 12ef4272ae Work around a problem with the CGI sapi on urls that don't contain
index.php (ie, /gallery3 instead of /gallery3/index.php) that causes
is to mis-route.
2009-06-04 18:40:38 -07:00
jhilden a156f1e9be Merge branch 'master' of git@github.com:gallery/gallery3 2009-06-04 21:34:20 -04:00
jhilden 81d20c79b6 fixed another bug with the filesize unit and added a better error message
Merge branch 'master' of git@github.com:gallery/gallery3

Conflicts:
	modules/gallery/views/simple_uploader.html.php
2009-06-04 21:32:45 -04:00
Bharat Mediratta e5a0104769 Make sure the item is loaded in parse_url() before we use it. 2009-06-04 18:19:49 -07:00
jhilden 8933a19f1f fixed stuff 2009-06-04 21:05:33 -04:00
Bharat Mediratta 5158a6f433 Add MY_num containing num::convert_to_bytes() which supports PHP's
size shorthand, and convert the simple_uploader code to use it.
2009-06-04 17:53:40 -07:00
Bharat Mediratta 59f3a84864 Merge branch 'master' of git@github.com:gallery/gallery3 2009-06-04 17:37:52 -07:00
Bharat Mediratta 8d9010cfe3 Let the Akismet module create the statistics menu, since it's the only
one that uses it.  Perhaps this is not the best solution, but it's the
pragmatic one.
2009-06-04 17:36:37 -07:00
jhilden 9306c178a8 set filesize limit of swfupload to the same value as upload_max_filesize
* now users get an error when they try to upload too big files
* this should fix bug #337
* maybe it also needs to check for max_post_size
2009-06-04 18:29:31 -04:00
Bharat Mediratta 743b321154 Change "CLEAN" to an empty string to see if it's better visually.
Looks like it is.
2009-06-04 12:23:12 -07:00
Bharat Mediratta 1acc64add7 Update xss clean list 2009-06-04 12:22:41 -07:00
Bharat Mediratta 7e5a363ffc Only request the server_add js if the user is an admin 2009-06-04 12:21:51 -07:00
Tim AlmdalandBharat Mediratta e1ce3196f4 Rewrite the server_add to have the server format the selection when a branch is opened. Sub trees re only retrieved when the branch is opened. Changed the
start task processing to fill in any subtrees that are selected, but were never expanded on the client.  Added the loading icon.

Signed-off-by: Bharat Mediratta <bharat@menalto.com>
2009-06-05 03:13:14 +08:00
Tim AlmdalandBharat Mediratta 13b12f410e Create a gDialogLargeLoading class for use with dialogs when running something that will take a little longer. If the standard gLoadingLarge is used with
a dialog then the ui-dialog-content class will override the background and the loading icon will not be seen.

Signed-off-by: Bharat Mediratta <bharat@menalto.com>
2009-06-05 03:13:10 +08:00
Bharat Mediratta fe7779b595 Remove console.log() calls, they break some browsers 2009-06-04 12:12:35 -07:00
Bharat Mediratta 65df897fcd Properly internationalize the "Add some" photos link. 2009-06-04 11:57:36 -07:00
Bharat Mediratta c888ce2e7d Merge branch 'master' of git@github.com:gallery/gallery3 2009-06-04 11:55:23 -07:00
Chad KiefferandBharat Mediratta bc38505251 Update notify/watch eyeglasses icon with bullhorn icon. Rename css/image names from watch to notify. 2009-06-04 11:55:18 -07:00
Chad Kieffer 0746e7e10d Show an "add photos" message on empty albums for those who can. 2009-06-03 19:04:44 -06:00
Chad Kieffer 3845dba196 Merge branch 'master' of git@github.com:gallery/gallery3 2009-06-03 19:01:57 -06:00
Bharat Mediratta dd854379c2 Sanitize all data we return via json_encode() to guard against XSS and
other data leaks.
2009-06-03 17:08:23 -07:00
Bharat Mediratta 05d18da390 Guard against pages with no items. 2009-06-03 17:01:33 -07:00