summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-07-22Add explicit unit tests for access::user_canTim Almdal
2009-07-22Merge branch 'master' of git@github.com:gallery/gallery3Bharat Mediratta
2009-07-22Use the Kohana cascading filesystem to locate resources loaded by theBharat Mediratta
theme. Because the theme comes first, this means that themes can override any module resources, at the cost that we no longer have namespacing for JS and CSS files. The only file getting used outside of this model is themes/default/screen.css which is used in the admin theme. I fixed that by copying screen.css into admin_default and renaming its screen.css to admin_screen.css. I also copied over all the images that it was referencing. Fixes tickets #48 and #539. Theme API changes: - theme_script(), theme_url() and theme_css() are no longer needed - script(), url() and css() now refer to the first matching asset in the module load path, where gallery3/lib is at the end of the path
2009-07-22bump version to "3.0 git (pre-beta3)"Bharat Mediratta
2009-07-22Modified the notification get_subscribers to ignore any users that don'tTim Almdal
have "view" access to the item the notification is being generated for. Fix for ticket: #538.
2009-07-22Merge commit 'upstream/master'Romain LE DISEZ
2009-07-22Duh... when I added user_can, I passed in the user, but still used the ↵Tim Almdal
groups from the session
2009-07-22Upgrade code to migrate the ACL from integer to boolean.Romain LE DISEZ
Related to 719c59e0402464a0e2b14915f6d10218ff5d4729
2009-07-22Merge commit 'upstream/master'Romain LE DISEZ
2009-07-21Merge branch 'master' of git@github.com:gallery/gallery3Chad Kieffer
2009-07-21Add an API method user_can that allows for checking a specific user has theTim Almdal
specified permission to the item. Changed can to delegate to this method passing in the active user.
2009-07-21Always display the option menu so that modules with options that requireTim Almdal
menu items with view permission have somewhere to hang these menu items from. If its empty it will get removed by $menu->compact()
2009-07-21Fix the bug that the quick menu fires for the wrong photo. This stemsBharat Mediratta
from using a single gQuickPane <div> that we move around. A race condition happens when you mouse over two thumbnails quickly. Whichever server response loses the race gets displayed, and sometimes it's the one that you're no longer hovering over. Fix it by changing gQuickPane to be a class and creating a <div> per thumbnail. Fixes ticket #290.
2009-07-21In the logout link, urlencode the continue url so that ampersands, etcBharat Mediratta
don't break encapsulation. In the logout controller, don't run the url through url::redirect because that uses url::site(). Just set the Location header directly. This fixes ticket #483.
2009-07-21Properly display thumbnails for private movies by backtracking fromBharat Mediratta
the thumbnail to the movie and then showing it as a JPG. Fixes ticket #570.
2009-07-21Remove the fallback code. It should trigger extremely rarely and seems ↵Bharat Mediratta
highly inefficient to me, so let's see if we can live without it.
2009-07-21The RSS link should go to the parent album when looking at photos/movies.Bharat Mediratta
Fixes ticket #566.
2009-07-21Use php_uname() instead of PHP_OS for greater accuracy. Fixes ticket #563.Bharat Mediratta
2009-07-21Escape bare & symbols so that we use valid entities. Fixes ticket #577.Bharat Mediratta
2009-07-21Merge branch 'master' of git@github.com:gallery/gallery3Chad Kieffer
2009-07-20Merge branch 'master' of git@github.com:gallery/gallery3Bharat Mediratta
2009-07-20Remove the access permission call from here; this is too low level.Bharat Mediratta
2009-07-21Fixed grammer and set lowercase for the word project (minor change)Shai Ben-Naphtali
Signed-off-by: Bharat Mediratta <bharat@menalto.com>
2009-07-21Fix some consistency in text.Shai Ben-Naphtali
This fixes ticket #546 Signed-off-by: Bharat Mediratta <bharat@menalto.com>
2009-07-20Fix indentationBharat Mediratta
2009-07-20set wmode='transparent' other than flowplayer.jshiwilson
(cherry picked from commit 79a46658196a98a3972983cc422d1ee544b09d4a)
2009-07-20Fire vAlign after gQuick ajax load is complete.Chad Kieffer
2009-07-20Don't let the task status message exceed the size of the status column when ↵Bharat Mediratta
there's an error.
2009-07-20Dump out the error message along with the stack trace when we catch anBharat Mediratta
exception from View::render()
2009-07-20Merge branch 'master' of git@github.com:gallery/gallery3Chad Kieffer
2009-07-20Merge commit 'upstream/master'Romain LE DISEZ
2009-07-21Changed "Forgot Your Password" text to use capital 'Y' on the word YourShai Ben-Naphtali
Signed-off-by: Bharat Mediratta <bharat@menalto.com>
2009-07-20Make some API changes simplify the tag editing code. We now have aBharat Mediratta
good pattern for allowing modules to add their own hooks to item forms! 1) Album, photo and movie forms now all use edit_item as the group and we publish item_edit_form and item_edit_form_completed events which makes it much easier in the module to handle all events. They can still differentiate based on $item->type if they want to. 2) Added tag::clear_all() and tag::compact() functions which takes the place of hiwilson's tag::update() function and is now used in tag_event::item_delete(). This provides a simple API that allows us to have a lot less event handling code. It's less efficient than what hiwilson was doing before in that it will delete and re-add tags, but if that ever turns out to be a performance issue we can do something about it then.
2009-07-20(1)Add tag edit field in album/photo edit form. (2)provide edit ↵hiwilson
functionality. (3)support multi-word tagging.
2009-07-20Improve PgSQL compatibility in KohanaRomain LE DISEZ
( see http://dev.kohanaphp.com/issues/1855 )
2009-07-20Merge commit 'upstream/master'Romain LE DISEZ
2009-07-19More thorough fix for #421. Create User_Model::display_name() whichBharat Mediratta
uses the full name if there is one, or falls back to the name if that's all we have.
2009-07-21Updated Kohana to r4468Bharat Mediratta
2009-07-21Updated for movieplayer.html.php updateBharat Mediratta
2009-07-19Fix l10n message inconsistency, ticket 546Andy Staudacher
2009-07-19Fire .vAlign() when gItem's changed, ex. rotated. Fix for #304.Chad Kieffer
2009-07-19Html validation fix, ticket 572Andy Staudacher
2009-07-19Remove excess success logging. In the rebuild images case, it canBharat Mediratta
make a huge log file. In the l10n_client case, it's not really necessary to know that level of detail and it makes for a weird API.
2009-07-19Remove success logging from exif_task.Bharat Mediratta
2009-07-19Create tag::item_tags which returns all the tags for any one item.Bharat Mediratta
2009-07-19Remove success logging. Only log on errors, otherwise the log is huge.Bharat Mediratta
2009-07-19Don't post the item_updated() event if we're just updating the view count.Bharat Mediratta
2009-07-20make tags to be searchable. work with ↵hiwilson
http://github.com/hiwilson/gallery3/commit/a5eef648c00ec3ddee40ebd716380ae0a50e90e7 Signed-off-by: Bharat Mediratta <bharat@menalto.com>
2009-07-19Merge commit 'upstream/master'Romain LE DISEZ
2009-07-18Merge branch 'master' of git@github.com:gallery/gallery3Bharat Mediratta