G-1: 메신저 Webhook Relay + _send_to_room 실제 httpx 호출 구현 G-2: POST /api/tasks/bulk SR 대량작업 엔드포인트 (최대 100건) G-3: 라이선스 만료 알림 스케줄러 (매일 09:00 KST) G-4: 체험판 upgrade_banner 필드 + license.py 배너 로직 G-5: core/auto_rca.py + incidents/problem auto-rca 엔드포인트 G-6: core/deploy_impact.py + vibe impact-analysis 엔드포인트 G-7: core/ticket_classifier.py + SR 생성 시 AI 분류 + ai-suggestion API G-8: VulnPatchRecord 모델 + vuln_scan 패치추적 4개 엔드포인트 G-9: core/jira_sync.py + gateway Jira/Confluence 연동 엔드포인트 G-10: core/push_notify.py + routers/push.py + PushSubscription 모델 G-11: approvals 다중승인 (위임/서명/기한초과/마감연장) G-12: alembic.ini + migrations/ + cicd/migrate_to_postgres.sh 하네스: guardia-orchestrator 확장기능 Phase 반영 봇명령어: /sr /status /license /bulk 슬래시 명령어 추가 설치스크립트: setup/ (Ubuntu, CentOS, RHEL, Windows) --test 옵션 포함 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
117 lines
4.0 KiB
JavaScript
117 lines
4.0 KiB
JavaScript
window.defaultStatus="hq.navy.mil";
|
|
|
|
function go_menu(menuCode) {
|
|
parent.menu.location.replace("menu.do?selectMenuCode="+menuCode);
|
|
}
|
|
|
|
function MM_swapImgRestore() { //v3.0
|
|
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
|
|
}
|
|
|
|
function MM_preloadImages() { //v3.0
|
|
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
|
|
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
|
|
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
|
|
}
|
|
|
|
function MM_findObj(n, d) { //v4.0
|
|
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
|
|
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
|
|
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
|
|
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
|
|
if(!x && document.getElementById) x=document.getElementById(n); return x;
|
|
}
|
|
|
|
function MM_swapImage() { //v3.0
|
|
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
|
|
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
|
|
}
|
|
|
|
function MM_reloadPage(init) { //reloads the window if Nav4 resized
|
|
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
|
|
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
|
|
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
|
|
}
|
|
|
|
MM_reloadPage(true);
|
|
|
|
function MM_showHideLayers() { //v3.0
|
|
var i,p,v,obj,args=MM_showHideLayers.arguments;
|
|
for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
|
|
if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
|
|
obj.visibility=v; }
|
|
}
|
|
|
|
function findObj(n, d) {
|
|
var p,i,x;
|
|
if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
|
|
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);
|
|
}
|
|
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
|
|
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=findObj(n,d.layers[i].document); return x;
|
|
}
|
|
|
|
function showMenu() {
|
|
var i,p,v,obj,args=showMenu.arguments;
|
|
for (i=0; i<(args.length-2); i+=3){
|
|
if ((obj=findObj(args[i]))!=null) {
|
|
v=args[i+2];
|
|
if (obj.style) {
|
|
obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v;
|
|
}
|
|
obj.visibility=v;
|
|
}
|
|
}
|
|
}
|
|
|
|
function show(menuStr) {
|
|
for (i = 0; i < document.all.tags("div").length; i++){
|
|
obj = document.all.tags("div")[i];
|
|
if(obj.id == menuStr){
|
|
document.getElementById(obj.id).style.visibility = "visible";
|
|
}else{
|
|
document.getElementById(obj.id).style.visibility = "hidden";
|
|
}
|
|
}
|
|
}
|
|
|
|
function preloadImages() { //v3.0
|
|
var d=document; if(d.images){ if(!d.p) d.p=new Array();
|
|
var i,j=d.p.length,a=preloadImages.arguments; for(i=0; i<a.length; i++)
|
|
if (a[i].indexOf("#")!=0){ d.p[j]=new Image; d.p[j++].src=a[i];}}
|
|
}
|
|
|
|
function swapImgRestore() { //v3.0
|
|
var i,x,a=document.sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
|
|
}
|
|
|
|
function swapImage() {
|
|
var i,j=0,x,a=swapImage.arguments; document.sr=new Array; for(i=0;i<(a.length-2);i+=3)
|
|
if ((x=findObj(a[i]))!=null){document.sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
|
|
}
|
|
|
|
|
|
|
|
function keypressed(){
|
|
if( (event.ctrlKey == true && (event.keyCode == 78 || event.keyCode == 82)) ||
|
|
(event.keyCode >= 112 && event.keyCode <= 123) ) {
|
|
event.keyCode = 0;
|
|
event.cancelBubble = true;
|
|
event.returnValue = false;
|
|
}
|
|
}
|
|
document.onkeydown=keypressed ;
|
|
|
|
function window_center(url, name, width, height) {
|
|
var str = "height=" + height + ",innerHeight=" + height + ", scrollbars=no, ";
|
|
str += ",width=" + width + ",innerWidth=" + width;
|
|
if (window.screen) {
|
|
var ah = screen.availHeight - 30;
|
|
var aw = screen.availWidth - 10;
|
|
var xc = (aw - width) / 2;
|
|
var yc = (ah - height) / 2;
|
|
str += ",left=" + xc + ",screenX=" + xc;
|
|
str += ",top=" + yc + ",screenY=" + yc;
|
|
}
|
|
return window.open(url, name, str);
|
|
} |