Changeset 1445895
- Timestamp:
- 06/29/2016 04:36:07 PM (10 years ago)
- Location:
- cue-connect
- Files:
-
- 6 added
- 7 edited
- 3 copied
-
assets/screenshot-1.png (added)
-
assets/screenshot-2.png (added)
-
assets/screenshot-3.png (added)
-
assets/screenshot-4.png (added)
-
assets/screenshot-5.png (added)
-
assets/screenshot-6.png (added)
-
tags/1.0.2 (copied) (copied from cue-connect/trunk)
-
tags/1.0.2/cue-connect.php (copied) (copied from cue-connect/trunk/cue-connect.php) (1 diff)
-
tags/1.0.2/inc/class.cue-connect.php (copied) (copied from cue-connect/trunk/inc/class.cue-connect.php)
-
tags/1.0.2/inc/class.cue-sync.php (modified) (6 diffs)
-
tags/1.0.2/readme.txt (modified) (2 diffs)
-
tags/1.0.2/uninstall.php (modified) (1 diff)
-
trunk/cue-connect.php (modified) (1 diff)
-
trunk/inc/class.cue-sync.php (modified) (6 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/uninstall.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
cue-connect/tags/1.0.2/cue-connect.php
r1445641 r1445895 3 3 * Plugin Name: Cue Connect 4 4 * Description: Meet Cue, your customers’ personal shopping assistant that feeds you actionable data. 5 * Version: 1.0. 15 * Version: 1.0.2 6 6 * Author: WooThemes 7 7 * Author URI: http://woothemes.com/ -
cue-connect/tags/1.0.2/inc/class.cue-sync.php
r1445623 r1445895 11 11 * @var array 12 12 */ 13 public static$state;13 public $state; 14 14 15 15 public function __construct() { … … 30 30 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 31 31 // Start process 32 self::$state = array(32 $self->state = array( 33 33 'message' => "Started export of products at " . date('r'), 34 34 'current_sync' => date('r'), … … 38 38 'errors' => array() 39 39 ); 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); 41 41 42 42 self::kickstart_slice_sync(); … … 54 54 /** 55 55 * Make curl request with next task to wp_ajax 56 * drop connection after 3seconds56 * drop connection after 5 seconds 57 57 * @return null 58 58 */ … … 75 75 curl_setopt($ch, CURLOPT_POST, 2); 76 76 curl_setopt($ch, CURLOPT_POSTFIELDS, $post_data); 77 curl_setopt($ch, CURLOPT_TIMEOUT, 3);77 curl_setopt($ch, CURLOPT_TIMEOUT, 5); 78 78 curl_exec($ch); 79 79 curl_close($ch); … … 148 148 149 149 // Tell php to be strong :) 150 @ignore_user_abort(true); 150 151 @set_time_limit(0); // max out execution time 151 152 @ini_set('memory_limit', WP_MAX_MEMORY_LIMIT); // max out memory limit -
cue-connect/tags/1.0.2/readme.txt
r1445623 r1445895 6 6 WC requires at least: 2.2 7 7 WC tested up to: 2.4 8 Stable tag: 1.0. 18 Stable tag: 1.0.2 9 9 License: GPLv3 or later License 10 10 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 76 76 == Changelog == 77 77 78 = 1.0.2 = 79 * Products synchronization improvements 80 78 81 = 1.0.1 = 79 82 * Added 'price alert' button to product page -
cue-connect/tags/1.0.2/uninstall.php
r1351273 r1445895 9 9 delete_option( 'woocommerce_cue_api_key' ); 10 10 delete_option( 'woocommerce_cue_last_sync' ); 11 delete_option( 'woocommerce_cue_last_sync_state'); 12 delete_option( 'woocommerce_cue_sync_queue'); 13 delete_transient( 'woocommerce_cue_sync_key'); 14 delete_transient( 'woocommerce_cue_sync_state'); -
cue-connect/trunk/cue-connect.php
r1445641 r1445895 3 3 * Plugin Name: Cue Connect 4 4 * Description: Meet Cue, your customers’ personal shopping assistant that feeds you actionable data. 5 * Version: 1.0. 15 * Version: 1.0.2 6 6 * Author: WooThemes 7 7 * Author URI: http://woothemes.com/ -
cue-connect/trunk/inc/class.cue-sync.php
r1445623 r1445895 11 11 * @var array 12 12 */ 13 public static$state;13 public $state; 14 14 15 15 public function __construct() { … … 30 30 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 31 31 // Start process 32 self::$state = array(32 $self->state = array( 33 33 'message' => "Started export of products at " . date('r'), 34 34 'current_sync' => date('r'), … … 38 38 'errors' => array() 39 39 ); 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); 41 41 42 42 self::kickstart_slice_sync(); … … 54 54 /** 55 55 * Make curl request with next task to wp_ajax 56 * drop connection after 3seconds56 * drop connection after 5 seconds 57 57 * @return null 58 58 */ … … 75 75 curl_setopt($ch, CURLOPT_POST, 2); 76 76 curl_setopt($ch, CURLOPT_POSTFIELDS, $post_data); 77 curl_setopt($ch, CURLOPT_TIMEOUT, 3);77 curl_setopt($ch, CURLOPT_TIMEOUT, 5); 78 78 curl_exec($ch); 79 79 curl_close($ch); … … 148 148 149 149 // Tell php to be strong :) 150 @ignore_user_abort(true); 150 151 @set_time_limit(0); // max out execution time 151 152 @ini_set('memory_limit', WP_MAX_MEMORY_LIMIT); // max out memory limit -
cue-connect/trunk/readme.txt
r1445623 r1445895 6 6 WC requires at least: 2.2 7 7 WC tested up to: 2.4 8 Stable tag: 1.0. 18 Stable tag: 1.0.2 9 9 License: GPLv3 or later License 10 10 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 76 76 == Changelog == 77 77 78 = 1.0.2 = 79 * Products synchronization improvements 80 78 81 = 1.0.1 = 79 82 * Added 'price alert' button to product page -
cue-connect/trunk/uninstall.php
r1351273 r1445895 9 9 delete_option( 'woocommerce_cue_api_key' ); 10 10 delete_option( 'woocommerce_cue_last_sync' ); 11 delete_option( 'woocommerce_cue_last_sync_state'); 12 delete_option( 'woocommerce_cue_sync_queue'); 13 delete_transient( 'woocommerce_cue_sync_key'); 14 delete_transient( 'woocommerce_cue_sync_state');
Note: See TracChangeset
for help on using the changeset viewer.