Changeset 3480908
- Timestamp:
- 03/12/2026 08:12:05 AM (3 weeks ago)
- Location:
- ltl-freight-quotes-sefl-edition
- Files:
-
- 4 deleted
- 14 edited
- 1 copied
-
tags/3.2.9/trunk (copied) (copied from ltl-freight-quotes-sefl-edition/trunk)
-
tags/3.2.9/trunk/en-hit-to-update-plan.php (deleted)
-
tags/3.2.9/trunk/js/en-sefl.js (modified) (1 diff)
-
tags/3.2.9/trunk/ltl-freight-quotes-sefl-edition.php (modified) (2 diffs)
-
tags/3.2.9/trunk/readme.txt (modified) (1 diff)
-
tags/3.2.9/trunk/sefl-carrier-service.php (modified) (4 diffs)
-
tags/3.2.9/trunk/sefl-test-connection.php (modified) (2 diffs)
-
tags/3.2.9/trunk/template/sefl-connection-settings.php (modified) (2 diffs)
-
tags/3.2.9/trunk/template/sefl-warehose-template.php (deleted)
-
tags/3.2.9/trunk/update-plan.php (modified) (2 diffs)
-
trunk/en-hit-to-update-plan.php (deleted)
-
trunk/js/en-sefl.js (modified) (1 diff)
-
trunk/ltl-freight-quotes-sefl-edition.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/sefl-carrier-service.php (modified) (4 diffs)
-
trunk/sefl-test-connection.php (modified) (2 diffs)
-
trunk/template/sefl-connection-settings.php (modified) (2 diffs)
-
trunk/template/sefl-warehose-template.php (deleted)
-
trunk/update-plan.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ltl-freight-quotes-sefl-edition/tags/3.2.9/trunk/js/en-sefl.js
r3459650 r3480908 289 289 'sefl_customer_state': jQuery('#customer_state_sefl').val(), 290 290 'sefl_customer_zip_code': jQuery('#customer_zip_code_sefl').val(), 291 'sefl_account_type': jQuery('input[name=sefl_account_select_setting]:checked').val() 292 291 'sefl_account_type': jQuery('input[name=sefl_account_select_setting]:checked').val(), 292 'sefl_rates_type': jQuery('input[name=sefl_rates_type_setting]:checked').val() 293 293 }; 294 294 -
ltl-freight-quotes-sefl-edition/tags/3.2.9/trunk/ltl-freight-quotes-sefl-edition.php
r3459650 r3480908 9 9 * Text Domain: eniture-technology 10 10 * License: GPLv2 or later 11 * Requires Plugins: woocommerce 11 12 */ 12 13 … … 115 116 { 116 117 wp_enqueue_script('jquery'); 117 wp_enqueue_script('en_sefl_script', plugin_dir_url(__FILE__) . 'js/en-sefl.js', array(), '1.1. 6');118 wp_enqueue_script('en_sefl_script', plugin_dir_url(__FILE__) . 'js/en-sefl.js', array(), '1.1.7'); 118 119 wp_localize_script('en_sefl_script', 'en_sefl_admin_script', array( 119 120 'plugins_url' => plugins_url(), -
ltl-freight-quotes-sefl-edition/tags/3.2.9/trunk/readme.txt
r3459650 r3480908 154 154 == Changelog == 155 155 156 = 3.2.9 - 2026-0 2-12 =157 * Update: Introduced **bulk delete functionality** for warehouse and dropship locations to simplify location management.158 * Update: Added **product-level offset days** functionality to allow more granular shipment timing control.156 = 3.2.9 - 2026-03-12 = 157 * Update: Added a new setting in SEFL connection settings labeled **SEFL rates my freight based on weight:** for improved freight rate configuration. 158 * Fix: Resolved Broken Access Control vulnerability to improve overall plugin security. 159 159 160 160 = 3.2.8 - 2025-12-30 = -
ltl-freight-quotes-sefl-edition/tags/3.2.9/trunk/sefl-carrier-service.php
r3459650 r3480908 138 138 139 139 $en_fdo_meta_data = $EnSeflFdo->en_cart_package($packages); 140 $accessorials = []; 141 get_option('sefl_liftgate') == 'yes' ? $accessorials[] = 'chkLGD' : ''; 142 get_option('sefl_residential') == 'yes' ? $accessorials[] = 'chkPR' : ''; 143 isset($packages['origin']['liftgate_pickup']) && $packages['origin']['liftgate_pickup'] ? $accessorials[] = 'chkLGP' : ''; 140 144 141 145 $post_data = array( … … 175 179 'terms' => 'P', 176 180 'emailAddress' => '', 177 'accessorial' => array( 178 (get_option('sefl_liftgate') == 'yes') ? 'chkLGD' : '', 179 (get_option('sefl_residential') == 'yes') ? 'chkPR' : '', 180 isset($packages['origin']['liftgate_pickup']) && $packages['origin']['liftgate_pickup'] ? 'chkLGP' : '', 181 ), 181 'accessorial' => $accessorials, 182 182 'commdityDetails' => $lineItem, 183 183 'en_fdo_meta_data' => $en_fdo_meta_data, … … 196 196 'handlingUnitWeight' => get_option('handling_weight_sefl'), 197 197 'maxWeightPerHandlingUnit' => get_option('maximum_handling_weight_sefl'), 198 'dimWeightBaseAccount' => get_option('sefl_rates_type_setting') == 'both' ? '1' : '0', 198 199 ); 199 200 … … 661 662 $cachable_data['handlingUnitWeight'] = $request_data['handlingUnitWeight']; 662 663 $cachable_data['maxWeightPerHandlingUnit'] = $request_data['maxWeightPerHandlingUnit']; 664 $cachable_data['dimWeightBaseAccount'] = $request_data['dimWeightBaseAccount']; 663 665 $cachable_data['doNesting'] = isset($request_data['doNesting']) ? $request_data['doNesting'] : ''; 664 666 $cachable_data['holdAtTerminal'] = isset($request_data['holdAtTerminal']) ? $request_data['holdAtTerminal'] : ''; -
ltl-freight-quotes-sefl-edition/tags/3.2.9/trunk/sefl-test-connection.php
r3242634 r3480908 26 26 27 27 $sefl_account_type = (isset($_POST['sefl_account_type'])) ? sanitize_text_field($_POST['sefl_account_type']) : ""; 28 $sefl_rates_type = isset($_POST['sefl_rates_type']) ? sanitize_text_field($_POST['sefl_rates_type']) : ""; 28 29 29 30 $option = ($sefl_account_type == 'thirdParty') ? 'T' : 'S'; … … 46 47 'customerZip' => (isset($_POST['sefl_customer_zip_code'])) ? sanitize_text_field($_POST['sefl_customer_zip_code']) : "", 47 48 'Option' => $option, 49 'dimWeightBaseAccount' => $sefl_rates_type != 'freightClass', 48 50 ); 49 51 -
ltl-freight-quotes-sefl-edition/tags/3.2.9/trunk/template/sefl-connection-settings.php
r3135991 r3480908 111 111 112 112 'sefl_account_select' => array( 113 'name' => __(' ', 'sefl_freight_wc_settings'),113 'name' => __('Request LTL freight quotes as:', 'sefl_freight_wc_settings'), 114 114 'id' => 'sefl_account_select_setting', 115 115 'class' => 'sefl_account_select_setting', … … 119 119 'shipper' => __('Test With Shipper', 'woocommerce'), 120 120 'thirdParty' => __('Test With Third Party', 'woocommerce') 121 ) 122 ), 123 124 'sefl_rates_type_setting' => array( 125 'name' => __('SEFL rates my freight based on weight:', 'sefl_freight_wc_settings'), 126 'id' => 'sefl_rates_type_setting', 127 'type' => 'radio', 128 'default' => 'freightClass', 129 'options' => array( 130 'freightClass' => __('Freight class', 'sefl_freight_wc_settings'), 131 'both' => __('Freight class and Dimensions', 'sefl_freight_wc_settings') 121 132 ) 122 133 ), -
ltl-freight-quotes-sefl-edition/tags/3.2.9/trunk/update-plan.php
r3429504 r3480908 32 32 $plugin_version = isset($plugin_info[$index]['Version']) ? $plugin_info[$index]['Version'] : ''; 33 33 34 $plugin_dir_url = plugin_dir_url(__FILE__) . 'en-hit-to-update-plan.php';35 34 $post_data = array( 36 35 'platform' => 'wordpress', 37 36 'carrier' => '38', 38 37 'store_url' => $domain, 39 'webhook_url' => $plugin_dir_url,38 'webhook_url' => '', 40 39 'plugin_version' => $plugin_version, 41 40 ); … … 82 81 $plugin_version = isset($plugin_info[$index]['Version']) ? $plugin_info[$index]['Version'] : ''; 83 82 84 $plugin_dir_url = plugin_dir_url(__FILE__) . 'en-hit-to-update-plan.php';85 83 $post_data = array( 86 84 'platform' => 'wordpress', 87 85 'carrier' => '38', 88 86 'store_url' => $domain, 89 'webhook_url' => $plugin_dir_url,87 'webhook_url' => '', 90 88 'plugin_version' => $plugin_version, 91 89 ); -
ltl-freight-quotes-sefl-edition/trunk/js/en-sefl.js
r3459650 r3480908 289 289 'sefl_customer_state': jQuery('#customer_state_sefl').val(), 290 290 'sefl_customer_zip_code': jQuery('#customer_zip_code_sefl').val(), 291 'sefl_account_type': jQuery('input[name=sefl_account_select_setting]:checked').val() 292 291 'sefl_account_type': jQuery('input[name=sefl_account_select_setting]:checked').val(), 292 'sefl_rates_type': jQuery('input[name=sefl_rates_type_setting]:checked').val() 293 293 }; 294 294 -
ltl-freight-quotes-sefl-edition/trunk/ltl-freight-quotes-sefl-edition.php
r3459650 r3480908 9 9 * Text Domain: eniture-technology 10 10 * License: GPLv2 or later 11 * Requires Plugins: woocommerce 11 12 */ 12 13 … … 115 116 { 116 117 wp_enqueue_script('jquery'); 117 wp_enqueue_script('en_sefl_script', plugin_dir_url(__FILE__) . 'js/en-sefl.js', array(), '1.1. 6');118 wp_enqueue_script('en_sefl_script', plugin_dir_url(__FILE__) . 'js/en-sefl.js', array(), '1.1.7'); 118 119 wp_localize_script('en_sefl_script', 'en_sefl_admin_script', array( 119 120 'plugins_url' => plugins_url(), -
ltl-freight-quotes-sefl-edition/trunk/readme.txt
r3459650 r3480908 154 154 == Changelog == 155 155 156 = 3.2.9 - 2026-0 2-12 =157 * Update: Introduced **bulk delete functionality** for warehouse and dropship locations to simplify location management.158 * Update: Added **product-level offset days** functionality to allow more granular shipment timing control.156 = 3.2.9 - 2026-03-12 = 157 * Update: Added a new setting in SEFL connection settings labeled **SEFL rates my freight based on weight:** for improved freight rate configuration. 158 * Fix: Resolved Broken Access Control vulnerability to improve overall plugin security. 159 159 160 160 = 3.2.8 - 2025-12-30 = -
ltl-freight-quotes-sefl-edition/trunk/sefl-carrier-service.php
r3459650 r3480908 138 138 139 139 $en_fdo_meta_data = $EnSeflFdo->en_cart_package($packages); 140 $accessorials = []; 141 get_option('sefl_liftgate') == 'yes' ? $accessorials[] = 'chkLGD' : ''; 142 get_option('sefl_residential') == 'yes' ? $accessorials[] = 'chkPR' : ''; 143 isset($packages['origin']['liftgate_pickup']) && $packages['origin']['liftgate_pickup'] ? $accessorials[] = 'chkLGP' : ''; 140 144 141 145 $post_data = array( … … 175 179 'terms' => 'P', 176 180 'emailAddress' => '', 177 'accessorial' => array( 178 (get_option('sefl_liftgate') == 'yes') ? 'chkLGD' : '', 179 (get_option('sefl_residential') == 'yes') ? 'chkPR' : '', 180 isset($packages['origin']['liftgate_pickup']) && $packages['origin']['liftgate_pickup'] ? 'chkLGP' : '', 181 ), 181 'accessorial' => $accessorials, 182 182 'commdityDetails' => $lineItem, 183 183 'en_fdo_meta_data' => $en_fdo_meta_data, … … 196 196 'handlingUnitWeight' => get_option('handling_weight_sefl'), 197 197 'maxWeightPerHandlingUnit' => get_option('maximum_handling_weight_sefl'), 198 'dimWeightBaseAccount' => get_option('sefl_rates_type_setting') == 'both' ? '1' : '0', 198 199 ); 199 200 … … 661 662 $cachable_data['handlingUnitWeight'] = $request_data['handlingUnitWeight']; 662 663 $cachable_data['maxWeightPerHandlingUnit'] = $request_data['maxWeightPerHandlingUnit']; 664 $cachable_data['dimWeightBaseAccount'] = $request_data['dimWeightBaseAccount']; 663 665 $cachable_data['doNesting'] = isset($request_data['doNesting']) ? $request_data['doNesting'] : ''; 664 666 $cachable_data['holdAtTerminal'] = isset($request_data['holdAtTerminal']) ? $request_data['holdAtTerminal'] : ''; -
ltl-freight-quotes-sefl-edition/trunk/sefl-test-connection.php
r3242634 r3480908 26 26 27 27 $sefl_account_type = (isset($_POST['sefl_account_type'])) ? sanitize_text_field($_POST['sefl_account_type']) : ""; 28 $sefl_rates_type = isset($_POST['sefl_rates_type']) ? sanitize_text_field($_POST['sefl_rates_type']) : ""; 28 29 29 30 $option = ($sefl_account_type == 'thirdParty') ? 'T' : 'S'; … … 46 47 'customerZip' => (isset($_POST['sefl_customer_zip_code'])) ? sanitize_text_field($_POST['sefl_customer_zip_code']) : "", 47 48 'Option' => $option, 49 'dimWeightBaseAccount' => $sefl_rates_type != 'freightClass', 48 50 ); 49 51 -
ltl-freight-quotes-sefl-edition/trunk/template/sefl-connection-settings.php
r3135991 r3480908 111 111 112 112 'sefl_account_select' => array( 113 'name' => __(' ', 'sefl_freight_wc_settings'),113 'name' => __('Request LTL freight quotes as:', 'sefl_freight_wc_settings'), 114 114 'id' => 'sefl_account_select_setting', 115 115 'class' => 'sefl_account_select_setting', … … 119 119 'shipper' => __('Test With Shipper', 'woocommerce'), 120 120 'thirdParty' => __('Test With Third Party', 'woocommerce') 121 ) 122 ), 123 124 'sefl_rates_type_setting' => array( 125 'name' => __('SEFL rates my freight based on weight:', 'sefl_freight_wc_settings'), 126 'id' => 'sefl_rates_type_setting', 127 'type' => 'radio', 128 'default' => 'freightClass', 129 'options' => array( 130 'freightClass' => __('Freight class', 'sefl_freight_wc_settings'), 131 'both' => __('Freight class and Dimensions', 'sefl_freight_wc_settings') 121 132 ) 122 133 ), -
ltl-freight-quotes-sefl-edition/trunk/update-plan.php
r3429504 r3480908 32 32 $plugin_version = isset($plugin_info[$index]['Version']) ? $plugin_info[$index]['Version'] : ''; 33 33 34 $plugin_dir_url = plugin_dir_url(__FILE__) . 'en-hit-to-update-plan.php';35 34 $post_data = array( 36 35 'platform' => 'wordpress', 37 36 'carrier' => '38', 38 37 'store_url' => $domain, 39 'webhook_url' => $plugin_dir_url,38 'webhook_url' => '', 40 39 'plugin_version' => $plugin_version, 41 40 ); … … 82 81 $plugin_version = isset($plugin_info[$index]['Version']) ? $plugin_info[$index]['Version'] : ''; 83 82 84 $plugin_dir_url = plugin_dir_url(__FILE__) . 'en-hit-to-update-plan.php';85 83 $post_data = array( 86 84 'platform' => 'wordpress', 87 85 'carrier' => '38', 88 86 'store_url' => $domain, 89 'webhook_url' => $plugin_dir_url,87 'webhook_url' => '', 90 88 'plugin_version' => $plugin_version, 91 89 );
Note: See TracChangeset
for help on using the changeset viewer.