WordPress.org

Plugin Directory

Changeset 633081


Ignore:
Timestamp:
12/02/12 16:35:36 (17 months ago)
Author:
toppa
Message:

version 3.2.6

Location:
shashin/trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • shashin/trunk/Admin/Display/toolsAlbums.php

    r559216 r633081  
    113113        <ul> 
    114114        <li><?php _e('Google is migrating Picasa to Google+ and making changes without advance notification. If you are unable to add an album, please', 'shashin'); ?> 
    115             <a href="http://www.toppa.com/category/technical/wordpress-plugins/support/"><?php _e('let me know', 'shashin'); ?></a></li> 
    116         <li><?php _e('Shashin only works with albums where the visibility is set to "Public on the web" or "Limited, anyone with the link"', 'shashin'); ?></li> 
     115            <a href="http://www.toppa.com/category/technical/wordpress-plugins/support/"><?php _e('let me know', 'shashin'); ?></a>.</li> 
     116        <li><?php _e('Shashin works with albums where the visibility is set to "public." Also, for albums with visibility set to "limited, anyone with the link", they will work if you include the "authkey" when pasting the URL in the form below (this is supported for Picasa, not Google+).', 'shashin'); ?></li> 
    117117        </ul> 
    118118        <p><strong><?php _e('Examples', 'shashin'); ?>:</strong></p> 
  • shashin/trunk/Admin/ShashinSynchronizer.php

    r559216 r633081  
    175175    abstract public function syncAlbumPhotos(array $decodedAlbumData, $sourceOrder = 0); 
    176176 
     177    // I increased the time buffer on this to 5 minutes - hopefully this will prevent the 
     178    // unwanted deletions that are occasionally reported 
    177179    public function deleteOldPhotos() { 
    178180        $sql = 'delete from ' . $this->clonablePhoto->getTableName() 
    179181            . ' where albumId = ' . $this->album->id 
    180             . ' and lastSync < ' . ($this->syncTime - 30); // allow a buffer in case syncing is a bit slow 
     182            . ' and lastSync < ' . ($this->syncTime - 300); 
    181183        return $this->dbFacade->executeQuery($sql); 
    182184    } 
  • shashin/trunk/Public/Display/shashin.js

    r519159 r633081  
    9696 
    9797    $('.shashinThumbnailDiv').delegate('.shashinAlbumThumbLink', 'click', function(event) { 
     98 
     99        // to prevent the photos showing up twice if the user double-clicks 
     100        if ($('.shashinAlbumThumbLink').data('clicked')) { 
     101            return false; 
     102        } 
     103 
     104        $('.shashinAlbumThumbLink').data('clicked', true); 
     105 
    98106        var parentTable = $(this).closest('table'); 
    99107        var parentTableIdParts = $(parentTable).attr('id').split('_'); 
     
    159167 
    160168    $('.shashinPhotoGroups').delegate('.shashinReturn', 'click', function(event) { 
     169        $('.shashinAlbumThumbLink').data('clicked', false); // ok to click an album thumbnail again 
    161170        var returnLinkIdParts = $(this).attr('id').split('_'); 
    162171        var parentTableId = '#shashinGroup_' + returnLinkIdParts[1]; 
  • shashin/trunk/ShashinWp.php

    r567586 r633081  
    22 
    33class ShashinWp { 
    4     private $version = '3.2.5'; 
     4    private $version = '3.2.6'; 
    55 
    66    public function __construct() { 
  • shashin/trunk/readme.txt

    r567586 r633081  
    44Tags: Picasa, Fancybox, Twitpic, Youtube, image, images, photo, photos, picture, pictures, gallery, widget, widgets, video 
    55Requires at least: 3.0 
    6 Tested up to: 3.4.1 
    7 Stable tag: 3.2.5 
     6Tested up to: 3.5 
     7Stable tag: 3.2.6 
    88License: GPLv2 or later 
    99 
     
    1717 
    1818* More user friendly UI for adding albums, photos, and videos (uses jQuery tabs menu) 
    19 * Accepts Google+ URLs for adding albums 
     19* Accepts Google+ URLs for adding public albums 
    2020* "Limited view" album support for Picasa albums (works with Picasa URLs only, not Google+) 
    2121 
     
    8686== Changelog == 
    8787 
     88= 3.2.6 = 
     89* Bug fix: album photos were being loaded multiple times if someone clicked an album thumbnail multiple times. Now only loads them once. 
     90* Bug fix: on rare occasions, album synchronizing resulted in photos being deleted and reloaded, which broke photo tags relying on the original ID numbers. I've made a change to the synchronizing process that should fix this. 
     91 
    8892= 3.2.5 = 
    8993* Bug fix: handle Picasa authkeys that includes hyphens 
    90 * Workaround: WP 3.4.1 is returning 1.8.20 for the version of $wp_scripts->->query('jquery-ui-core'), which is not available through Googlel APIs. The Shashin Tools screen relies on this, so hardcoded to 1.8.18 for now 
     94* Workaround: WP 3.4.1 is returning 1.8.20 for the version of $wp_scripts->->query('jquery-ui-core'), which is not available through Google APIs. The Shashin Tools screen relies on this, so hardcoded to 1.8.18 for now 
    9195* Various internal improvements to ShashinDataObject and ShashinPhoto, driven by new unit tests 
    9296 
  • shashin/trunk/start.php

    r567586 r633081  
    55Description: A plugin for integrating photos and videos from Picasa, YouTube, and Twitpic in WordPress. 
    66Author: Michael Toppa 
    7 Version: 3.2.5 
     7Version: 3.2.6 
    88Author URI: http://www.toppa.com 
    99License: GPLv2 or later 
Note: See TracChangeset for help on using the changeset viewer.