Plugin Directory

Changeset 3480908


Ignore:
Timestamp:
03/12/2026 08:12:05 AM (3 weeks ago)
Author:
enituretechnology
Message:

3.2.9 - 2026-03-12

  • Update: Added a new setting in SEFL connection settings labeled SEFL rates my freight based on weight: for improved freight rate configuration.
  • Fix: Resolved Broken Access Control vulnerability to improve overall plugin security.

Ticket 42087735950

Location:
ltl-freight-quotes-sefl-edition
Files:
4 deleted
14 edited
1 copied

Legend:

Unmodified
Added
Removed
  • ltl-freight-quotes-sefl-edition/tags/3.2.9/trunk/js/en-sefl.js

    r3459650 r3480908  
    289289            'sefl_customer_state': jQuery('#customer_state_sefl').val(),
    290290            '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()
    293293        };
    294294
  • ltl-freight-quotes-sefl-edition/tags/3.2.9/trunk/ltl-freight-quotes-sefl-edition.php

    r3459650 r3480908  
    99 * Text Domain:    eniture-technology
    1010 * License:        GPLv2 or later
     11 * Requires Plugins: woocommerce
    1112 */
    1213
     
    115116{
    116117    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');
    118119    wp_localize_script('en_sefl_script', 'en_sefl_admin_script', array(
    119120        'plugins_url' => plugins_url(),
  • ltl-freight-quotes-sefl-edition/tags/3.2.9/trunk/readme.txt

    r3459650 r3480908  
    154154== Changelog ==
    155155
    156 = 3.2.9 - 2026-02-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.
    159159
    160160= 3.2.8 - 2025-12-30 =
  • ltl-freight-quotes-sefl-edition/tags/3.2.9/trunk/sefl-carrier-service.php

    r3459650 r3480908  
    138138
    139139        $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' : '';
    140144
    141145        $post_data = array(
     
    175179            'terms' => 'P',
    176180            '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,
    182182            'commdityDetails' => $lineItem,
    183183            'en_fdo_meta_data' => $en_fdo_meta_data,
     
    196196            'handlingUnitWeight' => get_option('handling_weight_sefl'),
    197197            'maxWeightPerHandlingUnit' => get_option('maximum_handling_weight_sefl'),
     198            'dimWeightBaseAccount' => get_option('sefl_rates_type_setting') == 'both' ? '1' : '0',
    198199        );
    199200
     
    661662        $cachable_data['handlingUnitWeight'] = $request_data['handlingUnitWeight'];
    662663        $cachable_data['maxWeightPerHandlingUnit'] = $request_data['maxWeightPerHandlingUnit'];
     664        $cachable_data['dimWeightBaseAccount'] = $request_data['dimWeightBaseAccount'];
    663665        $cachable_data['doNesting'] = isset($request_data['doNesting']) ? $request_data['doNesting'] : '';
    664666        $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  
    2626
    2727    $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']) : "";
    2829
    2930    $option = ($sefl_account_type == 'thirdParty') ? 'T' : 'S';
     
    4647        'customerZip' => (isset($_POST['sefl_customer_zip_code'])) ? sanitize_text_field($_POST['sefl_customer_zip_code']) : "",
    4748        'Option' => $option,
     49        'dimWeightBaseAccount' => $sefl_rates_type != 'freightClass',
    4850    );
    4951
  • ltl-freight-quotes-sefl-edition/tags/3.2.9/trunk/template/sefl-connection-settings.php

    r3135991 r3480908  
    111111
    112112            'sefl_account_select' => array(
    113                 'name' => __('', 'sefl_freight_wc_settings'),
     113                'name' => __('Request LTL freight quotes as:', 'sefl_freight_wc_settings'),
    114114                'id' => 'sefl_account_select_setting',
    115115                'class' => 'sefl_account_select_setting',
     
    119119                    'shipper' => __('Test With Shipper', 'woocommerce'),
    120120                    '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')
    121132                )
    122133            ),
  • ltl-freight-quotes-sefl-edition/tags/3.2.9/trunk/update-plan.php

    r3429504 r3480908  
    3232            $plugin_version = isset($plugin_info[$index]['Version']) ? $plugin_info[$index]['Version'] : '';
    3333
    34             $plugin_dir_url = plugin_dir_url(__FILE__) . 'en-hit-to-update-plan.php';
    3534            $post_data = array(
    3635                'platform' => 'wordpress',
    3736                'carrier' => '38',
    3837                'store_url' => $domain,
    39                 'webhook_url' => $plugin_dir_url,
     38                'webhook_url' => '',
    4039                'plugin_version' => $plugin_version,
    4140            );
     
    8281        $plugin_version = isset($plugin_info[$index]['Version']) ? $plugin_info[$index]['Version'] : '';
    8382
    84         $plugin_dir_url = plugin_dir_url(__FILE__) . 'en-hit-to-update-plan.php';
    8583        $post_data = array(
    8684            'platform' => 'wordpress',
    8785            'carrier' => '38',
    8886            'store_url' => $domain,
    89             'webhook_url' => $plugin_dir_url,
     87            'webhook_url' => '',
    9088            'plugin_version' => $plugin_version,
    9189        );
  • ltl-freight-quotes-sefl-edition/trunk/js/en-sefl.js

    r3459650 r3480908  
    289289            'sefl_customer_state': jQuery('#customer_state_sefl').val(),
    290290            '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()
    293293        };
    294294
  • ltl-freight-quotes-sefl-edition/trunk/ltl-freight-quotes-sefl-edition.php

    r3459650 r3480908  
    99 * Text Domain:    eniture-technology
    1010 * License:        GPLv2 or later
     11 * Requires Plugins: woocommerce
    1112 */
    1213
     
    115116{
    116117    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');
    118119    wp_localize_script('en_sefl_script', 'en_sefl_admin_script', array(
    119120        'plugins_url' => plugins_url(),
  • ltl-freight-quotes-sefl-edition/trunk/readme.txt

    r3459650 r3480908  
    154154== Changelog ==
    155155
    156 = 3.2.9 - 2026-02-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.
    159159
    160160= 3.2.8 - 2025-12-30 =
  • ltl-freight-quotes-sefl-edition/trunk/sefl-carrier-service.php

    r3459650 r3480908  
    138138
    139139        $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' : '';
    140144
    141145        $post_data = array(
     
    175179            'terms' => 'P',
    176180            '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,
    182182            'commdityDetails' => $lineItem,
    183183            'en_fdo_meta_data' => $en_fdo_meta_data,
     
    196196            'handlingUnitWeight' => get_option('handling_weight_sefl'),
    197197            'maxWeightPerHandlingUnit' => get_option('maximum_handling_weight_sefl'),
     198            'dimWeightBaseAccount' => get_option('sefl_rates_type_setting') == 'both' ? '1' : '0',
    198199        );
    199200
     
    661662        $cachable_data['handlingUnitWeight'] = $request_data['handlingUnitWeight'];
    662663        $cachable_data['maxWeightPerHandlingUnit'] = $request_data['maxWeightPerHandlingUnit'];
     664        $cachable_data['dimWeightBaseAccount'] = $request_data['dimWeightBaseAccount'];
    663665        $cachable_data['doNesting'] = isset($request_data['doNesting']) ? $request_data['doNesting'] : '';
    664666        $cachable_data['holdAtTerminal'] = isset($request_data['holdAtTerminal']) ? $request_data['holdAtTerminal'] : '';
  • ltl-freight-quotes-sefl-edition/trunk/sefl-test-connection.php

    r3242634 r3480908  
    2626
    2727    $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']) : "";
    2829
    2930    $option = ($sefl_account_type == 'thirdParty') ? 'T' : 'S';
     
    4647        'customerZip' => (isset($_POST['sefl_customer_zip_code'])) ? sanitize_text_field($_POST['sefl_customer_zip_code']) : "",
    4748        'Option' => $option,
     49        'dimWeightBaseAccount' => $sefl_rates_type != 'freightClass',
    4850    );
    4951
  • ltl-freight-quotes-sefl-edition/trunk/template/sefl-connection-settings.php

    r3135991 r3480908  
    111111
    112112            'sefl_account_select' => array(
    113                 'name' => __('', 'sefl_freight_wc_settings'),
     113                'name' => __('Request LTL freight quotes as:', 'sefl_freight_wc_settings'),
    114114                'id' => 'sefl_account_select_setting',
    115115                'class' => 'sefl_account_select_setting',
     
    119119                    'shipper' => __('Test With Shipper', 'woocommerce'),
    120120                    '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')
    121132                )
    122133            ),
  • ltl-freight-quotes-sefl-edition/trunk/update-plan.php

    r3429504 r3480908  
    3232            $plugin_version = isset($plugin_info[$index]['Version']) ? $plugin_info[$index]['Version'] : '';
    3333
    34             $plugin_dir_url = plugin_dir_url(__FILE__) . 'en-hit-to-update-plan.php';
    3534            $post_data = array(
    3635                'platform' => 'wordpress',
    3736                'carrier' => '38',
    3837                'store_url' => $domain,
    39                 'webhook_url' => $plugin_dir_url,
     38                'webhook_url' => '',
    4039                'plugin_version' => $plugin_version,
    4140            );
     
    8281        $plugin_version = isset($plugin_info[$index]['Version']) ? $plugin_info[$index]['Version'] : '';
    8382
    84         $plugin_dir_url = plugin_dir_url(__FILE__) . 'en-hit-to-update-plan.php';
    8583        $post_data = array(
    8684            'platform' => 'wordpress',
    8785            'carrier' => '38',
    8886            'store_url' => $domain,
    89             'webhook_url' => $plugin_dir_url,
     87            'webhook_url' => '',
    9088            'plugin_version' => $plugin_version,
    9189        );
Note: See TracChangeset for help on using the changeset viewer.