From 9959c36717253ee44845b589e44585204788d1fe Mon Sep 17 00:00:00 2001 From: Arnaud Fornerot Date: Mon, 6 Dec 2021 15:39:12 +0100 Subject: [PATCH] conf proxy wss --- src/ninegitea-1.0/templates/Scrum/view.html.twig | 16 +++++++++++++--- tmpl/ninegitea-apache.conf | 6 +++--- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/src/ninegitea-1.0/templates/Scrum/view.html.twig b/src/ninegitea-1.0/templates/Scrum/view.html.twig index 0cf2ab5..45b23d8 100644 --- a/src/ninegitea-1.0/templates/Scrum/view.html.twig +++ b/src/ninegitea-1.0/templates/Scrum/view.html.twig @@ -39,8 +39,8 @@
@@ -79,7 +79,7 @@ handle: ".fa-arrows-alt", connectWith: ".scrumcolumn", cursor: "move", - stop: function( event, ui ) { + update: function( event, ui ) { id=$(ui.item).data("issue"); oldlabel=$(ui.item).data("label"); oldmilestone=$(ui.item).data("milestone"); @@ -107,6 +107,16 @@ } }); } + + lstordered=""; + $(".scrumcolumn div" ).each(function( index ) { + if($(this).data("id")) { + if(index==0) lstordered=$(this).data("id"); + else lstordered=lstordered+","+$(this).data("id"); + } + + }); + console.log(lstordered); } }); }); diff --git a/tmpl/ninegitea-apache.conf b/tmpl/ninegitea-apache.conf index a5de5b7..0f1cb2b 100644 --- a/tmpl/ninegitea-apache.conf +++ b/tmpl/ninegitea-apache.conf @@ -10,11 +10,11 @@ Alias /ninegitea /var/www/html/ninegitea/public # Pour activer un serveur websocket sur l'application # Attention choisir un port libre dans -# 5546 = ninegitea +# 5546 = nineskeletor # 5556 = ninegate # 5566 = nineboard # 5576 = nineschool # 5586 = ninesurvey # 5588 = ninegitea -ProxyPass "/wssninegitea" "ws://%%adresse_ip_eth0:5588" retry=0 keepalive=On -ProxyPassReverse "/wssninegitea" "ws://%%adresse_ip_eth0:5588" retry=0 \ No newline at end of file +ProxyPass "/wssninegitea" "ws://0.0.0.0:5588" retry=0 keepalive=On +ProxyPassReverse "/wssninegitea" "ws://0.0.0.0:5588" retry=0 \ No newline at end of file