Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature/294] 생일 일정/카테고리 설정 및 월별 친구 생일 조회 API 구현 #315

Merged
merged 27 commits into from
Sep 25, 2024
Merged
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
32046f2
:sparkles: Feat : palette 테이블 수정 및 추가된 color에 대한 init data 수정
joowojr Sep 17, 2024
9cb27b1
:sparkles: Feat : 생일 기본 카테고리 추가 메서드 구현
joowojr Sep 17, 2024
bad3c74
:sparkles: Feat : 생일 type 추가 및 일정 조회 response dto에 scheduletype 추가
joowojr Sep 17, 2024
49c5877
:sparkles: Feat : 개인 일정 수정에서 일정의 범위를 생일 일정까지 확장
joowojr Sep 17, 2024
bda5449
:sparkles: Feat : 친구 캘린더 조회 dto에 schedule type 추가
joowojr Sep 17, 2024
f9129de
:sparkles: Feat : birthday column localdate로 변경
joowojr Sep 18, 2024
f78de58
:sparkles: Feat : 요청한 기간안에 생일이 포함된 친구의 정보를 반환하는 메서드 구현
joowojr Sep 18, 2024
05f5880
:sparkles: Feat : 월간 친구 생일 조회 dto 구현
joowojr Sep 18, 2024
2463c9e
:sparkles: Feat : 월간 친구 생일 조회 API 구현
joowojr Sep 18, 2024
6580689
:sparkles: Feat : palette 삭제 및 basic 컬러로 통합
joowojr Sep 18, 2024
a0930d4
:sparkles: Feat : 모임 월간 조회 시에 생일 공유 여부로 유저의 생일 일정 조회되도록 로직 추가
joowojr Sep 18, 2024
2e114dd
:fire: Remove : 필요 없는 로직 삭제
joowojr Sep 18, 2024
ed4cf69
:memo: Docs : API docs 수정
joowojr Sep 18, 2024
76a125a
Merge branch 'dev' into feature/294
joowojr Sep 19, 2024
1a48265
:sparkles: Feat : 기본 카테고리명 수정
joowojr Sep 19, 2024
7e3b4ca
:art: Style : dto 필드명 수정
joowojr Sep 19, 2024
1d9a331
:art: Style : converter 분리
joowojr Sep 19, 2024
5d37431
:sparkles: Feat : 올해와 다음 해의 생일 일정을 생성 메서드 구현
joowojr Sep 19, 2024
c1d0871
:sparkles: Feat : 회원 가입 완료 기능에 생일 일정 생성 로직 추가
joowojr Sep 19, 2024
0fbdf0c
:bug: Fix : git conflict fix
joowojr Sep 19, 2024
7622773
:bug: Fix: fix merge conflict
joowojr Sep 25, 2024
a81fb33
Merge branch 'refs/heads/dev' into feature/294
joowojr Sep 25, 2024
ca8bc61
:bug: Fix: fix merge conflict
joowojr Sep 25, 2024
8369455
:sparkles: Feature: migration 파일 버전 수정
joowojr Sep 25, 2024
d3c2c1e
:bug: Fix: fix merge conflict
joowojr Sep 25, 2024
ba769d9
:art: Style: 파일 복원
joowojr Sep 25, 2024
f9e81ab
:sparkles: Feature: 컬럼 값 수정
joowojr Sep 25, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
📝 Docs : API docs 수정
<footer>
- 관련: #294
joowojr committed Sep 18, 2024

Verified

This commit was signed with the committer’s verified signature.
erikmd Erik Martin-Dorel
commit ed4cf69edbada6900d45eb37ef9cccbddf0a0362
Original file line number Diff line number Diff line change
@@ -51,7 +51,7 @@ public static class DiaryArchiveDto {
@Schema(description = "스케줄 제목", example = "저녁 약속")
private String title;
private DiarySummaryDto diarySummary;
@Schema(description = "개인 스케줄 : 0, 모임 스케줄 : 1", example = "0")
@Schema(description = "개인 일정 : 0, 모임 일정 : 1, 생일 일정 : 2", example = "0")
private int scheduleType;
private ParticipantInfo participantInfo;
}
@@ -95,7 +95,7 @@ public static class DiaryExistDateDto {
@AllArgsConstructor
@Schema(description = "일별 일기에 대한 스케줄 DTO")
public static class DayOfDiaryDto {
@Schema(description = "개인 스케줄 : 0, 모임 스케줄 : 1", example = "0")
@Schema(description = "개인 일정 : 0, 모임 일정 : 1, 생일 일정 : 2", example = "0")
private int scheduleType;
private CategoryInfoDto categoryInfo;
private LocalDateTime scheduleStartDate;
Original file line number Diff line number Diff line change
@@ -43,6 +43,12 @@ ResponseDto<List<PersonalScheduleResponse.GetMonthlyScheduleDto>> getMyMonthlySc
@Parameter(description = "월") @RequestParam Integer month,
@AuthenticationPrincipal SecurityUserDetails member);

@Operation(summary = "개인 월간 일정 - 친구 생일 조회", description = "월간 친구 생일을 조회합니다.")
ResponseDto<List<PersonalScheduleResponse.GetMonthlyFriendBirthdayDto>> getMonthlyFriendsBirthday(
@Parameter(description = "연도") @RequestParam Integer year,
@Parameter(description = "월") @RequestParam Integer month,
@AuthenticationPrincipal SecurityUserDetails member);

@Operation(summary = "친구 월간 일정 조회", description = "친구의 월간 일정을 조회합니다.")
@ApiErrorCodes(value = {ErrorStatus.NOT_FRIENDSHIP_MEMBER})
ResponseDto<List<PersonalScheduleResponse.GetFriendMonthlyScheduleDto>> getFriendMonthlySchedules(
Original file line number Diff line number Diff line change
@@ -58,7 +58,7 @@ public ResponseDto<List<PersonalScheduleResponse.GetMonthlyScheduleDto>> getMyMo
}

/**
* 내 월간 캘린더 조회 시
* 내 월간 캘린더 -
* 친구의 생일 목록 조회 API
*/
@GetMapping("/calendar/friends/birthdays")
Original file line number Diff line number Diff line change
@@ -86,7 +86,7 @@ public static class GetMonthlyMembersScheduleDto {
private Long interval;
@Schema(description = "일정 참여자 목록")
private List<MemberParticipantDto> participants;
@Schema(description = "개인 스케줄 : 0, 모임 스케줄 : 1, 생일 스케줄 : 3", example = "0")
@Schema(description = "개인 스케줄 : 0, 모임 스케줄 : 1, 생일 스케줄 : 2", example = "0")
private int scheduleType;
}

@@ -109,7 +109,7 @@ public static class GetMonthlyMeetingParticipantScheduleDto {
private List<UserParticipantDto> participants;
@Schema(description = "현재 조회하는 모임 일정인지의 여부")
private Boolean isCurMeetingSchedule = false;
@Schema(description = "개인 스케줄 : 0, 모임 스케줄 : 1, 생일 스케줄 : 3", example = "0")
@Schema(description = "개인 일정 : 0, 모임 일정 : 1, 생일 일정 : 2", example = "0")
private int scheduleType;
}

Original file line number Diff line number Diff line change
@@ -34,7 +34,7 @@ public static class GetMonthlyScheduleDto {
private LocationDto locationInfo;
@Schema(description = "기록 작성 여부")
private Boolean hasDiary;
@Schema(description = "개인 일정 : 0, 모임 일정 : 1, 생일 일정: 3", example = "0")
@Schema(description = "개인 일정 : 0, 모임 일정 : 1, 생일 일정: 2", example = "0")
private int scheduleType;
@Schema(description = "모임 일정 정보, 모임 일정이 아닐 시에는 null")
private MeetingInfoDto meetingInfo;
@@ -97,11 +97,11 @@ public static class NotificationDto {
@Builder
@Schema(title = "친구 일정 월간 조회 응답 DTO")
public static class GetMonthlyFriendBirthdayDto {
@Schema(description = "친구 이름", example = "나모 정기 회의")
@Schema(description = "친구 이름", example = "나몽")
private String nickname;
@Schema(description = "생일 카테고리 정보")
private CategoryDto categoryInfo;
@Schema(description = "친구의 생일, unix 타임스탬프 형식")
@Schema(description = "친구의 생일(현재 년도 기준), unix 타임스탬프 형식")
private Long birthdayDate;
}

@@ -122,7 +122,7 @@ public static class GetFriendMonthlyScheduleDto {
private Long endDate;
@Schema(description = "시작일과 종료일 차이")
private Long interval;
@Schema(description = "개인 일정 : 0, 모임 일정 : 1, 친구의 생일 일정 : 3", example = "0")
@Schema(description = "개인 일정 : 0, 모임 일정 : 1, 친구의 생일 일정 : 2", example = "0")
private int scheduleType;
}