Plugin Directory

Changeset 3387988


Ignore:
Timestamp:
11/01/2025 09:25:10 AM (5 months ago)
Author:
maxicomdev
Message:

Release v2.3.0

Location:
andy-votre-assistant-intelligent
Files:
21 added
3 edited

Legend:

Unmodified
Added
Removed
  • andy-votre-assistant-intelligent/trunk/Andy-Wordress-Extension.php

    r3318302 r3387988  
    44 * Plugin Name: Andy, Votre Assistant Intelligent
    55 * Description: Installe Andy sur votre site WordPress.
    6  * Version: 2.1.1
     6 * Version: 2.3.0
    77 * Author: Maxime MORLET (MaxiCom)
    88 * License: GPLv2 or later
     
    4141
    4242    // 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(
    4444        'method'    => 'POST',
    4545        'body'      => json_encode($data),
     
    111111    if (version_compare($wp_version, '6.3', '>=')) {
    112112        // 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', [
    114114            'strategy' => 'defer',
    115115        ]);
     
    119119    } else {
    120120        // 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);
    122122
    123123        // Add defer manually
     
    302302        <?php
    303303            // 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);
    305305
    306306            endif;
     
    358358<?php
    359359    // 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);
    361361}
    362362
     
    599599    }";
    600600
    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');
    602602    wp_add_inline_style('andy-style', $custom_css);
    603603}
  • andy-votre-assistant-intelligent/trunk/Andy/assets/Andy-Widget/scripts/Andy.js

    r3318300 r3387988  
    11/* CONST SECTION */
    2 const WEB_SOCKET_URL = `wss://dashboard.essayez-andy.fr/ws/`;
     2const WEB_SOCKET_URL = `wss://websocket.essayez-andy.fr/`;
    33
    44// DOM Elements
     5const chatTooltip = document.getElementById('chat-tooltip');
     6const chatTooltipSpan = document.getElementById('tooltip-text');
    57const chatBox = document.getElementById('chatbox');
    68const chatContent = document.getElementById('chat-content');
     
    9698   
    9799        chatInput.focus();
     100       
     101        if (
     102            chatBox.style.display === 'flex' &&
     103            chatTooltip.classList.contains('visible')
     104        ) {
     105            chatTooltip.classList.remove('visible');
     106        }
    98107   
    99108        if (
     
    13931402
    13941403        chatInput.focus();
     1404       
     1405        if (chatBox.classList.contains('visible')) {
     1406            chatTooltip.classList.remove('visible');
     1407        }
    13951408
    13961409        if (
  • andy-votre-assistant-intelligent/trunk/readme.txt

    r3318300 r3387988  
    66Requires PHP: 7.3 
    77Donate link: https://essayez-andy.fr
    8 Stable tag: 2.1.1
     8Stable tag: 2.3.0
    99License: GPLv2 or later 
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html 
Note: See TracChangeset for help on using the changeset viewer.