Changeset 2093684
- Timestamp:
- 05/23/2019 10:45:30 AM (7 years ago)
- Location:
- wpsynchro
- Files:
-
- 85 added
- 2 deleted
- 6 edited
-
tags/1.3.1 (added)
-
tags/1.3.1/LICENSE.txt (added)
-
tags/1.3.1/changelog.txt (added)
-
tags/1.3.1/dist (added)
-
tags/1.3.1/dist/icon-c7cc79fed6d48089cd54a58cf35247ea.png (added)
-
tags/1.3.1/dist/manifest.json (added)
-
tags/1.3.1/dist/wpsynchro-b9673c1218309e93e4da.css (added)
-
tags/1.3.1/dist/wpsynchro-b9673c1218309e93e4da.js (added)
-
tags/1.3.1/includes (added)
-
tags/1.3.1/includes/REST (added)
-
tags/1.3.1/includes/REST/class-REST-ClientSyncDatabase.php (added)
-
tags/1.3.1/includes/REST/class-REST-DatabaseBackup.php (added)
-
tags/1.3.1/includes/REST/class-REST-DownloadLog.php (added)
-
tags/1.3.1/includes/REST/class-REST-FileTransfer.php (added)
-
tags/1.3.1/includes/REST/class-REST-Filesystem.php (added)
-
tags/1.3.1/includes/REST/class-REST-Finalize.php (added)
-
tags/1.3.1/includes/REST/class-REST-GetFiles.php (added)
-
tags/1.3.1/includes/REST/class-REST-HashFileList.php (added)
-
tags/1.3.1/includes/REST/class-REST-HealthCheck.php (added)
-
tags/1.3.1/includes/REST/class-REST-Initiate.php (added)
-
tags/1.3.1/includes/REST/class-REST-Masterdata.php (added)
-
tags/1.3.1/includes/REST/class-REST-PopulateFileList.php (added)
-
tags/1.3.1/includes/REST/class-REST-Status.php (added)
-
tags/1.3.1/includes/REST/class-REST-Synchronize.php (added)
-
tags/1.3.1/includes/class-REST-services.php (added)
-
tags/1.3.1/includes/class-admin-activation.php (added)
-
tags/1.3.1/includes/class-admin-addedit.php (added)
-
tags/1.3.1/includes/class-admin-deactivation.php (added)
-
tags/1.3.1/includes/class-admin-log-table.php (added)
-
tags/1.3.1/includes/class-admin-log.php (added)
-
tags/1.3.1/includes/class-admin-overview-table.php (added)
-
tags/1.3.1/includes/class-admin-overview.php (added)
-
tags/1.3.1/includes/class-admin-run.php (added)
-
tags/1.3.1/includes/class-admin-setup.php (added)
-
tags/1.3.1/includes/class-admin-support.php (added)
-
tags/1.3.1/includes/class-common-functions.php (added)
-
tags/1.3.1/includes/class-debug-information.php (added)
-
tags/1.3.1/includes/class-installation-factory.php (added)
-
tags/1.3.1/includes/class-installation.php (added)
-
tags/1.3.1/includes/class-job.php (added)
-
tags/1.3.1/includes/class-location.php (added)
-
tags/1.3.1/includes/class-service-controller.php (added)
-
tags/1.3.1/includes/class-sync-controller.php (added)
-
tags/1.3.1/includes/class-wpsynchro.php (added)
-
tags/1.3.1/includes/compatibility (added)
-
tags/1.3.1/includes/compatibility/class-compatibility.php (added)
-
tags/1.3.1/includes/compatibility/class-mu-plugin-handler.php (added)
-
tags/1.3.1/includes/compatibility/wpsynchro-mu-plugin-compat.php (added)
-
tags/1.3.1/includes/compatibility/wpsynchro_compat_theme (added)
-
tags/1.3.1/includes/compatibility/wpsynchro_compat_theme/functions.php (added)
-
tags/1.3.1/includes/database (added)
-
tags/1.3.1/includes/database/class-database-finalize.php (added)
-
tags/1.3.1/includes/database/class-database-sync.php (added)
-
tags/1.3.1/includes/finalize (added)
-
tags/1.3.1/includes/finalize/class-finalize-sync.php (added)
-
tags/1.3.1/includes/initiate (added)
-
tags/1.3.1/includes/initiate/class-initiate-sync.php (added)
-
tags/1.3.1/includes/logger (added)
-
tags/1.3.1/includes/logger/class-logger.php (added)
-
tags/1.3.1/includes/logger/class-sync-metadata-log.php (added)
-
tags/1.3.1/includes/masterdata (added)
-
tags/1.3.1/includes/masterdata/class-masterdata-sync.php (added)
-
tags/1.3.1/includes/status (added)
-
tags/1.3.1/includes/status/class-sync-status.php (added)
-
tags/1.3.1/includes/templates (added)
-
tags/1.3.1/includes/templates/card-facebook.php (added)
-
tags/1.3.1/includes/templates/card-mailinglist.php (added)
-
tags/1.3.1/includes/templates/card-pro-version.php (added)
-
tags/1.3.1/includes/transport (added)
-
tags/1.3.1/includes/transport/class-remote-test-transport.php (added)
-
tags/1.3.1/includes/transport/class-remote-transport-result.php (added)
-
tags/1.3.1/includes/transport/class-remote-transport.php (added)
-
tags/1.3.1/includes/transport/class-return-result.php (added)
-
tags/1.3.1/includes/transport/class-transfer-file.php (added)
-
tags/1.3.1/includes/transport/class-transfer.php (added)
-
tags/1.3.1/includes/transport/interface-remote-connection.php (added)
-
tags/1.3.1/includes/utilities (added)
-
tags/1.3.1/includes/utilities/class-sync-timer-list.php (added)
-
tags/1.3.1/includes/utilities/class-sync-timer.php (added)
-
tags/1.3.1/languages (added)
-
tags/1.3.1/languages/wpsynchro.pot (added)
-
tags/1.3.1/readme.txt (added)
-
tags/1.3.1/wpsynchro.php (added)
-
trunk/dist/manifest.json (modified) (1 diff)
-
trunk/dist/wpsynchro-b9673c1218309e93e4da.css (added)
-
trunk/dist/wpsynchro-b9673c1218309e93e4da.js (added)
-
trunk/dist/wpsynchro-d6411c4f0fcb4c936722.css (deleted)
-
trunk/dist/wpsynchro-d6411c4f0fcb4c936722.js (deleted)
-
trunk/includes/class-admin-run.php (modified) (2 diffs)
-
trunk/includes/database/class-database-sync.php (modified) (1 diff)
-
trunk/includes/utilities/class-sync-timer-list.php (modified) (1 diff)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/wpsynchro.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wpsynchro/trunk/dist/manifest.json
r2090444 r2093684 1 1 { 2 "main.css": "/dist/wpsynchro- d6411c4f0fcb4c936722.css",3 "main.js": "/dist/wpsynchro- d6411c4f0fcb4c936722.js",2 "main.css": "/dist/wpsynchro-b9673c1218309e93e4da.css", 3 "main.js": "/dist/wpsynchro-b9673c1218309e93e4da.js", 4 4 "icon.png": "/dist/icon-c7cc79fed6d48089cd54a58cf35247ea.png" 5 5 } -
wpsynchro/trunk/includes/class-admin-run.php
r2077707 r2093684 56 56 $default_stages = $status_controller->getStages(); 57 57 58 // Get local max execution time, to use as timeout for JS axios calls59 $max_execution_time = intval(ini_get('max_execution_time'));60 if ($max_execution_time == 0 || $max_execution_time > 180) {61 // If set to infinite or large than 180, set it to 180, like in sync controller62 $max_execution_time = 180;63 }64 65 58 // Localize the script with data 66 59 $adminjsdata = array( … … 68 61 'jobid' => $jobid, 69 62 'rest_nonce' => wp_create_nonce('wp_rest'), 70 'rest_root' => esc_url_raw(rest_url()), 71 'host_max_execution_time' => $max_execution_time, 63 'rest_root' => esc_url_raw(rest_url()), 72 64 'text_ajax_response_error' => __("Could not get data from local REST service ({0}) - Maybe local server has troubles?", "wpsynchro"), 73 65 'text_ajax_request_error' => __("No proper response from local server - Maybe REST service is blocked? This can also be a temporary issue, if the host has issues. Please try again", "wpsynchro"), -
wpsynchro/trunk/includes/database/class-database-sync.php
r2090444 r2093684 101 101 $lastrun_time = $this->timer->getElapsedTimeToNow($lastrun_timer); 102 102 $this->handlePostProcessingThrottling($lastrun_time); 103 $this->logger->log("DEBUG", "Lastrun in : " . $lastrun_time . " seconds - rows throttle: " . $this->job->db_rows_per_sync );103 $this->logger->log("DEBUG", "Lastrun in : " . $lastrun_time . " seconds - rows throttle: " . $this->job->db_rows_per_sync . " and remaining time: " . $this->timer->getRemainingSyncTime()); 104 104 // Break out to test if we have time for more 105 105 break; -
wpsynchro/trunk/includes/utilities/class-sync-timer-list.php
r2090444 r2093684 53 53 $timelimit = self::MAX_SYNC_TIME_LIMIT; // We set it to max X seconds 54 54 } 55 $timelimit = $timelimit * 0. 9; // Take 10% off to make sure we dont hit the limit55 $timelimit = $timelimit * 0.8; // Take 20% off to make sure we dont hit the limit 56 56 return $timelimit; 57 57 } -
wpsynchro/trunk/readme.txt
r2090446 r2093684 5 5 Requires at least: 4.7 6 6 Tested up to: 5.2 7 Stable tag: 1.3. 07 Stable tag: 1.3.1 8 8 Requires PHP: 5.6 9 9 License: GPLv3 … … 91 91 * WordPress from 4.7 to latest version. 92 92 93 = Do you support multisite? = 94 95 Well, not really at the moment. 96 We have not done much testing on multisite yet, so use it is at own risk. 97 It is currently planned for next release to support it. 93 98 94 99 == Screenshots == … … 100 105 101 106 == Changelog == 107 108 = 1.3.1 = 109 * Hotfix: Error in frontend timer causing error in synchronization even if synchronization running fine. 102 110 103 111 = 1.3.0 = -
wpsynchro/trunk/wpsynchro.php
r2090444 r2093684 4 4 Plugin URI: https://wpsynchro.com/home 5 5 Description: Complete migration plugin for WordPress - Synchronization of database and files made easy. 6 Version: 1.3. 06 Version: 1.3.1 7 7 Author: WPSynchro 8 8 Author URI: https://wpsynchro.com … … 34 34 } // Exit if accessed directly 35 35 36 define('WPSYNCHRO_VERSION', '1.3. 0');36 define('WPSYNCHRO_VERSION', '1.3.1'); 37 37 define('WPSYNCHRO_DB_VERSION', '3'); 38 38 define('WPSYNCHRO_NEWEST_MU_COMPATIBILITY_VERSION', '1.0.1'); // MU plugin version
Note: See TracChangeset
for help on using the changeset viewer.