conf proxy wss

This commit is contained in:
Arnaud Fornerot 2021-12-06 15:39:12 +01:00
parent 4894a1ae99
commit 9959c36717
2 changed files with 16 additions and 6 deletions

View File

@ -39,8 +39,8 @@
<div data-id="{{ issue.id }}" data-issue="{{ issue.id }}" data-label="{{ issue.scrumcolumn.giteaid }}" data-milestone="{{issue.giteamilestone}}" class="card mb-1 issue issue-{{issue.id}}"> <div data-id="{{ issue.id }}" data-issue="{{ issue.id }}" data-label="{{ issue.scrumcolumn.giteaid }}" data-milestone="{{issue.giteamilestone}}" class="card mb-1 issue issue-{{issue.id}}">
<div class="card-footer p-1" style="line-height:10px; border-top:none;"> <div class="card-footer p-1" style="line-height:10px; border-top:none;">
<div class="d-inline-block"><i class="fas fa-arrows-alt" style="cursor:move"></i></div> <div class="float-left btn btn-link p-0 m-0 fas fa-arrows-alt" style="cursor:move"></div>
<button type="button" data-id="{{ issue.id }}" class="modcolumn btn float-right fa fa-file p-0 m-0"></button> <a target="_blank" class="modcolumn btn btn-link float-right fa fa-file p-0 m-0" href="{{issue.giteajson.html_url}}"></a>
</div> </div>
<div class="card-body p-1" style="line-height:10px;"> <div class="card-body p-1" style="line-height:10px;">
@ -79,7 +79,7 @@
handle: ".fa-arrows-alt", handle: ".fa-arrows-alt",
connectWith: ".scrumcolumn", connectWith: ".scrumcolumn",
cursor: "move", cursor: "move",
stop: function( event, ui ) { update: function( event, ui ) {
id=$(ui.item).data("issue"); id=$(ui.item).data("issue");
oldlabel=$(ui.item).data("label"); oldlabel=$(ui.item).data("label");
oldmilestone=$(ui.item).data("milestone"); 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);
} }
}); });
}); });

View File

@ -10,11 +10,11 @@ Alias /ninegitea /var/www/html/ninegitea/public
# Pour activer un serveur websocket sur l'application # Pour activer un serveur websocket sur l'application
# Attention choisir un port libre dans # Attention choisir un port libre dans
# 5546 = ninegitea # 5546 = nineskeletor
# 5556 = ninegate # 5556 = ninegate
# 5566 = nineboard # 5566 = nineboard
# 5576 = nineschool # 5576 = nineschool
# 5586 = ninesurvey # 5586 = ninesurvey
# 5588 = ninegitea # 5588 = ninegitea
ProxyPass "/wssninegitea" "ws://%%adresse_ip_eth0:5588" retry=0 keepalive=On ProxyPass "/wssninegitea" "ws://0.0.0.0:5588" retry=0 keepalive=On
ProxyPassReverse "/wssninegitea" "ws://%%adresse_ip_eth0:5588" retry=0 ProxyPassReverse "/wssninegitea" "ws://0.0.0.0:5588" retry=0