Plugin Directory

Changeset 2519732


Ignore:
Timestamp:
04/22/2021 11:44:02 AM (5 years ago)
Author:
localsync
Message:

release 1.0.5

Location:
local-sync/trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • local-sync/trunk/README.txt

    r2513288 r2519732  
    55Requires at least: 3.0.1
    66Tested up to: 5.7
    7 Stable tag: 1.0.4
     7Stable tag: 1.0.5
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    5050== Changelog ==
    5151
     52= 1.0.5 =
     53*Release Date - 22 Apr 2021*
     54
     55* Fix : Not able to install LocalSync plugin on WPTimeCapsule's staging site.
     56* Fix : Not able to include, exclude Files/Folders on WPTimeCapsule plugin settings page when LocalSync plugin is active.
     57
     58* Improvement : LOCAL_SYNC_DOWNLOAD_CHUNK_SIZE constant is introduced.
     59* Improvement : LOCAL_SYNC_UPLOAD_CHUNK_SIZE constant is introduced.
     60
    5261= 1.0.4 =
    5362*Release Date - 12 Apr 2021*
  • local-sync/trunk/admin/class-local-sync-admin.php

    r2248180 r2519732  
    9393        //  return true;
    9494        // }
    95         $is_table_exist = $this->wpdb->query('SHOW TABLES LIKE "%'.$this->wpdb->base_prefix.'local_sync_options%"');
     95        $is_table_exist = $this->wpdb->query('SHOW TABLES LIKE "'.$this->wpdb->base_prefix.'local_sync_options%"');
    9696
    9797        if(!$is_table_exist){
     
    131131    public function update_1_0_1_handle() {
    132132
    133         $is_table_exist = $this->wpdb->query('SHOW TABLES LIKE "%'.$this->wpdb->base_prefix.'local_sync_options%"');
     133        $is_table_exist = $this->wpdb->query('SHOW TABLES LIKE "'.$this->wpdb->base_prefix.'local_sync_options%"');
    134134
    135135        if(!$is_table_exist){
     
    159159    public function update_1_0_2_handle() {
    160160
    161         $is_table_exist = $this->wpdb->query('SHOW TABLES LIKE "%'.$this->wpdb->base_prefix.'local_sync_options%"');
     161        $is_table_exist = $this->wpdb->query('SHOW TABLES LIKE "'.$this->wpdb->base_prefix.'local_sync_options%"');
    162162
    163163        if(!$is_table_exist){
     
    333333
    334334        wp_enqueue_script( 'ls-clipboard', plugin_dir_url( __FILE__ ) . '/js/ls-clipboard.min.js', array(), LOCAL_SYNC_VERSION );
    335 
    336         wp_enqueue_script('local-sync-fancy-tree-ui-js', plugins_url() . '/' . LOCAL_SYNC_PLUGIN_NAME . '/treeView/fancy-tree-ui.min.js',   array(), LOCAL_SYNC_VERSION);
    337         wp_enqueue_script('local-sync-fancytree-js',        plugins_url() . '/' . LOCAL_SYNC_PLUGIN_NAME . '/treeView/jquery.fancytree.js',   array(), LOCAL_SYNC_VERSION);
    338         wp_enqueue_style('local-sync-fancytree-css',        plugins_url() . '/' . LOCAL_SYNC_PLUGIN_NAME . '/treeView/skin/ui.fancytree.css', array(), LOCAL_SYNC_VERSION);
    339         wp_enqueue_script('local-sync-fileTree-common-js',  plugins_url() . '/' . LOCAL_SYNC_PLUGIN_NAME . '/treeView/common.js',             array(), LOCAL_SYNC_VERSION);
    340 
    341335    }
    342336
  • local-sync/trunk/admin/views/local-sync-settings-display.php

    r2245466 r2519732  
    1818
    1919        return;
    20     }
     20    }
     21   
     22    wp_enqueue_script('local-sync-fancy-tree-ui-js', plugins_url() . '/' . LOCAL_SYNC_PLUGIN_NAME . '/treeView/fancy-tree-ui.min.js',   array(), LOCAL_SYNC_VERSION);
     23    wp_enqueue_script('local-sync-fancytree-js',        plugins_url() . '/' . LOCAL_SYNC_PLUGIN_NAME . '/treeView/jquery.fancytree.js',   array(), LOCAL_SYNC_VERSION);
     24    wp_enqueue_style('local-sync-fancytree-css',        plugins_url() . '/' . LOCAL_SYNC_PLUGIN_NAME . '/treeView/skin/ui.fancytree.css', array(), LOCAL_SYNC_VERSION);
     25    wp_enqueue_script('local-sync-fileTree-common-js',  plugins_url() . '/' . LOCAL_SYNC_PLUGIN_NAME . '/treeView/common.js',             array(), LOCAL_SYNC_VERSION);
    2126
    2227    $local_sync_ajax_nonce = wp_create_nonce( "ls_revmakx" );
  • local-sync/trunk/includes/class-local-sync-handle-server-requests.php

    r2245393 r2519732  
    406406
    407407    public function get_file_data() {
    408         $UPLOAD_CHUNK_SIZE = 1024 * 1024;
     408        $UPLOAD_CHUNK_SIZE = LOCAL_SYNC_UPLOAD_CHUNK_SIZE;
    409409
    410410        $file_name = ABSPATH . $this->request_data['file_name'];
     
    423423        $file_data = @fread($fp, $UPLOAD_CHUNK_SIZE);
    424424
     425        if(empty($file_data)){
     426            local_sync_log('', "--------empty file data for get_file_data------");
     427        }
     428
    425429        $file_data_enc = bin2hex($file_data);
     430
     431        if(empty($file_data_enc)){
     432            local_sync_log('', "--------empty file bin data for get_file_data------");
     433        }
    426434
    427435        local_sync_die_with_json_encode_simple(array(
  • local-sync/trunk/local-sync-bridge/class-local-sync-file-system.php

    r2513252 r2519732  
    77{
    88    public $last_error;
    9     public $DOWNLOAD_CHUNK_SIZE = 1024 * 1024;
    10     public $UPLOAD_CHUNK_SIZE = 1024 * 1024;
     9    public $DOWNLOAD_CHUNK_SIZE = LOCAL_SYNC_DOWNLOAD_CHUNK_SIZE;
     10    public $UPLOAD_CHUNK_SIZE = LOCAL_SYNC_UPLOAD_CHUNK_SIZE;
    1111
    1212    public function __construct() {
  • local-sync/trunk/local-sync-constants.php

    r2513252 r2519732  
    7575
    7676    public function versions(){
    77         $this->define( 'LOCAL_SYNC_VERSION', '1.0.4' );
     77        $this->define( 'LOCAL_SYNC_VERSION', '1.0.5' );
    7878        $this->define( 'LOCAL_SYNC_DATABASE_VERSION', '1.0' );
    7979    }
     
    103103        $this->define( 'LOCAL_SYNC_MAX_REQUEST_PROGRESS_WAIT_TIME', 180); // 3 mins (3 * 60)
    104104        $this->define( 'LOCAL_SYNC_CRYPT_BUFFER_SIZE', 2097152);
     105
     106        $this->define( 'LOCAL_SYNC_DOWNLOAD_CHUNK_SIZE', 1024 * 1024);
     107        $this->define( 'LOCAL_SYNC_UPLOAD_CHUNK_SIZE', 1024 * 1024);
    105108
    106109        //below PHP 5.4
  • local-sync/trunk/local-sync.php

    r2513252 r2519732  
    1212 * Plugin URI:        https://localsync.io
    1313 * Description:       Clone live site to the local site and vice versa.
    14  * Version:           1.0.4
     14 * Version:           1.0.5
    1515 * Author:            Revmakx
    1616 * Author URI:        https://revmakx.com
Note: See TracChangeset for help on using the changeset viewer.