Commit Graph

3624 Commits

Author SHA1 Message Date
Shai Ben-Naphtali
245f4d39a7 This fixes ticket #513
Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-07-12 14:11:14 +08:00
Bharat Mediratta
214d977f4d Don't close the dialog window after we successfully complete an
action.  The expectation is that we're going to reload the page (or
redirect to a new url).  If we close the dialog, then we can trigger
the onhover for items we've just deleted causing errors.

Simplify the API while we're at it by getting rid of the no-longer-used
on_success argument to openDialog()

This fixes #528.
2009-07-11 06:51:21 -07:00
Bharat Mediratta
4d0099e716 Fix a bug where we're referring to $photo when we just uploaded a
$movie, that causes the simpler uploader to throw an error for all
movies.
2009-07-11 06:24:10 -07:00
Bharat Mediratta
6b013060aa Fix style: space after ) before {. 2009-07-11 06:15:44 -07:00
Bharat Mediratta
ecc7d881e3 Fix bug introduced in e0e450d90f where
it got rid of the 'img' var which is used when we set the click action
on buttons.

Partial fix for #528.
2009-07-11 05:52:50 -07:00
Bharat Mediratta
6281ed03d5 Turn off extended inserts when creating install.sql so that it's
easier to see what's changed.
2009-07-11 05:36:31 -07:00
Bharat Mediratta
22fcb4c776 Forgot to bump the version up to 3 2009-07-11 05:14:02 -07:00
Bharat Mediratta
0098ef05c3 Merge branch 'master' of git@github.com:/gallery/gallery3 2009-07-11 05:07:41 -07:00
Tim Almdal
4132d6c55e Put quotes around the href param (href="#") 2009-07-11 15:47:04 -07:00
Bharat Mediratta
954ab5a505 Further simplify server_add (and bump it to version 3).
Now we don't have checkboxes, but instead we restrict you to selecting
directories and albums from only one level in the hierarchy.  This
makes it easier for us to make sure that we properly create the
hierarchy that you want and avoid confusion about what's going to wind
up where.

Modify Server_Add_File_Model to have a parent_id and item_id and then
modify them as we go so that we can build up a tree structure there
*before* we create any items.  This makes it much easier to figure out
where a new item is going to go and get rid of a bunch of probably
buggy code in the main task.
2009-07-11 05:03:36 -07:00
Tim Almdal
f1b2a14f4f Add a title attribute to the li of a menu 2009-07-10 23:45:29 -07:00
Chad Kieffer
782431ec13 Merge branch 'master' of git@github.com:gallery/gallery3 2009-07-11 00:41:07 -06:00
Chad Kieffer
e0e450d90f Position gItem and gPhoto relative, then position quick and thumb menus as absolute within them. Moved css from quick.js to quick.css. 2009-07-11 00:40:57 -06:00
Shai Ben-Naphtali
6320babf78 Fixes ticket #526
Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-07-11 14:26:28 +08:00
Tim Almdal
fe6320ef4c Fix for ticket #341.
Change the wording for the sort order from "Default" to "Order Added"
2009-07-10 18:11:12 -07:00
Tim Almdal
fabdde9bb9 Reference exif consistently as EXIF ticket #526. 2009-07-10 17:46:33 -07:00
Tim Almdal
f887fd32a4 Forgot to add this file when change "Done"'s to "Close"'s 2009-07-10 14:19:33 -07:00
Tim Almdal
15bb52a776 Change the word "Done" to "Close" to make translations easier 2009-07-10 14:12:13 -07:00
Tim Almdal
863deab3d3 Fix a bug where the task message was not being set 2009-07-10 12:54:25 -07:00
Tim Almdal
09c9b1a755 Added the upload::required validation in order to insure that failed uploads
are not treated as successful.
Log any exceptions to the Kohana log and return the error message
2009-07-10 11:35:28 -07:00
Bharat Mediratta
016e04d228 Merge branch 'master' of git@github.com:gallery/gallery3 2009-07-10 10:40:20 -07:00
Bharat Mediratta
86a7b15d20 Compact all menus. This fixes the problem that the new [Options]
thumb menu shows up when it has nothing in it.
2009-07-10 10:39:59 -07:00
Tim Almdal
7c993387da Move the dynamic module to gallery3-contrib
Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-07-10 23:23:51 +08:00
Bharat Mediratta
12796ec2ca Create a new [options] submenu under the thumb menu, and move the
Digibug print button into it.  Right now, it doesn't display properly.
2009-07-10 08:20:00 -07:00
Bharat Mediratta
b3785e1761 Remove debug code. 2009-07-10 08:04:37 -07:00
Bharat Mediratta
5cf267cc4c Fix a bug where we were not properly locating the parent album when
adding a new album or photo.

Simplify the data structure that we pass down to
server_add_tree.html.php so that we just pass a file list and let it
do whatever it wants with it.
2009-07-10 08:01:32 -07:00
Bharat Mediratta
de39dcbce6 Merge branch 'master' of git@github.com:gallery/gallery3 2009-07-10 07:37:20 -07:00
Tim Almdal
a059eff25d Make the tag event handle the iptc keywords consistently with
other tag add mechanisms

Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-07-10 13:13:24 +08:00
Tim Almdal
f4f6dacf7d Correct the pattern match to compress multiple spaces into a single
dot.

Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-07-10 12:48:30 +08:00
Tim Almdal
e3e56827d5 Corrected a problem where the number limit value was being set the
same for both popular and recent changes.

Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-07-10 12:39:24 +08:00
Tim Almdal
4b28f7f50e A few minor changes to add to the dynamic albums module
1) cleanun the two displays of the recent changes page
2) change the name to recent changes.
3) Change the description in module.info
Not quite ready for prime time, some issues with the limit to be
resolved

Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-07-10 12:39:23 +08:00
Tim Almdal
7862e8b02d Created the dynamic albums module which provides a dynamic album
containing either recent updates or most viewed images.

Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-07-10 12:39:22 +08:00
Tim Almdal
1475b772bd Change the tag importer to convert spaces to a dot in multi word tags.
Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-07-10 08:22:29 +08:00
Bharat Mediratta
ab5695ca57 Merge branch 'master' of git@github.com:gallery/gallery3 2009-07-09 16:34:21 -07:00
Bharat Mediratta
b1f93f358a Fix typo in p::purify() call. 2009-07-09 16:18:39 -07:00
Bharat Mediratta
6fbb1e2daf Avoid blowing the task data column by only adding directories to the queue instead of directories and files. 2009-07-09 14:03:07 -07:00
Bharat Mediratta
fad6c4783e Add status output to make it clearer what's happening when you add files. 2009-07-09 10:46:27 -07:00
Tim Almdal
31ffb82382 Remove the reference to organize.css is it is no longer used and is
producing errors in the log.

Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-07-10 01:38:24 +08:00
Bharat Mediratta
b0429797fc Use p::purify instead of p::clean 2009-07-09 10:00:16 -07:00
Tim Almdal
e7e2d99255 Revert "Revert "Add task logging to the "Update Search Index" task""
This reverts commit 5118afc959.
2009-07-09 08:43:42 -07:00
Tim Almdal
724d2af960 Revert "Eliminate temporary variables by passing the $item into the view and"
This reverts commit 1a587fd016.
2009-07-09 08:42:54 -07:00
Tim Almdal
703d93a1ea Revert "ORM::Factory -> ORM::factory"
This reverts commit b1f9eb1d12.
2009-07-09 08:42:32 -07:00
Tim Almdal
5118afc959 Revert "Add task logging to the "Update Search Index" task"
This reverts commit 6ac5238b83.
2009-07-09 08:39:00 -07:00
Bharat Mediratta
1a587fd016 Eliminate temporary variables by passing the $item into the view and
making API calls on the item.

Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-07-09 23:34:14 +08:00
Bharat Mediratta
b1f9eb1d12 ORM::Factory -> ORM::factory
Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-07-09 23:33:42 +08:00
Tim Almdal
6ac5238b83 Add task logging to the "Update Search Index" task 2009-07-08 09:27:37 -07:00
Tim Almdal
ac797e609c Add task logging to the Update translations 2009-07-08 09:08:15 -07:00
Tim Almdal
43c6336257 Add Task logging to the Extract EXIF data task 2009-07-08 08:37:40 -07:00
Tim Almdal
9f00e734ed Added the button formatting to the other links on the Admin Maintenance page. 2009-07-08 08:26:14 -07:00
Tim Almdal
47fbb56fa2 Added task logging to the Rebuild Images task. 2009-07-08 08:22:40 -07:00