-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' of https://github.com/TeamUStory/UStory-Backend …
…into develop
- Loading branch information
Showing
17 changed files
with
96 additions
and
62 deletions.
There are no files selected for viewing
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
14 changes: 14 additions & 0 deletions
14
src/main/java/com/elice/ustory/domain/user/constant/EmailMessageConstants.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package com.elice.ustory.domain.user.constant; | ||
|
||
public class EmailMessageConstants { | ||
public static final String NOT_FOUND_USER_EMAIL = "존재하지 않는 email입니다: %s"; | ||
public static final String EMAIL_VERIFICATION_SENT = "가입된 이메일이라면 인증코드가 발송됩니다."; | ||
public static final String EMAIL_VERIFICATION_FAILED = "가입되지 않은 이메일이므로 메일이 발송되지 않았습니다. 보안을 위해, 사용자에게 해당 이메일의 가입 여부를 반환하지 않습니다."; | ||
public static final String EMAIL_CODE_NOT_MATCH = "인증 코드 요청이 주어진 이메일이지만, 인증 코드가 일치하지 않습니다."; | ||
public static final String EMAIL_CODE_VALID = "이메일과 인증 코드가 일치하여, 유효한 인증 코드로 검증되었습니다."; | ||
public static final String EMAIL_CODE_NONE = "인증 코드 요청이 오지 않은 이메일입니다."; | ||
public static final String EMAIL_CODE_NONE_DETAIL = "인증 코드 요청이 오지 않은 이메일입니다. 보안을 위해, 사용자에게 해당 이메일의 가입 여부를 반환하지 않습니다."; | ||
public static final String EMAIL_IN_USE = "사용중인_이메일"; | ||
public static final String EMAIL_SOFT_DELETED = "탈퇴된_이메일"; | ||
public static final String SUCCESS = "SUCCESS"; | ||
} |
2 changes: 1 addition & 1 deletion
2
...ory/domain/user/entity/RegexPatterns.java → ...y/domain/user/constant/RegexPatterns.java
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
11 changes: 11 additions & 0 deletions
11
src/main/java/com/elice/ustory/domain/user/constant/UserMessageConstants.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package com.elice.ustory.domain.user.constant; | ||
|
||
public class UserMessageConstants { | ||
public static final String NOT_FOUND_USER_ID_MESSAGE = "존재하지 않는 userId입니다: %d"; | ||
public static final String NOT_FOUND_USER_EMAIL_MESSAGE = "존재하지 않는 email입니다: %s"; | ||
public static final String NOT_VALID_NICKNAME_MESSAGE = "사용할 수 없는 nickname입니다: %s"; | ||
public static final String DUPLICATE_EMAIL_MESSAGE = "이미 가입된 email입니다: %s"; | ||
public static final String NOT_CREATED_DIARY_MESSAGE = "다음의 email로 가입 중인 유저의, 개인 다이어리를 생성하는 과정에서 문제가 발생하였습니다. 가입 정보는 저장되지 않습니다: %s"; | ||
public static final String UNAUTHORIZED_MESSAGE = "헤더에 토큰이 입력되지 않았습니다."; | ||
public static final String NOT_VALID_PASSWORD_MESSAGE = "비밀번호 확인이 일치하지 않습니다."; | ||
} |
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
2 changes: 1 addition & 1 deletion
2
src/main/java/com/elice/ustory/domain/user/dto/ChangePwdRequest.java
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
2 changes: 1 addition & 1 deletion
2
src/main/java/com/elice/ustory/domain/user/dto/LoginRequest.java
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
2 changes: 1 addition & 1 deletion
2
src/main/java/com/elice/ustory/domain/user/dto/SignUpRequest.java
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
2 changes: 0 additions & 2 deletions
2
src/main/java/com/elice/ustory/domain/user/dto/UpdateRequest.java
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
2 changes: 1 addition & 1 deletion
2
src/main/java/com/elice/ustory/domain/user/dto/auth/AuthCodeCreateRequest.java
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
2 changes: 1 addition & 1 deletion
2
src/main/java/com/elice/ustory/domain/user/dto/auth/AuthCodeVerifyRequest.java
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
2 changes: 1 addition & 1 deletion
2
src/main/java/com/elice/ustory/domain/user/dto/auth/ChangePwdCallRequest.java
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
3 changes: 2 additions & 1 deletion
3
src/main/java/com/elice/ustory/domain/user/dto/auth/ChangePwdVerifyRequest.java
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
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
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
Oops, something went wrong.