diff --git a/CHANGELOG.md b/CHANGELOG.md
index ed95b7b..c7ec344 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,9 @@
+# 웹 2026-11-24.1 · 2026년 11월 24일
+
+- 웹 로그아웃 버튼을 화면 맨 아래에서 위쪽 메뉴로 옮기고 내 정보 창에도 넣었습니다.
+- 업데이트 안내 검사가 현재 웹 버전을 소스에서 읽도록 고쳤습니다.
+- 앱 APK와 서버 코드 및 회원 자료는 변경하지 않았습니다.
+
# 배포 절차 보완 · 2026년 11월 21일
- 실제 APK의 서명과 권한 및 공개 구성요소와 배포 정보 일치를 검사하는 도구를 추가했습니다.
diff --git a/docs/사용설명서.md b/docs/사용설명서.md
index 92108ce..4c8db19 100644
--- a/docs/사용설명서.md
+++ b/docs/사용설명서.md
@@ -121,6 +121,8 @@
[웹 캘린더](https://duty.itosm.co.kr/calendar/)에서 가입하고 앱의 웹 연동에 같은 회원으로 로그인합니다. 처음 연결할 때 기기와 서버에 각각 자료가 있으면 내용을 확인하고 사용할 쪽을 선택합니다. 충돌이 나면 다른 기기의 내용을 조용히 덮어쓰지 않고 선택을 요청합니다.
+웹에서 로그아웃하려면 로그인한 화면 위쪽의 **로그아웃**을 누르거나 **내 정보** 창의 **로그아웃**을 누릅니다. 아직 서버로 보내지 못한 변경이 있으면 로그아웃을 멈추고 동기화를 먼저 요청합니다. 로그아웃은 그 브라우저의 로그인만 해제합니다. 앱의 웹 연동과 서버에 저장한 일정은 그대로입니다.
+
함께 보는 근무표에는 이름과 색상 및 그 사람의 반복 근무를 최대 20명까지 직접 등록합니다. 이름을 적는 것만으로 실제 회원의 비공개 자료를 가져오지는 않습니다.
홈페이지에서 소속 회사를 만들거나 초대코드로 가입합니다. 한 회원은 한 소속에 속합니다. 소속에는 각 회원 본인의 반복 근무표만 공유합니다. 개인 기념일과 일정 및 메모는 공개하지 않습니다. 초대코드는 7일 동안 유효하며 소속 관리자가 다시 발급할 수 있습니다.
diff --git a/server/release.json b/server/release.json
index 64c1d50..fe1abe5 100644
--- a/server/release.json
+++ b/server/release.json
@@ -1,9 +1,10 @@
{
"appVersion": "0.14.1",
"appVersionCode": 21,
- "webVersion": "2026-11-21.5",
+ "webVersion": "2026-11-24.1",
"apkFile": "duty-calendar-0.14.1.apk",
"notes": [
+ "로그인하면 화면 위쪽 메뉴와 내 정보 창에서 바로 로그아웃할 수 있습니다.",
"연차·월차·일반휴가·공가·경조휴가를 각각 선택하고 통계와 위젯 및 기본 달력에 반영할 수 있습니다.",
"기존 연차·휴가 기록을 보존하고 새 휴가 종류는 근무 예정시간에서 제외합니다.",
"Android 설치 차단을 취소와 구분해 안내합니다. Play 프로텍트 차단 해제가 확인된 버전은 아닙니다."
diff --git a/server/test_updates.cjs b/server/test_updates.cjs
index 32055be..e03df99 100644
--- a/server/test_updates.cjs
+++ b/server/test_updates.cjs
@@ -1,20 +1,22 @@
// 새로 접속한 화면과 열어 둔 화면의 업데이트 안내를 분리해 검사한다.
const fs=require('node:fs'),vm=require('node:vm'),assert=require('node:assert/strict');
const source=fs.readFileSync(__dirname+'/web/updates.js','utf8');
+// 배포마다 바뀌는 웹 버전을 소스에서 읽는다. 버전을 올려도 검사가 낡지 않게 한다.
+const BUILD=source.match(/const WEB_BUILD = '([^']+)'/)[1],NEXT=BUILD+'-next';
async function setup(seen=''){
const storage=new Map([['duty-web-update-seen',seen]]),nodes=new Map();
- let release={webVersion:'2026-11-21.3',appVersion:'0.13.0',notes:['검증']},reloaded=0,editing=false;
+ let release={webVersion:BUILD,appVersion:'0.13.0',notes:['검증']},reloaded=0,editing=false;
const node=id=>{if(!nodes.has(id))nodes.set(id,{textContent:'',open:false,showModal(){this.open=true;},close(){this.open=false;},addEventListener(){}});return nodes.get(id);};
const context={console,$:node,localStorage:{getItem:k=>storage.get(k)||null,setItem:(k,v)=>storage.set(k,v),removeItem:k=>storage.delete(k)},document:{visibilityState:'visible',querySelector:()=>editing||node('update-dialog').open,addEventListener(){}},pending:[],saving:false,connected:false,notify(){},setInterval(){},location:{reload(){reloaded++;}},fetch:async()=>({ok:true,json:async()=>release})};
vm.createContext(context);vm.runInContext(source,context);await new Promise(setImmediate);
return {context,node,storage,setRelease:v=>release=v,setEditing:v=>editing=v,reloaded:()=>reloaded,check:async()=>{await vm.runInContext('checkWebVersion()',context);}};
}
(async()=>{
- const first=await setup();assert.equal(first.node('update-dialog').open,true);assert.equal(first.node('update-apply').textContent,'확인');first.node('update-apply').onclick();assert.equal(first.reloaded(),0);assert.equal(first.storage.get('duty-web-update-seen'),'2026-11-21.3');
+ const first=await setup();assert.equal(first.node('update-dialog').open,true);assert.equal(first.node('update-apply').textContent,'확인');first.node('update-apply').onclick();assert.equal(first.reloaded(),0);assert.equal(first.storage.get('duty-web-update-seen'),BUILD);
const returning=await setup('2026-11-20.4');assert.equal(returning.node('update-dialog').open,true);
- const latest=await setup('2026-11-21.3');assert.equal(latest.node('update-dialog').open,false);
- latest.setEditing(true);latest.setRelease({webVersion:'2026-11-21.4',appVersion:'0.13.0',notes:['검증']});await latest.check();assert.equal(latest.node('update-dialog').open,false);
+ const latest=await setup(BUILD);assert.equal(latest.node('update-dialog').open,false);
+ latest.setEditing(true);latest.setRelease({webVersion:NEXT,appVersion:'0.13.0',notes:['검증']});await latest.check();assert.equal(latest.node('update-dialog').open,false);
latest.setEditing(false);await latest.check();assert.equal(latest.node('update-dialog').open,true);assert.equal(latest.node('update-apply').textContent,'업데이트 적용');latest.node('update-later').onclick();await latest.check();assert.equal(latest.node('update-dialog').open,false);
- latest.storage.delete('duty-web-update-later');await latest.check();latest.node('update-apply').onclick();assert.equal(latest.reloaded(),1);assert.equal(latest.storage.get('duty-web-update-seen'),'2026-11-21.4');
+ latest.storage.delete('duty-web-update-later');await latest.check();latest.node('update-apply').onclick();assert.equal(latest.reloaded(),1);assert.equal(latest.storage.get('duty-web-update-seen'),NEXT);
console.log('웹 업데이트: 첫 안내, 재접속, 현재 버전, 편집 보호, 나중에, 동의 후 적용 통과');
})().catch(error=>{console.error(error);process.exitCode=1;});
diff --git a/server/web/app.js b/server/web/app.js
index 75043fc..4834723 100644
--- a/server/web/app.js
+++ b/server/web/app.js
@@ -147,7 +147,9 @@ function openPassword(){$('password-form').reset();$('password-error').textConte
$('password-open').onclick=()=>{$('account-dialog').close();openPassword();};
$('password-dialog').addEventListener('close',()=>$('password-form').reset());
$('password-form').onsubmit=async event=>{event.preventDefault();if($('password-new').value!==$('password-repeat').value){$('password-error').textContent='새 비밀번호 확인이 일치하지 않습니다.';return;}const button=event.submitter;button.disabled=true;try{await api('password',{currentPassword:$('password-current').value,password:$('password-new').value});$('password-dialog').close();watchGeneration++;await enter();notify('비밀번호를 변경했습니다. 다른 기기는 다시 로그인하세요.');}catch(error){$('password-error').textContent=error.message;}finally{button.disabled=false;}};
-$('logout').onclick=async()=>{if(pending.length){notify('전송 대기 중인 내용이 있습니다. 동기화를 마친 뒤 로그아웃해 주세요.');return;}if(!await confirmAction('이 브라우저에서 로그아웃할까요? 다시 로그인하면 저장한 일정을 볼 수 있습니다.','로그아웃'))return;try{await api('logout',{});connected=false;watchGeneration++;localStorage.removeItem(cacheKey());localStorage.removeItem(stateCacheKey());location.reload();}catch(error){notify(error.message);}};
+// 위쪽 메뉴와 내 정보 창의 로그아웃이 같은 절차를 쓴다. 전송 대기 내용이 있으면 잃지 않도록 먼저 멈춘다.
+async function logoutNow(){if($('account-dialog').open)$('account-dialog').close();if(pending.length){notify('전송 대기 중인 내용이 있습니다. 동기화를 마친 뒤 로그아웃해 주세요.');return;}if(!await confirmAction('이 브라우저에서 로그아웃할까요? 다시 로그인하면 저장한 일정을 볼 수 있습니다.','로그아웃'))return;try{await api('logout',{});connected=false;watchGeneration++;localStorage.removeItem(cacheKey());localStorage.removeItem(stateCacheKey());location.reload();}catch(error){notify(error.message);}}
+$('logout').onclick=logoutNow;$('account-logout').onclick=logoutNow;
function drawPerson(pattern){$('person-count').value=pattern.length;$('person-days').replaceChildren();pattern.forEach((shift,index)=>{const label=text('label',(index+1)+'일째'),select=document.createElement('select');for(const [value,name] of Object.entries(labels)){const option=text('option',name);option.value=value;select.append(option);}select.value=shift;label.append(select);$('person-days').append(label);});}
function openPerson(item){if(!item&&personalPeople().length>=20){notify('함께 볼 사람은 20명까지 등록할 수 있습니다.');return;}personId=item?.id??null;const d=item?.data??{name:'',color:'BLUE',anchor:selected,pattern:['DUTY','OFF','REGULAR']};$('person-heading').textContent=item?'함께 보는 근무표 수정':'함께 볼 사람 추가';$('person-name').value=d.name;$('person-color').value=d.color;$('person-anchor').value=d.anchor;$('person-work-week').value=String(d.workWeek||6);$('person-duty-weekday').checked=d.dutyAsWeekday===true;resetPatternMode('person');drawPerson(d.pattern);$('person-delete').hidden=!item;$('person-error').textContent='';$('person-dialog').showModal();}
diff --git a/server/web/index.html b/server/web/index.html
index bf22387..44262eb 100644
--- a/server/web/index.html
+++ b/server/web/index.html
@@ -2,7 +2,7 @@