summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
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 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-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-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-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-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.
2010-09-06Add "web_url" with the url to the web version of the item. Fixes ticket #1341.Bharat Mediratta
2010-09-06Revert "change the Setswana locale from tn_ZA to tn_BW since it's mostly"Bharat Mediratta
This reverts commit 2d948cb39fd2da6a5f966a10cbeb4f5d5caec5a3. Valiant said that tn_ZA is right: http://gallery.menalto.com/node/97840#comment-352865
2010-09-06Fix some broken identity APIs:Bharat Mediratta
- add_user_to_group and remove_user_from_group should take Group_Definition instances to be consistent - add_user_to_group and remove_user_from_group in drivers/IdentityProvider.php should not be static
2010-09-06Track the language of the user receiving the notification and send theBharat Mediratta
email in that user's language. Incidentally, send one email per recipient, else we're leaking email addresses which is bad for community sites. Bump notification module to v2 in the process. Fixes ticket #1287.
2010-09-06Verified checkpoint.Bharat Mediratta