Conversation
Feature/13 user
* feat : google login 구현 완료 (ios 구현 중)
* feat : google login 구현 완료 * fix : user hard delete * feat : apple 로그인 구현 및 ddl-auto -> update 변경
* 약관 엔티티 생성 및 연관관계 설정 * 회원가입에 약관 저장 로직 추가 * 서버에서 idToken을 받아올 수 없으므로 단순히 이메일로 accessToken을 받아오는 test API 추가
* feat : 파티 엔티티 정의 * feat : 파티 dto * feat : party dto 정의 * feat : party entity 정의 * feat : 파티 생성,수정,삭제, 조회 partycontroller partyservice partyrepository * feat : 거리 계산 클래스 * refactor : 불필요한 코드 삭제 * refactor : token provider로 유저 아이디 추출하도록 변경 * Fix: 파티 기능 버그 수정 * docs : 파티 swagger 문서 추가
* feat : 거리 계산 쿼리 PartySearchRepository로 분리 (거리순, 페이징, 검색) * feat : 거리 계산 API 구현
Co-authored-by: marshmallowing <yuin1111801@naver.com>
* feat: 파티 참여, 거절, 종료 알림 연결 * feat: 채팅 알림 단체/개인 구분 * fix : 마이페이지에서 참여중, 호스트 파티 조회시 최신순으로 조회되도록 수정 (#98) * hotfix : native query 문법 오류 해결 * hotfix : 카테고리 조건 추가 * hotfix : Param 이름 추가 * hotfix : PartyCategory를 String으로 받아 index로 조회하지 못하게 방지 * hotfix : 메시지 스키마 변경 * feat : 파티 생성시 이미지 없을 경우 디폴트 이미지 반환하도록 수정 (#100) --------- Co-authored-by: marshmallowing <yuin1111801@naver.com> Co-authored-by: Donghun Won <wonhun1225@gmail.com> Co-authored-by: Wonjae Lim <yyytir777@gmail.com>
* feat : 파티 생성시 이미지 없을 경우 디폴트 이미지 반환하도록 수정 * feat : 파티 목록 이미지 디폴트 필드 추가
* feat : 파티 생성시 이미지 없을 경우 디폴트 이미지 반환하도록 수정 * feat : 파티 목록 이미지 디폴트 필드 추가 * fix : 파티 썸네일 이미지 주입되도록 value값 수정
* fix : 파티 요청 채팅방 반환하도록 수정
* feat: 파티장 리마인드 알림 * feat: 파티서비스에 적용 --------- Co-authored-by: marshmallowing <yuin1111801@naver.com>
* feat : 파티 탈퇴, 파티 모집 완료 * feat : 파티 목록 조회시 페이지네이션
* Feat : 파티 상세 조회시 host 위치 반환값에 추가 (#117) * feature : 일대일 채팅방 조회 API * feat : 그룹 채팅방 조회 추가 * fix : 예외 처리 추가 --------- Co-authored-by: Donghun Won <wonhun1225@gmail.com>
* fix: PartyController API 경로 슬래시 누락 수정 * fix: 위도/경도 검증 로직 및 null 체크 개선 * docs: Swagger API 문서 보완 * feat: 파티 조회 시 거리 정보 반환 기능 추가
Co-authored-by: marshmallowing <yuin1111801@naver.com>
|
Caution Review failedThe pull request is closed. 📝 WalkthroughWalkthrough이 PR은 두 가지 주요 기능을 추가합니다. 첫째, 테스트 알림을 보내는 새로운 엔드포인트와 서비스를 도입합니다. FcmTokenController에 POST /Test 엔드포인트를 추가하고, NotificationType에 TEST\_EVENT 열거형 상수를 추가하며, TestNotificationService와 TestMessageManager를 통해 FCM 토큰을 사용한 테스트 알림 전송 로직을 구현합니다. 둘째, 사용자의 위도와 경도 정보를 파티 관련 API에 전달하여 거리 계산 기능을 추가합니다. PartyService, PartyController, UserController, UserService를 수정하여 선택적 위치 매개변수를 수락하고 PartyCardResponse에 거리 정보를 포함시킵니다. 또한 OpenAPI 문서를 개선하고 엔드포인트 경로를 정규화합니다. Sequence DiagramsequenceDiagram
participant Client
participant FcmTokenController
participant NotificationFacade
participant TestNotificationService
participant TestMessageManager
participant FcmTokenService
participant NotificationLogService
participant FcmNotificationSender
Client->>FcmTokenController: POST /Test (userId)
FcmTokenController->>NotificationFacade: notifyTest(userId)
NotificationFacade->>NotificationFacade: validateUserExists(userId)
NotificationFacade->>TestNotificationService: sendTestNotification(userId)
TestNotificationService->>NotificationLogService: log test notification
TestNotificationService->>FcmTokenService: getFcmTokens(userId)
FcmTokenService-->>TestNotificationService: List<String> tokens
TestNotificationService->>TestMessageManager: createTestRequest(tokens, title, detail)
TestMessageManager-->>TestNotificationService: NotificationMulticastRequest
TestNotificationService->>FcmNotificationSender: send(request)
FcmNotificationSender-->>TestNotificationService: BatchResponse
TestNotificationService-->>NotificationFacade: complete
NotificationFacade-->>FcmTokenController: void
FcmTokenController-->>Client: 200 OK
Possibly related PRs
Suggested labels
✨ Finishing touches
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro 📒 Files selected for processing (10)
✏️ Tip: You can disable this entire section by setting 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 |
Summary by CodeRabbit
릴리스 노트
새로운 기능
개선사항
✏️ Tip: You can customize this high-level summary in your review settings.