Repository navigation
Conversation
* feat: 웹 세션 조회 API와 회원 유형 무관 내 정보 조회 API 추가 - GET /v2/web/auth/session: 비로그인도 200(authenticated=false)으로 응답하고, refresh 세션이 유효하면 access 만료와 무관하게 로그인으로 응답하며 CSRF 쿠키를 복구한다. 토큰은 회전하지 않는다. 세션이 확정적으로 사라졌을 때만 인증 쿠키를 만료시킨다. - GET /v2/users/me/profile: 일반·학생·총학생회 공통 내 정보. 학생은 student_number, major 포함. - 기존 /user/auth, /user/student/me, /v2/users/me 계약은 변경하지 않는다. * refactor: /csrf를 /session으로 교체하고 내 정보 API를 /v3/users/me로 변경 - 웹 전용이고 클라이언트가 쓰지 않던 GET /v2/web/auth/csrf를 제거한다. /session이 CSRF 쿠키 복구를 포함한다. - 세션 조회는 SQL 트랜잭션 없이 Redis 확인 후 사용자 단건 조회만 한다. - 회원 유형 무관 내 정보 API 경로를 /v2/users/me/profile에서 /v3/users/me로 변경한다. * refactor: 세션 조회를 부작용 없는 읽기로 정리하고 쿠키 삭제 판단을 단위 테스트로 검증 - 비밀번호 변경 검사와 세션 삭제를 제거해 GET이 세션을 변경하지 않게 한다(access 유효 기간 정책과도 일치). - refresh 조회와 access 조회를 private 메서드로 분리하고, 사용자 단건 조회를 한 번만 하도록 access 세션 조회를 공유한다. - WebAuthSession.isExpired()를 추가한다. * refactor: 세션 조회를 별도 서비스로 분리하고 쿠키 처리 결정을 컨트롤러로 옮긴다 - WebSessionService를 추가해 읽기 전용 세션 조회를 WebAuthService에서 분리한다. - 서비스 결과는 쿠키 삭제 여부 대신 도메인 상태(AUTHENTICATED, ANONYMOUS, SESSION_LOST)만 돌려주고, 쿠키 쓰기·삭제는 컨트롤러가 결정한다. - 세션 조회 단위 테스트를 WebSessionServiceTest로 옮기고 access 보조 확인 등 케이스를 보강한다. * fix: 세션 만료 여부 메서드를 Redis 직렬화에서 제외한다 * chore: 서비스 응답값 변수화 * refactor: 학생 판별 로직 엔티티로 이동 * chore: student 조회값 인라인 해제 --------- Co-authored-by: 신관규 <soundbar91@gmail.com>
fix: 교수 미정 강의를 시간표에 추가할 때 NullPointerException이 발생하는 문제 수정
* feat: 식단 품절 제보 및 승인과 반려 API 구현 * fix: CI 테스트 시간대와 메모리 설정 수정 * feat: 식단 품절 제보 전송 작업 API 구현
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
insik03
approved these changes
Oct 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🔍 개요
✅ Checklist (완료 조건)