Plugin Directory

Changeset 2887733


Ignore:
Timestamp:
03/27/2023 04:46:48 PM (3 years ago)
Author:
staffingengine
Message:

Update to version 0.7.0 from GitHub

Location:
staffing-engine-chatbot
Files:
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • staffing-engine-chatbot/tags/0.7.0/includes/admin.php

    r2854949 r2887733  
    373373            'text'   => __( 'Customize how the chatbot acts under certain conditions', Plugin::SLUG ),
    374374            'fields' => array(
    375               'allowStartNewConversation'       => array(
     375              'allowStartNewConversation' => array(
    376376                'id'      => 'allow_start_new_conversation',
    377377                'title'   => __( 'Allow starting a new conversation', Plugin::SLUG ),
     
    384384                ),
    385385              ),
     386              'allowWindowDrag' => array(
     387                'id'      => 'allow_window_drag',
     388                'title'   => __( 'Allow dragging the chat window', Plugin::SLUG ),
     389                'text'    => __( 'Set whether site visitors can move the chat window around the site.', Plugin::SLUG ),
     390                'type'    => 'radio',
     391                'value'   => 'no',
     392                'choices' => array(
     393                  'yes' => __( 'Allow', Plugin::SLUG),
     394                  'no'  => __( 'Don\'t Allow', Plugin::SLUG ),
     395                ),
     396              ),
     397              'allowChangeWindowSize'   => array(
     398                'id'      => 'allow_change_window_size',
     399                'title'   => __( 'Allow adjusting chat window size', Plugin::SLUG ),
     400                'text'    => __( 'Set whether site visitors can adjust the size of the chat window.', Plugin::SLUG ),
     401                'type'    => 'radio',
     402                'value'   => 'no',
     403                'choices' => array(
     404                  'yes' => __( 'Allow', Plugin::SLUG),
     405                  'no'  => __( 'Don\'t Allow', Plugin::SLUG ),
     406                ),
     407              ),
    386408            ),
    387409          ),
  • staffing-engine-chatbot/tags/0.7.0/includes/embed.php

    r2854949 r2887733  
    160160  const staffingEngineChatConfig = Object.assign(config, {
    161161    container: '#staffing-engine-chatbot',
    162     allowChangeChatWindowSize: false,
    163     allowDrag: false,
    164162    appearance: {
    165163      blurredBackground: false
     
    219217      "autoExpandDelay" => array_key_exists( 'auto_expand_delay', self::$options ) ? $this->parse_ms_setting( esc_attr( self::$options['auto_expand_delay'] ) . '000' ) : '0',
    220218      "allowStartNewConversation" => array_key_exists( 'allow_start_new_conversation', self::$options ) ? $this->parse_radio_setting( esc_attr( self::$options['allow_start_new_conversation'] ), true ) : true,
     219      "allowChangeChatWindowSize" => array_key_exists( 'allow_change_window_size', self::$options ) ? $this->parse_radio_setting( esc_attr( self::$options['allow_change_window_size'] ), true ) : true,
     220      "allowDrag" => array_key_exists( 'allow_window_drag', self::$options ) ? $this->parse_radio_setting( esc_attr( self::$options['allow_window_drag'] ), true ) : true,
    221221    ];
    222222  }
  • staffing-engine-chatbot/tags/0.7.0/readme.txt

    r2854949 r2887733  
    44- Donate Link: https://staffingengine.ai/
    55- Tags: chatbot, live chat, AI, staffing, recruiting
    6 - Stable tag: 0.6.0
     6- Stable tag: 0.7.0
    77- Requires at least: 5.5
    88- Tested up to: 6.0.1
     
    7070- Performance improvements to speed up chatbot initialization
    7171- Bug fixes
     72
     73= 0.7.0 : 2023-3-23 =
     74
     75- support settings for dragging and adjusting the size of the chat window
  • staffing-engine-chatbot/tags/0.7.0/staffing-engine-chatbot.php

    r2854949 r2887733  
    55 * @copyright   (c) 2022 staffing Engine
    66 * @license     GPL-3.0-or-later
    7  * @version    0.6.0
     7 * @version    0.7.0
    88 *
    99 * @wordpress-plugin
     
    1515 * License: GPL v3 or later
    1616 * License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
    17  * Version: 0.6.0
     17 * Version: 0.7.0
    1818 * Requires at least: 5.5
    1919 * Requires PHP: 7.1
     
    4141}
    4242
    43 define( 'SE_CHAT_VERSION', '0.6.0' );
     43define( 'SE_CHAT_VERSION', '0.7.0' );
    4444
    4545define( 'SE_CHAT_MIN_PHP', '7.1.0' );
  • staffing-engine-chatbot/trunk/includes/admin.php

    r2854949 r2887733  
    373373            'text'   => __( 'Customize how the chatbot acts under certain conditions', Plugin::SLUG ),
    374374            'fields' => array(
    375               'allowStartNewConversation'       => array(
     375              'allowStartNewConversation' => array(
    376376                'id'      => 'allow_start_new_conversation',
    377377                'title'   => __( 'Allow starting a new conversation', Plugin::SLUG ),
     
    384384                ),
    385385              ),
     386              'allowWindowDrag' => array(
     387                'id'      => 'allow_window_drag',
     388                'title'   => __( 'Allow dragging the chat window', Plugin::SLUG ),
     389                'text'    => __( 'Set whether site visitors can move the chat window around the site.', Plugin::SLUG ),
     390                'type'    => 'radio',
     391                'value'   => 'no',
     392                'choices' => array(
     393                  'yes' => __( 'Allow', Plugin::SLUG),
     394                  'no'  => __( 'Don\'t Allow', Plugin::SLUG ),
     395                ),
     396              ),
     397              'allowChangeWindowSize'   => array(
     398                'id'      => 'allow_change_window_size',
     399                'title'   => __( 'Allow adjusting chat window size', Plugin::SLUG ),
     400                'text'    => __( 'Set whether site visitors can adjust the size of the chat window.', Plugin::SLUG ),
     401                'type'    => 'radio',
     402                'value'   => 'no',
     403                'choices' => array(
     404                  'yes' => __( 'Allow', Plugin::SLUG),
     405                  'no'  => __( 'Don\'t Allow', Plugin::SLUG ),
     406                ),
     407              ),
    386408            ),
    387409          ),
  • staffing-engine-chatbot/trunk/includes/embed.php

    r2854949 r2887733  
    160160  const staffingEngineChatConfig = Object.assign(config, {
    161161    container: '#staffing-engine-chatbot',
    162     allowChangeChatWindowSize: false,
    163     allowDrag: false,
    164162    appearance: {
    165163      blurredBackground: false
     
    219217      "autoExpandDelay" => array_key_exists( 'auto_expand_delay', self::$options ) ? $this->parse_ms_setting( esc_attr( self::$options['auto_expand_delay'] ) . '000' ) : '0',
    220218      "allowStartNewConversation" => array_key_exists( 'allow_start_new_conversation', self::$options ) ? $this->parse_radio_setting( esc_attr( self::$options['allow_start_new_conversation'] ), true ) : true,
     219      "allowChangeChatWindowSize" => array_key_exists( 'allow_change_window_size', self::$options ) ? $this->parse_radio_setting( esc_attr( self::$options['allow_change_window_size'] ), true ) : true,
     220      "allowDrag" => array_key_exists( 'allow_window_drag', self::$options ) ? $this->parse_radio_setting( esc_attr( self::$options['allow_window_drag'] ), true ) : true,
    221221    ];
    222222  }
  • staffing-engine-chatbot/trunk/readme.txt

    r2854949 r2887733  
    44- Donate Link: https://staffingengine.ai/
    55- Tags: chatbot, live chat, AI, staffing, recruiting
    6 - Stable tag: 0.6.0
     6- Stable tag: 0.7.0
    77- Requires at least: 5.5
    88- Tested up to: 6.0.1
     
    7070- Performance improvements to speed up chatbot initialization
    7171- Bug fixes
     72
     73= 0.7.0 : 2023-3-23 =
     74
     75- support settings for dragging and adjusting the size of the chat window
  • staffing-engine-chatbot/trunk/staffing-engine-chatbot.php

    r2854949 r2887733  
    55 * @copyright   (c) 2022 staffing Engine
    66 * @license     GPL-3.0-or-later
    7  * @version    0.6.0
     7 * @version    0.7.0
    88 *
    99 * @wordpress-plugin
     
    1515 * License: GPL v3 or later
    1616 * License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
    17  * Version: 0.6.0
     17 * Version: 0.7.0
    1818 * Requires at least: 5.5
    1919 * Requires PHP: 7.1
     
    4141}
    4242
    43 define( 'SE_CHAT_VERSION', '0.6.0' );
     43define( 'SE_CHAT_VERSION', '0.7.0' );
    4444
    4545define( 'SE_CHAT_MIN_PHP', '7.1.0' );
Note: See TracChangeset for help on using the changeset viewer.