-
Notifications
You must be signed in to change notification settings - Fork 3
Feature : 깃허브 자동 push on/off 기능, 비밀번호 찾기(리셋) 기능 구현, 유저 정보 조회 verified 필드 추가, 이메일 발송 컨트롤러 분리 #118
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
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
020a0be
refactor: 유저 정보 가져오는 api에 verified 여부 추가
minjee2758 5d242b0
feature : 깃허브 자동 push 여부 선택 api 추가
minjee2758 db36406
refactor : 이메일 발송 관련 api controller 분리
minjee2758 ae251b1
refactor : 비밀번호 찾기 기능 - 이메일 인증 과정
minjee2758 312085f
feature : 비밀번호 리셋 기능 추가
minjee2758 75d9c81
비밀번호 변경 시 예외 상황 추가
minjee2758 de3782e
일반 회원가입도 랜덤 닉네임 부여
minjee2758 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 0 additions & 12 deletions
12
...org/ezcode/codetest/application/usermanagement/auth/dto/request/ResetPasswordRequest.java
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
...org/ezcode/codetest/application/usermanagement/user/dto/request/ResetPasswordRequest.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| package org.ezcode.codetest.application.usermanagement.user.dto.request; | ||
|
|
||
| import io.swagger.v3.oas.annotations.media.Schema; | ||
|
|
||
| @Schema(description = "비밀번호 리셋을 위한 입력") | ||
| public record ResetPasswordRequest ( | ||
| @Schema(description = "비밀번호 리셋 유저의 토큰 - 유효 시간 10분") | ||
| String tempResetToken, | ||
|
|
||
| @Schema(description = "변경할 비밀번호", example = "myPassword@@!") | ||
| String newPassword, | ||
|
|
||
| @Schema(description = "변경할 비밀번호 확인용 재입력", example = "myPassword@@!") | ||
| String newPasswordConfirm | ||
| ){ | ||
| public static ResetPasswordRequest from(String tempResetToken, String newPassword, String newPasswordConfirm) { | ||
| return new ResetPasswordRequest(tempResetToken, newPassword, newPasswordConfirm); | ||
| } | ||
| } | ||
|
|
15 changes: 15 additions & 0 deletions
15
...code/codetest/application/usermanagement/user/dto/response/UserGitubAutoPushResponse.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| package org.ezcode.codetest.application.usermanagement.user.dto.response; | ||
|
|
||
| import io.swagger.v3.oas.annotations.media.Schema; | ||
| import lombok.AllArgsConstructor; | ||
| import lombok.Getter; | ||
|
|
||
| @Getter | ||
| @AllArgsConstructor | ||
| @Schema(description = "깃허브 자동 Push 여부 변경 후 응답") | ||
| public class UserGitubAutoPushResponse { | ||
| @Schema(description = "메세지", example = "변경되었습니다") | ||
| private final String message; | ||
| @Schema(description = "현재 상태", example = "true") | ||
| private final boolean gitPushStatus; | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
...ode/codetest/application/usermanagement/user/dto/response/VerifyFindPasswordResponse.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| package org.ezcode.codetest.application.usermanagement.user.dto.response; | ||
|
|
||
| import io.swagger.v3.oas.annotations.media.Schema; | ||
|
|
||
| @Schema(description = "비밀번호 찾기 인증 응답") | ||
| public record VerifyFindPasswordResponse( | ||
| @Schema(description = "인증 번호 성공 응답 메세지") | ||
| String message, | ||
|
|
||
| @Schema(description = "인증 성공 후 발급, 유저 정보를 담은 토큰(email, userId), 유효시간 10분") | ||
| String tempResetToken | ||
| ) { | ||
| public static VerifyFindPasswordResponse from(String message, String tempResetToken) { | ||
| return new VerifyFindPasswordResponse(message, tempResetToken); | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.