-
Notifications
You must be signed in to change notification settings - Fork 0
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
[FIX] Duplicate key 오류 수정 #150
Merged
Merged
Conversation
This file contains 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
jcy0308
approved these changes
Feb 7, 2025
shj1081
added a commit
that referenced
this pull request
Feb 7, 2025
* chore: new feature 이슈 템플릿 수정 * chore: bug report 이슈 템플릿 수정 * chore: pr 템플릿 수정 * feat: 도메인 설계, 엔티티 클래스 작성 * feat: 유저, 프로젝트 관련 엔티티 생성 * feat: 영상, 퀴즈 관련 엔티티 생성, hibenate utils 라이브러리 추가 * feat: 과제 제안 관련 엔티티 생성 * feat: 공지사항, 파일, 갤러리, 이벤트 관련 엔티티 생성 * feat: 프로젝트 문의 답변 엔티티 추가 * refactor: 폴더 구조 변경 * feat: 연관관계 매핑 정보 작성 * fix: 모든 엔티티 클래스가 BaseTimeEntity 클래스를 상속하도록 수정 * fix: 연관관계 fetch 정보 LAZY로 일괄 수정 * fix: 답변 상태 필드 제거 * fix: UserQuiz 엔티티 EntityListener 제거 * [CHORE] gitignorer 수정, 깃허브 템플릿 수정 (#6) * chore: gitignore 수정 * chore: 깃 캐시 삭제 * chore: 이슈, PR 템플릿 수정 * [CHORE] CI Workflow trigger fix (#16) * chore: CI Workflow trigger fix * fix: gradle permission fix * feat: CI용 local config 추가 * chore: update database name * [FEAT] Global Exception, Test, Restdocs 설정 (#17) * feat: validator exception handler, BadrequestException 추가 * feat: controller test 설정 추가 * feat: index.adoc 추가 * feat: request field 템플릿 추가 * refactor: request field snippet 들여쓰기 수정 * feat: exception logger 추가 * [FEAT] Custom Exception Code 기능 구현, 문서화 (#21) * feat: ExceptionCode, ExceptionResponse 추가 * feat: GlobalExceptionHandler 수정 * feat: exception-response-field 스니펫 추가 * chore: request field 영어로 표기 수정 * feat: Exception Code 컨트롤러, 컨트롤러 테스트 추가 * feat: adoc 파일 수정 * fix: resources/static/docs gitignore에 추가, 캐시 삭제 * fix: CI용 application-local.yml 추가 * [FIX] 도메인 수정 (#26) * fix: BaseNoticeEntity 삭제 * fix: BaseVideoEntity 삭제 * fix: BaseRespnseEntity 삭제 * fix: Project videoUrl -> youtubeId 변경 * fix: UserType TEMP 추가 * fix: prod url 수정 * feat: oauth yml 추가 & test결과 추가 * fix: write 권한 추가 * [FEAT] CI Workflow 수정 & 유닛테스트 퍼센티지 기능 추가 (#32) * fix: prod url 수정 * feat: oauth yml 추가 & test결과 추가 * fix: write 권한 추가 * fix: auto test permission 수정 * [FIX] CI Workflow Unit Test 권한 문제 수정 (#34) * fix: application-local datasource name 수정 * fix: prod url 수정 * feat: oauth yml 추가 & test결과 추가 * fix: write 권한 추가 * fix: auto test permission 수정 * fix: github token 에러 수정 * [FIX] CI WORKFLOW test report 수정 (#37) * fix: application-local datasource name 수정 * fix: prod url 수정 * feat: oauth yml 추가 & test결과 추가 * fix: write 권한 추가 * fix: auto test permission 수정 * fix: github token 에러 수정 * fix: github action junit tester 수정 * chore: junit test 경로 변경 * chore: report_path 수정 * chore: CI workflow token 추가 * [FEAT] kakao oauth module & auth module 구현 (#24) * feat: validator exception handler, BadrequestException 추가 * feat: controller test 설정 추가 * feat: index.adoc 추가 * feat: request field 템플릿 추가 * refactor: request field snippet 들여쓰기 수정 * feat: webconfig 작성 * chore: user domain 패키지구조 리팩토링 * feat: exception logger 추가 * chore: user domain 패키지구조 리팩토링 * feat: webconfig 작성 * feat: jwtProvider 작성 * feat: AuthUserArgumentResolver 작성 * feat: jwt관련 Exception코드 작성 * feat: gitignore auth config 추가 * feat: 유저 authorization 관련 로직 작성 * feat: auth controller 작성 * feat: kakao infrastructure 작성 * feat: auth dto 작성 * feat: auth 관련 domain 작성 * fix: exception 작성 * feat: authService 작성 * feat: register 관련 user domain 로직 작성 * feat: oauth infrastructure 코드 작성 * feat: auth controller 작성 * feat: auth service 작성 * feat: register dto 작성 * refactor: 유저 인증 방식 변경 * fix: fix Test config * fix: socialType 관련 필드 삭제 * fix: 카카오에서 닉네임 받지 않도록 수정 * fix: api 버저닝 삭제 * chore: dto 수정 TODO 사항 작성 * chore: exception 핸들러 작성 * fix: controller valid & redirect uri 방식 변경 * fix: unauthorizedException 추가 * fix: other타입 권한 로직 추가 * fix: request requesturi 접근 오류 수정 * fix: 임시 유저 생성시 temp 로 생성되도록 수정 * fix: unauthorizedException 적용 Signed-off-by: chanyeong <[email protected]> * fix: user field nullable change * fix: student 생성로직 추가 & responsedto 추가 * refactor: JpaAuditingConfig 작성 * refactor: oauth 인증방식 변경 * refactor: studentInfo validation 로직 수정 * refactor: accesstoken 파싱방식 변경 * feat: auth controller test 작성 * fix: ddl-auto 옵션 변경 * fix: get방식으로 로그인 변경 * fix: controller 오류 수정 * feat: 학생이 아닌 유저의 회원가입 로직 수정 * fix: controller test 오류 수정 * fix: duplicated mockbean 오류 수정 * fix: auth service 로직 오류 수정 * fix: adoc 표기방식 변경 * chore: adoc 개행추가 --------- Signed-off-by: chanyeong <[email protected]> Co-authored-by: yesjuhee <[email protected]> * [FEAT] Video 관련 API 개발 (#51) * feat: talk 및 jobInterview 레포지토리 추가 * feat: jobInterview DTO 추가 * feat: add create and get jobinterview api * feat: add update and delete jobinterview api * fix: change BaseVideoEntity access level * refactor: add new line in JobInterview Category * refactor: change dto name * fix: change string check annotation to NotBlank * refactor: change category enum class name * feat: add enum validator * refactor: apply dto format discussed in PR #12 * fix: apply static factory method * chore: remove superbuilder annotation in BaseTimeEntity * chore: transactional 어노테이션 클래스로 이동 * chore: 엔티티 객체 생성 스타일 변경 * fix: pathVariable 명시 * fix: cascade 옵션 변경 * chore: dirty checking 사용하는 방법으로 update 변경 * feat: change exception to custom BadRequestException * chore: 접근제어자 제거 * feat: 잡페어 인터뷰 생성 테스트코드 작성 * feat: add JobInterview create Testcode * fix: ExceptionCode 추가 및 변경사항 대응 * feat: 잡페어 인터뷰 컨트롤러 테스트 * feat: 잡페어 인터뷰 RestDocs * feat: create QuizRepository * feat: add Talk Request/Response DTO * feat: implement talkservice and add exception code * feat: implement talkController * feat: implement TalkControllerTest * feat: implement TalkControllerTest * feat: 대담영상 api 문서 작성 * feat: 퀴즈 포함 대담 API 구현 * fix: 대담 연관관계 업데이트 버그 수정 * feat: add talker belonging and name field in jobinterview entity * feat: update jobinterview testcode * chore: remove status header * feat: remove HasQuiz And Apply JsonUnwrapped Annotation * refactor: remove Talks(List) Response DTO * feat: update TalkController TestCode * chore: update Talk API Docs * refactor: 엔티티에서 DTO 사용 제거 * feat: @authuser 적용 및 testcode 수정 * chore: add token to request cookie and header * fix: change local.yml * refactor: change video package location * refactor: test code 패키지 변경 * fix: change db url in local.yml * [FEAT] Notice/EventNotice 관련 API 개발 (#56) * feat: Add Notice,EventNotice entity Superbuilder, setter for update * feat: Implement NoticeDto Inner Static class * feat: Implement NoticeRepository * feat: Implement NoticeService interface, NoticeServiceImpl * feat: Implement NoticeController * fix: @NoArgsConstructor(access = PROTECTED) for entities * fix: change url, dto (request) field, add validation * fix: remove service interface * fix: change exception to bad request exception * feat: implement getNoticeList api, minor renaming controller parameter * fix: move @transactional annotation * fix: remove @DaTa annotation * refactor: refactor package structure * fix: split response, request dto * fix: Use static factory method instead of builder pattern * feat: change put/post to return entity value, change update logic (use repository), fix minor naming * feat: Implement increasing hitCount when getNotice * fix: change protect constructor of BaseNoticeEntity to use annotation * fix: Revise static factory method to use `from` * [FEAT] Global Exception, Test, Restdocs 설정 (#17) * feat: validator exception handler, BadrequestException 추가 * feat: controller test 설정 추가 * feat: index.adoc 추가 * feat: request field 템플릿 추가 * refactor: request field snippet 들여쓰기 수정 * feat: exception logger 추가 * feat: Implement RestDocs, base test code for NoticeController, change exception - cherry-pick develop branch's 0f55de6 commit - only for create notice - revise to use custom BadRequestException * fix: Add cascade option in Notice Entity * fix: Revise parameter naming for pathvariable annotaion * fix: Fix wrong service method description * feat: change updateNotice, increaseHitCount to use entity method * feat: Implement attached files handling, add NoticeListElementResponse * refactor: rename DTOs * fix: Revise Notice/EventNotice entity to not inherit BaseNoticeEntity * minor renaming variables * feat: Implement Test code/RestDocs for NoticeController * cherry-pick: revised custom exception code #21 * feat: add custom exceptions for notice, notnull annotation for fileIds field * refactor: rename NoticeResponse fileReponses field to files * fix: revise NoticeService to work with request with no fileIds field * fix: refine controllerTest code for restDocs * fix: add pageable parameter in controllerTest * refactor: remove unnecessary annotation * feat: duplicate notice api for eventNotice api * refactor: reformat (clean) code * fix: change exception code number to prevent conflict * feat: implement fixed notices prioritization * refactor: change :path to {path} in adoc * refactor: refactor adoc files * refactor: remove debugging line for getNoticeList * feat: new logic for updateNotice file handling (using Cascade=ALL) * cherrypick: auth commit from develop branch * refactor: move domain package location * feat: duplicate eventNotice getList, update code from Notice * refactor: remove unused import statement * feat: auth user (admin) for create, update, delete * feat: revise test code for auth user * fix: Typo correction * fix: add application-local.yml for CI * chore: remove unnecessary comments * refactor: move notice/eventNotice controller test package --------- Co-authored-by: yesjuhee <[email protected]> Co-authored-by: chanyeong <[email protected]> * [FEAT] EvnetPeriod 관련 API 구현 완료 (#58) * feat: EventPeriod 리포지터리 생성 * feat: devtools 패키지 추가 * feat: 엔티티에 SupeBuilder 추가 * feat: EventPeriodDto 작성 * feat:EventPeriodController 구현 * feat: EventPeriodService 구현 * refactor: 사용 안하는 import 삭제 * feat: test configurations * feat: EvnetPeriodController 테스트 코드 작성 * feat: createEventPeriod 테스트코드, restdocs 코드 구현 * feat: GlobalExceptionHandler 추가, validation 실패시 응답바디 포멧 수정 * fix: builder 제거, DTO 분리 * feat: 정적 팩토리 메서드 사용하는 방식으로 createEventPeriod 메서드 수정 * feat: BadRequestExcption 추가 * fix: DTO 구조 변경에 맞춰 테스트 수정 * fix: Bad Request 테스트 수정, 해당 테스트 restdocs에서 제외시킴 * feat: 커스텀 에러 코드를 사용하는 방식으로 Exception Handler 수정 * fix: dto validation에 대한 응답도 ExceptionCode를 사용하도록 수정 * refactor: EventPeriodRequest -> CreateEventPeriodRequest 로 변경 * feat: getEvnetPeriods api 구현 * feat: getEventPeriods API 테스트, restdocs 구현 * fix: gitignore에 static/docs 추가 * feat: deleteEventPeriod controller 작성 * refactor: 컨트롤러 refactor * feat: deleteEventPeriod service 구현 * feat: deleteEventPeriod test * refactor: MockMvcRequestBuilders -> RestDocumentationRequestBuilders 로 변경 * feat: restdocs 추가 * refactor: merge conflict resolve 생략된거 해결 * refactor: index.adoc 머지 오류 수정 * fix: 도메인에서 DTO 사용 제외 * fix: createEventPeriod 요청 형식, 로직 수정 * fix: EventPeriod 조회 API 수정(리스트 조회 -> 단건 조회) * feat: deleteEventPeriod API 삭제, updateEventPeriod API 추가 * feat: Auth 설정 추가 * refactor: event 도메인 폴더 위치 변경 * fix: test, restdocs 수정 * fix: TEST Auth 설정 추가 * fix: getEventPeriods API 복구 * fix: application-local.yml 복구 * chore: 주석 삭제 * chor: 누락된 adoc 파일 추가 * [FEAT] Gallery 관련 API 구현 완료 (#10) (#64) * feat: create gallery api 틀 세팅 * feat: Galley cotroller test 작성, restdocs 작성 * feat: createGallery 서비스 구현 * feat: 로그에서 SQL 쿼리 확인할 수 있도록 수정 * feat: getGalleries api 구현 * fix: 도메인에서 DTO 사용하는 케이스 수정 * feat: 트랜잭션 설정 추가 * feat: restdocs 작성 * feat: RestDocumentationRequestBuilders 사용 * feat: restdocs에 페이지네이션 파라미터 추가 * feat: getGallery api 구현 * feat: getGallery test, restdocs 추가 * feat: deleteGallery api 구현 * feat: deleteGallery test, restDocs 추가 * feat: updateGallery api 구현, test, restDocs 추가 * fix: dto에서 원시 타입 대신 객체 타입으로 변경 * feat: ExceptionCode 추가 * refactor: GalleryRequest dto 하나로 통일 * feat: content필드 삭제, 조회수 필드 추가 * feat: 조회수 증가 로직 구현 * fix: getGallery 조회수 변경 반영되도록 수정 * refactor: dto 생성 메서드 galleryResponse내부로 이동 * fix: deleteGallery작동하도록 cascade옵션 추가 * fix: createGallery에서 안 쓰는 파일 제거하도록 수정 * feat: @authuser 추가 * fix: 충돌 나는 부분 머지 잘못한 거 수정 * feat: test에 auth 설정 추가 * refactor: 폴더 위치 이동 * feat: restdocs에 requestCookies, requestHeaders추가 * chore: application-local.yml 수정 --------- Co-authored-by: yesjuhee <[email protected]> * fix: restdocs html 문서 추가 * �chore: README에 API 문서 링크 추가 * [FEAT] Application 관련 API 개발 완료 (#69) * [FIX] 로그인 리다이렉션 & 쿠키 문제 해결 (#72) * fix: redirect uri 추가 * fix: access-token cookie응답으로 변경 * fix: cookie domain localhost로 변경 * fix: redirect uri 방식 변경 * fix: redirect uri 방식 변경 * fix: secure 옵션 추가 * fix: 프론트 로그인 콜백주소 변경 * chore: config typo * refactor: Login 테스트코드 리팩토링 * refactor: 학번 uniqueness 삭제 * [FEAT] Quiz, Video Favorite 관련 API 구현 (#74) * hotfix: redirect uri 변경 * [FEAT] File API 구현 완료 (#81) * feat: minio defendency 추가 * feat: file 도메인 위치 변경, Minio 설정 추가 * feat: application-minio.yml 추가, gitignore 반영 * feat: MinioClientService - uploadFile 서비스 작성 * feat: InternalServerErrorException 커스텀 예외 추가 * feat: uploadFile API 작성 * feat: UploadFile test, restdocs 작성 * refactor: 안쓰는 import 삭제 * feat: 서비스 코드 작성 * feat: 컨트롤러 코드 작성 * feat: getFile test, restdocs 추가 * fix: application-local.yml 추가 * feat: restdocs 파일 추가 * fix: minIO 설정 파일을 추가하도록 CI 수정 * chore: 큰따옴표 중복 오류 수정 * fix: base64 인코딩 적용, 다시 큰따옴표로 수정 * [FIX] Notice / EventNotice 목록 조회 시 sort 미적용 해결 * [FIX] event notice file update 시 미포함된 파일 삭제되도록 수정 * [FEAT] Project API 구현 완료 (#88) * feat: create controller, repository, request dto, service file * feat: add FileRepository * chore: add AllArgsConstructor in Member Entity * chore: add AllArgsConstructor and cascade option in Project Entity * feat: add MemberRequest Dto * feat: add ProjectRequest Dto * feat: add createProject controller * feat: add createProject Service * feat: add getProjects controller * feat: add getProjects repository * feat: add getProjects response dto * feat: add getProjects service * feat: change builder to of * feat: pageable 오타 수정 * chore: change studentNames, professorNames type and name * chore: change studentNames, professorNames type and name * chore: change thumbnail type * add: project 도메인 관련 에러 코드 추가 * add: memberRequeset dto 객체 작성 * add: projectRequeset dto 객체 작성 * add: projectDetailResponse dto 객체 작성 * feat: projectService 코드 작성 * feat: projectController 작성 * add: project domain entity cascade 옵션 추가 * add: createProject, getProject, updateProject, deleteProject restdocs 코드 작성 * chore: @PathVariable("projectId")로 변경 * chore: @transactional 일괄적으로 적용 * chore: file table에 고아객체 삭제 옵션 추가 * add: MemberRequest 객체 검증 로직 작성 * add: 인증 설정 관련 ToDo 작성 * add: ProjectRequest validation 로직 수정 * add: ProjectService @transactional(readOnly = true) 추가 * add: adoc 파일 추가해서 rest docs 생성 * fix: ProjectRequest에서 MemberRequest Validation 로직 코드 수정 * fix: import 정리 * fix: member type nullable 타입으로 변경 * add: getProjects test 추가 * fix: File entity를 FileResponse Dto로 변경 * add: git cheery-pick으로 auth 관련 부분 가져오기 * add: git cheery-pick으로 auth 관련 부분 가져오기 * feat: createProjectFavorite, deleteProjectFavorite api 구현 * feat: createProjectLike, deleteProjectLike api 구현 * feat: createProjectComment, deleteProjectComment api 구현 * add: likes api 사용기간 설정을 위한 EventPeriodRepository 생성 * fix: user 이중 검증되는 부분 수정 * add: favorite, like, comment project api (6개) restdocs 작성 * fix: restdocs 수정 * chore: 주석 제거 * chore: techStackList * chore: ExceptionCode 좋아요 message 변경 * chore: deleteProjectLike Exception 변경 * chore: 현재 eventPeriod 찾는 로직 변경 * feat: getProject 반환 json에 댓글 추가 * add: getProject, getProjects 로그인 유저 좋아요 및 북마크 json 맴버에 추 * add: createProject, updateProject, deleteProject @authuser 추가 * add: FileResponse id 추가 * add: restdocs 정보 수정 * chore: JsonFieldType class -> OBJECT 변경 * [FEAT] Application 관련 API 개발 완료 (#69) * chore: domain/project -> project로 폴더 이동 * chore: domain/project -> project로 폴더 이동 * chore: ProjectControllerTest 폴더 구조 변경 * chore: getAwardProjects API 구현 * chore: findByYear type Optional로 변경 * chore: like, favoriteProject 동시성 문제 해결을 위한 {userId, projectId} unique 설정 및 DataIntegrityViolationException 예외 처리 * add: getAwardProjects restdocs 추가 * fix: ProjectResponse, ProjectDetailResponse 중복 제거 * fix: getProject를 다른 Service 메서드에서 사용하는 코드 제거 * chore: 코드 사이 공백 수정 및 설명 주석 추가 * chore: createProject, updateProject when 인자 수정 * merge: develop branch 재처리 * fix: getProjects, getProject, getAwardProjects user OPTIONAL 처리 * add: index.adoc에 project.adoc추가 및 --- 지우기 * add: pageable queryParameters 추가 * fix: 오타 수정 * fix: createProjectLike, createProjectFavorite 지연 로딩 관련 에러 수정 * fix: user null인 경우 예외처리 * fix: userRepository.save(user)로 영속성 컨텍스트에 user 로드 * chore: 상단에 --- 추가 --------- Co-authored-by: chanyeong <[email protected]> Co-authored-by: yesjuhee <[email protected]> * fix: ProjectResponse에 yaer 추가 및 테스트코드에도 yaer 추가 (#94) * [FIX] 다중 파일 업로드가 가능하도록 uploadFile API 수정 (#96) * fix: service 수정 * fix: 컨트롤러/서비스 수정 * fix: 테스트코드 수정 * fix: html 파일 빌드 * fix: 테스트코드 삭제 * fix: html 파일 추가 * [FEAT] Aihub / JobInfo api (Notion) 구현 완료 (#91) * feat: implement getAiHubModels api (need notion.yml) * feat: change the field of model notion db * chore: refine service code * feat: request and response with integer year (not string) * feat: implment getAiHubDatasets API and modify service code to reduce rebundancy * chore: refine comments * refactor: relocate dto * feat: RestDocs, controller test code * feat: implement JobInfo API * feat: implement JobInfoControllerTest code, RestDocs, change api URI * chore: change for handling merge conflict * chore : modify CI.yml for notion config * chore: add notion config in application.yml * fix: fix the cascade option * chore: add html files for restDocs * chore: add html files for restDocs (ommited ones) * [Fix] getProjects 필터링 기능 추가 (#100) * feat: getProjects 쿼리파라미터 배열로 입력 가능하게 변경 * fix: getProjects queryParameter type 추가 * chore: build 후 html 파일 추가 * [CHORE] 레포 이름 변경으로 인한 restdocs 경로 변경 (#102) * [FIX] 퀴즈 생성 및 응답 형식을 Json에서 List로 변경 (#104) * feat: add map to list converter in dto * feat: add list to map converter in request dto * feat: change quiz request/response in talk controller test * chore: copy documents * [CHORE] Rest Docs 최신화 (#105) * [FIX] Project 도메인 및 API 일부 수정 (#107) * chore: Project domain 및 dto techStack 삭제 * chore: Project domain 및 dto url, description 추가 * chore: ProjectControllerTest 변경사항 수정 * chore: url optional 변경 * chore: rest docs html 변경사항 * [FEAT] 엑셀 다운로드 유틸 및 제출한 퀴즈 결과 엑셀로 받는 기능 구현 (#71) (#108) * [FEAT] 엑셀 다운로드 유틸 및 제출한 퀴즈 결과 엑셀로 받는 기능 구현 (#77) * feat: add apache.poi in build.gradle * feat: impl ExcelUtil * hotfix: redirect uri 변경 * feat: re-impl ExcelUtil and create Excel DataClass * feat: add append function in Excelutil * fix: remove type annotation in ExcelColumn * feat: impl userquiz to excel * fix: add workbook dispose and close * fix: remove dummy data * feat: add quiz-excel in QuizControllerTest * [FEAT] File API 구현 완료 (#81) * feat: minio defendency 추가 * feat: file 도메인 위치 변경, Minio 설정 추가 * feat: application-minio.yml 추가, gitignore 반영 * feat: MinioClientService - uploadFile 서비스 작성 * feat: InternalServerErrorException 커스텀 예외 추가 * feat: uploadFile API 작성 * feat: UploadFile test, restdocs 작성 * refactor: 안쓰는 import 삭제 * feat: 서비스 코드 작성 * feat: 컨트롤러 코드 작성 * feat: getFile test, restdocs 추가 * fix: application-local.yml 추가 * feat: restdocs 파일 추가 * fix: minIO 설정 파일을 추가하도록 CI 수정 * chore: 큰따옴표 중복 오류 수정 * fix: base64 인코딩 적용, 다시 큰따옴표로 수정 * [FIX] Notice / EventNotice 목록 조회 시 sort 미적용 해결 * [FIX] event notice file update 시 미포함된 파일 삭제되도록 수정 * [FEAT] Project API 구현 완료 (#88) * feat: create controller, repository, request dto, service file * feat: add FileRepository * chore: add AllArgsConstructor in Member Entity * chore: add AllArgsConstructor and cascade option in Project Entity * feat: add MemberRequest Dto * feat: add ProjectRequest Dto * feat: add createProject controller * feat: add createProject Service * feat: add getProjects controller * feat: add getProjects repository * feat: add getProjects response dto * feat: add getProjects service * feat: change builder to of * feat: pageable 오타 수정 * chore: change studentNames, professorNames type and name * chore: change studentNames, professorNames type and name * chore: change thumbnail type * add: project 도메인 관련 에러 코드 추가 * add: memberRequeset dto 객체 작성 * add: projectRequeset dto 객체 작성 * add: projectDetailResponse dto 객체 작성 * feat: projectService 코드 작성 * feat: projectController 작성 * add: project domain entity cascade 옵션 추가 * add: createProject, getProject, updateProject, deleteProject restdocs 코드 작성 * chore: @PathVariable("projectId")로 변경 * chore: @transactional 일괄적으로 적용 * chore: file table에 고아객체 삭제 옵션 추가 * add: MemberRequest 객체 검증 로직 작성 * add: 인증 설정 관련 ToDo 작성 * add: ProjectRequest validation 로직 수정 * add: ProjectService @transactional(readOnly = true) 추가 * add: adoc 파일 추가해서 rest docs 생성 * fix: ProjectRequest에서 MemberRequest Validation 로직 코드 수정 * fix: import 정리 * fix: member type nullable 타입으로 변경 * add: getProjects test 추가 * fix: File entity를 FileResponse Dto로 변경 * add: git cheery-pick으로 auth 관련 부분 가져오기 * add: git cheery-pick으로 auth 관련 부분 가져오기 * feat: createProjectFavorite, deleteProjectFavorite api 구현 * feat: createProjectLike, deleteProjectLike api 구현 * feat: createProjectComment, deleteProjectComment api 구현 * add: likes api 사용기간 설정을 위한 EventPeriodRepository 생성 * fix: user 이중 검증되는 부분 수정 * add: favorite, like, comment project api (6개) restdocs 작성 * fix: restdocs 수정 * chore: 주석 제거 * chore: techStackList * chore: ExceptionCode 좋아요 message 변경 * chore: deleteProjectLike Exception 변경 * chore: 현재 eventPeriod 찾는 로직 변경 * feat: getProject 반환 json에 댓글 추가 * add: getProject, getProjects 로그인 유저 좋아요 및 북마크 json 맴버에 추 * add: createProject, updateProject, deleteProject @authuser 추가 * add: FileResponse id 추가 * add: restdocs 정보 수정 * chore: JsonFieldType class -> OBJECT 변경 * [FEAT] Application 관련 API 개발 완료 (#69) * chore: domain/project -> project로 폴더 이동 * chore: domain/project -> project로 폴더 이동 * chore: ProjectControllerTest 폴더 구조 변경 * chore: getAwardProjects API 구현 * chore: findByYear type Optional로 변경 * chore: like, favoriteProject 동시성 문제 해결을 위한 {userId, projectId} unique 설정 및 DataIntegrityViolationException 예외 처리 * add: getAwardProjects restdocs 추가 * fix: ProjectResponse, ProjectDetailResponse 중복 제거 * fix: getProject를 다른 Service 메서드에서 사용하는 코드 제거 * chore: 코드 사이 공백 수정 및 설명 주석 추가 * chore: createProject, updateProject when 인자 수정 * merge: develop branch 재처리 * fix: getProjects, getProject, getAwardProjects user OPTIONAL 처리 * add: index.adoc에 project.adoc추가 및 --- 지우기 * add: pageable queryParameters 추가 * fix: 오타 수정 * fix: createProjectLike, createProjectFavorite 지연 로딩 관련 에러 수정 * fix: user null인 경우 예외처리 * fix: userRepository.save(user)로 영속성 컨텍스트에 user 로드 * chore: 상단에 --- 추가 --------- Co-authored-by: chanyeong <[email protected]> Co-authored-by: yesjuhee <[email protected]> * fix: ProjectResponse에 yaer 추가 및 테스트코드에도 yaer 추가 (#94) * [FIX] 다중 파일 업로드가 가능하도록 uploadFile API 수정 (#96) * fix: service 수정 * fix: 컨트롤러/서비스 수정 * fix: 테스트코드 수정 * fix: html 파일 빌드 * fix: 테스트코드 삭제 * fix: html 파일 추가 * [FEAT] Aihub / JobInfo api (Notion) 구현 완료 (#91) * feat: implement getAiHubModels api (need notion.yml) * feat: change the field of model notion db * chore: refine service code * feat: request and response with integer year (not string) * feat: implment getAiHubDatasets API and modify service code to reduce rebundancy * chore: refine comments * refactor: relocate dto * feat: RestDocs, controller test code * feat: implement JobInfo API * feat: implement JobInfoControllerTest code, RestDocs, change api URI * chore: change for handling merge conflict * chore : modify CI.yml for notion config * chore: add notion config in application.yml * fix: fix the cascade option * chore: add html files for restDocs * chore: add html files for restDocs (ommited ones) * [Fix] getProjects 필터링 기능 추가 (#100) * feat: getProjects 쿼리파라미터 배열로 입력 가능하게 변경 * fix: getProjects queryParameter type 추가 * chore: build 후 html 파일 추가 * [CHORE] 레포 이름 변경으로 인한 restdocs 경로 변경 (#102) * [FIX] 퀴즈 생성 및 응답 형식을 Json에서 List로 변경 (#104) * feat: add map to list converter in dto * feat: add list to map converter in request dto * feat: change quiz request/response in talk controller test * chore: copy documents * [CHORE] Rest Docs 최신화 (#105) * [FIX] Project 도메인 및 API 일부 수정 (#107) * chore: Project domain 및 dto techStack 삭제 * chore: Project domain 및 dto url, description 추가 * chore: ProjectControllerTest 변경사항 수정 * chore: url optional 변경 * chore: rest docs html 변경사항 * fix: remove user id from excel * fix: change userid type from string to number in testcode * fix: change application-local.yml * chore: copyDocument --------- Co-authored-by: chanyeong <[email protected]> Co-authored-by: yesjuhee <[email protected]> Co-authored-by: hyzoon <[email protected]> Co-authored-by: Kim Sang Yeob <[email protected]> Co-authored-by: chanyeong <[email protected]> * [FIX] Quiz 및 Excel 관련 API 충돌 해결 (#109) * hotfix: redirect uri 변경 * [FEAT] File API 구현 완료 (#81) * feat: minio defendency 추가 * feat: file 도메인 위치 변경, Minio 설정 추가 * feat: application-minio.yml 추가, gitignore 반영 * feat: MinioClientService - uploadFile 서비스 작성 * feat: InternalServerErrorException 커스텀 예외 추가 * feat: uploadFile API 작성 * feat: UploadFile test, restdocs 작성 * refactor: 안쓰는 import 삭제 * feat: 서비스 코드 작성 * feat: 컨트롤러 코드 작성 * feat: getFile test, restdocs 추가 * fix: application-local.yml 추가 * feat: restdocs 파일 추가 * fix: minIO 설정 파일을 추가하도록 CI 수정 * chore: 큰따옴표 중복 오류 수정 * fix: base64 인코딩 적용, 다시 큰따옴표로 수정 * [FIX] Notice / EventNotice 목록 조회 시 sort 미적용 해결 * [FIX] event notice file update 시 미포함된 파일 삭제되도록 수정 * [FEAT] Project API 구현 완료 (#88) * feat: create controller, repository, request dto, service file * feat: add FileRepository * chore: add AllArgsConstructor in Member Entity * chore: add AllArgsConstructor and cascade option in Project Entity * feat: add MemberRequest Dto * feat: add ProjectRequest Dto * feat: add createProject controller * feat: add createProject Service * feat: add getProjects controller * feat: add getProjects repository * feat: add getProjects response dto * feat: add getProjects service * feat: change builder to of * feat: pageable 오타 수정 * chore: change studentNames, professorNames type and name * chore: change studentNames, professorNames type and name * chore: change thumbnail type * add: project 도메인 관련 에러 코드 추가 * add: memberRequeset dto 객체 작성 * add: projectRequeset dto 객체 작성 * add: projectDetailResponse dto 객체 작성 * feat: projectService 코드 작성 * feat: projectController 작성 * add: project domain entity cascade 옵션 추가 * add: createProject, getProject, updateProject, deleteProject restdocs 코드 작성 * chore: @PathVariable("projectId")로 변경 * chore: @transactional 일괄적으로 적용 * chore: file table에 고아객체 삭제 옵션 추가 * add: MemberRequest 객체 검증 로직 작성 * add: 인증 설정 관련 ToDo 작성 * add: ProjectRequest validation 로직 수정 * add: ProjectService @transactional(readOnly = true) 추가 * add: adoc 파일 추가해서 rest docs 생성 * fix: ProjectRequest에서 MemberRequest Validation 로직 코드 수정 * fix: import 정리 * fix: member type nullable 타입으로 변경 * add: getProjects test 추가 * fix: File entity를 FileResponse Dto로 변경 * add: git cheery-pick으로 auth 관련 부분 가져오기 * add: git cheery-pick으로 auth 관련 부분 가져오기 * feat: createProjectFavorite, deleteProjectFavorite api 구현 * feat: createProjectLike, deleteProjectLike api 구현 * feat: createProjectComment, deleteProjectComment api 구현 * add: likes api 사용기간 설정을 위한 EventPeriodRepository 생성 * fix: user 이중 검증되는 부분 수정 * add: favorite, like, comment project api (6개) restdocs 작성 * fix: restdocs 수정 * chore: 주석 제거 * chore: techStackList * chore: ExceptionCode 좋아요 message 변경 * chore: deleteProjectLike Exception 변경 * chore: 현재 eventPeriod 찾는 로직 변경 * feat: getProject 반환 json에 댓글 추가 * add: getProject, getProjects 로그인 유저 좋아요 및 북마크 json 맴버에 추 * add: createProject, updateProject, deleteProject @authuser 추가 * add: FileResponse id 추가 * add: restdocs 정보 수정 * chore: JsonFieldType class -> OBJECT 변경 * [FEAT] Application 관련 API 개발 완료 (#69) * chore: domain/project -> project로 폴더 이동 * chore: domain/project -> project로 폴더 이동 * chore: ProjectControllerTest 폴더 구조 변경 * chore: getAwardProjects API 구현 * chore: findByYear type Optional로 변경 * chore: like, favoriteProject 동시성 문제 해결을 위한 {userId, projectId} unique 설정 및 DataIntegrityViolationException 예외 처리 * add: getAwardProjects restdocs 추가 * fix: ProjectResponse, ProjectDetailResponse 중복 제거 * fix: getProject를 다른 Service 메서드에서 사용하는 코드 제거 * chore: 코드 사이 공백 수정 및 설명 주석 추가 * chore: createProject, updateProject when 인자 수정 * merge: develop branch 재처리 * fix: getProjects, getProject, getAwardProjects user OPTIONAL 처리 * add: index.adoc에 project.adoc추가 및 --- 지우기 * add: pageable queryParameters 추가 * fix: 오타 수정 * fix: createProjectLike, createProjectFavorite 지연 로딩 관련 에러 수정 * fix: user null인 경우 예외처리 * fix: userRepository.save(user)로 영속성 컨텍스트에 user 로드 * chore: 상단에 --- 추가 --------- Co-authored-by: chanyeong <[email protected]> Co-authored-by: yesjuhee <[email protected]> * fix: ProjectResponse에 yaer 추가 및 테스트코드에도 yaer 추가 (#94) * [FIX] 다중 파일 업로드가 가능하도록 uploadFile API 수정 (#96) * fix: service 수정 * fix: 컨트롤러/서비스 수정 * fix: 테스트코드 수정 * fix: html 파일 빌드 * fix: 테스트코드 삭제 * fix: html 파일 추가 * [FEAT] Aihub / JobInfo api (Notion) 구현 완료 (#91) * feat: implement getAiHubModels api (need notion.yml) * feat: change the field of model notion db * chore: refine service code * feat: request and response with integer year (not string) * feat: implment getAiHubDatasets API and modify service code to reduce rebundancy * chore: refine comments * refactor: relocate dto * feat: RestDocs, controller test code * feat: implement JobInfo API * feat: implement JobInfoControllerTest code, RestDocs, change api URI * chore: change for handling merge conflict * chore : modify CI.yml for notion config * chore: add notion config in application.yml * fix: fix the cascade option * chore: add html files for restDocs * chore: add html files for restDocs (ommited ones) * [Fix] getProjects 필터링 기능 추가 (#100) * feat: getProjects 쿼리파라미터 배열로 입력 가능하게 변경 * fix: getProjects queryParameter type 추가 * chore: build 후 html 파일 추가 * [CHORE] 레포 이름 변경으로 인한 restdocs 경로 변경 (#102) * [FIX] 퀴즈 생성 및 응답 형식을 Json에서 List로 변경 (#104) * feat: add map to list converter in dto * feat: add list to map converter in request dto * feat: change quiz request/response in talk controller test * chore: copy documents * [CHORE] Rest Docs 최신화 (#105) * [FIX] Project 도메인 및 API 일부 수정 (#107) * chore: Project domain 및 dto techStack 삭제 * chore: Project domain 및 dto url, description 추가 * chore: ProjectControllerTest 변경사항 수정 * chore: url optional 변경 * chore: rest docs html 변경사항 --------- Co-authored-by: chanyeong <[email protected]> Co-authored-by: yesjuhee <[email protected]> Co-authored-by: hyzoon <[email protected]> Co-authored-by: Kim Sang Yeob <[email protected]> Co-authored-by: chanyeong <[email protected]> --------- Co-authored-by: chanyeong <[email protected]> Co-authored-by: yesjuhee <[email protected]> Co-authored-by: hyzoon <[email protected]> Co-authored-by: Kim Sang Yeob <[email protected]> Co-authored-by: chanyeong <[email protected]> * [FEAT] Inquiry API 구현 (issue #45) * feat: Implement inquiry domain/dtos/repository * feat: Impl mail feature (from #68 pr) * 과제 제안 API PR의 mail 관련 설정 참고 * feat: Impl createProjectInquiry api * [FIX] 로그인 리다이렉션 & 쿠키 문제 해결 (#72) * fix: redirect uri 추가 * fix: access-token cookie응답으로 변경 * fix: cookie domain localhost로 변경 * fix: redirect uri 방식 변경 * fix: redirect uri 방식 변경 * fix: secure 옵션 추가 * fix: 프론트 로그인 콜백주소 변경 * chore: config typo * refactor: Login 테스트코드 리팩토링 * refactor: 학번 uniqueness 삭제 * fix: rename MailEvent to EmailEvent * feat: Impl getList/get/update/delete inquiry api * fix: modify createInquiry api * feat: Impl full inquiry api * fix: fix inquiry cannot detect reply delete * feat: Impl getInquiryReply api * chore: refine service code / comments * feat: inquiry api RestDocs / controller test * feat: consider case of deleted user * fix: typo * feat: allow ADMIN to add project Inquiry * chore: clarify access token type in InquiryControllerTest * fix: only inquiry author and admin can access to the inquiry, inquiry reply * chore: revert local db port * fix: 탈퇴한 회원의 경우 유저 이름에 "탈퇴한 회원"이 아닌 null value * fix: consider the inquiry with user null case * chore: modify CI for creating application-email.yml from secrets --------- Co-authored-by: chanyeong <[email protected]> * [FIX] Inquiry API replied flag 추가 (#113) * feat: add replied flag for InquiryDetailResponse and update test * fix: newly created inquiry always doesn't have reply * chore: update affected html files after rebuild * [FEAT] Project Excel API 구현 완료 (#115) * feat: 프로젝트일괄등록양식 다운로드 API 구현, 테스트 작성 * feat: 프로젝트 엑셀 일괄등록 컨트롤러, 테스트 작성 * feat: 엑셀 일괄 등록 컨트롤러, 테스트 작성 * feat: 엑셀 일괄 등록 구현 * docs: html 문서 업데이트 * chore: gitignore 파일 수정' * chore: 의미 없는 공백 제거 * fix: 비어있는 행 판별 오류 수정 * fix: 한글 문자열 비교 오류 수정 * fix: 빈 행 오류 수정 * docs: restdocs 문서 전체 업데이트 * [FEAT] User 관련 API 구현 완료 (#111) * feat: getMe API 구현 * refactor: userService 함수명 변경 * feat: updateMe api 구현 * feat: deleteMe api 구현 * feat: getMe test, restDocs 추가 * feat: updateMe test, restDocs 추가 * feat: deleteMe test, restDocs 추가 * feat: restDocs 추가 * feat: UpdateUserRequest validation 추가 * fix: 회원가입 시 연관 엔티티 삭제되는 문제 해결 * fix: INACTIVE 유저 포함 * fix: getMe에서 학과정보 확인할 때 오류나는 문제 해결 * fix: updateMe 공백 방지, 버그 수정 * feat: updateMe patch에서 put으로 변경 * feat: getUserInquiries, getUserProposals 구현 * feat: getUserInquiries, getUserProposals restDocs 추가 * feat: getDepartments api 구현 * feat: getDepartments restdocs 추가 * refactor: userUpdateRequest dto 변수명 auth/register과 통일 * feat: userResponse dto에서 socialLoginId 필드 제거 * fix: updateMe에서 소속, 직책을 빈 문자열로 바꿀 수 있도록 수정 * feat: 유저 삭제 시 좋아요 정보도 삭제되도록 변경 * feat: getUserFavorites api 구현 * chore: restdocs 중복정보 제외 * fix: 소속, 직책 업데이트 로직 수정 * chore: restdocs 중복정보 제외 * chore: department restdocs 수정 * feat: transactional 설정 추가 * feat: getUserFavorites response dto 통일 * feat: getUserFavorites restdocs 추가 * fix: getUserInquiries, getUserProposals dto에 답변 여부 필드 추가 * refactor: 답변 엔티티명 reply로 수정 * 머지 충돌 해결 * feat: getUserFavorites 수정 * fix: user.adoc 수정 * docs: .html파일들 삭제 * docs: static/docs 생성 * [FIX] getFile API 오류 수정 * [FIX] JobInfo notion fetching 오류 수정 * feat: develop 브랜치 trigger 추가 (#126) * feat: jwt payload 수정 (#125) * [FIX] Access Token이 Bearer null 인 경우 Optional이 작동하지 않음 (#128) * feat: add string null check in AuthResolver * fix: insert null string check code to hasAccessToken function * [FEAT] 과제제안 API 구현 (#129) * [FEAT] 과제 제안 API 개발 & 이메일 API 개발 (#68) * [FEAT] Video 관련 API 개발 (#51) * feat: talk 및 jobInterview 레포지토리 추가 * feat: jobInterview DTO 추가 * feat: add create and get jobinterview api * feat: add update and delete jobinterview api * fix: change BaseVideoEntity access level * refactor: add new line in JobInterview Category * refactor: change dto name * fix: change string check annotation to NotBlank * refactor: change category enum class name * feat: add enum validator * refactor: apply dto format discussed in PR #12 * fix: apply static factory method * chore: remove superbuilder annotation in BaseTimeEntity * chore: transactional 어노테이션 클래스로 이동 * chore: 엔티티 객체 생성 스타일 변경 * fix: pathVariable 명시 * fix: cascade 옵션 변경 * chore: dirty checking 사용하는 방법으로 update 변경 * feat: change exception to custom BadRequestException * chore: 접근제어자 제거 * feat: 잡페어 인터뷰 생성 테스트코드 작성 * feat: add JobInterview create Testcode * fix: ExceptionCode 추가 및 변경사항 대응 * feat: 잡페어 인터뷰 컨트롤러 테스트 * feat: 잡페어 인터뷰 RestDocs * feat: create QuizRepository * feat: add Talk Request/Response DTO * feat: implement talkservice and add exception code * feat: implement talkController * feat: implement TalkControllerTest * feat: implement TalkControllerTest * feat: 대담영상 api 문서 작성 * feat: 퀴즈 포함 대담 API 구현 * fix: 대담 연관관계 업데이트 버그 수정 * feat: add talker belonging and name field in jobinterview entity * feat: update jobinterview testcode * chore: remove status header * feat: remove HasQuiz And Apply JsonUnwrapped Annotation * refactor: remove Talks(List) Response DTO * feat: update TalkController TestCode * chore: update Talk API Docs * refactor: 엔티티에서 DTO 사용 제거 * feat: @authuser 적용 및 testcode 수정 * chore: add token to request cookie and header * fix: change local.yml * refactor: change video package location * refactor: test code 패키지 변경 * fix: change db url in local.yml * [FEAT] Notice/EventNotice 관련 API 개발 (#56) * feat: Add Notice,EventNotice entity Superbuilder, setter for update * feat: Implement NoticeDto Inner Static class * feat: Implement NoticeRepository * feat: Implement NoticeService interface, NoticeServiceImpl * feat: Implement NoticeController * fix: @NoArgsConstructor(access = PROTECTED) for entities * fix: change url, dto (request) field, add validation * fix: remove service interface * fix: change exception to bad request exception * feat: implement getNoticeList api, minor renaming controller parameter * fix: move @transactional annotation * fix: remove @DaTa annotation * refactor: refactor package structure * fix: split response, request dto * fix: Use static factory method instead of builder pattern * feat: change put/post to return entity value, change update logic (use repository), fix minor naming * feat: Implement increasing hitCount when getNotice * fix: change protect constructor of BaseNoticeEntity to use annotation * fix: Revise static factory method to use `from` * [FEAT] Global Exception, Test, Restdocs 설정 (#17) * feat: validator exception handler, BadrequestException 추가 * feat: controller test 설정 추가 * feat: index.adoc 추가 * feat: request field 템플릿 추가 * refactor: request field snippet 들여쓰기 수정 * feat: exception logger 추가 * feat: Implement RestDocs, base test code for NoticeController, change exception - cherry-pick develop branch's 0f55de6 commit - only for create notice - revise to use custom BadRequestException * fix: Add cascade option in Notice Entity * fix: Revise parameter naming for pathvariable annotaion * fix: Fix wrong service method description * feat: change updateNotice, increaseHitCount to use entity method * feat: Implement attached files handling, add NoticeListElementResponse * refactor: rename DTOs * fix: Revise Notice/EventNotice entity to not inherit BaseNoticeEntity * minor renaming variables * feat: Implement Test code/RestDocs for NoticeController * cherry-pick: revised custom exception code #21 * feat: add custom exceptions for notice, notnull annotation for fileIds field * refactor: rename NoticeResponse fileReponses field to files * fix: revise NoticeService to work with request with no fileIds field * fix: refine controllerTest code for restDocs * fix: add pageable parameter in controllerTest * refactor: remove unnecessary annotation * feat: duplicate notice api for eventNotice api * refactor: reformat (clean) code * fix: change exception code number to prevent conflict * feat: implement fixed notices prioritization * refactor: change :path to {path} in adoc * refactor: refactor adoc files * refactor: remove debugging line for getNoticeList * feat: new logic for updateNotice file handling (using Cascade=ALL) * cherrypick: auth commit from develop branch * refactor: move domain package location * feat: duplicate eventNotice getList, update code from Notice * refactor: remove unused import statement * feat: auth user (admin) for create, update, delete * feat: revise test code for auth user * fix: Typo correction * fix: add application-local.yml for CI * chore: remove unnecessary comments * refactor: move notice/eventNotice controller test package --------- Co-authored-by: yesjuhee <[email protected]> Co-authored-by: chanyeong <[email protected]> * [FEAT] EvnetPeriod 관련 API 구현 완료 (#58) * feat: EventPeriod 리포지터리 생성 * feat: devtools 패키지 추가 * feat: 엔티티에 SupeBuilder 추가 * feat: EventPeriodDto 작성 * feat:EventPeriodController 구현 * feat: EventPeriodService 구현 * refactor: 사용 안하는 import 삭제 * feat: test configurations * feat: EvnetPeriodController 테스트 코드 작성 * feat: createEventPeriod 테스트코드, restdocs 코드 구현 * feat: GlobalExceptionHandler 추가, validation 실패시 응답바디 포멧 수정 * fix: builder 제거, DTO 분리 * feat: 정적 팩토리 메서드 사용하는 방식으로 createEventPeriod 메서드 수정 * feat: BadRequestExcption 추가 * fix: DTO 구조 변경에 맞춰 테스트 수정 * fix: Bad Request 테스트 수정, 해당 테스트 restdocs에서 제외시킴 * feat: 커스텀 에러 코드를 사용하는 방식으로 Exception Handler 수정 * fix: dto validation에 대한 응답도 ExceptionCode를 사용하도록 수정 * refactor: EventPeriodRequest -> CreateEventPeriodRequest 로 변경 * feat: getEvnetPeriods api 구현 * feat: getEventPeriods API 테스트, restdocs 구현 * fix: gitignore에 static/docs 추가 * feat: deleteEventPeriod controller 작성 * refactor: 컨트롤러 refactor * feat: deleteEventPeriod service 구현 * feat: deleteEventPeriod test * refactor: MockMvcRequestBuilders -> RestDocumentationRequestBuilders 로 변경 * feat: restdocs 추가 * refactor: merge conflict resolve 생략된거 해결 * refactor: index.adoc 머지 오류 수정 * fix: 도메인에서 DTO 사용 제외 * fix: createEventPeriod 요청 형식, 로직 수정 * fix: EventPeriod 조회 API 수정(리스트 조회 -> 단건 조회) * feat: deleteEventPeriod API 삭제, updateEventPeriod API 추가 * feat: Auth 설정 추가 * refactor: event 도메인 폴더 위치 변경 * fix: test, restdocs 수정 * fix: TEST Auth 설정 추가 * fix: getEventPeriods API 복구 * fix: application-local.yml 복구 * chore: 주석 삭제 * chor: 누락된 adoc 파일 추가 * chore: 제안 답변 엔티티 이름 변경 * feat: proposal controller 작성 * feat: proposal repository 작성 * feat: proposal dto 작성 * feat: async config 추가 * feat: controller 수정 * feat: mail 관련 설정추가 * feat: 비동기 mail sender 작성 * feat: proposal 관련 dto 작성 * feat: ProposalService 작성 * feat: mailSender 인터페이스 패턴으로 구성 * refactor: event 이름 변경 * fix: cascade 적요 * feat: getProposalReplies 작성 * feat: restDocs 작성 * feat: 과제 제안 답변 조회 api 작성 * feat: 과제 제안 컨트롤러 테스트코드 작성 * feat: 과제제안 응답에 reply 필드 추가 * feat: 권한 문제 수정 및 과제제안 필드 변경 * fix: 동일성 체크 문제 수정 * fix: 권한 필터조건 수정 * fix: 과제답변 관리자도 등록할수 있도록 수정 * feat: restDocs 세분화 --------- Co-authored-by: Hyunjun Yang <[email protected]> Co-authored-by: hyzoon <[email protected]> Co-authored-by: yesjuhee <[email protected]> * fix: 불필요 권한 검증로직 삭제 * fix: 형상관리 복구 * fix: proposal file 관련 수정 * fix: proposal 관련 수정 * feat: 필터링 쿼리 queryDsl 적용 * feat: persistence test 작성 * chore: terms typo * feat: 이메일 템플릿 작성 * chore: adoc update * fix: 파일 지연로딩 문제 수정 * fix: adoc 형상관리복구 * fix: 머지 오류 수정 * docs: html 파일 새로 빌드해서 추가 --------- Co-authored-by: chanyeong <[email protected]> Co-authored-by: Hyunjun Yang <[email protected]> Co-authored-by: hyzoon <[email protected]> Co-authored-by: chanyeong <[email protected]> * [FEAT] (이벤트)공지사항/프로젝트 문의 리스트 조회 기능 추가 (#131) * [FIX] Member 테이블 중복 Row 삭제처리 (#132) * feat: envChecker 추가 (#133) * hot-fix: prod용 ddl-auto 무효화 * fix: prod용 환경변수 이관 (#134) * feat: envChecker 추가 * feat: prod용 env 설정 * fix: 검색 필터 조건 추가 (#136) * feat: add DESC sort in gallery (#141) * [FEAT] 대담영상/잡페어 인터뷰 영상 최신순 정렬 * fix: remove save user when delete like and favorite project (#143) * Update QuizService.java (#145) * Update application-common.yml (#146) * [FIX] application-common.yml 의 redirectUri를 prod용 도메인으로 수정 (#147) * fix: change redirect url to cs.skku.edu * fix: 프런트용 redirect uri를 환경변수 주입 방식으로 변경 * feat: qa,prod용 cicd변경 --------- Co-authored-by: chanyeong <[email protected]> * Update CD-prod.yml * Update CD-prod.yml * fix: jwt userId추가 * fix: jwt userId 클래스 에러 수정 * fix: jwt userId 클래스 에러 수정 * fix: change max upload size (#149) * fix: duplicate key issue (#150) * fix: proposal & 파일 연관관계 수정 --------- Signed-off-by: chanyeong <[email protected]> Co-authored-by: yesjuhee <[email protected]> Co-authored-by: chanyeong <[email protected]> Co-authored-by: chanyeong <[email protected]> Co-authored-by: Hyunjun Yang <[email protected]> Co-authored-by: Junho Kim <[email protected]> Co-authored-by: Kim Sang Yeob <[email protected]>
shj1081
added a commit
that referenced
this pull request
Feb 9, 2025
* chore: new feature 이슈 템플릿 수정 * chore: bug report 이슈 템플릿 수정 * chore: pr 템플릿 수정 * feat: 도메인 설계, 엔티티 클래스 작성 * feat: 유저, 프로젝트 관련 엔티티 생성 * feat: 영상, 퀴즈 관련 엔티티 생성, hibenate utils 라이브러리 추가 * feat: 과제 제안 관련 엔티티 생성 * feat: 공지사항, 파일, 갤러리, 이벤트 관련 엔티티 생성 * feat: 프로젝트 문의 답변 엔티티 추가 * refactor: 폴더 구조 변경 * feat: 연관관계 매핑 정보 작성 * fix: 모든 엔티티 클래스가 BaseTimeEntity 클래스를 상속하도록 수정 * fix: 연관관계 fetch 정보 LAZY로 일괄 수정 * fix: 답변 상태 필드 제거 * fix: UserQuiz 엔티티 EntityListener 제거 * [CHORE] gitignorer 수정, 깃허브 템플릿 수정 (#6) * chore: gitignore 수정 * chore: 깃 캐시 삭제 * chore: 이슈, PR 템플릿 수정 * [CHORE] CI Workflow trigger fix (#16) * chore: CI Workflow trigger fix * fix: gradle permission fix * feat: CI용 local config 추가 * chore: update database name * [FEAT] Global Exception, Test, Restdocs 설정 (#17) * feat: validator exception handler, BadrequestException 추가 * feat: controller test 설정 추가 * feat: index.adoc 추가 * feat: request field 템플릿 추가 * refactor: request field snippet 들여쓰기 수정 * feat: exception logger 추가 * [FEAT] Custom Exception Code 기능 구현, 문서화 (#21) * feat: ExceptionCode, ExceptionResponse 추가 * feat: GlobalExceptionHandler 수정 * feat: exception-response-field 스니펫 추가 * chore: request field 영어로 표기 수정 * feat: Exception Code 컨트롤러, 컨트롤러 테스트 추가 * feat: adoc 파일 수정 * fix: resources/static/docs gitignore에 추가, 캐시 삭제 * fix: CI용 application-local.yml 추가 * [FIX] 도메인 수정 (#26) * fix: BaseNoticeEntity 삭제 * fix: BaseVideoEntity 삭제 * fix: BaseRespnseEntity 삭제 * fix: Project videoUrl -> youtubeId 변경 * fix: UserType TEMP 추가 * fix: prod url 수정 * feat: oauth yml 추가 & test결과 추가 * fix: write 권한 추가 * [FEAT] CI Workflow 수정 & 유닛테스트 퍼센티지 기능 추가 (#32) * fix: prod url 수정 * feat: oauth yml 추가 & test결과 추가 * fix: write 권한 추가 * fix: auto test permission 수정 * [FIX] CI Workflow Unit Test 권한 문제 수정 (#34) * fix: application-local datasource name 수정 * fix: prod url 수정 * feat: oauth yml 추가 & test결과 추가 * fix: write 권한 추가 * fix: auto test permission 수정 * fix: github token 에러 수정 * [FIX] CI WORKFLOW test report 수정 (#37) * fix: application-local datasource name 수정 * fix: prod url 수정 * feat: oauth yml 추가 & test결과 추가 * fix: write 권한 추가 * fix: auto test permission 수정 * fix: github token 에러 수정 * fix: github action junit tester 수정 * chore: junit test 경로 변경 * chore: report_path 수정 * chore: CI workflow token 추가 * [FEAT] kakao oauth module & auth module 구현 (#24) * feat: validator exception handler, BadrequestException 추가 * feat: controller test 설정 추가 * feat: index.adoc 추가 * feat: request field 템플릿 추가 * refactor: request field snippet 들여쓰기 수정 * feat: webconfig 작성 * chore: user domain 패키지구조 리팩토링 * feat: exception logger 추가 * chore: user domain 패키지구조 리팩토링 * feat: webconfig 작성 * feat: jwtProvider 작성 * feat: AuthUserArgumentResolver 작성 * feat: jwt관련 Exception코드 작성 * feat: gitignore auth config 추가 * feat: 유저 authorization 관련 로직 작성 * feat: auth controller 작성 * feat: kakao infrastructure 작성 * feat: auth dto 작성 * feat: auth 관련 domain 작성 * fix: exception 작성 * feat: authService 작성 * feat: register 관련 user domain 로직 작성 * feat: oauth infrastructure 코드 작성 * feat: auth controller 작성 * feat: auth service 작성 * feat: register dto 작성 * refactor: 유저 인증 방식 변경 * fix: fix Test config * fix: socialType 관련 필드 삭제 * fix: 카카오에서 닉네임 받지 않도록 수정 * fix: api 버저닝 삭제 * chore: dto 수정 TODO 사항 작성 * chore: exception 핸들러 작성 * fix: controller valid & redirect uri 방식 변경 * fix: unauthorizedException 추가 * fix: other타입 권한 로직 추가 * fix: request requesturi 접근 오류 수정 * fix: 임시 유저 생성시 temp 로 생성되도록 수정 * fix: unauthorizedException 적용 Signed-off-by: chanyeong <[email protected]> * fix: user field nullable change * fix: student 생성로직 추가 & responsedto 추가 * refactor: JpaAuditingConfig 작성 * refactor: oauth 인증방식 변경 * refactor: studentInfo validation 로직 수정 * refactor: accesstoken 파싱방식 변경 * feat: auth controller test 작성 * fix: ddl-auto 옵션 변경 * fix: get방식으로 로그인 변경 * fix: controller 오류 수정 * feat: 학생이 아닌 유저의 회원가입 로직 수정 * fix: controller test 오류 수정 * fix: duplicated mockbean 오류 수정 * fix: auth service 로직 오류 수정 * fix: adoc 표기방식 변경 * chore: adoc 개행추가 --------- Signed-off-by: chanyeong <[email protected]> Co-authored-by: yesjuhee <[email protected]> * [FEAT] Video 관련 API 개발 (#51) * feat: talk 및 jobInterview 레포지토리 추가 * feat: jobInterview DTO 추가 * feat: add create and get jobinterview api * feat: add update and delete jobinterview api * fix: change BaseVideoEntity access level * refactor: add new line in JobInterview Category * refactor: change dto name * fix: change string check annotation to NotBlank * refactor: change category enum class name * feat: add enum validator * refactor: apply dto format discussed in PR #12 * fix: apply static factory method * chore: remove superbuilder annotation in BaseTimeEntity * chore: transactional 어노테이션 클래스로 이동 * chore: 엔티티 객체 생성 스타일 변경 * fix: pathVariable 명시 * fix: cascade 옵션 변경 * chore: dirty checking 사용하는 방법으로 update 변경 * feat: change exception to custom BadRequestException * chore: 접근제어자 제거 * feat: 잡페어 인터뷰 생성 테스트코드 작성 * feat: add JobInterview create Testcode * fix: ExceptionCode 추가 및 변경사항 대응 * feat: 잡페어 인터뷰 컨트롤러 테스트 * feat: 잡페어 인터뷰 RestDocs * feat: create QuizRepository * feat: add Talk Request/Response DTO * feat: implement talkservice and add exception code * feat: implement talkController * feat: implement TalkControllerTest * feat: implement TalkControllerTest * feat: 대담영상 api 문서 작성 * feat: 퀴즈 포함 대담 API 구현 * fix: 대담 연관관계 업데이트 버그 수정 * feat: add talker belonging and name field in jobinterview entity * feat: update jobinterview testcode * chore: remove status header * feat: remove HasQuiz And Apply JsonUnwrapped Annotation * refactor: remove Talks(List) Response DTO * feat: update TalkController TestCode * chore: update Talk API Docs * refactor: 엔티티에서 DTO 사용 제거 * feat: @authuser 적용 및 testcode 수정 * chore: add token to request cookie and header * fix: change local.yml * refactor: change video package location * refactor: test code 패키지 변경 * fix: change db url in local.yml * [FEAT] Notice/EventNotice 관련 API 개발 (#56) * feat: Add Notice,EventNotice entity Superbuilder, setter for update * feat: Implement NoticeDto Inner Static class * feat: Implement NoticeRepository * feat: Implement NoticeService interface, NoticeServiceImpl * feat: Implement NoticeController * fix: @NoArgsConstructor(access = PROTECTED) for entities * fix: change url, dto (request) field, add validation * fix: remove service interface * fix: change exception to bad request exception * feat: implement getNoticeList api, minor renaming controller parameter * fix: move @transactional annotation * fix: remove @DaTa annotation * refactor: refactor package structure * fix: split response, request dto * fix: Use static factory method instead of builder pattern * feat: change put/post to return entity value, change update logic (use repository), fix minor naming * feat: Implement increasing hitCount when getNotice * fix: change protect constructor of BaseNoticeEntity to use annotation * fix: Revise static factory method to use `from` * [FEAT] Global Exception, Test, Restdocs 설정 (#17) * feat: validator exception handler, BadrequestException 추가 * feat: controller test 설정 추가 * feat: index.adoc 추가 * feat: request field 템플릿 추가 * refactor: request field snippet 들여쓰기 수정 * feat: exception logger 추가 * feat: Implement RestDocs, base test code for NoticeController, change exception - cherry-pick develop branch's 0f55de6 commit - only for create notice - revise to use custom BadRequestException * fix: Add cascade option in Notice Entity * fix: Revise parameter naming for pathvariable annotaion * fix: Fix wrong service method description * feat: change updateNotice, increaseHitCount to use entity method * feat: Implement attached files handling, add NoticeListElementResponse * refactor: rename DTOs * fix: Revise Notice/EventNotice entity to not inherit BaseNoticeEntity * minor renaming variables * feat: Implement Test code/RestDocs for NoticeController * cherry-pick: revised custom exception code #21 * feat: add custom exceptions for notice, notnull annotation for fileIds field * refactor: rename NoticeResponse fileReponses field to files * fix: revise NoticeService to work with request with no fileIds field * fix: refine controllerTest code for restDocs * fix: add pageable parameter in controllerTest * refactor: remove unnecessary annotation * feat: duplicate notice api for eventNotice api * refactor: reformat (clean) code * fix: change exception code number to prevent conflict * feat: implement fixed notices prioritization * refactor: change :path to {path} in adoc * refactor: refactor adoc files * refactor: remove debugging line for getNoticeList * feat: new logic for updateNotice file handling (using Cascade=ALL) * cherrypick: auth commit from develop branch * refactor: move domain package location * feat: duplicate eventNotice getList, update code from Notice * refactor: remove unused import statement * feat: auth user (admin) for create, update, delete * feat: revise test code for auth user * fix: Typo correction * fix: add application-local.yml for CI * chore: remove unnecessary comments * refactor: move notice/eventNotice controller test package --------- Co-authored-by: yesjuhee <[email protected]> Co-authored-by: chanyeong <[email protected]> * [FEAT] EvnetPeriod 관련 API 구현 완료 (#58) * feat: EventPeriod 리포지터리 생성 * feat: devtools 패키지 추가 * feat: 엔티티에 SupeBuilder 추가 * feat: EventPeriodDto 작성 * feat:EventPeriodController 구현 * feat: EventPeriodService 구현 * refactor: 사용 안하는 import 삭제 * feat: test configurations * feat: EvnetPeriodController 테스트 코드 작성 * feat: createEventPeriod 테스트코드, restdocs 코드 구현 * feat: GlobalExceptionHandler 추가, validation 실패시 응답바디 포멧 수정 * fix: builder 제거, DTO 분리 * feat: 정적 팩토리 메서드 사용하는 방식으로 createEventPeriod 메서드 수정 * feat: BadRequestExcption 추가 * fix: DTO 구조 변경에 맞춰 테스트 수정 * fix: Bad Request 테스트 수정, 해당 테스트 restdocs에서 제외시킴 * feat: 커스텀 에러 코드를 사용하는 방식으로 Exception Handler 수정 * fix: dto validation에 대한 응답도 ExceptionCode를 사용하도록 수정 * refactor: EventPeriodRequest -> CreateEventPeriodRequest 로 변경 * feat: getEvnetPeriods api 구현 * feat: getEventPeriods API 테스트, restdocs 구현 * fix: gitignore에 static/docs 추가 * feat: deleteEventPeriod controller 작성 * refactor: 컨트롤러 refactor * feat: deleteEventPeriod service 구현 * feat: deleteEventPeriod test * refactor: MockMvcRequestBuilders -> RestDocumentationRequestBuilders 로 변경 * feat: restdocs 추가 * refactor: merge conflict resolve 생략된거 해결 * refactor: index.adoc 머지 오류 수정 * fix: 도메인에서 DTO 사용 제외 * fix: createEventPeriod 요청 형식, 로직 수정 * fix: EventPeriod 조회 API 수정(리스트 조회 -> 단건 조회) * feat: deleteEventPeriod API 삭제, updateEventPeriod API 추가 * feat: Auth 설정 추가 * refactor: event 도메인 폴더 위치 변경 * fix: test, restdocs 수정 * fix: TEST Auth 설정 추가 * fix: getEventPeriods API 복구 * fix: application-local.yml 복구 * chore: 주석 삭제 * chor: 누락된 adoc 파일 추가 * [FEAT] Gallery 관련 API 구현 완료 (#10) (#64) * feat: create gallery api 틀 세팅 * feat: Galley cotroller test 작성, restdocs 작성 * feat: createGallery 서비스 구현 * feat: 로그에서 SQL 쿼리 확인할 수 있도록 수정 * feat: getGalleries api 구현 * fix: 도메인에서 DTO 사용하는 케이스 수정 * feat: 트랜잭션 설정 추가 * feat: restdocs 작성 * feat: RestDocumentationRequestBuilders 사용 * feat: restdocs에 페이지네이션 파라미터 추가 * feat: getGallery api 구현 * feat: getGallery test, restdocs 추가 * feat: deleteGallery api 구현 * feat: deleteGallery test, restDocs 추가 * feat: updateGallery api 구현, test, restDocs 추가 * fix: dto에서 원시 타입 대신 객체 타입으로 변경 * feat: ExceptionCode 추가 * refactor: GalleryRequest dto 하나로 통일 * feat: content필드 삭제, 조회수 필드 추가 * feat: 조회수 증가 로직 구현 * fix: getGallery 조회수 변경 반영되도록 수정 * refactor: dto 생성 메서드 galleryResponse내부로 이동 * fix: deleteGallery작동하도록 cascade옵션 추가 * fix: createGallery에서 안 쓰는 파일 제거하도록 수정 * feat: @authuser 추가 * fix: 충돌 나는 부분 머지 잘못한 거 수정 * feat: test에 auth 설정 추가 * refactor: 폴더 위치 이동 * feat: restdocs에 requestCookies, requestHeaders추가 * chore: application-local.yml 수정 --------- Co-authored-by: yesjuhee <[email protected]> * fix: restdocs html 문서 추가 * �chore: README에 API 문서 링크 추가 * [FEAT] Application 관련 API 개발 완료 (#69) * [FIX] 로그인 리다이렉션 & 쿠키 문제 해결 (#72) * fix: redirect uri 추가 * fix: access-token cookie응답으로 변경 * fix: cookie domain localhost로 변경 * fix: redirect uri 방식 변경 * fix: redirect uri 방식 변경 * fix: secure 옵션 추가 * fix: 프론트 로그인 콜백주소 변경 * chore: config typo * refactor: Login 테스트코드 리팩토링 * refactor: 학번 uniqueness 삭제 * [FEAT] Quiz, Video Favorite 관련 API 구현 (#74) * hotfix: redirect uri 변경 * [FEAT] File API 구현 완료 (#81) * feat: minio defendency 추가 * feat: file 도메인 위치 변경, Minio 설정 추가 * feat: application-minio.yml 추가, gitignore 반영 * feat: MinioClientService - uploadFile 서비스 작성 * feat: InternalServerErrorException 커스텀 예외 추가 * feat: uploadFile API 작성 * feat: UploadFile test, restdocs 작성 * refactor: 안쓰는 import 삭제 * feat: 서비스 코드 작성 * feat: 컨트롤러 코드 작성 * feat: getFile test, restdocs 추가 * fix: application-local.yml 추가 * feat: restdocs 파일 추가 * fix: minIO 설정 파일을 추가하도록 CI 수정 * chore: 큰따옴표 중복 오류 수정 * fix: base64 인코딩 적용, 다시 큰따옴표로 수정 * [FIX] Notice / EventNotice 목록 조회 시 sort 미적용 해결 * [FIX] event notice file update 시 미포함된 파일 삭제되도록 수정 * [FEAT] Project API 구현 완료 (#88) * feat: create controller, repository, request dto, service file * feat: add FileRepository * chore: add AllArgsConstructor in Member Entity * chore: add AllArgsConstructor and cascade option in Project Entity * feat: add MemberRequest Dto * feat: add ProjectRequest Dto * feat: add createProject controller * feat: add createProject Service * feat: add getProjects controller * feat: add getProjects repository * feat: add getProjects response dto * feat: add getProjects service * feat: change builder to of * feat: pageable 오타 수정 * chore: change studentNames, professorNames type and name * chore: change studentNames, professorNames type and name * chore: change thumbnail type * add: project 도메인 관련 에러 코드 추가 * add: memberRequeset dto 객체 작성 * add: projectRequeset dto 객체 작성 * add: projectDetailResponse dto 객체 작성 * feat: projectService 코드 작성 * feat: projectController 작성 * add: project domain entity cascade 옵션 추가 * add: createProject, getProject, updateProject, deleteProject restdocs 코드 작성 * chore: @PathVariable("projectId")로 변경 * chore: @transactional 일괄적으로 적용 * chore: file table에 고아객체 삭제 옵션 추가 * add: MemberRequest 객체 검증 로직 작성 * add: 인증 설정 관련 ToDo 작성 * add: ProjectRequest validation 로직 수정 * add: ProjectService @transactional(readOnly = true) 추가 * add: adoc 파일 추가해서 rest docs 생성 * fix: ProjectRequest에서 MemberRequest Validation 로직 코드 수정 * fix: import 정리 * fix: member type nullable 타입으로 변경 * add: getProjects test 추가 * fix: File entity를 FileResponse Dto로 변경 * add: git cheery-pick으로 auth 관련 부분 가져오기 * add: git cheery-pick으로 auth 관련 부분 가져오기 * feat: createProjectFavorite, deleteProjectFavorite api 구현 * feat: createProjectLike, deleteProjectLike api 구현 * feat: createProjectComment, deleteProjectComment api 구현 * add: likes api 사용기간 설정을 위한 EventPeriodRepository 생성 * fix: user 이중 검증되는 부분 수정 * add: favorite, like, comment project api (6개) restdocs 작성 * fix: restdocs 수정 * chore: 주석 제거 * chore: techStackList * chore: ExceptionCode 좋아요 message 변경 * chore: deleteProjectLike Exception 변경 * chore: 현재 eventPeriod 찾는 로직 변경 * feat: getProject 반환 json에 댓글 추가 * add: getProject, getProjects 로그인 유저 좋아요 및 북마크 json 맴버에 추 * add: createProject, updateProject, deleteProject @authuser 추가 * add: FileResponse id 추가 * add: restdocs 정보 수정 * chore: JsonFieldType class -> OBJECT 변경 * [FEAT] Application 관련 API 개발 완료 (#69) * chore: domain/project -> project로 폴더 이동 * chore: domain/project -> project로 폴더 이동 * chore: ProjectControllerTest 폴더 구조 변경 * chore: getAwardProjects API 구현 * chore: findByYear type Optional로 변경 * chore: like, favoriteProject 동시성 문제 해결을 위한 {userId, projectId} unique 설정 및 DataIntegrityViolationException 예외 처리 * add: getAwardProjects restdocs 추가 * fix: ProjectResponse, ProjectDetailResponse 중복 제거 * fix: getProject를 다른 Service 메서드에서 사용하는 코드 제거 * chore: 코드 사이 공백 수정 및 설명 주석 추가 * chore: createProject, updateProject when 인자 수정 * merge: develop branch 재처리 * fix: getProjects, getProject, getAwardProjects user OPTIONAL 처리 * add: index.adoc에 project.adoc추가 및 --- 지우기 * add: pageable queryParameters 추가 * fix: 오타 수정 * fix: createProjectLike, createProjectFavorite 지연 로딩 관련 에러 수정 * fix: user null인 경우 예외처리 * fix: userRepository.save(user)로 영속성 컨텍스트에 user 로드 * chore: 상단에 --- 추가 --------- Co-authored-by: chanyeong <[email protected]> Co-authored-by: yesjuhee <[email protected]> * fix: ProjectResponse에 yaer 추가 및 테스트코드에도 yaer 추가 (#94) * [FIX] 다중 파일 업로드가 가능하도록 uploadFile API 수정 (#96) * fix: service 수정 * fix: 컨트롤러/서비스 수정 * fix: 테스트코드 수정 * fix: html 파일 빌드 * fix: 테스트코드 삭제 * fix: html 파일 추가 * [FEAT] Aihub / JobInfo api (Notion) 구현 완료 (#91) * feat: implement getAiHubModels api (need notion.yml) * feat: change the field of model notion db * chore: refine service code * feat: request and response with integer year (not string) * feat: implment getAiHubDatasets API and modify service code to reduce rebundancy * chore: refine comments * refactor: relocate dto * feat: RestDocs, controller test code * feat: implement JobInfo API * feat: implement JobInfoControllerTest code, RestDocs, change api URI * chore: change for handling merge conflict * chore : modify CI.yml for notion config * chore: add notion config in application.yml * fix: fix the cascade option * chore: add html files for restDocs * chore: add html files for restDocs (ommited ones) * [Fix] getProjects 필터링 기능 추가 (#100) * feat: getProjects 쿼리파라미터 배열로 입력 가능하게 변경 * fix: getProjects queryParameter type 추가 * chore: build 후 html 파일 추가 * [CHORE] 레포 이름 변경으로 인한 restdocs 경로 변경 (#102) * [FIX] 퀴즈 생성 및 응답 형식을 Json에서 List로 변경 (#104) * feat: add map to list converter in dto * feat: add list to map converter in request dto * feat: change quiz request/response in talk controller test * chore: copy documents * [CHORE] Rest Docs 최신화 (#105) * [FIX] Project 도메인 및 API 일부 수정 (#107) * chore: Project domain 및 dto techStack 삭제 * chore: Project domain 및 dto url, description 추가 * chore: ProjectControllerTest 변경사항 수정 * chore: url optional 변경 * chore: rest docs html 변경사항 * [FEAT] 엑셀 다운로드 유틸 및 제출한 퀴즈 결과 엑셀로 받는 기능 구현 (#71) (#108) * [FEAT] 엑셀 다운로드 유틸 및 제출한 퀴즈 결과 엑셀로 받는 기능 구현 (#77) * feat: add apache.poi in build.gradle * feat: impl ExcelUtil * hotfix: redirect uri 변경 * feat: re-impl ExcelUtil and create Excel DataClass * feat: add append function in Excelutil * fix: remove type annotation in ExcelColumn * feat: impl userquiz to excel * fix: add workbook dispose and close * fix: remove dummy data * feat: add quiz-excel in QuizControllerTest * [FEAT] File API 구현 완료 (#81) * feat: minio defendency 추가 * feat: file 도메인 위치 변경, Minio 설정 추가 * feat: application-minio.yml 추가, gitignore 반영 * feat: MinioClientService - uploadFile 서비스 작성 * feat: InternalServerErrorException 커스텀 예외 추가 * feat: uploadFile API 작성 * feat: UploadFile test, restdocs 작성 * refactor: 안쓰는 import 삭제 * feat: 서비스 코드 작성 * feat: 컨트롤러 코드 작성 * feat: getFile test, restdocs 추가 * fix: application-local.yml 추가 * feat: restdocs 파일 추가 * fix: minIO 설정 파일을 추가하도록 CI 수정 * chore: 큰따옴표 중복 오류 수정 * fix: base64 인코딩 적용, 다시 큰따옴표로 수정 * [FIX] Notice / EventNotice 목록 조회 시 sort 미적용 해결 * [FIX] event notice file update 시 미포함된 파일 삭제되도록 수정 * [FEAT] Project API 구현 완료 (#88) * feat: create controller, repository, request dto, service file * feat: add FileRepository * chore: add AllArgsConstructor in Member Entity * chore: add AllArgsConstructor and cascade option in Project Entity * feat: add MemberRequest Dto * feat: add ProjectRequest Dto * feat: add createProject controller * feat: add createProject Service * feat: add getProjects controller * feat: add getProjects repository * feat: add getProjects response dto * feat: add getProjects service * feat: change builder to of * feat: pageable 오타 수정 * chore: change studentNames, professorNames type and name * chore: change studentNames, professorNames type and name * chore: change thumbnail type * add: project 도메인 관련 에러 코드 추가 * add: memberRequeset dto 객체 작성 * add: projectRequeset dto 객체 작성 * add: projectDetailResponse dto 객체 작성 * feat: projectService 코드 작성 * feat: projectController 작성 * add: project domain entity cascade 옵션 추가 * add: createProject, getProject, updateProject, deleteProject restdocs 코드 작성 * chore: @PathVariable("projectId")로 변경 * chore: @transactional 일괄적으로 적용 * chore: file table에 고아객체 삭제 옵션 추가 * add: MemberRequest 객체 검증 로직 작성 * add: 인증 설정 관련 ToDo 작성 * add: ProjectRequest validation 로직 수정 * add: ProjectService @transactional(readOnly = true) 추가 * add: adoc 파일 추가해서 rest docs 생성 * fix: ProjectRequest에서 MemberRequest Validation 로직 코드 수정 * fix: import 정리 * fix: member type nullable 타입으로 변경 * add: getProjects test 추가 * fix: File entity를 FileResponse Dto로 변경 * add: git cheery-pick으로 auth 관련 부분 가져오기 * add: git cheery-pick으로 auth 관련 부분 가져오기 * feat: createProjectFavorite, deleteProjectFavorite api 구현 * feat: createProjectLike, deleteProjectLike api 구현 * feat: createProjectComment, deleteProjectComment api 구현 * add: likes api 사용기간 설정을 위한 EventPeriodRepository 생성 * fix: user 이중 검증되는 부분 수정 * add: favorite, like, comment project api (6개) restdocs 작성 * fix: restdocs 수정 * chore: 주석 제거 * chore: techStackList * chore: ExceptionCode 좋아요 message 변경 * chore: deleteProjectLike Exception 변경 * chore: 현재 eventPeriod 찾는 로직 변경 * feat: getProject 반환 json에 댓글 추가 * add: getProject, getProjects 로그인 유저 좋아요 및 북마크 json 맴버에 추 * add: createProject, updateProject, deleteProject @authuser 추가 * add: FileResponse id 추가 * add: restdocs 정보 수정 * chore: JsonFieldType class -> OBJECT 변경 * [FEAT] Application 관련 API 개발 완료 (#69) * chore: domain/project -> project로 폴더 이동 * chore: domain/project -> project로 폴더 이동 * chore: ProjectControllerTest 폴더 구조 변경 * chore: getAwardProjects API 구현 * chore: findByYear type Optional로 변경 * chore: like, favoriteProject 동시성 문제 해결을 위한 {userId, projectId} unique 설정 및 DataIntegrityViolationException 예외 처리 * add: getAwardProjects restdocs 추가 * fix: ProjectResponse, ProjectDetailResponse 중복 제거 * fix: getProject를 다른 Service 메서드에서 사용하는 코드 제거 * chore: 코드 사이 공백 수정 및 설명 주석 추가 * chore: createProject, updateProject when 인자 수정 * merge: develop branch 재처리 * fix: getProjects, getProject, getAwardProjects user OPTIONAL 처리 * add: index.adoc에 project.adoc추가 및 --- 지우기 * add: pageable queryParameters 추가 * fix: 오타 수정 * fix: createProjectLike, createProjectFavorite 지연 로딩 관련 에러 수정 * fix: user null인 경우 예외처리 * fix: userRepository.save(user)로 영속성 컨텍스트에 user 로드 * chore: 상단에 --- 추가 --------- Co-authored-by: chanyeong <[email protected]> Co-authored-by: yesjuhee <[email protected]> * fix: ProjectResponse에 yaer 추가 및 테스트코드에도 yaer 추가 (#94) * [FIX] 다중 파일 업로드가 가능하도록 uploadFile API 수정 (#96) * fix: service 수정 * fix: 컨트롤러/서비스 수정 * fix: 테스트코드 수정 * fix: html 파일 빌드 * fix: 테스트코드 삭제 * fix: html 파일 추가 * [FEAT] Aihub / JobInfo api (Notion) 구현 완료 (#91) * feat: implement getAiHubModels api (need notion.yml) * feat: change the field of model notion db * chore: refine service code * feat: request and response with integer year (not string) * feat: implment getAiHubDatasets API and modify service code to reduce rebundancy * chore: refine comments * refactor: relocate dto * feat: RestDocs, controller test code * feat: implement JobInfo API * feat: implement JobInfoControllerTest code, RestDocs, change api URI * chore: change for handling merge conflict * chore : modify CI.yml for notion config * chore: add notion config in application.yml * fix: fix the cascade option * chore: add html files for restDocs * chore: add html files for restDocs (ommited ones) * [Fix] getProjects 필터링 기능 추가 (#100) * feat: getProjects 쿼리파라미터 배열로 입력 가능하게 변경 * fix: getProjects queryParameter type 추가 * chore: build 후 html 파일 추가 * [CHORE] 레포 이름 변경으로 인한 restdocs 경로 변경 (#102) * [FIX] 퀴즈 생성 및 응답 형식을 Json에서 List로 변경 (#104) * feat: add map to list converter in dto * feat: add list to map converter in request dto * feat: change quiz request/response in talk controller test * chore: copy documents * [CHORE] Rest Docs 최신화 (#105) * [FIX] Project 도메인 및 API 일부 수정 (#107) * chore: Project domain 및 dto techStack 삭제 * chore: Project domain 및 dto url, description 추가 * chore: ProjectControllerTest 변경사항 수정 * chore: url optional 변경 * chore: rest docs html 변경사항 * fix: remove user id from excel * fix: change userid type from string to number in testcode * fix: change application-local.yml * chore: copyDocument --------- Co-authored-by: chanyeong <[email protected]> Co-authored-by: yesjuhee <[email protected]> Co-authored-by: hyzoon <[email protected]> Co-authored-by: Kim Sang Yeob <[email protected]> Co-authored-by: chanyeong <[email protected]> * [FIX] Quiz 및 Excel 관련 API 충돌 해결 (#109) * hotfix: redirect uri 변경 * [FEAT] File API 구현 완료 (#81) * feat: minio defendency 추가 * feat: file 도메인 위치 변경, Minio 설정 추가 * feat: application-minio.yml 추가, gitignore 반영 * feat: MinioClientService - uploadFile 서비스 작성 * feat: InternalServerErrorException 커스텀 예외 추가 * feat: uploadFile API 작성 * feat: UploadFile test, restdocs 작성 * refactor: 안쓰는 import 삭제 * feat: 서비스 코드 작성 * feat: 컨트롤러 코드 작성 * feat: getFile test, restdocs 추가 * fix: application-local.yml 추가 * feat: restdocs 파일 추가 * fix: minIO 설정 파일을 추가하도록 CI 수정 * chore: 큰따옴표 중복 오류 수정 * fix: base64 인코딩 적용, 다시 큰따옴표로 수정 * [FIX] Notice / EventNotice 목록 조회 시 sort 미적용 해결 * [FIX] event notice file update 시 미포함된 파일 삭제되도록 수정 * [FEAT] Project API 구현 완료 (#88) * feat: create controller, repository, request dto, service file * feat: add FileRepository * chore: add AllArgsConstructor in Member Entity * chore: add AllArgsConstructor and cascade option in Project Entity * feat: add MemberRequest Dto * feat: add ProjectRequest Dto * feat: add createProject controller * feat: add createProject Service * feat: add getProjects controller * feat: add getProjects repository * feat: add getProjects response dto * feat: add getProjects service * feat: change builder to of * feat: pageable 오타 수정 * chore: change studentNames, professorNames type and name * chore: change studentNames, professorNames type and name * chore: change thumbnail type * add: project 도메인 관련 에러 코드 추가 * add: memberRequeset dto 객체 작성 * add: projectRequeset dto 객체 작성 * add: projectDetailResponse dto 객체 작성 * feat: projectService 코드 작성 * feat: projectController 작성 * add: project domain entity cascade 옵션 추가 * add: createProject, getProject, updateProject, deleteProject restdocs 코드 작성 * chore: @PathVariable("projectId")로 변경 * chore: @transactional 일괄적으로 적용 * chore: file table에 고아객체 삭제 옵션 추가 * add: MemberRequest 객체 검증 로직 작성 * add: 인증 설정 관련 ToDo 작성 * add: ProjectRequest validation 로직 수정 * add: ProjectService @transactional(readOnly = true) 추가 * add: adoc 파일 추가해서 rest docs 생성 * fix: ProjectRequest에서 MemberRequest Validation 로직 코드 수정 * fix: import 정리 * fix: member type nullable 타입으로 변경 * add: getProjects test 추가 * fix: File entity를 FileResponse Dto로 변경 * add: git cheery-pick으로 auth 관련 부분 가져오기 * add: git cheery-pick으로 auth 관련 부분 가져오기 * feat: createProjectFavorite, deleteProjectFavorite api 구현 * feat: createProjectLike, deleteProjectLike api 구현 * feat: createProjectComment, deleteProjectComment api 구현 * add: likes api 사용기간 설정을 위한 EventPeriodRepository 생성 * fix: user 이중 검증되는 부분 수정 * add: favorite, like, comment project api (6개) restdocs 작성 * fix: restdocs 수정 * chore: 주석 제거 * chore: techStackList * chore: ExceptionCode 좋아요 message 변경 * chore: deleteProjectLike Exception 변경 * chore: 현재 eventPeriod 찾는 로직 변경 * feat: getProject 반환 json에 댓글 추가 * add: getProject, getProjects 로그인 유저 좋아요 및 북마크 json 맴버에 추 * add: createProject, updateProject, deleteProject @authuser 추가 * add: FileResponse id 추가 * add: restdocs 정보 수정 * chore: JsonFieldType class -> OBJECT 변경 * [FEAT] Application 관련 API 개발 완료 (#69) * chore: domain/project -> project로 폴더 이동 * chore: domain/project -> project로 폴더 이동 * chore: ProjectControllerTest 폴더 구조 변경 * chore: getAwardProjects API 구현 * chore: findByYear type Optional로 변경 * chore: like, favoriteProject 동시성 문제 해결을 위한 {userId, projectId} unique 설정 및 DataIntegrityViolationException 예외 처리 * add: getAwardProjects restdocs 추가 * fix: ProjectResponse, ProjectDetailResponse 중복 제거 * fix: getProject를 다른 Service 메서드에서 사용하는 코드 제거 * chore: 코드 사이 공백 수정 및 설명 주석 추가 * chore: createProject, updateProject when 인자 수정 * merge: develop branch 재처리 * fix: getProjects, getProject, getAwardProjects user OPTIONAL 처리 * add: index.adoc에 project.adoc추가 및 --- 지우기 * add: pageable queryParameters 추가 * fix: 오타 수정 * fix: createProjectLike, createProjectFavorite 지연 로딩 관련 에러 수정 * fix: user null인 경우 예외처리 * fix: userRepository.save(user)로 영속성 컨텍스트에 user 로드 * chore: 상단에 --- 추가 --------- Co-authored-by: chanyeong <[email protected]> Co-authored-by: yesjuhee <[email protected]> * fix: ProjectResponse에 yaer 추가 및 테스트코드에도 yaer 추가 (#94) * [FIX] 다중 파일 업로드가 가능하도록 uploadFile API 수정 (#96) * fix: service 수정 * fix: 컨트롤러/서비스 수정 * fix: 테스트코드 수정 * fix: html 파일 빌드 * fix: 테스트코드 삭제 * fix: html 파일 추가 * [FEAT] Aihub / JobInfo api (Notion) 구현 완료 (#91) * feat: implement getAiHubModels api (need notion.yml) * feat: change the field of model notion db * chore: refine service code * feat: request and response with integer year (not string) * feat: implment getAiHubDatasets API and modify service code to reduce rebundancy * chore: refine comments * refactor: relocate dto * feat: RestDocs, controller test code * feat: implement JobInfo API * feat: implement JobInfoControllerTest code, RestDocs, change api URI * chore: change for handling merge conflict * chore : modify CI.yml for notion config * chore: add notion config in application.yml * fix: fix the cascade option * chore: add html files for restDocs * chore: add html files for restDocs (ommited ones) * [Fix] getProjects 필터링 기능 추가 (#100) * feat: getProjects 쿼리파라미터 배열로 입력 가능하게 변경 * fix: getProjects queryParameter type 추가 * chore: build 후 html 파일 추가 * [CHORE] 레포 이름 변경으로 인한 restdocs 경로 변경 (#102) * [FIX] 퀴즈 생성 및 응답 형식을 Json에서 List로 변경 (#104) * feat: add map to list converter in dto * feat: add list to map converter in request dto * feat: change quiz request/response in talk controller test * chore: copy documents * [CHORE] Rest Docs 최신화 (#105) * [FIX] Project 도메인 및 API 일부 수정 (#107) * chore: Project domain 및 dto techStack 삭제 * chore: Project domain 및 dto url, description 추가 * chore: ProjectControllerTest 변경사항 수정 * chore: url optional 변경 * chore: rest docs html 변경사항 --------- Co-authored-by: chanyeong <[email protected]> Co-authored-by: yesjuhee <[email protected]> Co-authored-by: hyzoon <[email protected]> Co-authored-by: Kim Sang Yeob <[email protected]> Co-authored-by: chanyeong <[email protected]> --------- Co-authored-by: chanyeong <[email protected]> Co-authored-by: yesjuhee <[email protected]> Co-authored-by: hyzoon <[email protected]> Co-authored-by: Kim Sang Yeob <[email protected]> Co-authored-by: chanyeong <[email protected]> * [FEAT] Inquiry API 구현 (issue #45) * feat: Implement inquiry domain/dtos/repository * feat: Impl mail feature (from #68 pr) * 과제 제안 API PR의 mail 관련 설정 참고 * feat: Impl createProjectInquiry api * [FIX] 로그인 리다이렉션 & 쿠키 문제 해결 (#72) * fix: redirect uri 추가 * fix: access-token cookie응답으로 변경 * fix: cookie domain localhost로 변경 * fix: redirect uri 방식 변경 * fix: redirect uri 방식 변경 * fix: secure 옵션 추가 * fix: 프론트 로그인 콜백주소 변경 * chore: config typo * refactor: Login 테스트코드 리팩토링 * refactor: 학번 uniqueness 삭제 * fix: rename MailEvent to EmailEvent * feat: Impl getList/get/update/delete inquiry api * fix: modify createInquiry api * feat: Impl full inquiry api * fix: fix inquiry cannot detect reply delete * feat: Impl getInquiryReply api * chore: refine service code / comments * feat: inquiry api RestDocs / controller test * feat: consider case of deleted user * fix: typo * feat: allow ADMIN to add project Inquiry * chore: clarify access token type in InquiryControllerTest * fix: only inquiry author and admin can access to the inquiry, inquiry reply * chore: revert local db port * fix: 탈퇴한 회원의 경우 유저 이름에 "탈퇴한 회원"이 아닌 null value * fix: consider the inquiry with user null case * chore: modify CI for creating application-email.yml from secrets --------- Co-authored-by: chanyeong <[email protected]> * [FIX] Inquiry API replied flag 추가 (#113) * feat: add replied flag for InquiryDetailResponse and update test * fix: newly created inquiry always doesn't have reply * chore: update affected html files after rebuild * [FEAT] Project Excel API 구현 완료 (#115) * feat: 프로젝트일괄등록양식 다운로드 API 구현, 테스트 작성 * feat: 프로젝트 엑셀 일괄등록 컨트롤러, 테스트 작성 * feat: 엑셀 일괄 등록 컨트롤러, 테스트 작성 * feat: 엑셀 일괄 등록 구현 * docs: html 문서 업데이트 * chore: gitignore 파일 수정' * chore: 의미 없는 공백 제거 * fix: 비어있는 행 판별 오류 수정 * fix: 한글 문자열 비교 오류 수정 * fix: 빈 행 오류 수정 * docs: restdocs 문서 전체 업데이트 * [FEAT] User 관련 API 구현 완료 (#111) * feat: getMe API 구현 * refactor: userService 함수명 변경 * feat: updateMe api 구현 * feat: deleteMe api 구현 * feat: getMe test, restDocs 추가 * feat: updateMe test, restDocs 추가 * feat: deleteMe test, restDocs 추가 * feat: restDocs 추가 * feat: UpdateUserRequest validation 추가 * fix: 회원가입 시 연관 엔티티 삭제되는 문제 해결 * fix: INACTIVE 유저 포함 * fix: getMe에서 학과정보 확인할 때 오류나는 문제 해결 * fix: updateMe 공백 방지, 버그 수정 * feat: updateMe patch에서 put으로 변경 * feat: getUserInquiries, getUserProposals 구현 * feat: getUserInquiries, getUserProposals restDocs 추가 * feat: getDepartments api 구현 * feat: getDepartments restdocs 추가 * refactor: userUpdateRequest dto 변수명 auth/register과 통일 * feat: userResponse dto에서 socialLoginId 필드 제거 * fix: updateMe에서 소속, 직책을 빈 문자열로 바꿀 수 있도록 수정 * feat: 유저 삭제 시 좋아요 정보도 삭제되도록 변경 * feat: getUserFavorites api 구현 * chore: restdocs 중복정보 제외 * fix: 소속, 직책 업데이트 로직 수정 * chore: restdocs 중복정보 제외 * chore: department restdocs 수정 * feat: transactional 설정 추가 * feat: getUserFavorites response dto 통일 * feat: getUserFavorites restdocs 추가 * fix: getUserInquiries, getUserProposals dto에 답변 여부 필드 추가 * refactor: 답변 엔티티명 reply로 수정 * 머지 충돌 해결 * feat: getUserFavorites 수정 * fix: user.adoc 수정 * docs: .html파일들 삭제 * docs: static/docs 생성 * [FIX] getFile API 오류 수정 * [FIX] JobInfo notion fetching 오류 수정 * feat: develop 브랜치 trigger 추가 (#126) * feat: jwt payload 수정 (#125) * [FIX] Access Token이 Bearer null 인 경우 Optional이 작동하지 않음 (#128) * feat: add string null check in AuthResolver * fix: insert null string check code to hasAccessToken function * [FEAT] 과제제안 API 구현 (#129) * [FEAT] 과제 제안 API 개발 & 이메일 API 개발 (#68) * [FEAT] Video 관련 API 개발 (#51) * feat: talk 및 jobInterview 레포지토리 추가 * feat: jobInterview DTO 추가 * feat: add create and get jobinterview api * feat: add update and delete jobinterview api * fix: change BaseVideoEntity access level * refactor: add new line in JobInterview Category * refactor: change dto name * fix: change string check annotation to NotBlank * refactor: change category enum class name * feat: add enum validator * refactor: apply dto format discussed in PR #12 * fix: apply static factory method * chore: remove superbuilder annotation in BaseTimeEntity * chore: transactional 어노테이션 클래스로 이동 * chore: 엔티티 객체 생성 스타일 변경 * fix: pathVariable 명시 * fix: cascade 옵션 변경 * chore: dirty checking 사용하는 방법으로 update 변경 * feat: change exception to custom BadRequestException * chore: 접근제어자 제거 * feat: 잡페어 인터뷰 생성 테스트코드 작성 * feat: add JobInterview create Testcode * fix: ExceptionCode 추가 및 변경사항 대응 * feat: 잡페어 인터뷰 컨트롤러 테스트 * feat: 잡페어 인터뷰 RestDocs * feat: create QuizRepository * feat: add Talk Request/Response DTO * feat: implement talkservice and add exception code * feat: implement talkController * feat: implement TalkControllerTest * feat: implement TalkControllerTest * feat: 대담영상 api 문서 작성 * feat: 퀴즈 포함 대담 API 구현 * fix: 대담 연관관계 업데이트 버그 수정 * feat: add talker belonging and name field in jobinterview entity * feat: update jobinterview testcode * chore: remove status header * feat: remove HasQuiz And Apply JsonUnwrapped Annotation * refactor: remove Talks(List) Response DTO * feat: update TalkController TestCode * chore: update Talk API Docs * refactor: 엔티티에서 DTO 사용 제거 * feat: @authuser 적용 및 testcode 수정 * chore: add token to request cookie and header * fix: change local.yml * refactor: change video package location * refactor: test code 패키지 변경 * fix: change db url in local.yml * [FEAT] Notice/EventNotice 관련 API 개발 (#56) * feat: Add Notice,EventNotice entity Superbuilder, setter for update * feat: Implement NoticeDto Inner Static class * feat: Implement NoticeRepository * feat: Implement NoticeService interface, NoticeServiceImpl * feat: Implement NoticeController * fix: @NoArgsConstructor(access = PROTECTED) for entities * fix: change url, dto (request) field, add validation * fix: remove service interface * fix: change exception to bad request exception * feat: implement getNoticeList api, minor renaming controller parameter * fix: move @transactional annotation * fix: remove @DaTa annotation * refactor: refactor package structure * fix: split response, request dto * fix: Use static factory method instead of builder pattern * feat: change put/post to return entity value, change update logic (use repository), fix minor naming * feat: Implement increasing hitCount when getNotice * fix: change protect constructor of BaseNoticeEntity to use annotation * fix: Revise static factory method to use `from` * [FEAT] Global Exception, Test, Restdocs 설정 (#17) * feat: validator exception handler, BadrequestException 추가 * feat: controller test 설정 추가 * feat: index.adoc 추가 * feat: request field 템플릿 추가 * refactor: request field snippet 들여쓰기 수정 * feat: exception logger 추가 * feat: Implement RestDocs, base test code for NoticeController, change exception - cherry-pick develop branch's 0f55de6 commit - only for create notice - revise to use custom BadRequestException * fix: Add cascade option in Notice Entity * fix: Revise parameter naming for pathvariable annotaion * fix: Fix wrong service method description * feat: change updateNotice, increaseHitCount to use entity method * feat: Implement attached files handling, add NoticeListElementResponse * refactor: rename DTOs * fix: Revise Notice/EventNotice entity to not inherit BaseNoticeEntity * minor renaming variables * feat: Implement Test code/RestDocs for NoticeController * cherry-pick: revised custom exception code #21 * feat: add custom exceptions for notice, notnull annotation for fileIds field * refactor: rename NoticeResponse fileReponses field to files * fix: revise NoticeService to work with request with no fileIds field * fix: refine controllerTest code for restDocs * fix: add pageable parameter in controllerTest * refactor: remove unnecessary annotation * feat: duplicate notice api for eventNotice api * refactor: reformat (clean) code * fix: change exception code number to prevent conflict * feat: implement fixed notices prioritization * refactor: change :path to {path} in adoc * refactor: refactor adoc files * refactor: remove debugging line for getNoticeList * feat: new logic for updateNotice file handling (using Cascade=ALL) * cherrypick: auth commit from develop branch * refactor: move domain package location * feat: duplicate eventNotice getList, update code from Notice * refactor: remove unused import statement * feat: auth user (admin) for create, update, delete * feat: revise test code for auth user * fix: Typo correction * fix: add application-local.yml for CI * chore: remove unnecessary comments * refactor: move notice/eventNotice controller test package --------- Co-authored-by: yesjuhee <[email protected]> Co-authored-by: chanyeong <[email protected]> * [FEAT] EvnetPeriod 관련 API 구현 완료 (#58) * feat: EventPeriod 리포지터리 생성 * feat: devtools 패키지 추가 * feat: 엔티티에 SupeBuilder 추가 * feat: EventPeriodDto 작성 * feat:EventPeriodController 구현 * feat: EventPeriodService 구현 * refactor: 사용 안하는 import 삭제 * feat: test configurations * feat: EvnetPeriodController 테스트 코드 작성 * feat: createEventPeriod 테스트코드, restdocs 코드 구현 * feat: GlobalExceptionHandler 추가, validation 실패시 응답바디 포멧 수정 * fix: builder 제거, DTO 분리 * feat: 정적 팩토리 메서드 사용하는 방식으로 createEventPeriod 메서드 수정 * feat: BadRequestExcption 추가 * fix: DTO 구조 변경에 맞춰 테스트 수정 * fix: Bad Request 테스트 수정, 해당 테스트 restdocs에서 제외시킴 * feat: 커스텀 에러 코드를 사용하는 방식으로 Exception Handler 수정 * fix: dto validation에 대한 응답도 ExceptionCode를 사용하도록 수정 * refactor: EventPeriodRequest -> CreateEventPeriodRequest 로 변경 * feat: getEvnetPeriods api 구현 * feat: getEventPeriods API 테스트, restdocs 구현 * fix: gitignore에 static/docs 추가 * feat: deleteEventPeriod controller 작성 * refactor: 컨트롤러 refactor * feat: deleteEventPeriod service 구현 * feat: deleteEventPeriod test * refactor: MockMvcRequestBuilders -> RestDocumentationRequestBuilders 로 변경 * feat: restdocs 추가 * refactor: merge conflict resolve 생략된거 해결 * refactor: index.adoc 머지 오류 수정 * fix: 도메인에서 DTO 사용 제외 * fix: createEventPeriod 요청 형식, 로직 수정 * fix: EventPeriod 조회 API 수정(리스트 조회 -> 단건 조회) * feat: deleteEventPeriod API 삭제, updateEventPeriod API 추가 * feat: Auth 설정 추가 * refactor: event 도메인 폴더 위치 변경 * fix: test, restdocs 수정 * fix: TEST Auth 설정 추가 * fix: getEventPeriods API 복구 * fix: application-local.yml 복구 * chore: 주석 삭제 * chor: 누락된 adoc 파일 추가 * chore: 제안 답변 엔티티 이름 변경 * feat: proposal controller 작성 * feat: proposal repository 작성 * feat: proposal dto 작성 * feat: async config 추가 * feat: controller 수정 * feat: mail 관련 설정추가 * feat: 비동기 mail sender 작성 * feat: proposal 관련 dto 작성 * feat: ProposalService 작성 * feat: mailSender 인터페이스 패턴으로 구성 * refactor: event 이름 변경 * fix: cascade 적요 * feat: getProposalReplies 작성 * feat: restDocs 작성 * feat: 과제 제안 답변 조회 api 작성 * feat: 과제 제안 컨트롤러 테스트코드 작성 * feat: 과제제안 응답에 reply 필드 추가 * feat: 권한 문제 수정 및 과제제안 필드 변경 * fix: 동일성 체크 문제 수정 * fix: 권한 필터조건 수정 * fix: 과제답변 관리자도 등록할수 있도록 수정 * feat: restDocs 세분화 --------- Co-authored-by: Hyunjun Yang <[email protected]> Co-authored-by: hyzoon <[email protected]> Co-authored-by: yesjuhee <[email protected]> * fix: 불필요 권한 검증로직 삭제 * fix: 형상관리 복구 * fix: proposal file 관련 수정 * fix: proposal 관련 수정 * feat: 필터링 쿼리 queryDsl 적용 * feat: persistence test 작성 * chore: terms typo * feat: 이메일 템플릿 작성 * chore: adoc update * fix: 파일 지연로딩 문제 수정 * fix: adoc 형상관리복구 * fix: 머지 오류 수정 * docs: html 파일 새로 빌드해서 추가 --------- Co-authored-by: chanyeong <[email protected]> Co-authored-by: Hyunjun Yang <[email protected]> Co-authored-by: hyzoon <[email protected]> Co-authored-by: chanyeong <[email protected]> * [FEAT] (이벤트)공지사항/프로젝트 문의 리스트 조회 기능 추가 (#131) * [FIX] Member 테이블 중복 Row 삭제처리 (#132) * feat: envChecker 추가 (#133) * hot-fix: prod용 ddl-auto 무효화 * fix: prod용 환경변수 이관 (#134) * feat: envChecker 추가 * feat: prod용 env 설정 * fix: 검색 필터 조건 추가 (#136) * feat: add DESC sort in gallery (#141) * [FEAT] 대담영상/잡페어 인터뷰 영상 최신순 정렬 * fix: remove save user when delete like and favorite project (#143) * Update QuizService.java (#145) * Update application-common.yml (#146) * [FIX] application-common.yml 의 redirectUri를 prod용 도메인으로 수정 (#147) * fix: change redirect url to cs.skku.edu * fix: 프런트용 redirect uri를 환경변수 주입 방식으로 변경 * feat: qa,prod용 cicd변경 --------- Co-authored-by: chanyeong <[email protected]> * Update CD-prod.yml * Update CD-prod.yml * fix: jwt userId추가 * fix: jwt userId 클래스 에러 수정 * fix: jwt userId 클래스 에러 수정 * fix: change max upload size (#149) * fix: duplicate key issue (#150) * fix: proposal & 파일 연관관계 수정 * fix: 배포환경에서 query 로깅 삭제 * [FIX] 올해 프로젝트 조회시 순서 랜덤하게 응답 (#154) * feat: event Projects만 조회하는 fineEventProjects 추가 * fix: 요청한 year가 올해인 경우 fineEventProjects를 이용해 가져오도록 분기처리 * fix: nativeQuery를 JPQL로 변경 * fix: 1시간 단위로 변경되는 seed 값 변수 추가 --------- Signed-off-by: chanyeong <[email protected]> Co-authored-by: yesjuhee <[email protected]> Co-authored-by: chanyeong <[email protected]> Co-authored-by: chanyeong <[email protected]> Co-authored-by: Hyunjun Yang <[email protected]> Co-authored-by: Junho Kim <[email protected]> Co-authored-by: Kim Sang Yeob <[email protected]>
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.
작성자: @2tle
체크 리스트
작업 내역
비고