Просмотр исходного кода

modification du systeme d'installation pour pouvoir choisir le nom de domaine

fabrice 1 месяц назад
Родитель
Сommit
e3f0438809

+ 3 - 3
admin.ipsocloud.com/webapp_webpack/src/app.js

@@ -81,9 +81,9 @@ global.app = new Framework7({
   data: function () {
     let appLocation = location.protocol + '//' + location.hostname + ':' + location.port,
         apiLocation = location.protocol + '//' + location.hostname + ':' + 10302;
-    if(location.hostname=='www.monrisquearteriel.com') {
-      appLocation = 'https://www.monrisquearteriel.com';
-      apiLocation = 'https://api.monrisquearteriel.com';
+    if(location.hostname=='www.ipsocloud.com') {
+      appLocation = 'https://www.ipsocloud.com';
+      apiLocation = 'https://api.ipsocloud.com';
     }
     console.log('Using API server at: ' + apiLocation);
     console.log('Using Web server at: ' + appLocation);

+ 1 - 1
admin.ipsocloud.com/webapp_webpack/src/pages/customer.f7.html

@@ -263,7 +263,7 @@
             }
             else {
               if(parseInt(data.newUser)==1) {
-                var passwordLink = 'https://cro.monrisquearteriel.com' + '/?password_token=' + data.password_token;
+                var passwordLink = 'https://cro.ipsocloud.com' + '/?password_token=' + data.password_token;
                 console.log('passwordLink', passwordLink);          
                 // Mail 
                 let message = "Dear "+p.lastname+" "+p.firstname+",<br/><br/>Your CRO ADMINISTRATOR account has been created.<br>Please follow the link below in order to choose your password:<br/>##passwordLink<br/><br/>Thank you!";

Разница между файлами не показана из-за своего большого размера
+ 1 - 1
admin.ipsocloud.com/webapp_webpack/www/app.js


+ 4 - 7
api.ipsocloud.com/sql/iimt_mathcloud.sql

@@ -401,11 +401,8 @@ CREATE TABLE `credit` (
 
 INSERT INTO `credit` (`ID`, `ID_user`, `stamp`, `count`) VALUES
 (1, 1, '2026-05-23 12:52:23', 0),
-(2, 1, '2026-05-23 12:52:24', 0),
-(3, 1, '2026-05-23 12:52:25', 0),
-(4, 1, '2026-05-23 12:52:26', 0),
-(5, 3, '2026-05-23 12:55:40', 0),
-(6, 4, '2026-05-23 13:00:57', 10);
+(2, 2, '2026-05-23 12:52:24', 0),
+(3, 3, '2026-05-23 12:52:25', 10);
 
 -- --------------------------------------------------------
 
@@ -681,8 +678,8 @@ CREATE TABLE `user` (
 
 INSERT INTO `user` (`ID`, `activation_token`, `activation_expire`, `activation`, `password`, `firstname`, `lastname`, `email`, `phone`, `type`, `active`, `stamp`, `fk_center`) VALUES
 (1, '6b3028c1-b833-4d77-8da9-6c753b0dd2d9', '2021-03-29 21:04:31', '2021-03-28 21:13:20', '$2y$10$67vFcsoDbokqHrkdVwRrkeAZb.cTy3sbD3lmxxA1fEay2WgjvS0jq', 'Pierre-Jean', 'Touboul', 'pjtw2@free.fr', '+33687847849', 'cro', 1, '2021-03-28 21:04:31', 0),
-(2, '0477c1a6-4b8b-41c0-b1ec-5239034bb76a', '2022-06-12 09:52:58', '2022-06-11 09:53:41', '$2y$10$/Va8yuPfiTrOBHcHf3ziGO5shnxhhgBlhaIhKh59Lsl4Y2xvAi26a', 'Pierre-Jean', 'Touboul', 'pjtw@iimt.fr', '0687847849', 'imt-master', 1, '2022-06-11 09:52:58', NULL),
-(4, 'e109e310-00e3-4df5-a631-d20f67d0d131', '2026-05-24 12:59:34', '2026-05-23 13:01:31', '$2y$10$In9seyXQKi44h7Zjb4GxZ.RWR0.yJJNEY6f893TBylhDcmkU1xtmi', 'Fabrice', 'Poupon', 'fabrice.poupon@free.fr', '0642536225', 'physician', 1, '2026-05-23 12:59:34', NULL);
+(2, '0477c1a6-4b8b-41c0-b1ec-5239034bb76a', '2022-06-12 09:52:58', '2022-06-11 09:53:41', '$2y$10$/Va8yuPfiTrOBHcHf3ziGO5shnxhhgBlhaIhKh59Lsl4Y2xvAi26a', 'Fabrice', 'Poupon', 'fabrice.poupon@free.fr', '0687847849', 'imt-master', 1, '2022-06-11 09:52:58', NULL),
+(3, 'e109e310-00e3-4df5-a631-d20f67d0d131', '2026-05-24 12:59:34', '2026-05-23 13:01:31', '$2y$10$In9seyXQKi44h7Zjb4GxZ.RWR0.yJJNEY6f893TBylhDcmkU1xtmi', 'Fabrice', 'Poupon', 'fabrice.poupon@free.fr', '0642536225', 'physician', 1, '2026-05-23 12:59:34', NULL);
 
 -- --------------------------------------------------------
 

+ 2 - 28
build-MAth-Cloud.sh

@@ -4,32 +4,6 @@
 curDir=`pwd`
 
 
-# Ask for the domain name to use
-
-echo -e "\033[92m*** Web site domain name ***\033[0m"
-currentDomain=`grep "hostname=='" ${curDir}/admin.ipsocloud.com/webapp_webpack/src/app.js |awk -F"'" '{ print $2 }' |sed 's/www.//'`
-echo "The current domain name is : ${currentDomain}"
-read -p "New domain name [${currentDomain}] : " domainName
-domainName=${domainName:-${currentDomain}}
-
-
-# Change the domain name if needed
-
-if [ ${domainName} != ${currentDomain} ];
-then
-  echo "The domain name will be set to : ${domainName}"
-  sed -i "s/$currentDomain/$domainName/g" ${curDir}/admin.ipsocloud.com/webapp_webpack/src/pages/customer.f7.html
-  for i in admin cro www;  
-  do
-    sed -i "s/$currentDomain/$domainName/g" ${curDir}/${i}.ipsocloud.com/webapp_webpack/src/app.js
-  done
-  for i in api cro www;  
-  do
-    sed -i "s/$currentDomain/$domainName/g" ${curDir}/debian/Math-Cloud-server/etc/apache2/sites-available/${i}.conf
-  done
-fi
-
-
 # Build MAth DLLs
 
 for i in math-imt math-plaque;
@@ -42,11 +16,11 @@ do
 done
 
 
-# Build ipsocloud web sites
+# Build web sites
 
 for i in admin cro www;
 do
-  echo -e "\033[92m*** Build ${i}.ipsocloud.com web site***\033[0m"
+  echo -e "\033[92m*** Build ${i} web site ***\033[0m"
   cd ${curDir}/${i}.ipsocloud.com/webapp_webpack/
   #npm install
   npm ci

+ 3 - 3
cro.ipsocloud.com/webapp_webpack/src/app.js

@@ -134,9 +134,9 @@ global.app = new Framework7({
   data: function () {
     let appLocation = location.protocol + '//' + location.hostname + ':' + location.port,
         apiLocation = location.protocol + '//' + location.hostname + ':' + 10302;
-    if(location.hostname=='cro.monrisquearteriel.com') {
-      appLocation = 'https://cro.monrisquearteriel.com';
-      apiLocation = 'https://api.monrisquearteriel.com';
+    if(location.hostname=='cro.ipsocloud.com') {
+      appLocation = 'https://cro.ipsocloud.com';
+      apiLocation = 'https://api.ipsocloud.com';
     }
     console.log('Using API server at: ' + apiLocation);
     console.log('Using Web server at: ' + appLocation);

Разница между файлами не показана из-за своего большого размера
+ 1 - 1
cro.ipsocloud.com/webapp_webpack/www/app.js


+ 1 - 1
debian/Math-Cloud-app/DEBIAN/control

@@ -1,4 +1,4 @@
-Package: MAth-Cloud-app
+Package: math-cloud-app
 Architecture: amd64
 Maintainer: Fabrice Poupon <fabrice.poupon@free.fr>
 Priority: optional

+ 23 - 1
debian/Math-Cloud-app/DEBIAN/postinst

@@ -1,8 +1,30 @@
 #!/bin/bash
 
+set -e
+
+
+# Recupere le nom de domaine utilise par le serveur
+
+[ -f /etc/ipsocloud/domain.conf ] && source /etc/ipsocloud/domain.conf
+
+[ -z "$DOMAIN" ] && DOMAIN="ipsocloud.com"
+
+echo "Configuration pour le domaine : $DOMAIN"
+
+
+# Configure le nom de domain du site
+
+if [ $DOMAIN != "ipsocloud.com" ];
+then
+  sed -i "s/ipsocloud.com/$DOMAIN/g" /var/www/cro/app.js
+  sed -i "s/ipsocloud.com/$DOMAIN/g" /var/www/www/app.js
+  sed -i "s/ipsocloud.com/$DOMAIN/g" /var/www/www/admin/app.js
+fi
+
+
 # Cree un lien symbolique vers le repertoire storage/ dans l'API
 
-ls -s /var/www/storage /var/www/api/storage
+ln -sf /var/www/storage /var/www/api/storage
 
 
 # Met les droits d'acces aux executables

+ 12 - 0
debian/Math-Cloud-app/DEBIAN/postrm

@@ -0,0 +1,12 @@
+#!bin/bash
+
+set -e
+
+case "$1" in
+  remove|purge)
+    rm -f /var/www/api/storage
+  ;;
+esac
+
+exit 0
+

+ 11 - 0
debian/Math-Cloud-server/DEBIAN/config

@@ -0,0 +1,11 @@
+#!/bin/sh
+
+set -e
+
+. /usr/share/debconf/confmodule
+
+db_input high monsite/domain || true
+db_go
+
+exit 0
+

+ 3 - 2
debian/Math-Cloud-server/DEBIAN/control

@@ -1,4 +1,4 @@
-Package: MAth-Cloud-server
+Package: math-cloud-server
 Architecture: amd64
 Maintainer: Fabrice Poupon <fabrice.poupon@free.fr>
 Priority: optional
@@ -6,4 +6,5 @@ Version: 3.0.0
 Description: Production server configuration for MAth-Cloud
 Depends: curl, dcmtk, libdcmtk-dev, ffmpeg, mariadb-server, php-gd, phpmyadmin, 
          qtbase5-dev, qtchooser, qt5-qmake, qtbase5-dev-tools, unzip, wget, zip,
-         libapache2-mod-php, certbot, python3-certbot-apache, fail2ban
+         libapache2-mod-php, certbot, python3-certbot-apache, fail2ban,
+         debconf (>= 1.5.0), apache2

+ 108 - 40
debian/Math-Cloud-server/DEBIAN/postinst

@@ -1,49 +1,113 @@
-#!/bin/bash
+#!/bin/sh
 
+set -e
 
-# Stoppe le serveur Apache2 s'il est demarre
+case "$1" in
+  configure)
+    # Recupere le nom de domaine
 
-if systemctl is-active --quiet apache2; 
-then
-  systemctl stop apache2
-fi
+    DOMAIN=""
+    if [ -e /usr/share/debconf/confmodule ];
+    then
+      . /usr/share/debconf/confmodule db_get monsite/domain
+      DOMAIN="$RET"
+    fi
 
+    [ -z "$DOMAIN" ] && DOMAIN="ipsocloud.com"
 
-# Creation et installation des certificats Let's Encrypt
+    if [ ! -d /etc/ipsocloud ] && mkdir -p /etc/ipsocloud
+    if [ -f /etc/ipsocloud/domain.conf ] && rm /etc/ipsocloud/domain.conf
 
-certbot certonly --standalone -d monrisquearteriel.com -d api.monrisquearteriel.com -d www.monrisquearteriel.com -d cro.monrisquearteriel.com 
-
-
-# Configuration Apache2
-
-a2enmod headers rewrite ssl proxy proxy_http
-a2ensite ipsocloud.conf
-
-
-# Configuration PHP
+    cat > /etc/ipsocloud/domain.conf <<EOF
+DOMAIN=$DOMAIN
+EOF
 
-for i in /etc/php/*/apache2/php.ini;
-do
-  if [ -f ${i} ];
-  then
-    ed -s ${i} <<EOF
+    echo "Configuration pour le domaine : $DOMAIN"
+
+
+    # Stoppe le serveur Apache2 s'il est demarre
+
+    echo "Stoppe le serveur Apache"
+    if systemctl is-active --quiet apache2; 
+    then
+      systemctl stop apache2
+    fi
+
+
+    # Change le nom de domaine dans le fichier de configuration Apache
+
+    echo "Change le domaine dans la configuration Apache"
+    [ $DOMAIN != "ipsocloud.com" ] && sed -i "s/ipsocloud.com/$DOMAIN/g" /etc/apache2/sites-available/ipsocloud.conf
+
+
+    # Creation et installation des certificats Let's Encrypt
+
+    if [ ! -f "/etc/letsencrypt/live/$DOMAIN/fullchain.pem" ];
+    then
+      echo "Creation des certificats pour $DOMAIN, api.$DOMAIN, www.$DOMAIN et cro.$DOMAIN"
+      certbot certonly --non-interactive --agree-tos --email "pjtw@iimt.fr" --standalone -d "$DOMAIN" -d "api.$DOMAIN" -d "www.$DOMAIN" -d "cro.$DOMAIN"
+    else
+      echo "Les certificats pour $DOMAIN existent deja"
+    fi
+
+
+    # Configuration Apache2
+
+    echo "Ajoute les modules Apache"
+    if ! a2query -m headers >/dev/null 2>&1;
+    then
+      a2enmod headers
+    fi
+    if ! a2query -m rewrite >/dev/null 2>&1;
+    then
+      a2enmod rewrite
+    fi
+    if ! a2query -m ssl >/dev/null 2>&1;
+    then
+      a2enmod ssl
+    fi
+    if ! a2query -m proxy >/dev/null 2>&1;
+    then
+      a2enmod proxy
+    fi
+    if ! a2query -m proxy_http >/dev/null 2>&1;
+    then
+      a2enmod proxy_http
+    fi
+    echo "Active le site web"
+    if ! a2query -s ipsocloud >/dev/null 2>&1;
+    then
+      a2ensite ipsocloud.conf
+    fi
+
+
+    # Configuration PHP
+
+    echo "Configure PHP"
+    for i in /etc/php/*/apache2/php.ini;
+    do
+      if [ -f ${i} ];
+      then
+        ed -s ${i} <<EOF
 /upload_max_filesize
 s/2M/30M
 .
 w
 EOF
-  fi
-done
+      fi
+    done
 
 
-# Redemarrage du serveur Apache2
+    # Redemarrage du serveur Apache2
 
-systemctl restart apache2
+    echo "Redemarre le serveur Apache"
+    systemctl restart apache2
 
 
-# Configuration de la base de donnees
+    # Configuration de la base de donnees
 
-mysql -u root <<EOF
+    echo "Configure la base de donnees"
+    mysql -u root <<EOF
 CREATE USER IF NOT EXISTS 'newuser'@'localhost';
 SET PASSWORD FOR 'newuser'@'localhost' = PASSWORD( 'password' );
 GRANT ALL PRIVILEGES ON *.* TO 'newuser'@'localhost';
@@ -52,26 +116,30 @@ exit
 EOF
 
 
-# Ajoute les tables de Math-Cloud
+    # Ajoute les tables de Math-Cloud
 
-if [ -f /tmp/iimt_mathcloud.sql ] && 
-   [ -f /tmp/iimt_mathcloud_audit.sql ] &&
-   [ -f /tmp/iimt_mathcloud_shadow.sql ];
-then
-  mysql -u root <<EOF
+    echo "Ajoute les tables de MAthCloud"
+    if [ -f /tmp/iimt_mathcloud.sql ] && 
+       [ -f /tmp/iimt_mathcloud_audit.sql ] &&
+       [ -f /tmp/iimt_mathcloud_shadow.sql ];
+    then
+      mysql -u root <<EOF
 SOURCE /tmp/iimt_mathcloud.sql
 SOURCE /tmp/iimt_mathcloud_audit.sql
 SOURCE /tmp/iimt_mathcloud_shadow.sql
 exit
 EOF
-fi
+    fi
 
 
-# Mettre les droits d'acces au repertoire storage/
+    # Mettre les droits d'acces au repertoire storage/
 
-chmod 777 /var/www/storage/
-chmod 777 /var/www/storage/media/
-chmod 777 /var/www/storage/report/
-chown www-data:www-data /var/www/storage/tmp/
+    chown -R www-data:www-data /var/www/storage/
+    chmod 777 /var/www/storage/
+    chmod 777 /var/www/storage/media/
+    chmod 777 /var/www/storage/report/
+  ;;
+esac
 
+exit 0
 

+ 20 - 0
debian/Math-Cloud-server/DEBIAN/postrm

@@ -0,0 +1,20 @@
+#!bin/sh
+
+set -e
+
+case "$1" in
+  remove)
+    if [ -d /etc/ipsocloud ] && rm -rf /etc/ipsocloud/
+  ;;
+  purge)
+    if [ -d /etc/ipsocloud ] && rm -rf /etc/ipsocloud/
+    if [ -e /usr/share/debconf/confmodule ];
+    then
+      . /usr/share/debconf/confmodule db_purge
+    fi
+  ;;
+esac
+
+
+exit 0
+

+ 6 - 0
debian/Math-Cloud-server/DEBIAN/templates

@@ -0,0 +1,6 @@
+Template: monsite/domain
+Type: string
+Default: ipsocloud.com
+Description: Domain name for the web site
+ Enter the domain name [ipsocloud.com] :
+

+ 16 - 16
debian/Math-Cloud-server/etc/apache2/sites-available/ipsocloud.conf

@@ -1,7 +1,7 @@
 # Redirige HTTP vers HTTPS (port 80)
 <VirtualHost *:80>
-	ServerName monrisquearteriel.com
-	ServerAlias www.monrisquearteriel.com api.monrisquearteriel.com cro.monrisquearteriel.com
+	ServerName ipsocloud.com
+	ServerAlias www.ipsocloud.com api.ipsocloud.com cro.ipsocloud.com
 
 	RewriteEngine On
 	RewriteRule ^(.*) https://%{HTTP_HOST}$1 [R=301,L]
@@ -9,25 +9,25 @@
 
 # Redirige le domaine.com vers www.domaine.com
 <VirtualHost _default_:443>
-	ServerName monrisquearteriel.com
+	ServerName ipsocloud.com
 
 	# Active SSL
 	SSLEngine on
-	SSLCertificateFile      /etc/letsencrypt/live/monrisquearteriel.com/fullchain.pem
-	SSLCertificateKeyFile   /etc/letsencrypt/live/monrisquearteriel.com/privkey.pem
+	SSLCertificateFile      /etc/letsencrypt/live/ipsocloud.com/fullchain.pem
+	SSLCertificateKeyFile   /etc/letsencrypt/live/ipsocloud.com/privkey.pem
 
-	Redirect permanent / https://www.monrisquearteriel.com/
+	Redirect permanent / https://www.ipsocloud.com/
 </VirtualHost>
 
 # Site principal
 <VirtualHost _default_:443>
 	ServerAdmin webmaster@localhost
-	ServerName www.monrisquearteriel.com
+	ServerName www.ipsocloud.com
 
 	# Active SSL
 	SSLEngine on
-	SSLCertificateFile      /etc/letsencrypt/live/monrisquearteriel.com/fullchain.pem
-	SSLCertificateKeyFile   /etc/letsencrypt/live/monrisquearteriel.com/privkey.pem
+	SSLCertificateFile      /etc/letsencrypt/live/ipsocloud.com/fullchain.pem
+	SSLCertificateKeyFile   /etc/letsencrypt/live/ipsocloud.com/privkey.pem
 
 	# Paramètres de sécurité supplémentaires
 	SSLProtocol all -SSLv3 -TLSv1 -TLSv1.1
@@ -64,12 +64,12 @@
 # API avec CORS controle
 <VirtualHost _default_:443>
 	ServerAdmin webmaster@localhost
-	ServerName api.monrisquearteriel.com
+	ServerName api.ipsocloud.com
 
 	# Active SSL
 	SSLEngine on
-	SSLCertificateFile      /etc/letsencrypt/live/monrisquearteriel.com/fullchain.pem
-	SSLCertificateKeyFile   /etc/letsencrypt/live/monrisquearteriel.com/privkey.pem
+	SSLCertificateFile      /etc/letsencrypt/live/ipsocloud.com/fullchain.pem
+	SSLCertificateKeyFile   /etc/letsencrypt/live/ipsocloud.com/privkey.pem
 
 	# Paramètres de sécurité supplémentaires
 	SSLProtocol all -SSLv3 -TLSv1 -TLSv1.1
@@ -99,7 +99,7 @@
 	Header always set X-Content-Type-Options "nosniff"
 
 	# CORS autorisé uniquement pour www
-	#Header set Access-Control-Allow-Origin "https://www.monrisquearteriel.com"
+	#Header set Access-Control-Allow-Origin "https://www.ipsocloud.com"
 	#Header set Access-Control-Allow-Methods "GET, POST, PUT, DELETE, OPTIONS"
 	#Header set Access-Control-Allow-Headers "Content-Type, Authorization"
 	#Header set Access-Control-Allow-Credentials "true"
@@ -115,12 +115,12 @@
 # Site cro
 <VirtualHost _default_:443>
 	ServerAdmin webmaster@localhost
-	ServerName cro.monrisquearteriel.com
+	ServerName cro.ipsocloud.com
 
 	# Active SSL
 	SSLEngine on
-	SSLCertificateFile      /etc/letsencrypt/live/monrisquearteriel.com/fullchain.pem
-	SSLCertificateKeyFile   /etc/letsencrypt/live/monrisquearteriel.com/privkey.pem
+	SSLCertificateFile      /etc/letsencrypt/live/ipsocloud.com/fullchain.pem
+	SSLCertificateKeyFile   /etc/letsencrypt/live/ipsocloud.com/privkey.pem
 
 	# Paramètres de sécurité supplémentaires
 	SSLProtocol all -SSLv3 -TLSv1 -TLSv1.1

+ 4 - 7
debian/Math-Cloud-server/tmp/iimt_mathcloud.sql

@@ -401,11 +401,8 @@ CREATE TABLE `credit` (
 
 INSERT INTO `credit` (`ID`, `ID_user`, `stamp`, `count`) VALUES
 (1, 1, '2026-05-23 12:52:23', 0),
-(2, 1, '2026-05-23 12:52:24', 0),
-(3, 1, '2026-05-23 12:52:25', 0),
-(4, 1, '2026-05-23 12:52:26', 0),
-(5, 3, '2026-05-23 12:55:40', 0),
-(6, 4, '2026-05-23 13:00:57', 10);
+(2, 2, '2026-05-23 12:52:24', 0),
+(3, 3, '2026-05-23 12:52:25', 10);
 
 -- --------------------------------------------------------
 
@@ -681,8 +678,8 @@ CREATE TABLE `user` (
 
 INSERT INTO `user` (`ID`, `activation_token`, `activation_expire`, `activation`, `password`, `firstname`, `lastname`, `email`, `phone`, `type`, `active`, `stamp`, `fk_center`) VALUES
 (1, '6b3028c1-b833-4d77-8da9-6c753b0dd2d9', '2021-03-29 21:04:31', '2021-03-28 21:13:20', '$2y$10$67vFcsoDbokqHrkdVwRrkeAZb.cTy3sbD3lmxxA1fEay2WgjvS0jq', 'Pierre-Jean', 'Touboul', 'pjtw2@free.fr', '+33687847849', 'cro', 1, '2021-03-28 21:04:31', 0),
-(2, '0477c1a6-4b8b-41c0-b1ec-5239034bb76a', '2022-06-12 09:52:58', '2022-06-11 09:53:41', '$2y$10$/Va8yuPfiTrOBHcHf3ziGO5shnxhhgBlhaIhKh59Lsl4Y2xvAi26a', 'Pierre-Jean', 'Touboul', 'pjtw@iimt.fr', '0687847849', 'imt-master', 1, '2022-06-11 09:52:58', NULL),
-(4, 'e109e310-00e3-4df5-a631-d20f67d0d131', '2026-05-24 12:59:34', '2026-05-23 13:01:31', '$2y$10$In9seyXQKi44h7Zjb4GxZ.RWR0.yJJNEY6f893TBylhDcmkU1xtmi', 'Fabrice', 'Poupon', 'fabrice.poupon@free.fr', '0642536225', 'physician', 1, '2026-05-23 12:59:34', NULL);
+(2, '0477c1a6-4b8b-41c0-b1ec-5239034bb76a', '2022-06-12 09:52:58', '2022-06-11 09:53:41', '$2y$10$/Va8yuPfiTrOBHcHf3ziGO5shnxhhgBlhaIhKh59Lsl4Y2xvAi26a', 'Fabrice', 'Poupon', 'fabrice.poupon@free.fr', '0687847849', 'imt-master', 1, '2022-06-11 09:52:58', NULL),
+(3, 'e109e310-00e3-4df5-a631-d20f67d0d131', '2026-05-24 12:59:34', '2026-05-23 13:01:31', '$2y$10$In9seyXQKi44h7Zjb4GxZ.RWR0.yJJNEY6f893TBylhDcmkU1xtmi', 'Fabrice', 'Poupon', 'fabrice.poupon@free.fr', '0642536225', 'physician', 1, '2026-05-23 12:59:34', NULL);
 
 -- --------------------------------------------------------
 

+ 3 - 3
debian/buildDeb.sh

@@ -6,9 +6,9 @@ echo -e "\033[92m*** Build debian packages ***\033[0m"
 
 # Prepare le paquet devel
 
-cp -f ../api.ipsocloud.com/sql/iimt_mathcloud.sql Math-Cloud-devel/tmp/
-cp -f ../api.ipsocloud.com/sql/iimt_mathcloud_audit.sql Math-Cloud-devel/tmp/
-cp -f ../api.ipsocloud.com/sql/iimt_mathcloud_shadow.sql Math-Cloud-devel/tmp/
+#cp -f ../api.ipsocloud.com/sql/iimt_mathcloud.sql Math-Cloud-devel/tmp/
+#cp -f ../api.ipsocloud.com/sql/iimt_mathcloud_audit.sql Math-Cloud-devel/tmp/
+#cp -f ../api.ipsocloud.com/sql/iimt_mathcloud_shadow.sql Math-Cloud-devel/tmp/
 
 
 # Prepare le paquet server

BIN
www.ipsocloud.com/documents/livrables/Procedure installation Serveur VPS OVH.docx


+ 3 - 3
www.ipsocloud.com/webapp_webpack/src/app.js

@@ -341,9 +341,9 @@ global.app = new Framework7({
   data: function () {
     let appLocation = location.protocol + '//' + location.hostname + ':' + location.port;
     let apiLocation = location.protocol + '//' + location.hostname + ':' + 10302;
-    if(location.hostname=='www.monrisquearteriel.com') {
-      appLocation = 'https://www.monrisquearteriel.com';
-      apiLocation = 'https://api.monrisquearteriel.com';
+    if(location.hostname=='www.ipsocloud.com') {
+      appLocation = 'https://www.ipsocloud.com';
+      apiLocation = 'https://api.ipsocloud.com';
     }
     console.log('Using API server at: ' + apiLocation);
     console.log('Using Web server at: ' + appLocation);

Некоторые файлы не были показаны из-за большого количества измененных файлов