summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2009-07-16Second non-trivial change to the event code. We now publish modelBharat Mediratta
related events from within the model handling code. The only exception to this currently is item_created which is challenging because we have to save the item using ORM_MPTT::add_to_parent() before the object itself is fully set up. When we get that down to one call to save() we can publish that event from within the model also.
2009-07-16Update golden file to match recent changes in event code.Bharat Mediratta
2009-07-16Non-trivial changes to the event handling code:Bharat Mediratta
1) The item_updated event no longer takes the old and new items. Instead we overload ORM to track the original data and make that available via the item. This will allow us to move event publishing down into the API methods which in turn will give us more stability since we won't require each controller to remember to do it. 2) ORM class now tracks the original values. It doesn't track the original relationships (no need for that, yet) 3) Added new events: item_deleted group_deleted user_deleted
2009-07-16Add missing ) dropped in 8f9a943f.Bharat Mediratta
2009-07-16Stripped the trailing ?> without changing whitespace.Bharat Mediratta
2009-07-16Revert "Remove trailing ?>."Bharat Mediratta
This reverts commit a333e01bd1c8cb3ad08cd0ad16023e3fcdfc4181.
2009-07-16Remove trailing ?>.Bharat Mediratta
2009-07-16Remove spurious blank line at the top of the file introduced in ↵Bharat Mediratta
09c9b1a75561881a40ada71f02710355923602e2
2009-07-16Update Xss_Security_Test to know about p::purify() and checkpoint theBharat Mediratta
golden file.
2009-07-16move fix for backslashes on windows outside of loop per bharat's suggestionKevin Nehls
Signed-off-by: Bharat Mediratta <bharat@menalto.com>
2009-07-16Fix backslashes in relative URLs of combined css files.Kevin Nehls
Signed-off-by: Bharat Mediratta <bharat@menalto.com>
2009-07-15Remove a completed @todo.Bharat Mediratta
2009-07-15Fix 542 by changing the wording from you to your, thanks FloridaveTim Almdal
Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-07-14Remove extra debug statements.Bharat Mediratta
2009-07-14Don't use "else" clauses in upgrade() -- it prevents multiple version bumps ↵Bharat Mediratta
at once.
2009-07-143rd attempt to fix localization messages. Last time around I didn'tBharat Mediratta
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-14Remove references to missing organize_edit_drawer.pngBharat Mediratta
2009-07-14Revert "Remove the reference to organize.css is it is no longer used and is"Bharat Mediratta
This reverts commit 31ffb82382d76390f1206944329dde86c687349c.
2009-07-14Move the gallery version out of a module variable and into a constantBharat Mediratta
in the gallery helper. This will let us bump the version without having to bump the gallery module number.
2009-07-14Update HTMLPurifier to version 4.4.0Tim Almdal
2009-07-14Removed unnecessary contructor from the HTMLPurifier.php library classTim Almdal
2009-07-14Add /opt/bin as a binary path.Bharat Mediratta
2009-07-13Add quotes around all values that contain spaces in them, and add aBharat Mediratta
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-13Avoid using the bare word "on" in a value; it breaks PHP 5.3.Bharat Mediratta
Fixes ticket #540.
2009-07-12Merge branch 'master' of git@github.com:gallery/gallery3Chad Kieffer
2009-07-12Put owner's url into user link. Seems better than displaying email until we ↵Chad Kieffer
have something like a user profile page.
2009-07-12Use %27 instead of &#039; (the latter is the wrong form of escaping for urls).Bharat Mediratta
2009-07-11Whitespace fixes.Bharat Mediratta
2009-07-11Unescape &#039; also (single quote)Bharat Mediratta
2009-07-11Get the thumbnail menu working.Bharat Mediratta
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-11Fix whitespace typo.Bharat Mediratta
2009-07-11Fix a problem in delete() where we were referencing $parent withoutBharat Mediratta
saving its value before $item got deleted. Further fix for #528.
2009-07-11Get rid of the form from server_add, we're not using it.Bharat Mediratta
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-11Add a "close" button.Bharat Mediratta
2009-07-11Fix a typo in the last commit. I left off a closing paren.Bharat Mediratta
2009-07-11Change 'completed' status message to be a full sentence with javascript ↵Bharat Mediratta
placeholders.
2009-07-12Fixed indentation of commit 2760e119bbfc3e2d436c404de194dbeea738a735Shai Ben-Naphtali
Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-07-12This fixes ticket #513Shai Ben-Naphtali
Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-07-11Don't close the dialog window after we successfully complete anBharat Mediratta
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-11Fix a bug where we're referring to $photo when we just uploaded aBharat Mediratta
$movie, that causes the simpler uploader to throw an error for all movies.
2009-07-11Fix style: space after ) before {.Bharat Mediratta
2009-07-11Fix bug introduced in e0e450d90fe67ac199d82d2b8e902cff5c8b6c7d whereBharat Mediratta
it got rid of the 'img' var which is used when we set the click action on buttons. Partial fix for #528.
2009-07-11Turn off extended inserts when creating install.sql so that it'sBharat Mediratta
easier to see what's changed.
2009-07-11Forgot to bump the version up to 3Bharat Mediratta
2009-07-11Merge branch 'master' of git@github.com:/gallery/gallery3Bharat Mediratta
2009-07-11Put quotes around the href param (href="#")Tim Almdal
2009-07-11Further simplify server_add (and bump it to version 3).Bharat Mediratta
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-10Add a title attribute to the li of a menuTim Almdal
2009-07-11Merge branch 'master' of git@github.com:gallery/gallery3Chad Kieffer
2009-07-11Position gItem and gPhoto relative, then position quick and thumb menus as ↵Chad Kieffer
absolute within them. Moved css from quick.js to quick.css.