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

[Main] 20240812.01 #91

Merged
merged 23 commits into from
Aug 12, 2024
Merged

[Main] 20240812.01 #91

merged 23 commits into from
Aug 12, 2024

Conversation

Youthhing
Copy link
Member

변경한 DDL

// 회원 정책 관련 테이블 
-- auto-generated definition
create table policy
(
    policy_id      bigint auto_increment
        primary key,
    created_at     datetime(6)                      null,
    modified_at    datetime(6)                      null,
    policy_content text                             not null,
    policy_type    varchar(255) default 'ESSENTIAL' not null,
    policy_title   varchar(255)                     not null
);


// 회원 정책 기록 테이블
-- auto-generated definition
create table member_policy
(
    member_policy_id bigint auto_increment
        primary key,
    created_at       datetime(6) null,
    modified_at      datetime(6) null,
    check_time       datetime(6) not null,
    is_checked       bit         not null,
    member_id        bigint      null,
    policy_id        bigint      null,
    constraint FK3etcb32jwrkvq19dpi5u5yj07
        foreign key (member_id) references member (member_id),
    constraint FK5o0wtosyy0vwdupgm012bp5ty
        foreign key (policy_id) references policy (policy_id)
);

// 세션 이미지
-- auto-generated definition
create table session_image
(
    session_image_id    bigint auto_increment
        primary key,
    created_at          datetime(6)  null,
    modified_at         datetime(6)  null,
    session_image_order int          not null,
    file_name           varchar(255) not null,
    folder_name         varchar(255) not null,
    url                 varchar(255) not null,
    session_id          bigint       null,
    constraint FKctbexbux5ri2ymebeoou83fv2
        foreign key (session_id) references session (session_id)
);

// 회원 사진 추가
ALTER TABLE member
ADD COLUMN file_name VARCHAR(255) NULL,
ADD COLUMN folder_name VARCHAR(255) NULL,
ADD COLUMN url VARCHAR(255) NULL;

Youthhing and others added 22 commits July 6, 2024 12:17
feat: 회원 전화번호 수정 기능 구현
* chore: redisson client 의존성 추가

* feat: 득점자 테이블 요청 순서 추가

* feat: 분산락을 통한 정답 제출 로직 구현

* refactor: 재채점으로 인한 득점자 변경 시 분산락 활용

* feat: 득점자 확인용 캐시 저장소 제거
* feat: 사진 업로드 시 파일 확장자 추가

* feat: 사진 저장시 확장자명 유무 확인 로직 추가

- 확장자 명이 없을 시 예외 발생

* feat: 사진 저장시 확장자명 유무 확인 로직 추가

- 확장자 명이 없을 시 예외 발생

* feat: 사진 저장 시 확장자명 판별 로직 추가

- 화이트리스트 확장자 명이 없으면 예외 발생

* feat: 화이트리스트 확장자명 변경

- HEIF -> heif

* feat(Session): 예외 처리 핸들러 변경

- ErrorCode 반환하게 변경

* feat: 이미지 예외 상태코드 변경
Release: 0709 작업 내용 이전
* feat: 회원 정책 및 정책 Entity 설정

* style: 메서드명 오타 수정

* feat: 회원이 체크하지 않은 필수 정책 조회 API

* feat: 회원이 체크하지 않은 선택 정책 반환 기능 추가

* feat: 기존 회원 정책 동의 API 구현

- 중복 체크 검증
- 필수 정책 미동의 검증

* style: 사용되지 않는 패키징 정리

* chore: local sql log on
* refactor: 사진 관련 변수명 변경

- photo -> image

* feat: 코드 리뷰를 기반으로 코드 수정

- 세션 이미지 nullable false로 설정
- 메소드 명칭 변경

* feat: 세션과 사진의 연관관계를 끊음

- OneToMany 관계 삭제

* refactor: 에러코드 명 변경

* refactor: 세션 사진 정보 매핑 방식 변경

- static method로 리스트를 전달하는 방식 -> stream 으로 변경

* feat: 세션 이미지 정보 nullable false 설정
* feat: 멤버 프로필 사진 추가에 따른 엔티티 수정

* feat: 멤버 프로필 사진 수정 기능 구현

feat: 멤버 프로필 사진 수정 기능 구현

* feat: 멤버 프로필 사진 삭제 기능 구현

* feat: 마이페이지 응답메세지에 프로필 주소 항목 추가

* refactor: 사용하지 않는 API 삭제

- v1/api/mypage/info

refactor: 사용하지 않는 API 삭제

- v1/api/mypage/info

* refactor: 스웨거 설명 삭제

* feat: 코드 리뷰를 기반으로 코드 수정

- image empty 처리
- responseBody NPE 해결

* refactor: 코드 리뷰 기반으로 코드 리팩토링

---------

Co-authored-by: Youth <109585620+Youthhing@users.noreply.github.com>
- 세션 업데이트 API 요청에 사진이 삭제됨에 따라 컨텐츠 타입 수정
[Release]: V2.20240717.02
* chore: add swagger qa server item

* chore: QA서버 CORS 설정 추가
[Release]: QA 도메인 CORS 설정 추가
* feat: 회원 가입 및 비밀번호 변경 시 캐시에 이메일 저장 기능 구현

* feat: 이메일 인증 요청 여부 확인 메서드 구현

* feat: 이메일 인증 코드 저장 전 캐시에 이메일 저장 기능 구현

* feat: 코드 검증 시 예외 처리 추가

- 코드가 존재할 경우: 일치여부 확인
- 존재하지 않을 경우: 만료 또는 요청 없음

* refactor: 이메일 저장 변수명 수정

* refactor: 비밀번호 변경 서비스 메서드 파라미터 변경

* refactor: 이메일 존재 여부 확인 JPA 메서드 변경

* refactor: 이메일 타입 패키지 이동

* style: 코드 간격 조정
[Release] : 회원 인증 시 이메일 확인 로직 배포
- 순서 유효검사 시 검증 기능 변경
[Release]: 세션 사진 순서 변경 기능 오류 수정
@Youthhing Youthhing changed the title [Release] 20240812.01 [Main] 20240812.01 Aug 12, 2024
@Youthhing Youthhing self-assigned this Aug 12, 2024
@Youthhing Youthhing merged commit c595b50 into main Aug 12, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants