summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-09-15Clean up white spaceTim Almdal
2010-09-15Move the contents of lib/gallery.common.css into themes/wind/css/screen.php ↵Tim Almdal
and themes/admin_wind/css/screen.php. Most themers seem to copy the contents into their theme's screen.css anyway.
2010-09-14Report the graphics toolkit in the platform block.Bharat Mediratta
2010-09-14The full_name field is required to be NOT NULL. Not really sure whyBharat Mediratta
this is a hard requirement, but for now in User_Model::save() let's use the empty string if the field itself is null. Fixes ticket #1371.
2010-09-13When moving a single item, just copy its permissions from its parentBharat Mediratta
album. This is totally legal since an items permissions must be the same as its parent's, and it's much faster for large installs where a complete recalculation can be very costly. Should fix #1360.
2010-09-13When deleting items, choose the first *viewable* peer as the albumBharat Mediratta
cover. Normally, all items are equally viewable, but in our unit tests we occasionally have the scenario where peers have different viewability settings which is internally consistent although only possible if you set the fields manually.
2010-09-12Ignore the private gallery settings if we're in the cli SAPI. ItBharat Mediratta
breaks the upgrader. Fixes #1361, thanks to Romain LE DISEZ.
2010-09-12LOWER() the slug and name in the find_dupes functions since DISTINCTBharat Mediratta
is case sensitive, but our dupe validation is not. Fixes ticket #1367.
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