Changeset 3302944
- Timestamp:
- 05/29/2025 12:10:12 PM (10 months ago)
- Location:
- assistio
- Files:
-
- 4 edited
- 23 copied
-
tags/1.0.6 (copied) (copied from assistio/trunk)
-
tags/1.0.6/README.txt (copied) (copied from assistio/trunk/README.txt) (3 diffs)
-
tags/1.0.6/assets (copied) (copied from assistio/trunk/assets)
-
tags/1.0.6/assets/css/assistio-admin.css (copied) (copied from assistio/trunk/assets/css/assistio-admin.css)
-
tags/1.0.6/assets/icon-128x128.png (copied) (copied from assistio/trunk/assets/icon-128x128.png)
-
tags/1.0.6/assets/js/assistio-deactivate.js (copied) (copied from assistio/trunk/assets/js/assistio-deactivate.js)
-
tags/1.0.6/assets/js/assistio-integration.js (copied) (copied from assistio/trunk/assets/js/assistio-integration.js)
-
tags/1.0.6/assets/js/assistio-setup.js (copied) (copied from assistio/trunk/assets/js/assistio-setup.js)
-
tags/1.0.6/assistio.php (copied) (copied from assistio/trunk/assistio.php) (2 diffs)
-
tags/1.0.6/initsetup.php (copied) (copied from assistio/trunk/initsetup.php) (4 diffs)
-
tags/1.0.6/languages (copied) (copied from assistio/trunk/languages)
-
tags/1.0.6/screenshot-1.png (copied) (copied from assistio/trunk/screenshot-1.png)
-
tags/1.0.6/screenshot-2.png (copied) (copied from assistio/trunk/screenshot-2.png)
-
tags/1.0.6/screenshot-3.png (copied) (copied from assistio/trunk/screenshot-3.png)
-
tags/1.0.6/screenshot-4.png (copied) (copied from assistio/trunk/screenshot-4.png)
-
tags/1.0.6/screenshot-5.png (copied) (copied from assistio/trunk/screenshot-5.png)
-
tags/1.0.6/screenshot-install-1.png (copied) (copied from assistio/trunk/screenshot-install-1.png)
-
tags/1.0.6/screenshot-install-2.png (copied) (copied from assistio/trunk/screenshot-install-2.png)
-
tags/1.0.6/screenshot-install-3.png (copied) (copied from assistio/trunk/screenshot-install-3.png)
-
tags/1.0.6/screenshot-install-4.png (copied) (copied from assistio/trunk/screenshot-install-4.png)
-
tags/1.0.6/screenshot-install-5.png (copied) (copied from assistio/trunk/screenshot-install-5.png)
-
tags/1.0.6/script.php (copied) (copied from assistio/trunk/script.php) (1 diff)
-
tags/1.0.6/uninstall.php (copied) (copied from assistio/trunk/uninstall.php)
-
trunk/README.txt (modified) (3 diffs)
-
trunk/assistio.php (modified) (2 diffs)
-
trunk/initsetup.php (modified) (4 diffs)
-
trunk/script.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
assistio/tags/1.0.6/README.txt
r3301897 r3302944 5 5 Requires at least: 5.8 6 6 Tested up to: 6.8 7 Stable tag: 1.0. 57 Stable tag: 1.0.6 8 8 Requires PHP: 7.4 9 9 License: GPLv2 or later … … 140 140 141 141 == Changelog == 142 = 1.0.6 = 143 * Debug in authentication token. 142 144 = 1.0.5 = 143 145 * **Added** five updated screenshots (integration panel, plugin search, activation steps 1–3) … … 165 167 == Upgrade Notice == 166 168 167 = 1.0. 5=169 = 1.0.6 = 168 170 Initial release of ASSISTIO. Transform your WooCommerce store with intelligent AI automation. Experience the power of four specialized AI agents working together to optimize your store operations, enhance customer experience, and drive sales growth. 169 171 -
assistio/tags/1.0.6/assistio.php
r3301891 r3302944 7 7 * Plugin URI: https://assistio.chat/assistio-plugin 8 8 * Description: A WooCommerce AI assistant with LLMs and multimodal search to automate support, marketing, inventory and BI. Includes repositionable chatbot, personalization. 9 * Version: 1.0. 59 * Version: 1.0.6 10 10 * Author: Assistio Team 11 11 * Author URI: https://assistio.chat … … 246 246 plugin_dir_url(__FILE__) . 'assets/js/assistio-deactivate.js', 247 247 array('jquery'), 248 '1.0. 5',248 '1.0.6', 249 249 true 250 250 ); -
assistio/tags/1.0.6/initsetup.php
r3301891 r3302944 218 218 plugin_dir_url(__FILE__) . 'assets/js/assistio-setup.js', 219 219 array('jquery'), 220 '1.0. 5',220 '1.0.6', 221 221 true 222 222 ); … … 289 289 } 290 290 291 $integrations = $data['integrations'] ?? []; 292 293 $settings = [ 294 'token' => sanitize_text_field($data['token'] ?? ''), 295 'key' => sanitize_text_field($data['key'] ?? ''), 296 'integrations' => $integrations, 297 ]; 291 if (isset($data['token']) && !empty($data['token'])) { 292 $settings = [ 293 'token' => sanitize_text_field($data['token'] ?? ''), 294 ]; 295 } 296 if (isset($data['key']) && !empty($data['key'])) { 297 $settings = [ 298 'key' => sanitize_text_field($data['key'] ?? ''), 299 ]; 300 } 301 if (isset($data['integrations']) && !empty($data['integrations'])) { 302 $integrations = $data['integrations'] ?? []; 303 $settings = [ 304 'integrations' => $integrations, 305 ]; 306 } 298 307 299 308 if (isset($data['integration']) && !empty($data['integration'])) { … … 340 349 $table = esc_sql($wpdb->prefix . 'woocommerce_api_keys'); 341 350 342 //$result = $wpdb->insert(343 //$table,344 //array(345 //'user_id' => $user_id,346 //'description' => $description,347 //'permissions' => $permissions,348 //'consumer_key' => wc_api_hash($consumer_key),349 //'consumer_secret' => $consumer_secret,350 //'truncated_key' => substr($consumer_key, -7),351 //),352 //array('%d', '%s', '%s', '%s', '%s', '%s')353 //);354 //if (is_wp_error($result)) {355 //$error_message = $result->get_error_message();356 //assistio_plugin_admin_error_notice(357 //sprintf(358 //esc_html__("Failed to generate API keys. Please contact support!", "assistio"),359 //$error_message360 //)361 //);362 //return;363 //}364 365 //$settings = get_option('assistiobot_oauth_settings', array());366 //$settings['woo_consumer_key'] = $consumer_key;367 //$settings['woo_consumer_secret'] = $consumer_secret;368 //update_option('assistiobot_oauth_settings', $settings);351 $result = $wpdb->insert( 352 $table, 353 array( 354 'user_id' => $user_id, 355 'description' => $description, 356 'permissions' => $permissions, 357 'consumer_key' => wc_api_hash($consumer_key), 358 'consumer_secret' => $consumer_secret, 359 'truncated_key' => substr($consumer_key, -7), 360 ), 361 array('%d', '%s', '%s', '%s', '%s', '%s') 362 ); 363 if (is_wp_error($result)) { 364 $error_message = $result->get_error_message(); 365 assistio_plugin_admin_error_notice( 366 sprintf( 367 esc_html__("Failed to generate API keys. Please contact support!", "assistio"), 368 $error_message 369 ) 370 ); 371 return; 372 } 373 374 $settings = get_option('assistiobot_oauth_settings', array()); 375 $settings['woo_consumer_key'] = $consumer_key; 376 $settings['woo_consumer_secret'] = $consumer_secret; 377 update_option('assistiobot_oauth_settings', $settings); 369 378 ?> 370 379 <div id="user-message"></div> … … 397 406 plugin_dir_url(__FILE__) . 'assets/js/assistio-integration.js', 398 407 array('jquery'), 399 '1.0. 5',408 '1.0.6', 400 409 true 401 410 ); -
assistio/tags/1.0.6/script.php
r3301891 r3302944 111 111 plugin_dir_url(__FILE__) . 'assets/js/assistio-btn.js', 112 112 array(), 113 '1.0. 5',113 '1.0.6', 114 114 true 115 115 ); -
assistio/trunk/README.txt
r3301897 r3302944 5 5 Requires at least: 5.8 6 6 Tested up to: 6.8 7 Stable tag: 1.0. 57 Stable tag: 1.0.6 8 8 Requires PHP: 7.4 9 9 License: GPLv2 or later … … 140 140 141 141 == Changelog == 142 = 1.0.6 = 143 * Debug in authentication token. 142 144 = 1.0.5 = 143 145 * **Added** five updated screenshots (integration panel, plugin search, activation steps 1–3) … … 165 167 == Upgrade Notice == 166 168 167 = 1.0. 5=169 = 1.0.6 = 168 170 Initial release of ASSISTIO. Transform your WooCommerce store with intelligent AI automation. Experience the power of four specialized AI agents working together to optimize your store operations, enhance customer experience, and drive sales growth. 169 171 -
assistio/trunk/assistio.php
r3301891 r3302944 7 7 * Plugin URI: https://assistio.chat/assistio-plugin 8 8 * Description: A WooCommerce AI assistant with LLMs and multimodal search to automate support, marketing, inventory and BI. Includes repositionable chatbot, personalization. 9 * Version: 1.0. 59 * Version: 1.0.6 10 10 * Author: Assistio Team 11 11 * Author URI: https://assistio.chat … … 246 246 plugin_dir_url(__FILE__) . 'assets/js/assistio-deactivate.js', 247 247 array('jquery'), 248 '1.0. 5',248 '1.0.6', 249 249 true 250 250 ); -
assistio/trunk/initsetup.php
r3301891 r3302944 218 218 plugin_dir_url(__FILE__) . 'assets/js/assistio-setup.js', 219 219 array('jquery'), 220 '1.0. 5',220 '1.0.6', 221 221 true 222 222 ); … … 289 289 } 290 290 291 $integrations = $data['integrations'] ?? []; 292 293 $settings = [ 294 'token' => sanitize_text_field($data['token'] ?? ''), 295 'key' => sanitize_text_field($data['key'] ?? ''), 296 'integrations' => $integrations, 297 ]; 291 if (isset($data['token']) && !empty($data['token'])) { 292 $settings = [ 293 'token' => sanitize_text_field($data['token'] ?? ''), 294 ]; 295 } 296 if (isset($data['key']) && !empty($data['key'])) { 297 $settings = [ 298 'key' => sanitize_text_field($data['key'] ?? ''), 299 ]; 300 } 301 if (isset($data['integrations']) && !empty($data['integrations'])) { 302 $integrations = $data['integrations'] ?? []; 303 $settings = [ 304 'integrations' => $integrations, 305 ]; 306 } 298 307 299 308 if (isset($data['integration']) && !empty($data['integration'])) { … … 340 349 $table = esc_sql($wpdb->prefix . 'woocommerce_api_keys'); 341 350 342 //$result = $wpdb->insert(343 //$table,344 //array(345 //'user_id' => $user_id,346 //'description' => $description,347 //'permissions' => $permissions,348 //'consumer_key' => wc_api_hash($consumer_key),349 //'consumer_secret' => $consumer_secret,350 //'truncated_key' => substr($consumer_key, -7),351 //),352 //array('%d', '%s', '%s', '%s', '%s', '%s')353 //);354 //if (is_wp_error($result)) {355 //$error_message = $result->get_error_message();356 //assistio_plugin_admin_error_notice(357 //sprintf(358 //esc_html__("Failed to generate API keys. Please contact support!", "assistio"),359 //$error_message360 //)361 //);362 //return;363 //}364 365 //$settings = get_option('assistiobot_oauth_settings', array());366 //$settings['woo_consumer_key'] = $consumer_key;367 //$settings['woo_consumer_secret'] = $consumer_secret;368 //update_option('assistiobot_oauth_settings', $settings);351 $result = $wpdb->insert( 352 $table, 353 array( 354 'user_id' => $user_id, 355 'description' => $description, 356 'permissions' => $permissions, 357 'consumer_key' => wc_api_hash($consumer_key), 358 'consumer_secret' => $consumer_secret, 359 'truncated_key' => substr($consumer_key, -7), 360 ), 361 array('%d', '%s', '%s', '%s', '%s', '%s') 362 ); 363 if (is_wp_error($result)) { 364 $error_message = $result->get_error_message(); 365 assistio_plugin_admin_error_notice( 366 sprintf( 367 esc_html__("Failed to generate API keys. Please contact support!", "assistio"), 368 $error_message 369 ) 370 ); 371 return; 372 } 373 374 $settings = get_option('assistiobot_oauth_settings', array()); 375 $settings['woo_consumer_key'] = $consumer_key; 376 $settings['woo_consumer_secret'] = $consumer_secret; 377 update_option('assistiobot_oauth_settings', $settings); 369 378 ?> 370 379 <div id="user-message"></div> … … 397 406 plugin_dir_url(__FILE__) . 'assets/js/assistio-integration.js', 398 407 array('jquery'), 399 '1.0. 5',408 '1.0.6', 400 409 true 401 410 ); -
assistio/trunk/script.php
r3301891 r3302944 111 111 plugin_dir_url(__FILE__) . 'assets/js/assistio-btn.js', 112 112 array(), 113 '1.0. 5',113 '1.0.6', 114 114 true 115 115 );
Note: See TracChangeset
for help on using the changeset viewer.