Changeset 3387988
- Timestamp:
- 11/01/2025 09:25:10 AM (5 months ago)
- Location:
- andy-votre-assistant-intelligent
- Files:
-
- 21 added
- 3 edited
-
tags/2.3.0 (added)
-
tags/2.3.0/Andy (added)
-
tags/2.3.0/Andy-Wordress-Extension.php (added)
-
tags/2.3.0/Andy/Andy.html (added)
-
tags/2.3.0/Andy/assets (added)
-
tags/2.3.0/Andy/assets/Andy-Widget (added)
-
tags/2.3.0/Andy/assets/Andy-Widget/fonts (added)
-
tags/2.3.0/Andy/assets/Andy-Widget/fonts/Lato-Regular.ttf (added)
-
tags/2.3.0/Andy/assets/Andy-Widget/fonts/Poppins-Regular.ttf (added)
-
tags/2.3.0/Andy/assets/Andy-Widget/images (added)
-
tags/2.3.0/Andy/assets/Andy-Widget/images/bot-profile-pic.png (added)
-
tags/2.3.0/Andy/assets/Andy-Widget/scripts (added)
-
tags/2.3.0/Andy/assets/Andy-Widget/scripts/Andy.js (added)
-
tags/2.3.0/Andy/assets/Andy-Widget/styles (added)
-
tags/2.3.0/Andy/assets/Andy-Widget/styles/Andy.css (added)
-
tags/2.3.0/Andy/assets/Wordpress (added)
-
tags/2.3.0/Andy/assets/Wordpress/scripts (added)
-
tags/2.3.0/Andy/assets/Wordpress/scripts/andy-dismiss-notice.js (added)
-
tags/2.3.0/Andy/assets/Wordpress/scripts/andy-external-wordpress-settings.js (added)
-
tags/2.3.0/Andy/favicon.png (added)
-
tags/2.3.0/readme.txt (added)
-
trunk/Andy-Wordress-Extension.php (modified) (7 diffs)
-
trunk/Andy/assets/Andy-Widget/scripts/Andy.js (modified) (3 diffs)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
andy-votre-assistant-intelligent/trunk/Andy-Wordress-Extension.php
r3318302 r3387988 4 4 * Plugin Name: Andy, Votre Assistant Intelligent 5 5 * Description: Installe Andy sur votre site WordPress. 6 * Version: 2. 1.16 * Version: 2.3.0 7 7 * Author: Maxime MORLET (MaxiCom) 8 8 * License: GPLv2 or later … … 41 41 42 42 // Call the server to initiate the crawl process 43 $response = wp_remote_post( 'https:// dashboard.essayez-andy.fr/crawl', array(43 $response = wp_remote_post( 'https://crawler.essayez-andy.fr/', array( 44 44 'method' => 'POST', 45 45 'body' => json_encode($data), … … 111 111 if (version_compare($wp_version, '6.3', '>=')) { 112 112 // Modern WordPress 6.3+ way 113 wp_enqueue_script('andy-script', $plugin_url . 'Andy/assets/Andy-Widget/scripts/Andy.js', [], '2. 1.1', [113 wp_enqueue_script('andy-script', $plugin_url . 'Andy/assets/Andy-Widget/scripts/Andy.js', [], '2.3.0', [ 114 114 'strategy' => 'defer', 115 115 ]); … … 119 119 } else { 120 120 // Old WordPress way 121 wp_enqueue_script('andy-script', $plugin_url . 'Andy/assets/Andy-Widget/scripts/Andy.js', [], '2. 1.1', true);121 wp_enqueue_script('andy-script', $plugin_url . 'Andy/assets/Andy-Widget/scripts/Andy.js', [], '2.3.0', true); 122 122 123 123 // Add defer manually … … 302 302 <?php 303 303 // Enqueue the script to handle the notice dismissal 304 wp_enqueue_script('andy-dismiss-notice', $plugin_url . 'Andy/assets/Wordpress/scripts/andy-dismiss-notice.js', [], '2. 1.1', true);304 wp_enqueue_script('andy-dismiss-notice', $plugin_url . 'Andy/assets/Wordpress/scripts/andy-dismiss-notice.js', [], '2.3.0', true); 305 305 306 306 endif; … … 358 358 <?php 359 359 // Enqueue the script for handling the external settings form submission 360 wp_enqueue_script('andy-external-settings', $plugin_url . 'Andy/assets/Wordpress/scripts/andy-external-wordpress-settings.js', [], '2. 1.1', true);360 wp_enqueue_script('andy-external-settings', $plugin_url . 'Andy/assets/Wordpress/scripts/andy-external-wordpress-settings.js', [], '2.3.0', true); 361 361 } 362 362 … … 599 599 }"; 600 600 601 wp_enqueue_style('andy-style', $plugin_url . 'Andy/assets/Andy-Widget/styles/Andy.css', [], '2. 1.1');601 wp_enqueue_style('andy-style', $plugin_url . 'Andy/assets/Andy-Widget/styles/Andy.css', [], '2.3.0'); 602 602 wp_add_inline_style('andy-style', $custom_css); 603 603 } -
andy-votre-assistant-intelligent/trunk/Andy/assets/Andy-Widget/scripts/Andy.js
r3318300 r3387988 1 1 /* CONST SECTION */ 2 const WEB_SOCKET_URL = `wss:// dashboard.essayez-andy.fr/ws/`;2 const WEB_SOCKET_URL = `wss://websocket.essayez-andy.fr/`; 3 3 4 4 // DOM Elements 5 const chatTooltip = document.getElementById('chat-tooltip'); 6 const chatTooltipSpan = document.getElementById('tooltip-text'); 5 7 const chatBox = document.getElementById('chatbox'); 6 8 const chatContent = document.getElementById('chat-content'); … … 96 98 97 99 chatInput.focus(); 100 101 if ( 102 chatBox.style.display === 'flex' && 103 chatTooltip.classList.contains('visible') 104 ) { 105 chatTooltip.classList.remove('visible'); 106 } 98 107 99 108 if ( … … 1393 1402 1394 1403 chatInput.focus(); 1404 1405 if (chatBox.classList.contains('visible')) { 1406 chatTooltip.classList.remove('visible'); 1407 } 1395 1408 1396 1409 if ( -
andy-votre-assistant-intelligent/trunk/readme.txt
r3318300 r3387988 6 6 Requires PHP: 7.3 7 7 Donate link: https://essayez-andy.fr 8 Stable tag: 2. 1.18 Stable tag: 2.3.0 9 9 License: GPLv2 or later 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset
for help on using the changeset viewer.