feat: 인턴 직급 + 초과근무 관리자 집계화 + SSO 로그아웃 URL + 디바이스/FCM
build-and-push / build (push) Successful in 35s

- 직급에 인턴 추가(기본 할당량 15), 직책(position)은 UI에서 제거(컬럼은 유지)
- 초과근무: 유저 신청 제거 → 관리자 근무관리에서 실제 출퇴근 기록 기반 자동 집계
- 로그아웃: infra 공통 LOGOUT_URL(/me로 전달) 사용 → oauth2-proxy 종료 + Keycloak end-session
- (이전 커밋 포함) Device 등록 + FCM HTTP v1 sender + notify 연동

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
theorose49
2026-06-28 10:55:53 +09:00
co-authored by Claude Opus 4.8
parent 6158888417
commit df09d23662
12 changed files with 293 additions and 19 deletions
+3 -1
View File
@@ -9,6 +9,7 @@ import (
"spin/internal/config"
"spin/internal/db"
"spin/internal/httpapi"
"spin/internal/push"
"spin/internal/seed"
"spin/internal/storage"
)
@@ -44,7 +45,8 @@ func main() {
log.Printf("seed skipped (SEED=false)")
}
router := httpapi.NewRouter(gdb, store, cfg)
pusher := push.New(cfg.FCMCredentialsFile)
router := httpapi.NewRouter(gdb, store, cfg, pusher)
addr := ":" + cfg.Port
srv := &http.Server{