summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-07-28Revert commit 078c77a62b623322956457bfd7bfbdaf56203b00 and change theTim Almdal
tag_event:item_edit_form to use the new Form_Script library to inject script into a form.
2009-07-28Merge branch 'master' of git@github.com:gallery/gallery3Tim Almdal
2009-07-28Create A Forge Script element. Form_Script allows the specificationTim Almdal
of either a url to a script file or in line text which will be included in a script block. Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-07-27Create A Forge Script element. Form_Script allows the specificationTim Almdal
of either a url to a script file or in line text which will be included in a script block.
2009-07-28Clean up amd simplify the tag processing: Only allow comma separators betweenTim Almdal
phrases. Using only 1 separator cleans up the javascript as well, as we can use some of the jquery autocomplete to set the tag separator. Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-07-27Clean up amd simplify the tag processing: Only allow comma separators betweenTim Almdal
phrases. Using only 1 separator cleans up the javascript as well, as we can use some of the jquery autocomplete to set the tag separator.
2009-07-27Merge branch 'master' of git@github.com:gallery/gallery3Tim Almdal
2009-07-28Standardize the specification of tags.Tim Almdal
With this patch a comma(,) is the only valid tag separator. Spaces are allowed in tags and phrases no longer need to be specified with a dot. Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-07-27Remove the unnecessary ORDER BY on $this->sort_column inBharat Mediratta
get_position(), and instead apply an ORDER BY on `id` in the 2nd query so that we have stability among the equal elements. This should result in cheaper (and more sensible) queries.
2009-07-27Standardize the specification of tags.Tim Almdal
With this patch a comma(,) is the only valid tag separator. Spaces are allowed in tags and phrases no longer need to be specified with a dot.
2009-07-27Allow a theme to override the page refresh mechanism. Create a newTim Almdal
javascript lib (gallery.reload.js) which defines the functions gallery_reload() and gallery_location(new_location). They just do a window.location.reload() and window.location = new_location. This change breaks the assumption that all themes will handle page reloads the same and allows the theme to customize the page refresh.
2009-07-27Updated.Bharat Mediratta
2009-07-27Merge branch 'master' of git@github.com:gallery/gallery3Andy Staudacher
2009-07-27Revert "Remove an useless ORDER BY."... the order by wasn't all that useless.Andy Staudacher
This reverts commit c80d2da0a95a63b76f5a4c835f1a0e1022ec2f53. Conflicts: modules/gallery/models/item.php
2009-07-27Revert "Fix for ticket #452"Tim Almdal
This reverts commit 809e52d80cbf3beb75b238fddb0da3951fb9a8e7.
2009-07-27Back out the fix for ticket #452Tim Almdal
Revert "Changed access::user_can to force the owner of an item to have" This reverts commit 0b97cfd6f098be08be5f3cf1dbca1cce580ae330.
2009-07-27Back out fixes for ticket #452Tim Almdal
Revert "It helps to save before committing :-)" This reverts commit 0d76d6fd77f53e9e92a9a013cd112c69217f3ceb.
2009-07-26Updating install.sql with the packaging script, basically re-adding the ↵Andy Staudacher
charset (utf8) expressions that were removed by merging in rledisez's left/right -> left_ptr/right_ptr changes.
2009-07-26Merge branch 'master' of git://github.com/rledisez/gallery3 into rledisez/masterAndy Staudacher
2009-07-26Missed committing the gBanner addition to the view template.Chad Kieffer
2009-07-26Updated wording of tag separator tipChad Kieffer
2009-07-26Merge branch 'master' of git@github.com:gallery/gallery3Chad Kieffer
2009-07-26Update to how gSiteMenu is positioned. Required addition of a new container, ↵Chad Kieffer
gBanner. This will ensure proper positioning across most browsers and simplifies gBreadcrumbs styles. Removed inaffective IE opacity style.
2009-07-26It helps to save before committing :-)Tim Almdal
2009-07-26Changed access::user_can to force the owner of an item to haveTim Almdal
view permission on the parent. Added a whitelist of allowable owner permissions. If the requested permission is view and the user requesting access is the owner, check that they have view permission to the parent.
2009-07-26Merge branch 'master' of git@github.com:gallery/gallery3Chad Kieffer
2009-07-25Fix for ticket #452Tim Almdal
1) Change access_Core::user_can to return true for all permissions if the owner is the specified user. 2) Change Item_Model::viewable to set the owner_id is the first view_restriction This allowed simplification of the generating the where clause to a single $this->orwhere instead of a where and an orwhere.
2009-07-25Merge branch 'master' of git@github.com:gallery/gallery3Chad Kieffer
2009-07-25Fix for ticket #594. Forced the directory name to be required when editting ↵Tim Almdal
the album.
2009-07-25fix for ticket #574. The user->url database wasn't being set when the user ↵Tim Almdal
was updated via the admin panel.
2009-07-25Pass the variable when the "user_edit_form" event is fired.Tim Almdal
2009-07-25Rename columns that use reserved SQL words : items.left and items.rightRomain LE DISEZ
2009-07-25Merge branch 'master' of git@github.com:gallery/gallery3Chad Kieffer
2009-07-25Merge commit 'upstream/master'Romain LE DISEZ
2009-07-23Merge branch 'master' of git@github.com:/gallery/gallery3Bharat Mediratta
2009-07-24Add tag autocomplete to the album and photo edit pop up dialogs.Tim Almdal
This required putting a wrapper view around the forms and passing this view as the parameter to the item_edit_form event. The view contains a $script variable that the modules can add script to be included in the form html when rendered as part of the ajax response.
2009-07-24Partial implementation of ticket #80. Provide auto complete and suggestions ↵Tim Almdal
on the tag add form in the tag sidebar block. Updated the xss golden file as well. Still to do figure out how toget it into the edit popup dialog
2009-07-23Smooth out the animaation for the progress bar.Bharat Mediratta
2009-07-23Add in more images referenced by CSS that I forgot to copy over from the ↵Bharat Mediratta
default theme when I combined the CSS
2009-07-23Disable the album cover icon if the item is already the current album cover.Bharat Mediratta
2009-07-23Don't escape & in JS text; it triggers the "Disallowed key charactersBharat Mediratta
in global data." check in the Input library.
2009-07-23Updated version of installer sql:Bharat Mediratta
- gallery_version is gone - access related columns are now binary (Postgres) - for some reason we've reverted back to the /*!40101*/ style settings in mysqldump.
2009-07-23Updated golden fileBharat Mediratta
2009-07-23Merge branch 'master' of git@github.com:gallery/gallery3Tim Almdal
2009-07-23Respect the $type parameter on Tag_Model::items_count()Tim Almdal
2009-07-23Merge commit 'upstream/master'Romain LE DISEZ
Conflicts: modules/gallery/helpers/access.php
2009-07-23Merge branch 'master' of git@github.com:gallery/gallery3Bharat Mediratta
2009-07-23Add form processing events:Bharat Mediratta
user_add_form_admin admin adding a user user_edit_form_admin admin editing a user user_add_form_admin_completed successfully added a user (admin) user_edit_form user editing their own settings user_edit_form_completed successfully edited a user (admin and user editing own settings)
2009-07-23Fix for ticket #496. replace the src attribute (non standard) with the title ↵Tim Almdal
attribute to contain the url of the tag cloud controller.
2009-07-23Convert instances of theme_url() to just url() to match the API changeBharat Mediratta
made in dbeadc1407293d0c7af36723db6fe5699890b845