summaryrefslogtreecommitdiff
path: root/modules/gallery
AgeCommit message (Collapse)Author
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-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-11Use the actual csrf token, not the placeholder (url::site doesn'tBharat Mediratta
replace that). Fixes ticket #1361
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-10If the user is not an admin, don't 403 -- instead just redirect themBharat Mediratta
to the root album. Fixes ticket #1356.
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-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-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 "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-06Verified checkpoint.Bharat Mediratta
2010-09-06Whitespace.Bharat Mediratta
2010-09-06Show the "view log" button for tasks that are running, in case they'reBharat Mediratta
paused/abandoned for some reason and we want to know more details.
2010-09-06Add retry logic to the task framework. We retry 4 times withBharat Mediratta
increasing backoff and if that fails, we put up a manual "retry" link. Fixes ticket #1270.
2010-09-06change the Setswana locale from tn_ZA to tn_BW since it's mostlyBharat Mediratta
Botswana anyway according to @sagemaniac in http://gallery.menalto.com/node/97840
2010-09-06Don't bomb on the race condition when we're trying to create theBharat Mediratta
gallery/_cache row and it already exists. Fixes ticket #1338.
2010-09-05Add Setswana (tn_ZA). Fixes ticket #1336.Bharat Mediratta
2010-09-05Force "Options +FollowSymLinks" since that's a requirement forBharat Mediratta
mod_rewrite to work. This is surprisingly obscure in the docs. Thanks to bromide for turning this up in http://gallery.menalto.com/node/97791!
2010-09-04Fix full size dimensions after rotating an image on the photo view page.Bharat Mediratta
The photo view page caches the dimensions of the full size and then renders it in Javascript. But after rotation, those dimensions are no longer valid. Create a new function on the items controller that returns the appropriate dimensions, then add a hook on $.gallery_replace_image and implement the hook on the photo view page to have it make an async call to get the new dimensions. Fixes ticket #1317
2010-09-04Use the title of the root album as the site title for all RSS feeds.Bharat Mediratta
Fixes ticket #1307.
2010-09-02Follow on to 2a86446249c4782287e1e6e472f422b851c2fb47; fix a bug whereBharat Mediratta
guest access to admin pages fails because we try to go to the login page but you can't do that from the admin theme. Thanks to mamouneyya for catching this. http://github.com/gallery/gallery3/commit/2a86446249c4782287e1e6e472f422b851c2fb47
2010-09-02Don't show the "(## errors)" part of the status message if there haven't ↵Bharat Mediratta
been any errors.
2010-09-02Handle the case of a completely private Gallery separately and justBharat Mediratta
put up a login page, very similar to the way that the maintenance mode login page works. Fixes ticket #1056.
2010-09-01One more adjustment for ticket #1216. The packaging process forcesBharat Mediratta
the default email address for admin to be unknown@unknown.com and when that happens the gallery_event::user_updated() event listener fires and sets the default values. This is hard to work around, so let's just roll with it and use unknown@unknown.com as our default placeholder. So now, if an admin sets their email address and the current values are unknown@unknown.com we adopt the admin's email address for the site's mail_from/reply_to fields.
2010-09-01Explain wtf we're doing in user_updated.Bharat Mediratta
2010-09-01Fix up the test so it works with the changes for ticket #1216. Also note the ↵Tim Almdal
name change to the first test. Form a php reflection point of view Sendmail_Test (class name) == sendmail_test (method name) so the method gets treated as a constructor instead of a test method.
2010-09-01Merge branch 'master' of git@github.com:gallery/gallery3Tim Almdal
2010-09-01Hopefully the third and final patch for #1216. Set the default from and ↵Tim Almdal
reply-to addresses to an empty string. The first time the user model is saved, set the sendmail from and reply-to addresses. Requires an update to gallery version 38.
2010-09-01Make RENAME TABLE operations idempotent so that in case there's aBharat Mediratta
failure of some kind we can restart the upgrade and it'll continue. Fixes ticket #1325.
2010-09-01Merge branch 'master' of github.com:gallery/gallery3Bharat Mediratta
2010-09-01Don't use $.remove() to get rid of items from the uploadify queue;Bharat Mediratta
that breaks uploadify and causes it to be unable to upload any new items. Fixes ticket #1324.
2010-09-01Refine the patch for #1216. If the admin user changes their email address ↵Tim Almdal
update the sendmail from and reply_to fields in advanced settings. Also change this if the identity provider has changed.
2010-08-31Don't use HTTP_HOST to get the hostname. We force that toBharat Mediratta
"example.com" when we are using the CLI so we'll get inconsistent behavior between CLI and the web interface. For now hardcode it to be example.com so that it's clear. But to do it right we need an after_install step which actually fixes it up. And probably an after_upgrade step as well.
2010-08-31Merge branch 'master' of git@github.com:gallery/gallery3Tim Almdal
2010-08-31Patch for ticket #1216. Move the values that were in the sendmail config ↵Tim Almdal
file and store them as gallery module variables. Requires a version number bump to 37.
2010-09-01flip the float value for RTLmamouneyya
2010-08-31Expire completed uploads and introduce a text message that says howBharat Mediratta
many photos have been uploaded successfully. This is to pave the way for retry code later on.
2010-08-30Detect Flash and put up a reasonable message if your browser doesn'tBharat Mediratta
have Flash installed. Fixes ticket #1268.
2010-08-29Revert "Change the theme option page to display using tabs if the site theme ↵Bharat Mediratta
has an admin page." This reverts commit d66c496fb1007bbd0b1640496808000c573d95fd. Conflicts: modules/gallery/helpers/theme.php modules/gallery/views/admin_theme_options.html.php themes/admin_wind/css/screen.css
2010-08-29Put the theme CSS at the end of the module CSS so that the theme hasBharat Mediratta
the final say. Fixes ticket #1315.