summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-09-18Fix a bug in that last commit where I was treating resource_type as a function.Bharat Mediratta
2010-09-18Redirect to the root album when there's an empty path and empty id.Bharat Mediratta
Fixes ticket #1387.
2010-09-18Merge branch 'master' of github.com:gallery/gallery3Bharat Mediratta
2010-09-18Fix a bug in the way that we calculate expiration dates for oldBharat Mediratta
comments by using Database_Expression. Fixes ticket #1386.
2010-09-17Merge branch 'master' into talmdal_devTim Almdal
2010-09-17Add some whitespace.Tim Almdal
2010-09-17Checkpoint.Bharat Mediratta
2010-09-16Add a module variable containing extra paths to search for binaries.Bharat Mediratta
Fixes ticket #1384.
2010-09-16Preserve the image extension on the temp file that we create forBharat Mediratta
rotating images. Some versions of GD won't work if we don't do this. Fixes ticket #1375.
2010-09-16Add a link toBharat Mediratta
http://codex.gallery2.org/Gallery3:Choosing_A_Graphics_Toolkit to help users choose a graphics toolkit. Fixes ticket #1372.
2010-09-16Restrict viewing user profile pages to registered users only, butBharat Mediratta
provide a "show_user_profiles_to" setting to allow admins to open it up to everybody (choices there are "registered_users", "admin_users" or "everybody"). Fixes ticket #1378.
2010-09-16Convert the guest_url ORM validation failure back to the url formBharat Mediratta
parameter and put in a message requiring a valid url. Fixes ticket
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-14Add ability to sort albums by name. Fixes ticket #1377.Bharat Mediratta
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.