Plugin Directory

Changeset 1445895


Ignore:
Timestamp:
06/29/2016 04:36:07 PM (10 years ago)
Author:
cueteam
Message:

tagging version 1.0.2

Location:
cue-connect
Files:
6 added
7 edited
3 copied

Legend:

Unmodified
Added
Removed
  • cue-connect/tags/1.0.2/cue-connect.php

    r1445641 r1445895  
    33 * Plugin Name: Cue Connect
    44 * Description: Meet Cue, your customers’ personal shopping assistant that feeds you actionable data.
    5  * Version: 1.0.1
     5 * Version: 1.0.2
    66 * Author: WooThemes
    77 * Author URI: http://woothemes.com/
  • cue-connect/tags/1.0.2/inc/class.cue-sync.php

    r1445623 r1445895  
    1111     * @var array
    1212     */
    13     public static $state;
     13    public $state;
    1414
    1515    public function __construct() {
     
    3030                update_option('woocommerce_cue_sync_queue', json_encode($queue)); // json encode, because it takes less space in db, which might be critical on large product counts
    3131                // Start process
    32                 self::$state = array(
     32                $self->state = array(
    3333                    'message' => "Started export of products at " . date('r'),
    3434                    'current_sync' => date('r'),
     
    3838                    'errors' => array()
    3939                );
    40                 set_transient('woocommerce_cue_sync_state', self::$state, 1*HOUR_IN_SECONDS);
     40                set_transient('woocommerce_cue_sync_state', $self->state, 1*HOUR_IN_SECONDS);
    4141
    4242                self::kickstart_slice_sync();
     
    5454    /**
    5555     * Make curl request with next task to wp_ajax
    56      * drop connection after 3 seconds
     56     * drop connection after 5 seconds
    5757     * @return null
    5858     */
     
    7575        curl_setopt($ch, CURLOPT_POST, 2);
    7676        curl_setopt($ch, CURLOPT_POSTFIELDS, $post_data);
    77         curl_setopt($ch, CURLOPT_TIMEOUT, 3);
     77        curl_setopt($ch, CURLOPT_TIMEOUT, 5);
    7878        curl_exec($ch);
    7979        curl_close($ch);
     
    148148
    149149            // Tell php to be strong :)
     150            @ignore_user_abort(true);
    150151            @set_time_limit(0); // max out execution time
    151152            @ini_set('memory_limit', WP_MAX_MEMORY_LIMIT); // max out memory limit
  • cue-connect/tags/1.0.2/readme.txt

    r1445623 r1445895  
    66WC requires at least: 2.2
    77WC tested up to: 2.4
    8 Stable tag: 1.0.1
     8Stable tag: 1.0.2
    99License: GPLv3 or later License
    1010License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    7676== Changelog ==
    7777
     78= 1.0.2 =
     79* Products synchronization improvements
     80
    7881= 1.0.1 =
    7982* Added 'price alert' button to product page
  • cue-connect/tags/1.0.2/uninstall.php

    r1351273 r1445895  
    99delete_option( 'woocommerce_cue_api_key' );
    1010delete_option( 'woocommerce_cue_last_sync' );
     11delete_option( 'woocommerce_cue_last_sync_state');
     12delete_option( 'woocommerce_cue_sync_queue');
     13delete_transient( 'woocommerce_cue_sync_key');
     14delete_transient( 'woocommerce_cue_sync_state');
  • cue-connect/trunk/cue-connect.php

    r1445641 r1445895  
    33 * Plugin Name: Cue Connect
    44 * Description: Meet Cue, your customers’ personal shopping assistant that feeds you actionable data.
    5  * Version: 1.0.1
     5 * Version: 1.0.2
    66 * Author: WooThemes
    77 * Author URI: http://woothemes.com/
  • cue-connect/trunk/inc/class.cue-sync.php

    r1445623 r1445895  
    1111     * @var array
    1212     */
    13     public static $state;
     13    public $state;
    1414
    1515    public function __construct() {
     
    3030                update_option('woocommerce_cue_sync_queue', json_encode($queue)); // json encode, because it takes less space in db, which might be critical on large product counts
    3131                // Start process
    32                 self::$state = array(
     32                $self->state = array(
    3333                    'message' => "Started export of products at " . date('r'),
    3434                    'current_sync' => date('r'),
     
    3838                    'errors' => array()
    3939                );
    40                 set_transient('woocommerce_cue_sync_state', self::$state, 1*HOUR_IN_SECONDS);
     40                set_transient('woocommerce_cue_sync_state', $self->state, 1*HOUR_IN_SECONDS);
    4141
    4242                self::kickstart_slice_sync();
     
    5454    /**
    5555     * Make curl request with next task to wp_ajax
    56      * drop connection after 3 seconds
     56     * drop connection after 5 seconds
    5757     * @return null
    5858     */
     
    7575        curl_setopt($ch, CURLOPT_POST, 2);
    7676        curl_setopt($ch, CURLOPT_POSTFIELDS, $post_data);
    77         curl_setopt($ch, CURLOPT_TIMEOUT, 3);
     77        curl_setopt($ch, CURLOPT_TIMEOUT, 5);
    7878        curl_exec($ch);
    7979        curl_close($ch);
     
    148148
    149149            // Tell php to be strong :)
     150            @ignore_user_abort(true);
    150151            @set_time_limit(0); // max out execution time
    151152            @ini_set('memory_limit', WP_MAX_MEMORY_LIMIT); // max out memory limit
  • cue-connect/trunk/readme.txt

    r1445623 r1445895  
    66WC requires at least: 2.2
    77WC tested up to: 2.4
    8 Stable tag: 1.0.1
     8Stable tag: 1.0.2
    99License: GPLv3 or later License
    1010License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    7676== Changelog ==
    7777
     78= 1.0.2 =
     79* Products synchronization improvements
     80
    7881= 1.0.1 =
    7982* Added 'price alert' button to product page
  • cue-connect/trunk/uninstall.php

    r1351273 r1445895  
    99delete_option( 'woocommerce_cue_api_key' );
    1010delete_option( 'woocommerce_cue_last_sync' );
     11delete_option( 'woocommerce_cue_last_sync_state');
     12delete_option( 'woocommerce_cue_sync_queue');
     13delete_transient( 'woocommerce_cue_sync_key');
     14delete_transient( 'woocommerce_cue_sync_state');
Note: See TracChangeset for help on using the changeset viewer.