summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-09-12Rename the class to Item_Model_Core so that it can be overloaded.Bharat Mediratta
Related to ticket #1368.
2010-09-12Merge branch 'master' of github.com:gallery/gallery3Bharat Mediratta
2010-09-12Clean up cli default instructions.Bharat Mediratta
2010-09-12Merge branch 'master' of git@github.com:gallery/gallery3Tim Almdal
2010-09-12Path for ticket #1140. Add a size0 to the tag cloud.Tim Almdal
2010-09-11Uniqify the name and slug when we move an item to a new location withBharat Mediratta
a conflict. This fixes #1364.
2010-09-11Log the JSON response on errors so that we can figure out what's goingBharat Mediratta
wrong. This will help diagnose #1364 which appears to be an ORM_Validation_Exception, except the actual output is getting eaten by the Organize SWF so we can't see it without snooping network traffic.
2010-09-11Fix bug introduced in b6fa33faf789749f4de3f4eadf8832748372c980. Don'tBharat Mediratta
try to use $(this).data("reload.location") if it hasn't been set, which can happen if Flash isn't available. Fixes #1362
2010-09-11Only call $theme->item() if we're in a non admin theme.Bharat Mediratta
2010-09-11Use $theme->item() instead of $theme->item, otherwiseBharat Mediratta
isset($theme->item) may return true even when we don't have an actual Item_Model in there.
2010-09-11Tune timeouts to work better on large installs.Bharat Mediratta
2010-09-11Use the actual csrf token, not the placeholder (url::site doesn'tBharat Mediratta
replace that). Fixes ticket #1361
2010-09-11Change tag url form to be /tag/{name} from /tags/show/{id}. This isBharat Mediratta
a much friendlier url format. Fixes ticket #1363.
2010-09-11Verified.Bharat Mediratta
2010-09-11upgrader/index does not require CSRFBharat Mediratta
2010-09-11Add CSRF protection to the upgrader. And update the CLI output soBharat Mediratta
that it tells you which modules failed to upgrade properly. Fixes ticket #1359.
2010-09-11Implement IdentityProvider_Gallery_Driver::admin_user() properly suchBharat Mediratta
that it's not hardcoded to return the user with id 2. Create user::admin_user() which finds an appropriate admin and returns it. Fixes #1358.
2010-09-11Fix two bugs with the context menu:Bharat Mediratta
1) Prevent it from "bouncing" which happens when we queue up a lot of open and close events. Stop any running animations before starting new ones. This fixes #1340. 2) Prevent a bug that's not really visible to the user where we wind up re-initializing a context menu over and over which results in us binding tons of hover events. I don't think this causes any serious damage, but it's probably not good.
2010-09-11Refactor $.fn.gallery_context_menu() to store some variables insteadBharat Mediratta
of using CSS selector lookups for every operation. I assume (but have not verified) that this is more efficient.
2010-09-10After replacing thumbnails, resize all .g-item boxes down to just aBharat Mediratta
bit larger than the image and then do equal_heights() on them. This tightens the grid back up again when appropriate after a rotation.
2010-09-10Merge branch 'master' of github.com:gallery/gallery3Bharat Mediratta
2010-09-10If the user is not an admin, don't 403 -- instead just redirect themBharat Mediratta
to the root album. Fixes ticket #1356.
2010-09-10Merge branch 'master' of github.com:gallery/gallery3Bharat Mediratta
2010-09-10Transfer deleted files to the active user. Or at least say that's what ↵Bharat Mediratta
we're going to do, we actually transfer them to one of the admins
2010-09-09Resize the .g-item to contain the rotated image, and make allBharat Mediratta
.g-item's the same height and realign the photo vertically, both on the .g-item and the hover placeholder. Fixes ticket #1354.
2010-09-09Merge branch 'master' of github.com:gallery/gallery3Bharat Mediratta
2010-09-09Vertically realign thumbnails after rotation so that they stayBharat Mediratta
centered. Partial fix for #1354.
2010-09-09Replace the hook function hack I introduced inBharat Mediratta
cbba45fffc7368280e9529f55e108d0080175b6a with a namespaced jQuery custom event. This is way more portable.
2010-09-09Change the color of the text in the close button to match the foreground ↵Tim Almdal
color not the border color.
2010-09-08Tighten up the "your gallery2 has xxx in it" info display.Bharat Mediratta
2010-09-08Remove unnecessary g2_import CSS (which we were loading on every pageBharat Mediratta
-- doh!) and replace it with a new "enumeration" list style in the admin_wind CSS. Reshuffle the page a little bit to make it look cleaner.
2010-09-08Add information about disabling XCache during the import process. Fixes ↵Bharat Mediratta
ticket #1352.
2010-09-08Detect out-of-date modules and put up a message for site admins.Bharat Mediratta
Fixes ticket #1353.
2010-09-08Detect when a module fails to upgrade properly and put up anBharat Mediratta
informative message to help the user know that she needs to get a newer copy of the module. Fixes ticket #1189.
2010-09-08Oops, forgot to update install() with the locale change that I made inBharat Mediratta
cc399bf4f07fd7060536f442373a1e9c0ea4a5aa. No permanent harm done, though.
2010-09-08Show the number of photos/albums the user owns in the Admin > UsersBharat Mediratta
page, and improve the message to explain what's going to happen to the deleted user's items. Partial fix for #1344, which I can't reproduce now.
2010-09-07Updated for b6fa33faf789749f4de3f4eadf8832748372c980Bharat Mediratta
2010-09-07Return the size in bytes of the thumb, resize and full file.Bharat Mediratta
Don't return thumb info if there's no thumbnail (eg: album w/ no contents) Don't return file_url_public for albums Fixes ticket #1347.
2010-09-07Fix typo.Bharat Mediratta
2010-09-07In the security block, make the "Deny from all" explicit to avoidBharat Mediratta
confusion. Specifically allow robots.txt to be a visible .txt file. Fixes ticket #1343.
2010-09-07Add Macedonian. Fixes ticket #1345.Bharat Mediratta
2010-09-07Merge branch 'master' of github.com:gallery/gallery3Bharat Mediratta
2010-09-07The G2 import sets the sort_order to "asc"/"desc" butBharat Mediratta
Item_Model::get_position() expects "DESC". This breaks navigation in any album imported from G2 that has a descending sort order. Two things: 1) Use "ASC"/"DESC" in G2 import for consistency 2) Make Item_Model::get_position() more robust against capitalization Fixes ticket #1334.
2010-09-07Merge branch 'master' of git@github.com:gallery/gallery3Tim Almdal
2010-09-07Create a setLocation javascript callback which is called everytime with the ↵Tim Almdal
full url of the current album(non-REST). When the dialog is closed the window location is set to this value and the page gets loaded appropriately.
2010-09-07Disable selectFirst in the autocomplete box, which makes it a littleBharat Mediratta
harder to select pre-existing tags, but avoids the problem where we force the user to pick from existing tags. Fixes ticket #1339
2010-09-07Merge remote branch 'gallery3/master'mamouneyya
2010-09-06Merge branch 'master' of github.com:gallery/gallery3Bharat Mediratta
2010-09-06Use the absolute site url when logging out of the admin site else weBharat Mediratta
wind up with weird url doubling effects. Fixes ticket #1342.
2010-09-06Add "Options +FollowSymLinks" to the example mod_rewrite rules and putBharat Mediratta
it in a textarea for easy copying.