Plugin Directory

Changeset 3462540


Ignore:
Timestamp:
02/16/2026 01:23:42 PM (6 weeks ago)
Author:
enituretechnology
Message:

2.2.2 - 2026-02-16

  • Update: Updated API dropdown labels to SOAP API and REST API, and added a notice that REST API Test Connection will not work until March 7, 2026.

Ticket 40510755736

Location:
ltl-freight-quotes-day-ross-edition
Files:
10 edited
1 copied

Legend:

Unmodified
Added
Removed
  • ltl-freight-quotes-day-ross-edition/tags/2.2.2/admin/assets/en-dayross-admin.js

    r3462301 r3462540  
    217217        jQuery('.en_dayross_connection_settings .woocommerce-save-button').text('Save Changes');
    218218        jQuery('.woocommerce-save-button').before('<button name="en_dayross_test_connection" class="button-primary en_dayross_test_connection is-primary components-button" id="en_dayross_test_connection" type="submit" value="Test Connection">Test Connection</button>');
     219
     220        // REST API notice
     221        var restApiNoticeHtml = '<div class="notice notice-warning en_rest_api_notice"><p><strong>Notice:</strong> Day &amp; Ross REST API Test Connection will not work until <strong>March 7, 2026</strong>.</p></div>';
     222        if (jQuery('#en_connection_settings_api_dayross').val() === 'dayross_new_api') {
     223            jQuery('.en_warning_message').after(restApiNoticeHtml);
     224        }
     225        jQuery('#en_connection_settings_api_dayross').on('change', function () {
     226            jQuery('.en_rest_api_notice').remove();
     227            if (jQuery(this).val() === 'dayross_new_api') {
     228                jQuery('.en_warning_message').after(restApiNoticeHtml);
     229            }
     230        });
    219231
    220232        jQuery('.en_dayross_connection_settings .button-primary, .en_dayross_connection_settings .is-primary').on('click', function (event) {
  • ltl-freight-quotes-day-ross-edition/tags/2.2.2/admin/tab/connection-settings/en-connection-settings.php

    r3462301 r3462540  
    133133                        'id' => 'en_connection_settings_api_dayross',
    134134                        'options' => array(
    135                             'dayross_old_api' => __('Legacy API', 'woocommerce-settings-dayross'),
    136                             'dayross_new_api' => __('New API', 'woocommerce-settings-dayross'),
     135                            'dayross_old_api' => __('SOAP API', 'woocommerce-settings-dayross'),
     136                            'dayross_new_api' => __('REST API', 'woocommerce-settings-dayross'),
    137137                        )
    138138                    ),
  • ltl-freight-quotes-day-ross-edition/tags/2.2.2/en-install.php

    r3462301 r3462540  
    5757        ]);
    5858
    59         wp_enqueue_script('EnDayrossAdminJs', EN_DAYROSS_DIR_FILE . '/admin/assets/en-dayross-admin.js', [], '1.1.5');
     59        wp_enqueue_script('EnDayrossAdminJs', EN_DAYROSS_DIR_FILE . '/admin/assets/en-dayross-admin.js', [], '1.1.6');
    6060        wp_localize_script('EnDayrossAdminJs', 'en_dayross_admin_script', [
    6161            'pluginsUrl' => EN_DAYROSS_PLUGIN_URL,
  • ltl-freight-quotes-day-ross-edition/tags/2.2.2/ltl-freight-quotes-dayross-edition.php

    r3462301 r3462540  
    44 * Plugin URI: https://eniture.com/products/
    55 * Description: Dynamically retrieves your negotiated shipping rates from Day & Ross and displays the results in the WooCommerce shopping cart.
    6  * Version: 2.2.1
     6 * Version: 2.2.2
    77 * Author: Eniture Technology
    88 * Author URI: http://eniture.com/
  • ltl-freight-quotes-day-ross-edition/tags/2.2.2/readme.txt

    r3462301 r3462540  
    44Requires at least: 6.4
    55Tested up to: 6.9
    6 Stable tag: 2.2.1
     6Stable tag: 2.2.2
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    149149== Changelog ==
    150150
     151= 2.2.2 - 2026-02-16 =
     152* Update: Updated API dropdown labels to **SOAP API** and **REST API**, and added a notice that REST API Test Connection will not work until March 7, 2026.
     153
    151154= 2.2.1 - 2026-02-16 =
    152155* Update: Added support for the Day & Ross new API in the plugin.
  • ltl-freight-quotes-day-ross-edition/trunk/admin/assets/en-dayross-admin.js

    r3462301 r3462540  
    217217        jQuery('.en_dayross_connection_settings .woocommerce-save-button').text('Save Changes');
    218218        jQuery('.woocommerce-save-button').before('<button name="en_dayross_test_connection" class="button-primary en_dayross_test_connection is-primary components-button" id="en_dayross_test_connection" type="submit" value="Test Connection">Test Connection</button>');
     219
     220        // REST API notice
     221        var restApiNoticeHtml = '<div class="notice notice-warning en_rest_api_notice"><p><strong>Notice:</strong> Day &amp; Ross REST API Test Connection will not work until <strong>March 7, 2026</strong>.</p></div>';
     222        if (jQuery('#en_connection_settings_api_dayross').val() === 'dayross_new_api') {
     223            jQuery('.en_warning_message').after(restApiNoticeHtml);
     224        }
     225        jQuery('#en_connection_settings_api_dayross').on('change', function () {
     226            jQuery('.en_rest_api_notice').remove();
     227            if (jQuery(this).val() === 'dayross_new_api') {
     228                jQuery('.en_warning_message').after(restApiNoticeHtml);
     229            }
     230        });
    219231
    220232        jQuery('.en_dayross_connection_settings .button-primary, .en_dayross_connection_settings .is-primary').on('click', function (event) {
  • ltl-freight-quotes-day-ross-edition/trunk/admin/tab/connection-settings/en-connection-settings.php

    r3462301 r3462540  
    133133                        'id' => 'en_connection_settings_api_dayross',
    134134                        'options' => array(
    135                             'dayross_old_api' => __('Legacy API', 'woocommerce-settings-dayross'),
    136                             'dayross_new_api' => __('New API', 'woocommerce-settings-dayross'),
     135                            'dayross_old_api' => __('SOAP API', 'woocommerce-settings-dayross'),
     136                            'dayross_new_api' => __('REST API', 'woocommerce-settings-dayross'),
    137137                        )
    138138                    ),
  • ltl-freight-quotes-day-ross-edition/trunk/en-install.php

    r3462301 r3462540  
    5757        ]);
    5858
    59         wp_enqueue_script('EnDayrossAdminJs', EN_DAYROSS_DIR_FILE . '/admin/assets/en-dayross-admin.js', [], '1.1.5');
     59        wp_enqueue_script('EnDayrossAdminJs', EN_DAYROSS_DIR_FILE . '/admin/assets/en-dayross-admin.js', [], '1.1.6');
    6060        wp_localize_script('EnDayrossAdminJs', 'en_dayross_admin_script', [
    6161            'pluginsUrl' => EN_DAYROSS_PLUGIN_URL,
  • ltl-freight-quotes-day-ross-edition/trunk/ltl-freight-quotes-dayross-edition.php

    r3462301 r3462540  
    44 * Plugin URI: https://eniture.com/products/
    55 * Description: Dynamically retrieves your negotiated shipping rates from Day & Ross and displays the results in the WooCommerce shopping cart.
    6  * Version: 2.2.1
     6 * Version: 2.2.2
    77 * Author: Eniture Technology
    88 * Author URI: http://eniture.com/
  • ltl-freight-quotes-day-ross-edition/trunk/readme.txt

    r3462301 r3462540  
    44Requires at least: 6.4
    55Tested up to: 6.9
    6 Stable tag: 2.2.1
     6Stable tag: 2.2.2
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    149149== Changelog ==
    150150
     151= 2.2.2 - 2026-02-16 =
     152* Update: Updated API dropdown labels to **SOAP API** and **REST API**, and added a notice that REST API Test Connection will not work until March 7, 2026.
     153
    151154= 2.2.1 - 2026-02-16 =
    152155* Update: Added support for the Day & Ross new API in the plugin.
Note: See TracChangeset for help on using the changeset viewer.