zioinfo-mail/zioinfo/user/UserEditForm.jsp
DESKTOP-TKLFCPR\ython e228faabf5 feat(itsm): G-1~G-12 확장 기능 + 하네스/봇/설치스크립트 구현
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>
2026-05-29 18:18:52 +09:00

281 lines
10 KiB
Plaintext

<%@ page language="java" pageEncoding="EUC-KR"%>
<%@ include file="/jsp/include/commonVariable.jspf"%>
<%
// 검색조건과, 페이징에 관련된 파라미터만 연결한다.
String paramString = new StringBuffer()
.append("searchKeyword=").append(parameterMap.getValue("searchKeyword"))
.append("&searchColumn=").append(parameterMap.getValue("searchColumn"))
.append("&pageNo=").append(parameterMap.getValue("pageNo", "1"))
.append("&pageSize=").append(parameterMap.getValue("pageSIze", "10"))
.toString();
%>
<bean:define id="userInfo" name="userBean" property="user"></bean:define>
<html:html locale="true">
<head>
<html:base />
<title>회원가입</title>
<%@ include file="/jsp/include/header.jspf" %>
<%@ include file="/jsp/include/css.jspf"%>
<%@ include file="/jsp/include/javascript.jspf"%>
<script language="JavaScript" src="<%=contextPath%>/js/matiComm.js"></script>
<script type="text/javascript">
function init() {
setFocusAndBlurAction(document.writeForm); <%//onFocus시 스타일이벤트를 지정합니다.%>
//셀렉트 박스의 초기값 설정
setSelect($('month'), "${userBean.user.month}");
setSelect($('day'), "${userBean.user.day}");
setSelect($('birthPlusMinus'), "${userBean.user.birthPlusMinus}");
setSelect($('userJob'), "${userBean.user.userJob}");
document.writeForm.password2.focus();
}
function findPostNumber() { //v2.0
window.open('findPostNumber.do', '', 'scrollbars=yes,status=no,width=327,height=300,top=200,left=350');
}
// [완료] 버튼 클릭시
function clickWrite()
{
var form = document.writeForm;
var checker = new FormChecker(form);
checker.checkRequired('password', '<bean:message key="msg.user.checkPassword"/>', true);
var oldPass = '<bean:write name="userInfo" property="password" />';
var newPass = form.chkPassword.value;
if (oldPass != newPass) {
alert('<bean:message key="msg.user.equalPassword"/>');
return false;
}
checker.checkRequired('year', '<bean:message key="msg.user.checkBirth"/>', true);
checker.checkEmail('email', '<bean:message key="msg.user.checkEmail"/>', true);
checker.checkRequired('address1', '<bean:message key="msg.user.checkAddress"/>', true);
checker.checkRequired('handPhone', '<bean:message key="msg.user.checkHandPhone"/>', true);
// 생년월일 조합
form.birth.value = form.year.value + form.month.value + form.day.value;
form.zipCode.value = form.zipcode1.value + form.zipcode2.value;
if (checker.validate()) {
form.action = "<%=contextPath %>/user/editUser.do";
form.submit();
}
}
</script>
</head>
<form method="post" name="popForm">
<input type="hidden" name="memberID">
</form>
<body onload="init()">
<div class="container">
<div style="background-color: transparent; text-align: right">
회원관리 &gt; <strong>회원정보 수정</strong>
</div>
<!-- <h2>통계표 신규등록</h2> -->
<span>* 표시는 필수 입력사항입니다 </span>
<div class="tableZone">
<%
//테이블영역
%>
<form name="writeForm" action="newUser.do" method="post">
<input type="hidden" name="idPermit">
<input type="hidden" name="birth">
<input type="hidden" name="zipCode">
<input type="hidden" name="grade" value="0">
<input type="hidden" name="memberID" value="${userBean.user.memberID}">
<input type="hidden" name="oldPass" value="${userBean.user.password}">
<table class="view" cellspacing="0" cellpadding="0">
<colgroup>
<col width="110" align="right"></col>
<col width="200" align="left"></col>
<col width="100" align="left"></col>
<col align="left"></col>
</colgroup>
<tbody>
<tr>
<th id="strong"> 이 름</th>
<td id="lastColumn">${userBean.user.memberName}</td>
<td id="lastColumn" colspan="2">&nbsp;</td>
</tr>
<tr>
<th id="strong"> 아이디</th>
<td id="lastColumn">${userBean.user.memberID}</td>
<td id="lastColumn" colspan="2"></td>
</tr>
<tr>
<th id="strong">* 이전 비밀번호</th>
<td id="lastColumn"><input name="chkPassword" type="password" size="20"></td>
<td id="lastColumn" colspan="2">기존의 비밀번호를 입력하세요.</td>
</tr>
<tr>
<th id="strong">* 새 비밀번호</th>
<td id="lastColumn"><input name="password" type="password"></td>
<td id="lastColumn" colspan="2">새로운 비밀번호를 입력하세요.</td>
</tr>
<tr>
<th id="strong">* 생년월일</th>
<td id="lastColumn">
<input name="year" type="text" style="width:35px" value="${userBean.user.year}">년&nbsp;
<select name="month" style="width:40px">
<option value="01" selected>01</option>
<option value="02" selected>02</option>
<option value="03" selected>03</option>
<option value="04" selected>04</option>
<option value="05" selected>05</option>
<option value="06" selected>06</option>
<option value="07" selected>07</option>
<option value="08" selected>08</option>
<option value="09" selected>09</option>
<option value="10" selected>10</option>
<option value="11" selected>11</option>
<option value="12" selected>12</option>
</select>월 &nbsp;
<select name="day" style="width:40px">
<option value="01" selected>01</option>
<option value="02" selected>02</option>
<option value="03" selected>03</option>
<option value="04" selected>04</option>
<option value="05" selected>05</option>
<option value="06" selected>06</option>
<option value="07" selected>07</option>
<option value="08" selected>08</option>
<option value="09" selected>09</option>
<option value="10" selected>10</option>
<option value="11" selected>11</option>
<option value="12" selected>12</option>
<option value="13" selected>13</option>
<option value="14" selected>14</option>
<option value="15" selected>15</option>
<option value="16" selected>16</option>
<option value="17" selected>17</option>
<option value="18" selected>18</option>
<option value="19" selected>19</option>
<option value="20" selected>20</option>
<option value="21" selected>21</option>
<option value="22" selected>22</option>
<option value="23" selected>23</option>
<option value="24" selected>24</option>
<option value="25" selected>25</option>
<option value="26" selected>26</option>
<option value="27" selected>27</option>
<option value="28" selected>28</option>
<option value="29" selected>29</option>
<option value="30" selected>30</option>
<option value="31" selected>31</option>
</select>일 &nbsp;
</td>
<td id="lastColumn" colspan="2">
<select name="birthPlusMinus" style="width:40px">
<option value="+">양</option>
<option value="-">음</option>
</select>
</td>
</tr>
<tr>
<th id="strong">* 이메일</th>
<td id="lastColumn"><input name="email" type="text" value="${userBean.user.email}"></td>
<td id="lastColumn" colspan="2">&nbsp;</td>
</tr>
<tr>
<th id="strong">* 우편번호</th>
<td id="lastColumn">
<input name="zipcode1" type="text" style="width:30px" value="${userBean.user.zipcode1}" readonly> -
<input name="zipcode2" type="text" style="width:30px" value="${userBean.user.zipcode2}" readonly>&nbsp;
<button class="normal" style="width:90px"
onmouseover="toggleButtonClassName(this);"
onmouseout="toggleButtonClassName(this);"
onclick="findPostNumber();">우편번호찾기
</button>
</td>
<td id="lastColumn" colspan="2">
</td>
</tr>
<tr>
<th id="strong">* 주 소</th>
<td id="lastColumn"><input name="address1" type="text" value="${userBean.user.address1}" readonly></td>
<td id="lastColumn" colspan="2"><input name="address2" type="text" value="${userBean.user.address2}"></td>
</tr>
<tr>
<th>전화번호</th>
<td id="lastColumn"><input name="phone" type="text" value="${userBean.user.phone}"></td>
<td id="lastColumn" colspan="2">&nbsp;</td>
</tr>
<tr>
<th id="strong">* 휴대폰번호</th>
<td id="lastColumn"><input name="handPhone" type="text" value="${userBean.user.handPhone}"></td>
<td id="lastColumn" colspan="2">&nbsp;</td>
</tr>
<tr>
<th>직장명</th>
<td id="lastColumn"><input name="companyName" type="text" value="${userBean.user.companyName}"></td>
<td id="lastColumn" colspan="2">&nbsp;</td>
</tr>
<tr>
<th>직업선택</th>
<td id="lastColumn">
<select name="userJob">
<option value="">:: 선택 ::</option>
<option value="회사원" selected>회사원</option>
<option value="대학(원)생">대학(원)생</option>
<option value="공무원">공무원</option>
<option value="자영업/프리랜서">자영업/프리랜서</option>
<option value="주부">주부</option>
<option value="교직자">교직자</option>
<option value="의료인">의료인</option>
<option value="법조인">법조인</option>
<option value="종교인">종교인</option>
<option value="광고업">광고업</option>
<option value="언론인">언론인</option>
<option value="예술인">예술인</option>
<option value="농림/축산/수산업">농림/축산/수산업</option>
<option value="정보통신">정보통신</option>
<option value="군인">군인</option>
<option value="초중고등학생">초중고등학생</option>
<option value="무직">무직</option>
<option value="기타">기타</option>
</select>
</td>
<td id="lastColumn" colspan="2">&nbsp;</td>
</tr>
</tbody>
</table>
</form>
</div>
<div class="buttonZone"><%//버튼영역 %>
<button class="normal"
onmouseover="toggleButtonClassName(this);"
onmouseout="toggleButtonClassName(this);"
onclick="history.go(-1);">
이전
</button>
<span id="blankspace"></span><%//버튼 사이에 공백을 줍니다. %>
<button class="normal"
onmouseover="toggleButtonClassName(this);"
onmouseout="toggleButtonClassName(this);"
onclick="$('writeForm').reset();">
초기화
</button>
<button class="normal"
onmouseover="toggleButtonClassName(this);"
onmouseout="toggleButtonClassName(this);"
onclick="clickWrite();">
완료
</button>
</div>
</div>
</body>
</html:html>