Commit Graph
5668 Commits
Author SHA1 Message Date
Kevin Nehls b96ac1eb81 move fix for backslashes on windows outside of loop per bharat's suggestion 2009-07-15 21:28:00 -07:00
Bharat Mediratta 39fa93eec7 Simpler solution for #545. Just don't show the form if the storage dir isn't set up yet 2009-07-15 21:06:42 -07:00
Bharat Mediratta 9b69dc8237 Revert "Fix for ticket #545."
This reverts commit d192f2f1bc.
2009-07-15 20:58:22 -07:00
Bharat Mediratta 3349525640 Revert "Fix for ticket #544."
This reverts commit f6973431b7.
2009-07-15 20:58:20 -07:00
Bharat Mediratta 1026054147 Merge branch 'master' of git@github.com:gallery/gallery3 2009-07-15 20:51:38 -07:00
Bharat Mediratta c4fce2cc68 Remove a completed @todo. 2009-07-15 20:32:53 -07:00
Tim Almdal f6973431b7 Fix for ticket #544.
* Separate the portion of get_db_info.html.php that displays the status
of the var directory into a separate view var_dir_status.html.php
* Change the processing to always generate the database information request
screen unless there is an environment error, the var directory is not writable
and the install was successful

Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-07-15 21:56:15 +08:00
Tim Almdal d192f2f1bc Fix for ticket #545.
Changed get_db_info.html.php to not display the database information
request form until the var directory is successfully tested as
writable.  This prevents users from thinking they can enter the
database information prior to successfully accessing the var
directory.

Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-07-15 20:42:58 +08:00
Kevin Nehls a2930cfa61 Fix backslashes in relative URLs of combined css files. 2009-07-14 20:41:10 -07:00
Tim Almdal 2cba5d9395 Fix 542 by changing the wording from you to your, thanks Floridave
Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-07-15 07:58:30 +08:00
Bharat Mediratta 7de339a676 Remove extra debug statements. 2009-07-14 16:10:37 -07:00
Bharat Mediratta 4720e45641 Don't use "else" clauses in upgrade() -- it prevents multiple version bumps at once. 2009-07-14 12:55:03 -07:00
Bharat Mediratta c4a3093011 3rd attempt to fix localization messages. Last time around I didn't
dig deep enough, but now we form the complete message using t() style
semantics to replace % placeholders with __ style JS placeholders.
Also, stop appending the (completed) text to existing messages.. roll
it together.
2009-07-14 12:36:57 -07:00
Bharat Mediratta 768a1485e1 Remove references to missing organize_edit_drawer.png 2009-07-14 12:07:29 -07:00
Bharat Mediratta 8cfb067709 Revert "Remove the reference to organize.css is it is no longer used and is"
This reverts commit 31ffb82382.
2009-07-14 12:03:31 -07:00
Bharat Mediratta c3f93957d7 Move the gallery version out of a module variable and into a constant
in the gallery helper.  This will let us bump the version without
having to bump the gallery module number.
2009-07-14 10:56:10 -07:00
Tim Almdal cc05d279ea Update HTMLPurifier to version 4.4.0 2009-07-14 07:55:30 -07:00
Tim Almdal 94e33c821f Removed unnecessary contructor from the HTMLPurifier.php library class 2009-07-14 06:42:50 -07:00
Tim Almdal be635df6d9 Merge branch 'master' of git@github.com:gallery/gallery3 2009-07-14 06:37:53 -07:00
Bharat Mediratta 2a40f48d65 Add /opt/bin as a binary path. 2009-07-14 06:36:48 -07:00
Bharat Mediratta e2a9a1d284 Add quotes around all values that contain spaces in them, and add a
test to make sure that we continue to do so.

This makes sure that we don't have problems with 5.3 which treats the
literal "on" as a boolean.
2009-07-13 10:36:55 -07:00
Tim Almdal 021e6eccd0 Merge branch 'master' of git@github.com:gallery/gallery3 2009-07-13 07:11:02 -07:00
Bharat Mediratta a944bf4259 Avoid using the bare word "on" in a value; it breaks PHP 5.3.
Fixes ticket #540.
2009-07-13 06:43:44 -07:00
Chad Kieffer 027f6b5221 Merge branch 'master' of git@github.com:gallery/gallery3 2009-07-12 22:54:04 -06:00
Chad Kieffer ff0b66a1a4 Put owner's url into user link. Seems better than displaying email until we have something like a user profile page. 2009-07-12 22:53:47 -06:00
Chad Kieffer 50cd41655a Minor style tweaks. 2009-07-12 22:41:57 -06:00
Bharat Mediratta 9588e8604d Use %27 instead of &#039; (the latter is the wrong form of escaping for urls). 2009-07-12 20:08:02 -07:00
Tim Almdal 75be4ab2e6 Merge branch 'master' of git@github.com:gallery/gallery3 2009-07-12 12:37:01 -07:00
Tim Almdal aa0209d6d3 Merge branch 'master' of git@github.com:gallery/gallery3 2009-07-11 23:11:55 -07:00
Shai Ben-NaphtaliandTim Almdal 30346ec842 Fixed indentation of commit 2760e119bbfc3e2d436c404de194dbeea738a735
Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-07-12 14:11:15 +08:00
Shai Ben-NaphtaliandTim Almdal 245f4d39a7 This fixes ticket #513
Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-07-12 14:11:14 +08:00
Shai Ben-NaphtaliandTim Almdal 1d7ed9e76b Fixed indentation of commit 2760e119bbfc3e2d436c404de194dbeea738a735
Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-07-12 13:23:52 +08:00
Shai Ben-NaphtaliandTim Almdal b0aab73364 This fixes ticket #513
Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-07-12 13:23:51 +08:00
Chad Kieffer 872b5eed46 Merge branch 'master' of git@github.com:gallery/gallery3 2009-07-11 23:17:30 -06:00
Chad Kieffer 8bfcf09b4c Styled thumb menu, still needs script to set up interraction. 2009-07-11 23:14:26 -06:00
Bharat Mediratta ac181d6227 Whitespace fixes. 2009-07-11 20:12:32 -07:00
Bharat Mediratta 9809238399 Unescape &#039; also (single quote) 2009-07-11 19:17:12 -07:00
Bharat Mediratta 895fbfd95b Get the thumbnail menu working.
1) Stop changing the menu classes in JS, instead allow us to specify
it in the Menu class itself and then set it to be gThumbMenu in Theme_View

2) Move the gThumbMenu init code to the bottom of the $(document).ready() block;
something in there was interfering with it.
2009-07-11 17:59:55 -07:00
Bharat Mediratta b4c279ebb4 Fix whitespace typo. 2009-07-11 17:40:32 -07:00
Chad Kieffer 413174e89e Second attempt at showing and hiding the thumb menu. Renamed gThumbMenu to gPhotoMenu for use on both album and photo pages, eventually. 2009-07-12 16:07:16 -06:00
Chad Kieffer 58d0a5013d First attempt at animating gThumbMenu. Doesn't work. 2009-07-12 11:43:41 -06:00
Bharat Mediratta e2967aa1c1 Fix a problem in delete() where we were referencing $parent without
saving its value before $item got deleted.  Further fix for #528.
2009-07-11 07:45:41 -07:00
Bharat Mediratta cbd80b5ff9 Get rid of the form from server_add, we're not using it.
Turn the cancel link into a themed close button which triggers a page
reload.

Add some padding to the left of the tree.
2009-07-11 07:37:49 -07:00
Bharat Mediratta 171522bf23 Add a "close" button. 2009-07-11 07:23:31 -07:00
Bharat Mediratta 8c6c3801bb Fix a typo in the last commit. I left off a closing paren. 2009-07-11 07:12:29 -07:00
Bharat Mediratta f2a3fa46f5 Change 'completed' status message to be a full sentence with javascript placeholders. 2009-07-11 07:10:05 -07: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